ChangeLog 843 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076
  1. 2007-03-12 George Giolfan <[email protected]>
  2. * TreeView.cs: Make it compile.
  3. 2007-03-12 Jonathan Pobst <[email protected]>
  4. * Control.cs: Another place we don't call SizeFromClientSize.
  5. * Form.cs: Another place we don't call SizeFromClientSize.
  6. [Fixes bug #81125]
  7. 2007-03-12 Jackson Harper <[email protected]>
  8. * TreeView.cs: Basically emulating some strangness here with
  9. exanding nodes and setting node positions when windows aren't
  10. created.
  11. - Also attempting to walk the node tree less than previously, and
  12. just use visible order calculations for determining offsets.
  13. - oops made scrolling backwards.
  14. * TreeNode.cs: We need to start nodes with a zero visible order,
  15. because the order calcs are based on the first nodes order.
  16. 2007-03-12 Jonathan Pobst <[email protected]>
  17. * Form.cs: Don't exit the program if RecreateHandle is called on
  18. the main form.
  19. 2007-03-12 Chris Toshok <[email protected]>
  20. * XEventQueue.cs: remove the use of PostQuitState.
  21. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  22. WM_QUIT message in GetMessage, return false (and if we're in the
  23. nested WaitForHwndMessage, repost the WM_QUIT message).
  24. 2007-03-12 Jonathan Pobst <[email protected]>
  25. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  26. or the MaximizeBox properties. [Part of bug #80640]
  27. 2007-03-12 Everaldo Canuto <[email protected]>
  28. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  29. no links.
  30. 2007-03-12 Jonathan Pobst <[email protected]>
  31. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  32. instead of visible.
  33. 2007-03-12 Gert Driesen <[email protected]>
  34. * FileDialog.cs: Use text of File name combobox to determine what
  35. files the user selected. Added tokenizer to parse the file names.
  36. Fixes bug #81123.
  37. 2007-03-12 Jonathan Pobst <[email protected]>
  38. * Control.cs: We can't call SizeFromClientSize in the constructor,
  39. but we still need to do the same work, so make an internal version.
  40. [Fixes bug #80621]
  41. 2007-03-12 Jackson Harper <[email protected]>
  42. * TreeView.cs:
  43. * TreeNode.cs:
  44. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  45. IsExpanded.
  46. 2007-03-12 Jackson Harper <[email protected]>
  47. * TextBoxBase.cs: Now that the handles are being created a little
  48. later, we need to make sure that the document is recalculated when
  49. the handle is created.
  50. 2007-03-11 Everaldo Canuto <[email protected]>
  51. * Theme.cs: GetLinkFont abstract method added.
  52. * LinkLabel.cs:
  53. - Remove CalcTrimRectangle, no longer needed.
  54. - Factor also remove, position issues must be fixed in libgdiplus.
  55. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  56. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  57. care about font used to draw links.
  58. - Set TabStop to true when control is "Selectable", control is selectable
  59. when have one or more links. Fixes #80501 (test case is also added).
  60. - Set the LinkArea values after links change, LinkArea values must be
  61. based in first link position and size, a test case was created.
  62. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  63. the attribute must be true LinkArea.Length > 0. The same was applied to
  64. TabStop.
  65. * ThemeWin32Classic.cs:
  66. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  67. in draw method.
  68. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  69. color change.
  70. - Draw focus rectangle for every parts focused, including parts that
  71. is on another line, its because regions returns various rectangles
  72. and not only one. Needed to mimic W32 look.
  73. - Uses Graphics.Clip to delimite region painted, it mean that now
  74. complete text is passed to DrawString, with this we solve layout
  75. issues without create another text renderer.
  76. - Uses Region.Intersect to fix some flickers problems, now only needed
  77. parts will redrawed.
  78. - This changes fixes #79614 and some other unreported issues, on Linux
  79. some layout problems still remain, the problem is under
  80. MeasureCharacterRanges but it is an libgdiplus bug.
  81. 2007-03-10 Gert Driesen <[email protected]>
  82. * TextBox.cs: Set for foreground color.
  83. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  84. this is already done in Control.
  85. 2007-03-10 Jackson Harper <[email protected]>
  86. * TextBox.cs: Set the background color, but reset the
  87. backcolor_set flag which is just for the user setting the
  88. background color.
  89. 2007-03-09 Chris Toshok <[email protected]>
  90. * Control.cs: really remove the call to XplatUI.SetVisible from
  91. CreateHandle(), like I said I did when I merged the branch.
  92. * BindingSource.cs: implement some more of this stuff.
  93. 2007-03-09 Jackson Harper <[email protected]>
  94. * TextBox.cs: Don't explicitly set our background colors.
  95. * TextControl.cs:
  96. * TextBoxBase.cs: Draw readonly text.
  97. - Need to invalidate when backcolor or readonly are changed.
  98. 2007-03-09 Jackson Harper <[email protected]>
  99. * TextBoxBase.cs: Don't set the forecolor until the handle is
  100. created.
  101. - Do not raise OnPaint, and removed some old debug code.
  102. 2007-03-09 George Giolfan <[email protected]>
  103. * ScrollableControl.cs: Fix mouse wheel scrolling.
  104. 2007-03-09 Jonathan Pobst <[email protected]>
  105. * Control.cs: Wire up MouseDoubleClick event.
  106. 2007-03-09 Jonathan Pobst <[email protected]>
  107. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  108. top or bottom.
  109. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  110. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  111. item is added. This logic was moved to ToolStrip.OnItemAdded.
  112. [Fixes bug #81090]
  113. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  114. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  115. 2007-03-08 Jackson Harper <[email protected]>
  116. * TreeView.cs: Show the correct image for selected node (this used
  117. to work, not sure how the code got deleted). Also implemented 2.0 feature
  118. SelectedImageKey.
  119. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  120. * ListView.cs:
  121. * ListViewItem.cs: Cache index in items when retrieving them
  122. in VirtualMode.
  123. 2007-03-08 Jonathan Pobst <[email protected]>
  124. * ToolStripItem.cs: Don't return the explicit_size if we are using
  125. AutoSize. Fixes invalidation issue when user has explicitly set a
  126. size and has AutoSize = true.
  127. 2007-03-08 Jonathan Pobst <[email protected]>
  128. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  129. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  130. * DataGridView.cs: Remove event handler from DataView when a
  131. DataTable is used as DataSource.
  132. 2007-03-08 Jonathan Pobst <[email protected]>
  133. * Control.cs: Create internal setter for client_size to allow it to be
  134. set without triggering resizing code.
  135. * Form.cs: Calculate client_size in constructor, only change client_size
  136. in FormBorderStyle property if Handle has been created.
  137. [Fixes #80574, #80791]
  138. 2007-03-08 George Giolfan <[email protected]>
  139. * SystemInformation.cs: Add TerminalServerSession.
  140. 2007-03-07 Jonathan Pobst <[email protected]>
  141. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  142. TreeView code.
  143. 2007-03-07 Jonathan Pobst <[email protected]>
  144. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  145. Handle before we were supposed to. Now checks ActivateOnShow property
  146. in Control.
  147. * Control.cs: Add internal ActivateOnShow property.
  148. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  149. for ActivateOnShow.
  150. * Hwnd.cs Remove no longer needed no_activate field.
  151. 2007-03-07 Jackson Harper <[email protected]>
  152. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  153. 2.0 properties
  154. * DrawTreeNodeEventHandler.cs: Add
  155. * DrawTreeNodeEventArgs.cs: Correct default value.
  156. 2007-03-07 Chris Toshok <[email protected]>
  157. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  158. to be called before NativeWindow.WndProc. Put the HwndCreating
  159. magic there to hook up our Hwnd's to handles.
  160. 2007-03-07 Gert Driesen <[email protected]>
  161. * DataGridView.cs: Comment out debug code.
  162. 2007-03-07 Chris Toshok <[email protected]>
  163. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  164. to make the rest of the world happy]
  165. * Control.cs (CreateHandle): there's no need to call
  166. XplatUI.SetVisible here, it's effectively done by
  167. XplatUI.CreateWindow on X now, and always was on windows.
  168. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  169. shortcircuit out of the loop if we have a message loop running on
  170. this thread.
  171. [Changelog from merge]
  172. 2007-03-05 Chris Toshok <[email protected]>
  173. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  174. causes handle creation.
  175. 2007-02-28 Chris Toshok <[email protected]>
  176. * ApplicationContext.cs: Add a flag to make sure we only raise the
  177. ThreadExit event once (ExitThreadCore can be indirectly called
  178. from a few places.) I don't like the additional flag, but it
  179. makes the event ordering/count correct.
  180. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  181. without locking the collection. An enumerator doesn't give us any
  182. protection from modification anyway. Lock the thread hash and
  183. replace the complicated enumerator loop with a foreach.
  184. (Application.CloseForms): make internal so it can be called from
  185. ApplicationContext. This should probably be moved to MWFThread.
  186. (Application.ExitThread): don't call MWFThread.Current.Exit()
  187. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  188. when the runloop exits (in response to WM_QUIT.)
  189. (Application.RunLoop): add a comment (and check) for
  190. context.MainForm being null after setting context.MainForm.Visible
  191. = true. This is because you're perfectly free to dispose of a
  192. form in VisibilityChanged. Chalk this up to another case where we
  193. need to synchronously generate WM_ACTIVATE from Control.Show.
  194. Also, add handling for WM_QUIT here so we'll exit the loop.
  195. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  196. fact that we don't wait if we're only unmapping the whole_window
  197. makes me a bit nervous, but it doesn't seem to cause any problems
  198. yet.
  199. also, add a comment about the stupid, broken and wrong resetting
  200. of PostQuitState to false in GetMessage().
  201. In PostQuitMessage, we need to add a WM_QUIT message to the
  202. thread's queue. We use the FosterParent to get the right
  203. handle/hwnd/queue.
  204. Lastly, in SetVisible, we need to unmap both windows, since the
  205. waiting only happens when we're unmapping the client window. So
  206. now, the *only* time we unmap just the whole_window is in the hack
  207. for resizing a control to 0,0.
  208. 2007-02-21 Chris Toshok <[email protected]>
  209. * Application.cs (CloseForms): rewrite this so that we don't
  210. modify the list while we're traversing it.
  211. 2007-02-20 Chris Toshok <[email protected]>
  212. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  213. of OnHandleCreated.
  214. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  215. handle is created. otherwise we'll create it here.
  216. (VerticalScrollEvent): same here.
  217. * Application.cs (CloseForms): call Form.Dispose, don't post
  218. WM_CLOSE_INTERNAL.
  219. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  220. here. Application should Dispose() of the Form's.
  221. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  222. WM_DESTROY as well.
  223. (MapWindow,UnmapWindow): only actually do the waiting for
  224. SHOWWINDOW if the control we're dealing with is a Form.
  225. (CreateWindow): if the control isn't a form, SendMessage
  226. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  227. * Control.cs (SetVisibleCore): always use is_visible here, not
  228. value. If we use value, we can end up re-setting something
  229. visible if, for instance, you do Control.Hide() in a delegate
  230. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  231. 2007-02-20 Chris Toshok <[email protected]>
  232. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  233. the message we need. PeekMessage returning false should not be a
  234. condition under which we exit the loop.
  235. 2007-02-15 Chris Toshok <[email protected]>
  236. * Control.cs (Refresh): only refresh if we've got a handle and are
  237. visible.
  238. (CreateAccessibilityInstance): CreateControl() here.
  239. (UpdateChildrenZOrder): complicate the code loop even more by
  240. taking into account controls that haven't had their handle
  241. created, and those that aren't visible. But on the flip side,
  242. simplify the code by splitting it into two loops. one which
  243. builds up the list of child controls we're interested in, and the
  244. other that sets the z order of those children.
  245. 2007-02-14 Chris Toshok <[email protected]>
  246. * Control.cs: Control.AccessibilityObject causes the control to be
  247. created, not just the handle.
  248. 2007-02-14 Chris Toshok <[email protected]>
  249. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  250. problem on X where a window might have its handle created (and be
  251. visible) while the window is unmapped. calling XConfigureWindow
  252. on an unmapped window is bad, and generates X errors.
  253. 2007-02-13 Chris Toshok <[email protected]>
  254. * Control.cs (CreateHandle): don't loop over our children setting
  255. their parent here. do it when in WndProc when we're shown.
  256. (UpdateChildrenZOrder): make this internal so we can call it from
  257. ScrollableControl.
  258. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  259. creating its handle. Also, remove the calls to PerformLayout from
  260. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  261. OnVisibleChanged only seems to be called directly here for the
  262. toplevel control. It's propagated down the window hierarchy by
  263. calls to child.OnParentVisibleChanged.
  264. (OnVisibleChanged): don't do layout here - it's done (oddly
  265. enough, according to a glance at stack traces on ms.net..) in
  266. ScrollableControl.
  267. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  268. z order of our children before calling PerformLayout.
  269. 2007-02-12 Chris Toshok <[email protected]>
  270. [big change, fixes #80020]
  271. * AccessibleObject.cs: we need to make owner internal again to fix
  272. some of ControlAccessibleObject.
  273. * Control.cs: lots of changes here. add support for WM_CREATE,
  274. for which we generate OnHandleCreated. Remove the OnHandleCreated
  275. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  276. we create child controls. leave the MonoTODO's for the
  277. accessibility calls, but fix the exceptions so the tests pass.
  278. Add the InvalidOperationExceptions to Invoke methods, and remove a
  279. couple of InvokeInternal methods we aren't using.
  280. Also, add a couple of CreateHandle calls in places where we know
  281. the handles are being created but our code doesn't reference
  282. .Handle.
  283. Make SetVisibleCore call OnVisibleChange if the handle isn't
  284. created. If the handle is created, we rely on XplatUI.SetVisible
  285. generating the event synchronously.
  286. Lastly, make sure we don't use this.Handle inside CreateHandle,
  287. because we can call back into client (and that code can dispose of
  288. the control).
  289. * XplatUIStructs.cs: misc/cleanup.
  290. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  291. although we don't populate the wParam properly.
  292. (CreateWindow): generate WM_CREATE.
  293. (MapWindow,UnmapWindow): make these calls synchronous, at great
  294. performance expense (particularly in the unmap case), to match
  295. win32 behavior.
  296. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  297. to call it.
  298. (set_MdiParent): don't recreate the handle unless it's been
  299. created already.
  300. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  301. it's created.
  302. * NativeWindow.cs: this is probably the weirdest part of the
  303. patch. We need a way to link up the window being created to the
  304. WM_CREATE message. Since we can only be creating one window at a
  305. time on a given thread, we keep track of a per-thread reference so
  306. we can dispatch it properly. We also need to keep track of the
  307. Hwnd currently being created so that the win32 backend doesn't
  308. have problems.
  309. * XplatUIWin32.cs: a similar change to the one we made in
  310. NativeWindow.cs.
  311. 2007-03-07 Jonathan Pobst <[email protected]>
  312. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  313. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  314. to draw the menu shortcut string.
  315. 2007-03-07 Jackson Harper <[email protected]>
  316. * TreeNode.cs: Add the 2.0 collapse method.
  317. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  318. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  319. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  320. * DataGridView.cs: Change DataSource will clear column and row
  321. lists. Call Invalidate() to reflect DataSource change.
  322. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  323. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  324. and a new row is added to it.
  325. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  326. * DataGridView.cs: Add columns when DataSource is en empty list but
  327. is a System.Data.DataView (from a System.Data.DataTable).
  328. 2007-03-06 Andreia Gaita <[email protected]>
  329. * Label.cs: Implement AutoEllipsis (2.0)
  330. 2007-03-06 Jackson Harper <[email protected]>
  331. * TreeView.cs: Implement 2.0 TopNode setter property.
  332. - Use a local var instead of the skipped_nodes field for computing
  333. how many nodes to skip. Otherwise we won't scroll because the
  334. valuechanged handler checks if skipped_nodes is equal to the new
  335. value.
  336. - Implement 2.0 Sort method.
  337. - Add useless 2.0 DoubleBuffer property
  338. - Implement 2.0 LineColors property. Lets you change the color of
  339. the lines in the tree. Terribly useful for creating non cohesive
  340. desktops.
  341. - Implement 2.0 image key feature.
  342. 2007-03-06 Jackson Harper <[email protected]>
  343. * TreeView.cs: We can't get the bounds of the nodes before raising
  344. the AfterSelect event, because that event could change the node's
  345. bounds (scrolling, font change, etc).
  346. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  347. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  348. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  349. update window styles. In CreateParams us VisibleInternal instead of
  350. VIsible to get the actual visible flag set for this form.
  351. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  352. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  353. handle the case when the form is already maximized, in which case
  354. it should be restored. Fixes #81043.
  355. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  356. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  357. 2007-03-05 Jackson Harper <[email protected]>
  358. * TreeViewHitTestInfo.cs: implement.
  359. 2007-03-05 Jackson Harper <[email protected]>
  360. * InternalWindowManager.cs: class status fix.
  361. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  362. * InternalWindowManager.cs: All windows that have a parent
  363. are confined to their parent when they're being moved.
  364. Fixes #80822.
  365. 2007-03-04 Gert Driesen <[email protected]>
  366. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  367. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  368. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  369. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  370. buttons invisible before deciding which ones should be visible
  371. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  372. an unused variable.
  373. * InternalWindowManager.cs: Remove warning.
  374. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  375. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  376. to throw an InvalidOperationException is virtual mode is being used.
  377. 2007-03-02 Jonathan Pobst <[email protected]>
  378. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  379. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  380. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  381. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  382. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  383. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  384. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  385. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  386. driver.KeyboardDelay from XplatUI.KeyboardDelay
  387. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  388. (patch by Sergey Volk)
  389. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  390. * ToolWindowManager.cs: Added, contains logic for
  391. tool windows.
  392. * CreateParams.cs: Add a few helper methods and an
  393. internal variable to know which control the CreateParams belongs
  394. to.
  395. * Control.cs: Call Form.ChangingParent when the
  396. parent is about to be changed.
  397. * XplatUIX11.cs: DeriveStyles (): Set
  398. caption_height for all windows that have captions and are children.
  399. Update to use ToolWindowManager instead of InternalWindowManager
  400. for ToolWindows.
  401. * XplatUIWin32.cs: Set fake window styles for all
  402. windows that have window managers.
  403. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  404. now duplicated for mdi windows when they are
  405. maximized, first for the buttons the window itself has, then for
  406. the buttons that appear in the menu bar. Makes things a little
  407. easier). Updated UpdateWindowDecorations, SetWindowState and the
  408. mouse eventhandlers accordingly.
  409. * Form.cs: Add ChangingParent (), contains the
  410. logic of what should happen when the parent changes. In MdiParent
  411. don't set things that ChangingParent () is doing. When handling
  412. WM_CLOSE, we can close the form if there are any other modal forms
  413. and the current form is a descendent of the modal form.
  414. * InternalWindowManager.cs: A lot of refactoring,
  415. the title buttons are now extracted to a separate container class
  416. that takes care of all button code (clicks, tooltips, etc). Moved
  417. Iconic|Maximized|Normal Bounds properties to this class from
  418. MdiWindowManager, so that the window state logic can succeed for
  419. other than mdi wm's. Implemented general window state change logic.
  420. Moved CreateButtons to ThemeWin32Classic, since the theme might
  421. override which buttons are available when as well as the exact
  422. location.
  423. * FormWindowManager.cs: Added, contains logic for
  424. normal forms.
  425. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  426. which buttons go where (and if they are at all visible).
  427. Removed special handling of maximized windows, since they aren't special.
  428. In DrawManagedWindowDecorations don't try to draw the text if it is
  429. empty.
  430. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  431. use whatever the wm gives us.
  432. 2007-03-02 Jonathan Pobst <[email protected]>
  433. * ButtonBase.cs: Add 2.0 properties.
  434. * Button.cs: Override Draw for 2.0.
  435. * Control.cs: Add Entered and Selected properties.
  436. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  437. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  438. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  439. buttons.
  440. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  441. 2007-03-01 Jonathan Pobst <[email protected]>
  442. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  443. 2007-03-01 Jonathan Pobst <[email protected]>
  444. * XplatUIWin32.cs: Register a new class with Windows each time we get
  445. a new ClassStyle. [Fixes bugs #79432, #80817]
  446. * Controls.cs: Set the correct ClassStyle in CreateParams.
  447. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  448. 2007-03-01 Gert Driesen <[email protected]>
  449. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  450. ColumnReordered event must not be signaled when modifying DisplayIndex
  451. of a ColumnHeader. Added internal ReorderColumns method which takes
  452. care of drawing, and updating the internal DisplayIndex of the
  453. ColumnHeader. Added AddColumn method which is invoked from
  454. ColumnHeaderCollection when adding or inserting columns, and which
  455. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  456. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  457. Recalculated dispay indices after removing a ColumnHeader.
  458. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  459. match MS. Allows last display index to be returned after ListView
  460. is disposed. Update actual location of ColumnHeader when DisplayIndex
  461. is modified.
  462. 2007-03-01 Everaldo Canuto <[email protected]>
  463. * LinkLabel.cs: Improve CalcTrimRectangle.
  464. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  465. 2007-02-28 Everaldo Canuto <[email protected]>
  466. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  467. get rectangle as a result value.
  468. 2007-02-28 Everaldo Canuto <[email protected]>
  469. * LinkLabel.cs: Theres some diferences between rectangle return from
  470. MeasureCharacterRanges and the area used for DrawString to fix this
  471. CalcMeasurementFactor method was created, it calcules the diferences
  472. to be use later to adjust rectangle in draw operations. Fixes #80473.
  473. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  474. to adjust draw rectangle.
  475. 2007-02-27 Everaldo Canuto <[email protected]>
  476. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  477. text and some other changes to reduce and optimize source code.
  478. 2007-02-27 Jonathan Pobst <[email protected]>
  479. * RadioButton.cs: Implement 2.0 event.
  480. * RelatedImageListAttribute.cs: Implement new class.
  481. 2007-02-27 Everaldo Canuto <[email protected]>
  482. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  483. 2007-02-27 Jonathan Pobst <[email protected]>
  484. * CheckBox.cs: Implement 2.0 functionality.
  485. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  486. * ListView.cs: Refactor Add and AddRange methods of
  487. ListViewItemCollection, to not update the ListView
  488. everytime an item is added in AddRange. Also move the update
  489. code to a new CollectionChanged method, and call it
  490. from other methods that need it as well (this should also fix some
  491. bugs when Sorting is used).
  492. 2007-02-27 Jackson Harper <[email protected]>
  493. * TextControl.cs: Try to never let the caret stay in a non-text
  494. tag.
  495. * TextBoxBase.cs: Update the caret.
  496. 2007-02-26 Jonathan Pobst <[email protected]>
  497. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  498. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  499. delete POINT structure, duplicate of one in XplatUIStructs.
  500. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  501. 2007-02-26 Gert Driesen <[email protected]>
  502. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  503. edit box since otherwise the Label would immediately be set (even if
  504. the user did not modify the label). In OnKeyDown set Handled to true
  505. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  506. columns that are to be removed. In ListViewItemCollection unlink items
  507. that are to be removed.
  508. 2007-02-24 Jonathan Pobst <[email protected]>
  509. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  510. it when we are done. [Fixes bug #80949]
  511. 2007-02-23 Jonathan Pobst <[email protected]>
  512. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  513. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  514. * ListView.cs: I forgot to commit the changes for ListView
  515. in my previous patch.
  516. 2007-02-23 Jonathan Pobst <[email protected]>
  517. * Clipboard.cs: Partially implement an overload of SetDataObject.
  518. * Form.cs: Implement ShowWithoutActivation.
  519. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  520. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  521. This is a first set of changes to make the Virtual mode works,
  522. by avoiding the retrieval of ListViewItem instances until
  523. draw time.
  524. * ListView.cs: Store item position in the ListView instead of the
  525. ListViewItem, this way we don't request the Bounds property of
  526. ListViewItem inside the ListView calculations, as well as cache the item
  527. size in item_size field. Store indexes instead of ListViewItem
  528. instances in the matrix used by icon view. Add a ItemMatrixLocation
  529. struct to hold the row and col info of the matrix info.
  530. * ListViewItem.cs: Don't store the location anymore, and only cache
  531. the rectangles for GetBounds. Use the ListView.GetItemLocation
  532. method to retrieve the actual location.
  533. 2007-02-23 Jonathan Pobst <[email protected]>
  534. * TextRenderer.cs: Add clipping support, thanks to George.
  535. [Fixes bug #80949]
  536. 2007-02-23 Gert Driesen <[email protected]>
  537. * ListViewItem.cs: Cancel label edit when item is removed from
  538. ListView.
  539. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  540. event before the edit textbox is displayed. Added CancelEdit method
  541. which is used end to editing while ignoring the value set by the
  542. user. In EndEdit, set focus to ListView to avoid losing focus to
  543. other controls. In ListViewItemCollection.Clear, cancel editing of
  544. any of the items. In Remove, cancel editing of item being removed.
  545. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  546. 2007-02-23 Gert Driesen <[email protected]>
  547. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  548. bug #80948.
  549. 2007-02-23 Everaldo Canuto <[email protected]>
  550. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  551. compatible with non X11 systems. Fixes #80901.
  552. 2007-02-23 Gert Driesen <[email protected]>
  553. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  554. whether the item should be unselected and reselect. We do no want this
  555. when we're starting to edit the label. Do not fire the
  556. SelectedIndexChanged event from ListView when its already been fired
  557. by modifying ListViewItem.Selected. Fixes bug #80943.
  558. 2007-02-23 Jonathan Pobst <[email protected]>
  559. * TextRenderer.cs: Previos commit logic was backwards.
  560. 2007-02-23 Jonathan Pobst <[email protected]>
  561. * TextRenderer.cs: Don't add padding on MeasureText if we were
  562. sent the NoPadding flag.
  563. 2007-02-23 Everaldo Canuto <[email protected]>
  564. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  565. after DrawButton. To prevent image overlaps button borders SetClip and
  566. ResetClip added before and after draw image. Fixes #79129.
  567. 2007-02-23 Everaldo Canuto <[email protected]>
  568. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  569. window size, it fix problem when you run under win32 that theres
  570. Size diferent than ClientSize. Also fix controls size and positions
  571. to mimic Win32. Fixes #80837.
  572. 2007-02-22 Everaldo Canuto <[email protected]>
  573. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  574. menu area to fix some problems for non X11 systems. Fixes #80613.
  575. 2007-02-22 Jackson Harper <[email protected]>
  576. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  577. even if it doesn't have any children.
  578. 2007-02-22 Jackson Harper <[email protected]>
  579. * TreeView.cs: Calculate the top node 'on the fly', this
  580. eliminates issues where you need to click on the tree before
  581. scrolling it to get the top node computed correctly.
  582. * TreeNodeCollection.cs: We don't need to mess with the top node
  583. anymore.
  584. 2007-02-22 Jackson Harper <[email protected]>
  585. * DataGridViewRow.cs: Fix typo so height can actually be set.
  586. Patch by Peter Grimm.
  587. 2007-02-22 Gert Driesen <[email protected]>
  588. * FileDialog.cs: Fixed support for renaming files and directories.
  589. * ListView.cs: Do not lose focus when edit is canceled. Process
  590. Escape as regular key (to prevent closing of dialogs).
  591. 2007-02-22 Gert Driesen <[email protected]>
  592. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  593. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  594. 2007-02-22 Gert Driesen <[email protected]>
  595. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  596. did not modify label.
  597. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  598. modified the text. Reset Label when user presses Escape in edit mode.
  599. Move focus to ListView after having cancelled or finished editing the
  600. label.
  601. 2007-02-21 Gert Driesen <[email protected]>
  602. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  603. private. Clear textbox when Text is set to null and SelectedIndex is
  604. already -1.
  605. * FileDialog.cs: Removed unnecessary initializations. Removed
  606. workarounds for ComboBox bugs that are now fixed. Modified
  607. DefaultExt, InitialDirectory and Title property to change null to
  608. zero-length string in getters. Avoid directly accessing fields.
  609. 2007-02-20 Jackson Harper <[email protected]>
  610. * TextControl.cs: Remove RecalAlignments call, that was some
  611. debugging leftovers.
  612. - Don't use the line indent when we shouldn't.
  613. * RichTextBox.cs: Add support for paragraph left indents.
  614. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  615. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  616. Seems like the class status pages doesn't catch params differences.
  617. 2007-02-19 Gert Driesen <[email protected]>
  618. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  619. 2007-02-19 Gert Driesen <[email protected]>
  620. * ComboBox.cs: Setting Text should have no effect if item text of
  621. selected item exactly matches value. First lookup text using
  622. case-sensitive comparison, and fallback to case-insensitive comparison.
  623. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  624. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  625. paramname to match MS. Restart from first item if string is not found
  626. after startIndex. Fixed paramname of ArgumentNullException that is
  627. thrown for null value in ObjectCollection.Contains.
  628. 2007-02-19 Everaldo Canuto <[email protected]>
  629. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  630. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  631. * ListControl.cs: In SelectedValue use value.Equals to compare for
  632. equality instead of ==, otherwise it will fail for strings.
  633. Fixes #80794.
  634. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  635. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  636. since the caret won't show up unless ShowSelection is true.
  637. Fixes #80795.
  638. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  639. * Application.cs: When disabling all forms but the main form, do not
  640. disable any descendants of the main form (such as mdi children or
  641. other parented forms). Fixes #80822 on Windows.
  642. * Form.cs: If we have a parent, set the WS_CHILD style.
  643. * Control.cs: Update the window styles if the control whose parent has
  644. changed is a form (the WS_CHILD style has to be switched).
  645. 2007-02-19 Everaldo Canuto <[email protected]>
  646. * XplatUIStructs.cs: MsgUIState structure added.
  647. 2007-02-18 Gert Driesen <[email protected]>
  648. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  649. profile, do not check filename(s) for illegal character if filename(s)
  650. were set non-interactively but always check on 1.0 profile. Fixed NRE
  651. in DefaultExt and only strip off first leading dot. Improve exception
  652. message when invalid Filter is set. Do not ignore InitialDirectory if
  653. it does no exist. Store specified Title, and if empty use default
  654. title (depending on type of dialog). Added an internal DialogTitle
  655. property for retrieving dialog title. Fixed logic of displayed dir to
  656. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  657. string as its buggy.
  658. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  659. FileName is a zero-length string (it can never be null). Override
  660. DialogTitle property to set default title of dialog box.
  661. * SaveFileDialog.cs: Override DialogTitle property to set default
  662. title of dialog box.
  663. 2007-02-18 Gert Driesen <[email protected]>
  664. * FileDialog.cs: Modify default text of filename and filetype labels
  665. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  666. after we've updated the SelectedIndex. Fixes part of bug #80887.
  667. * SaveFileDialog.cs: Set text of filetype label.
  668. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  669. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  670. label field. Needed by latest Jackson's fixes for ListView.
  671. 2007-02-16 Andreia Gaita <[email protected]>
  672. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  673. print preview images.
  674. 2007-02-16 Jackson Harper <[email protected]>
  675. * ListView.cs: Make AfterLabelEdit work correctly.
  676. * FileDialog.cs: After changing the name of the folder, we have to
  677. make sure that it is created, or that we pop up an error because
  678. it already exists.
  679. 2007-02-16 Jackson Harper <[email protected]>
  680. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  681. System.String are mapped to text.
  682. - Handle dataobjects, getting all the possible formats out of them
  683. - We dont need the drag event args before we give feedback. This
  684. allows feedback cursors to be immediate before selections have
  685. been converted.
  686. 2007-02-16 Jackson Harper <[email protected]>
  687. * TextBoxBase.cs: Modified the method for inserting images to
  688. taking a line and position instead of tag and position.
  689. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  690. into the RTF file.
  691. * TextControl.cs: Allow images to be inserted as the first tag of
  692. a line.
  693. - Fix some off by one issues when we assume the first tag is a
  694. text tag, not an image tag.
  695. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  696. * ListView.cs: Set focus to ListView when ItemControl gets a
  697. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  698. Fixes part of #80467.
  699. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  700. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  701. validate Text input (if null or empty string reset Value to default
  702. value). Fixes #80830.
  703. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  704. * ListView.cs: Set owner as null for columns and items when
  705. Dispose is invoked. Fixes #80607.
  706. 2007-02-14 Jonathan Pobst <[email protected]>
  707. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  708. showing DropDowns, don't show a Grip when doing Flow layout.
  709. [This fixes the toolbox in PDN 2.72.]
  710. * ToolStripItem.cs: Add Anchor property and some internal properties to
  711. reduces needed changes to FlowLayout.
  712. * ToolStripOverflow.cs: Remove unused variable.
  713. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  714. use it in the layout calculations.
  715. 2007-02-13 Everaldo Canuto <[email protected]>
  716. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  717. reported in #79640.
  718. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  719. size calculation.
  720. 2007-02-13 Everaldo Canuto <[email protected]>
  721. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  722. MeasureString format, it can make button very large in some cases, it is
  723. strange but is what win32 do.
  724. 2007-02-13 Everaldo Canuto <[email protected]>
  725. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  726. size calculation.
  727. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  728. rendering, the value is based on MenuAccessKeysUnderlined.
  729. 2007-02-13 Everaldo Canuto <[email protected]>
  730. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  731. for most themes.
  732. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  733. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  734. and use MenuAccessKeysUnderlined instead.
  735. 2007-02-13 Andreia Gaita <[email protected]>
  736. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  737. A selected control would not get a Focus call if:
  738. - the default active control of the container is the same as
  739. the one that was selected
  740. - we are switching from one container to another
  741. Under these conditions, the container being selected already has
  742. an active_control, which is the same as the one being activated,
  743. so set_ActiveControl would always return and not send the Focus
  744. call. Fix to check if the currently active control of the container
  745. is actually focused.
  746. 2007-02-13 Jonathan Pobst <[email protected]>
  747. * StatusStrip.cs: Implement the spring layout.
  748. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  749. always matches the host.
  750. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  751. and TextAfterImage.
  752. 2007-02-13 Andreia Gaita <[email protected]>
  753. * Control.cs: Code reorganization only.
  754. - Reorganize the WndProc cases so that each case has it's own handling method,
  755. to help with the no-line-numbering stack traces.
  756. - Formatting changes (it's vstudio's fault, really :p)
  757. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  758. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  759. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  760. behaviour.
  761. 2007-02-12 Jackson Harper <[email protected]>
  762. * RichTextBox.cs:
  763. * TextBox.cs: By default we have a non multiline document
  764. - use the multiline property instead of the internal variable
  765. * TextBoxBase.cs: Treat multiline and non multiline the same in
  766. most places.
  767. - Use the documents multiline flag instead of tracking it ourself
  768. * TextControl.cs: Attempt at getting multiline to match MS
  769. behavior. Lines now track an offset, which is either their X or Y
  770. offset depending on whether or not we are in multiline mode.
  771. - Update all the methods to understand that lines have an X value.
  772. - Fix crash in Undo::Duplicate when empty lines are deleted.
  773. 2007-02-12 Everaldo Canuto <[email protected]>
  774. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  775. code moved to properties PreferredHeight and PreferredWidth. It solve the
  776. all problems when preferred sizes must be recalculated. Fixes #80801.
  777. 2007-02-12 Everaldo Canuto <[email protected]>
  778. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  779. font height when compatible_text_rendering is false. Partially fix #80801.
  780. 2007-02-09 Gert Driesen <[email protected]>
  781. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  782. 2007-02-09 Gert Driesen <[email protected]>
  783. * Form.cs: Improved exception messages in ShowDialog.
  784. 2007-02-09 Gert Driesen <[email protected]>
  785. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  786. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  787. if not set. Fixes bug #80764. Avoid accessing current_settings field
  788. directly.
  789. 2007-02-08 Everaldo Canuto <[email protected]>
  790. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  791. false.
  792. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  793. public in 2.0 and for easy maintenance and dont break compatibility it is
  794. internal in 1.1.
  795. 2007-02-08 Jonathan Pobst <[email protected]>
  796. * ToolStripItem.cs: Implement using images from ImageList.
  797. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  798. * DateTimePicker.cs: Change default date-formatting culture from
  799. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  800. seems to be the way MS does it.
  801. 2007-02-08 Andreia Gaita <[email protected]>
  802. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  803. (the 6 was cut off on the right side)
  804. 2007-02-08 Jonathan Pobst <[email protected]>
  805. * Form.cs: Tell MenuStrips to close when the form is clicked.
  806. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  807. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  808. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  809. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  810. support for Overflow, where items that do not fit are automatically
  811. reparented to a drop down menu.
  812. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  813. Also: fixes bug #80747.
  814. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  815. * ComboBox.cs: Remove warning (unused code).
  816. * ScrollableControl.cs: Remove warning for 1.1 profile.
  817. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  818. * Form.cs: Remove a warning.
  819. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  820. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  821. 'g' specifier, not documented anywhere, but seems to always show up
  822. as a single space (might have something to do with the DateTime 'g'
  823. specifier, which is the era format, but since DateTimePicker can't
  824. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  825. won't crash if the format has an unmatched quote. Now shows
  826. single-character formats correctly. Fixes #80744.
  827. 2007-02-08 Jonathan Pobst <[email protected]>
  828. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  829. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  830. 2007-02-07 Chris Toshok <[email protected]>
  831. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  832. background color. it overwrites the background image we've
  833. already painted. Fixes #80599.
  834. 2007-02-07 Chris Toshok <[email protected]>
  835. * DataGrid.cs: return immediately from Edit() when there are no
  836. columns. Fixes #80662.
  837. 2007-02-07 Chris Toshok <[email protected]>
  838. * MessageBox.cs: fix #80625. don't always show the Help button in
  839. 2.0. use the displayHelpButton parameter to determine if we
  840. should show it. Also, make the internal show_help field private.
  841. 2007-02-07 Chris Toshok <[email protected]>
  842. * Control.cs (SetVisibleCore): check in the proposed patch for
  843. 80604, and set is_visible before calling CreateControl.
  844. 2007-02-07 Jonathan Pobst <[email protected]>
  845. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  846. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  847. on it.
  848. 2007-02-06 Everaldo Canuto <[email protected]>
  849. * MenuAPI.cs: hotkey_active internal field added, it is required because
  850. we need to know when hotkeys must be draw, before this change a keystate
  851. Navigating was used but we can have menu in navigating state without
  852. hotkeys. Fixes #80694.
  853. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  854. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  855. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  856. corresponding events and methods to be internal for 1.1 profile and
  857. public for 2.0 profile (required by SizeGrip).
  858. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  859. implicit control list). Don't set the size nor the location of the
  860. SizeGrip anymore as it's not needed.
  861. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  862. draw directly on the captured control (fixes #80656). Removed
  863. ShowGrip (it wasn't used anywhere), redraw (always true), added
  864. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  865. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  866. be called from SizeGrip.
  867. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  868. * Timer.cs: Throw ArgumentException if Interval <= 0.
  869. 2007-02-05 Jackson Harper <[email protected]>
  870. * TreeView.cs: We need to check scrollbar visibility when window
  871. visibility is updated, because non visible trees don't ever add
  872. scrollbars.
  873. * Cursor.cs: We want the override cursor to be reset to NULL when
  874. we set current cursor to the default cursor.
  875. 2007-02-05 Jackson Harper <[email protected]>
  876. * TextControl.cs: Don't have crlfs when we are non multiline.
  877. - Consolidate the line position.
  878. 2007-02-05 Jackson Harper <[email protected]>
  879. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  880. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  881. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  882. handling LeaveNotify->NotifyUngrab in order to send
  883. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  884. after calling XUngrabPointer, so we call WindowUngrabbed directly
  885. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  886. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  887. MouseCaptureChanged correctly. Also create handles if changing
  888. Capture (matches MS behaviour).
  889. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  890. * SizeGrip.cs: Make the last change 2.0 only.
  891. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  892. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  893. changes to initial size (fixes #80597).
  894. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  895. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  896. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  897. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  898. background) and only allow dragging if enabled. This way the
  899. sizegrip can be used to fill the open square that otherwise would
  900. have been shown in the bottom right corner of ScrollableControl
  901. when ScrollableControl is not suppose to support sizing.
  902. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  903. sizegrip is shown and enabled, and hook up with necessary events.
  904. 2007-02-01 Chris Toshok <[email protected]>
  905. * DataGridTextBoxColumn.cs: clean up the
  906. GetFormattedString/GetColumnValueAtRow combination of functions.
  907. Also fix UpdateUI, and the initial state of
  908. IsInEditOrNavigateMode.
  909. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  910. aren't supposed to scroll the textbox here, we're supposed to
  911. scroll the datagrid.
  912. 2007-02-01 Chris Toshok <[email protected]>
  913. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  914. setting the position.
  915. 2007-02-01 Chris Toshok <[email protected]>
  916. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  917. here, since the most recent focus fixes keep us from generating
  918. the Leave event when our textbox gets focus.
  919. (Edit): we should be passing null for the column style's
  920. instantText parameter.
  921. 2007-02-01 Jonathan Pobst <[email protected]>
  922. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  923. raised. Fixes menu text/icons not showing up in PDN.
  924. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  925. * Control.cs: Remove code in constructor that makes every
  926. control with WS_CHILD set have initial location -1, -1.
  927. 2007-01-31 Jackson Harper <[email protected]>
  928. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  929. XplatUIX11.
  930. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  931. 2007-01-31 Jackson Harper <[email protected]>
  932. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  933. - Remove some debug code.
  934. 2007-01-31 Jackson Harper <[email protected]>
  935. * XplatUIX11.cs: If you set the override cursor during a grab, it
  936. should actually override the grab cursor. This comes into play
  937. when you are setting custom cursors in a DND feedback method.
  938. 2007-01-31 Jackson Harper <[email protected]>
  939. * X11Dnd.cs: Add support for handling the QueryContinue and
  940. GiveFeedback events.
  941. - Cancel drag and drop actions when the escape key is clicked.
  942. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  943. can handle the ESCAPE key.
  944. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  945. done when dnd events are continued after the button is released.
  946. - Add a new helper method so that dnd can translate key events.
  947. 2007-01-31 Alexander Olk <[email protected]>
  948. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  949. make it more obvious what is happening.
  950. 2007-01-30 Jackson Harper <[email protected]>
  951. * XplatUIX11.cs: Don't break when handling button release in drag
  952. and drop operations. We need that BUTTONUP message to get through
  953. so capture is released.
  954. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  955. this is handled automatically when the mouse is down.
  956. 2007-01-30 Jackson Harper <[email protected]>
  957. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  958. is closed, so we need to make sure that we aren't changing the
  959. dialog result when the OK (Open or Save) button has been clicked
  960. and we are closing the window ourselves. Note we don't need to
  961. worry about the cache being written in this case, because it was
  962. already done in the previous FilOk call.
  963. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  964. * DateTimePicker.cs: Remove a warning.
  965. * ComboBox.cs: Remove a couple of warnings.
  966. 2007-01-29 Chris Toshok <[email protected]>
  967. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  968. set one, if SetIcon is passed a null icon.
  969. 2007-01-29 Andreia Gaita <[email protected]>
  970. * TextBox.cs: Redraw when the password characters changes
  971. * TextControl.cs: Check if textbox has a password char and draw
  972. a line of password chars instead of the text in the line. LineTag gets
  973. an extra Draw() method which allows document.Draw to override the text
  974. that will be drawn. Removes 1024 char limitation on length of passworded
  975. lines.
  976. 2007-01-29 Jackson Harper <[email protected]>
  977. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  978. single chars is not.
  979. 2007-01-28 Jonathan Pobst <[email protected]>
  980. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  981. one pixel. Fix a StackOverflowException caused by an overload wrongly
  982. calling itself.
  983. 2007-01-26 Everaldo Canuto <[email protected]>
  984. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  985. also remove ProcessArrowKey and put the code inside ProcessKeys.
  986. 2007-01-26 Jonathan Pobst <[email protected]>
  987. * PaddingConverter.cs: Added.
  988. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  989. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  990. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  991. of text (fixes #80601). For panels clip the text to draw to the
  992. panel (fixes #80603).
  993. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  994. * ComboBox.cs: Fixed implementation of ResetText.
  995. 2007-01-25 Jackson Harper <[email protected]>
  996. * TextControl.cs: For the last char of a line we need to use the
  997. line size, not that chars width, since it won't actually be
  998. computed since the right side of a char is based on the start of
  999. the left side of the next char, and the next char does not exist.
  1000. 2007-01-25 Chris Toshok <[email protected]>
  1001. * Splitter.cs: fix the new unit tests, and reindent some switch
  1002. statements.
  1003. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1004. * ComboBox.cs: Implemented 2.0 methods and events.
  1005. * TextBoxBase.cs: Added OnTextUpdate, so that
  1006. ComboBox.ComboTextBox can inform ComboBox of it.
  1007. 2007-01-25 Jackson Harper <[email protected]>
  1008. * TextControl.cs: Respect ShowSelection when deciding whether or
  1009. not to display the caret, this allows comboboxes to have carets
  1010. when the combotextbox does not have focus.
  1011. 2007-01-25 Jackson Harper <[email protected]>
  1012. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  1013. same as the Suspend/Resume for recalc, except this will do actual
  1014. Invalidates.
  1015. - New Undo manager, works much like the MS version.
  1016. - Implemented Redo
  1017. * TextBoxBase.cs: The Cut operation is undoable.
  1018. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1019. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  1020. on Windows (no difference on Linux).
  1021. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1022. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  1023. we don't want to activate any windows. Fixes #79433.
  1024. 2007-01-25 Jonathan Pobst <[email protected]>
  1025. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  1026. [Fixes bug #80609]
  1027. 2007-01-25 Alexander Olk <[email protected]>
  1028. * FileDialog.cs:
  1029. - Move to using System.ComponentModel.EventHandlerList
  1030. - Replace Refresh with Invalidate
  1031. - Clear the mime filecache on closing
  1032. - Some other memory reducing work. After beeing closed FD now uses
  1033. only about 300 KB for the fdo mime stuff plus the memory of the
  1034. cached icons.
  1035. * Mime.cs: Changed coding style and removed unnecessary commented
  1036. code. Some more memory memory reducing work.
  1037. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1038. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  1039. a few other missing 2.0 properties.
  1040. * Theme.cs: Added DrawFlatStyleComboBox.
  1041. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  1042. 2007-01-24 Chris Toshok <[email protected]>
  1043. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  1044. wake_waiting flag, not just when there's data to be read. if we
  1045. don't, then future wakeup's won't reach us and we'll be doomed to
  1046. wait for the entire 1 second timeout forever (unless there are X
  1047. events to be had).
  1048. 2007-01-24 Jonathan Pobst <[email protected]>
  1049. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  1050. until you pass Items.Count, not Items.Count - 1 like 1.1.
  1051. 2007-01-24 Gert Driesen <[email protected]>
  1052. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  1053. 2007-01-24 Jonathan Pobst <[email protected]>
  1054. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  1055. adding the panels in the wrong order.
  1056. 2007-01-24 Jackson Harper <[email protected]>
  1057. * TextBoxBase.cs: When we move the caret we also need to move the
  1058. selection, this fixes some random crashing after doing select
  1059. text, unselect, delete a char, paste.
  1060. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  1061. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  1062. 2007-01-23 Everaldo Canuto <[email protected]>
  1063. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  1064. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  1065. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  1066. 2007-01-23 Everaldo Canuto <[email protected]>
  1067. * ToolBar.cs:
  1068. - Implement support for vertical toolbars. Fixes #80539;
  1069. - Call LayoutToolBar when resize, it fix some other problems in layout.
  1070. - Rename requested_height to requested_size, as we can have width on it
  1071. when toolbar is vertical.
  1072. - Create a private property "Vertical" that uses Dock to verify when
  1073. toolbar is vertical or not.
  1074. - Set ControlStyles when change Dock property.
  1075. - Refactory in LayoutToolBar to have better variables names and to support
  1076. vertical toolbars.
  1077. - Fixes default value for ButtonSize when button count is equal zero, size
  1078. must be (39, 36) test case writed.
  1079. 2007-01-23 Chris Toshok <[email protected]>
  1080. * Control.cs: fix the checks so that they work correctly for mdi
  1081. parents/children.
  1082. 2007-01-23 Chris Toshok <[email protected]>
  1083. * Control.cs: ControlCollection seems to have super-secret
  1084. abstraction breaking knowledge of Mdi containers. allow MdiClient
  1085. to add toplevel controls.
  1086. 2007-01-23 Chris Toshok <[email protected]>
  1087. * Control.cs: throw an ArgumentException if a toplevel control is
  1088. added to our control collection from ControlCollection.Add, as
  1089. well as from ControlCollection.IList.Add. This fixes the
  1090. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  1091. Also, in ControlCollection.IList.Add, don't through an
  1092. ArgumentNullException, throw an ArgumentException, when value ==
  1093. null. This matches MS.
  1094. 2007-01-23 Chris Toshok <[email protected]>
  1095. * BindingSource.cs: initial, incomplete, implementation of
  1096. BindingSource.
  1097. 2007-01-23 Jackson Harper <[email protected]>
  1098. * TextControl.cs:
  1099. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  1100. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  1101. 2007-01-23 Everaldo Canuto <[email protected]>
  1102. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  1103. 2007-01-23 Andreia Gaita <[email protected]>
  1104. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  1105. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  1106. IndexOfKey() for 2.0
  1107. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  1108. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  1109. to prevent it from changing z-order.
  1110. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  1111. leave UI updates in MdiWindowManager.
  1112. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  1113. 1 sized (NC handling goes weird on Linux otherwise).
  1114. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  1115. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  1116. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  1117. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  1118. and SetWindowState(s) to allow for changing the size of an activated child
  1119. before activating it (reduces a lot of flicker).
  1120. 2007-01-22 Jonathan Pobst <[email protected]>
  1121. * Form.cs: Changing FormBorderStyle has different semantics based
  1122. on whether the Form is visible or not. If not visible, don't change
  1123. the Size. But InvalidateNC needs to be called to force the window
  1124. to pick up the changes and redraw itself. [Fixes bug #80574]
  1125. 2007-01-22 Jonathan Pobst <[email protected]>
  1126. [Moma work]
  1127. * ContainerControl.cs: ProcessCmdKey.
  1128. * ErrorProvider.cs: new constructor.
  1129. * Form.cs: fix AutoValidateEvent compiler warning.
  1130. * Label.cs: fix OnAutoSizeChanged compiler warning.
  1131. * MenuStrip.cs: fix CanOverflow compiler warning.
  1132. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  1133. * TextBox.cs: Dispose.
  1134. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  1135. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  1136. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  1137. * ToolStripItem.cs: Overflow, RightToLeft properties.
  1138. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  1139. * Form.cs: Move the layout of the main form to MdiWindowManager.
  1140. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  1141. do a layout of the main window to update MdiClient's client area to
  1142. the right area. Fixes #80533. Remove the calculation of nc size,
  1143. it was just wrong and the correct one is the same as for
  1144. InternalWindowManager.
  1145. 2007-01-20 Jonathan Pobst <[email protected]>
  1146. * Control.cs: Setting Anchor or Dock needs to reset the other
  1147. to its default. [Fixes bug #80556]
  1148. 2007-01-20 Chris Toshok <[email protected]>
  1149. * CheckedListBox.cs: class status changes.
  1150. * ScrollableControl.cs: same.
  1151. * RichTextBox.cs: same.
  1152. * ContainerControl.cs: same.
  1153. * ListView.cs: same.
  1154. * NotifyIcon.cs: same.
  1155. * MenuStrip.cs: same.
  1156. * RadioButton.cs: same.
  1157. * CheckBox.cs: same.
  1158. * PrintPreviewDialog.cs: same.
  1159. * Form.cs: same.
  1160. 2007-01-19 Jonathan Pobst <[email protected]>
  1161. * TreeNode.cs: Apply Alan's patch for Name property.
  1162. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  1163. * Form.cs: Implemented SizeGripStyle.
  1164. * SizeGrip.cs: Check for minimum and maximum size for the
  1165. control being resized and only resize if size has actually
  1166. changed.
  1167. 2007-01-19 Chris Toshok <[email protected]>
  1168. * DataGridColumnStyle.cs: stop setting _readonly in the
  1169. PropertyDescriptor setter. fixes a unit test failure.
  1170. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  1171. just consult our table style (if we have one). We don't need to
  1172. consult the datagrid readonly attribute because that's passed in
  1173. as the _ro arg to Edit. this simplifies things a little.
  1174. * DataGrid.cs: use CurrentColumn instead of
  1175. current_cell.ColumnNumber just to simplify some of the code.
  1176. switch the order of some things in the CurrentCell setter to keep
  1177. the previous cell from getting a textbox again -
  1178. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  1179. So we need to set the new cell before calling it.
  1180. call Edit in OnEnter, as does Microsoft.
  1181. also, make sure the current table style isn't the one we create
  1182. initially when checking to see if it's different than the one
  1183. we're setting it to in BindColumns (this fixes #80421).
  1184. * GridTableStylesCollection.cs: table styles can have "" for a
  1185. mapping name. part of the fix for #80421.
  1186. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  1187. Edit significantly.
  1188. 2007-01-18 Jonathan Pobst <[email protected]>
  1189. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  1190. and less GDI object leaky-er.
  1191. 2007-01-18 Andreia Gaita <[email protected]>
  1192. * LinkLabel.cs: Add opaque control style
  1193. 2007-01-18 Jackson Harper <[email protected]>
  1194. * TextControl.cs: Calculate width properly.
  1195. - Don't store the tag's X offset, this can be figured out very
  1196. easily.
  1197. - When getting the caret tag make sure to get the last empty tag.
  1198. 2007-01-18 Jonathan Pobst <[email protected]>
  1199. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  1200. [Fixes bug #79959]
  1201. * Control.cs: Color.Empty shouldn't count for previous transparent
  1202. redraw changes.
  1203. 2007-01-18 Jackson Harper <[email protected]>
  1204. * TextBox.cs:
  1205. * RichTextBox.cs:
  1206. * TextControl.cs: Starting to merge in some pieces of my older
  1207. undo work. Basically just some slight cleanup of the undo API.
  1208. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  1209. * TrackBar.cs: Fix signature of RightToLeftLayout.
  1210. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  1211. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  1212. * Application.cs: Implemented UseWaitCursor.
  1213. 2007-01-18 Jackson Harper <[email protected]>
  1214. * TextControl.cs: We can't skip tags if any part of the tag is
  1215. visible.
  1216. 2007-01-18 Jonathan Pobst <[email protected]>
  1217. * ContainerControl.cs: Override OnLayout.
  1218. 2007-01-18 Jonathan Pobst <[email protected]>
  1219. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  1220. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  1221. everything else.
  1222. 2007-01-18 Chris Toshok <[email protected]>
  1223. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  1224. (leftover from the container_selected days, I'd wager). fixes bug
  1225. #80546.
  1226. 2007-01-18 Jonathan Pobst <[email protected]>
  1227. * Control.cs: Apply patch from George to fix the new testcase on
  1228. bug #80451. We can't just check for Color.Transparent, we need
  1229. to check if the back color's alpha channel is < 255.
  1230. 2007-01-18 Jonathan Pobst <[email protected]>
  1231. * Form.cs: Move setting show_icon = true to before the constructor
  1232. so that the base constructor has that information when it calculates
  1233. the form's size. Was causing forms to be (6, 6) bigger than they
  1234. were supposed to be. Thanks for catching this Rolf!
  1235. 2007-01-18 Jackson Harper <[email protected]>
  1236. * TextControl.cs: When replacing a selection we need to invalidate
  1237. from the initial selection start, because selection start is moved
  1238. to the end of the replacement.
  1239. 2007-01-18 Andreia Gaita <[email protected]>
  1240. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  1241. 2007-01-18 Chris Toshok <[email protected]>
  1242. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  1243. I just added.
  1244. 2007-01-17 Everaldo Canuto <[email protected]>
  1245. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  1246. layout methods and properties from ToolBarButton must be available
  1247. into ToolBarButtonInfo.
  1248. 2007-01-17 Jonathan Pobst <[email protected]>
  1249. * Control.cs: If the control has a transparent background, we
  1250. need to refresh it when it moves and when it's parent's background
  1251. image changes. [Fixes bug #80451]
  1252. 2007-01-17 Jonathan Pobst <[email protected]>
  1253. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  1254. 2007-01-17 Jonathan Pobst <[email protected]>
  1255. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  1256. [Fixes bug #80447, and probably speeds up things as well]
  1257. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1258. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  1259. * XplatUIWin32.cs: We need to recalculate NC size after changing
  1260. window style to toolwindow (otherwise the client rectangle will be
  1261. 3 pixels to small for some reason).
  1262. * MdiWindowManager.cs: Revert NC size calculations to match how
  1263. they are calculated only based on window styles (to match
  1264. Win32AdjustWindowRectEx, since otherwise when setting size or
  1265. location, Control will call Win32AdjustWindowRectEx to update client
  1266. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  1267. calculate a different value of client size causing another paint
  1268. (and flickering))
  1269. * InternalWindowManager.cs: When moving or resizing a window only
  1270. update size or location if they actually changed.
  1271. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  1272. (seems to match Windows behaviour better). Cleaned up
  1273. ManagedWindowDecorations to draw what's needed and nothing else
  1274. (was drawing borders and lines where they shouldn't be)
  1275. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  1276. (style = 0xFFFF) and takes into account caption height when
  1277. calculating window rectangle.
  1278. 2007-01-16 Everaldo Canuto <[email protected]>
  1279. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  1280. can be added to toolbar multiple times, we need to maintain a list of
  1281. button information for each positions.
  1282. 2007-01-16 Everaldo Canuto <[email protected]>
  1283. * ToolBar.cs: Some small stetic changes.
  1284. 2007-01-16 Jackson Harper <[email protected]>
  1285. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  1286. that allow us to have nested recalc = false blocks.
  1287. - Add paste support for images in the RichTextBox
  1288. * RichTextBox.cs: flush the text after the color is changed, so
  1289. the change takes effect.
  1290. - Use SuspendRecalc
  1291. - Some extra debugging info
  1292. * TextControl.cs: Tags no longer track their length, it is just
  1293. computed from the next tags length, this makes things a little
  1294. simpler and reduces places that we have to track length changes.
  1295. - Refactored the linetag class a little so we could make it
  1296. a base class for different kinds of tags
  1297. - Created a image tag, a tag that can have a single image inserted
  1298. into it
  1299. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  1300. that we can call suspend multiple times.
  1301. - Add some debugging methods
  1302. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1303. * MdiClient.cs: Add ActivatePreviousChild for
  1304. mdi child window navigation.
  1305. * Form.cs: Use MdiClient.ActivateNextChild/
  1306. ActivatePreviousChild instead of Form.SelectNextControl
  1307. to select the next/previous child since
  1308. SelectNextControl doesn't do it in the same order
  1309. as mdi children should do it.
  1310. 2007-01-16 Chris Toshok <[email protected]>
  1311. * Control.cs: remove container_selected field.
  1312. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1313. * MdiClient.cs: Update main form's ActiveChild when
  1314. updating keyboard focus for the mdi child.
  1315. 2007-01-16 Jonathan Pobst <[email protected]>
  1316. * Control.cs: PreferredSize fix.
  1317. * Form.cs: Add several 2.0 events, properties, and methods.
  1318. 2007-01-16 Gert Driesen <[email protected]>
  1319. * Form.cs: Provide meaningful message when MdiParent is assigned a
  1320. Form that is not an MdiContainer.
  1321. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1322. * MdiClient.cs: Update main form's ActiveChild when
  1323. activating a mdi child.
  1324. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1325. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  1326. doesn't have a menu.
  1327. * Form.cs: Request NCRecalc after creating a mdi child window.
  1328. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  1329. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  1330. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  1331. sends keyboard focus to the active child, or to the MdiClient
  1332. if there are no child forms.
  1333. 2007-01-15 Chris Toshok <[email protected]>
  1334. * ListView.cs: drop the *Internal overrides, just do our work in
  1335. ItemControl's WndProc instead.
  1336. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  1337. of the various controls, and forward the events properly (in the
  1338. same manner as MS) from the textbox to the UpDown. Also the
  1339. ActiveControl of the UpDownBase gets set properly now. Finally,
  1340. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  1341. * NumericUpDown.cs: set Text in the ctor.
  1342. * DomainUpDown.cs: call UpdateEditText in the ctor.
  1343. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  1344. so even a Selectable = false textbox can be focused if you click
  1345. in it. Go figure.
  1346. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  1347. just add their handling in their respective WndProc's. Also add
  1348. an explicit FocusInternal method that doesn't consult CanFocus
  1349. before calling Select(this).
  1350. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  1351. do our work in WndProc instead.
  1352. * TabControl.cs: same.
  1353. * ComboBox.cs: same.
  1354. 2007-01-15 Everaldo Canuto <[email protected]>
  1355. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  1356. Fixes #80006.
  1357. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  1358. * ListViewItem.cs:
  1359. * ThemeWin32Classic.cs: Don't draw the item text outside
  1360. item bounds in Details view, as well as use trimming.
  1361. Fixes bug #80376.
  1362. 2007-01-15 Jonathan Pobst <[email protected]>
  1363. * Form.cs: Implement Form.ShowIcon.
  1364. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  1365. null, which when combined with the DlgModalFrame window style removes
  1366. the icon from the title bar.
  1367. 2007-01-15 Jonathan Pobst <[email protected]>
  1368. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  1369. 2007-01-15 Everaldo Canuto <[email protected]>
  1370. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  1371. menu when mdi child windows theres a menu, uses insert to get icon
  1372. at first position. Partially fix #80006.
  1373. 2007-01-15 Jonathan Pobst <[email protected]>
  1374. * Clipboard.cs: Implement 2.0 methods.
  1375. 2007-01-15 Everaldo Canuto <[email protected]>
  1376. * Menu.cs: Implement Insert method of MenuItemCollection class
  1377. to fix MenuMerge.
  1378. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  1379. * ListView.cs: Implement 2.0 FindItemWithText method.
  1380. 2007-01-11 Everaldo Canuto <[email protected]>
  1381. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  1382. to calculate menu bar size. Fixes #80290.
  1383. 2007-01-11 Everaldo Canuto <[email protected]>
  1384. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  1385. 2007-01-11 Chris Toshok <[email protected]>
  1386. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  1387. initial form.
  1388. 2007-01-11 Chris Toshok <[email protected]>
  1389. * LinkLabel.cs: make sure to call base.Select in our Select method
  1390. if it turns out we're going to be selected (i.e. if we have a link
  1391. that is going to receive focus). That way our container's
  1392. ActiveControl is updated properly.
  1393. 2007-01-11 Chris Toshok <[email protected]>
  1394. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  1395. they have 1 or more links. this fixes the crash gert reported.
  1396. 2007-01-11 Andreia Gaita <[email protected]>
  1397. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  1398. anymore.
  1399. * Control.cs (Controls.Add): Check if control to be added to the collection
  1400. is a top level control, and throw an ArgumentException if it is.
  1401. Remove ContainerSelectedFlag, not needed anymore.
  1402. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  1403. top most control doesn't activate the form. This fixes a problem in the
  1404. MessageBox, where the default button wouldn't get focus because the form
  1405. was activated before being Loaded - when the Owner is set, SetTopMost is
  1406. called, and it would activate it.
  1407. 2007-01-11 Jonathan Pobst <[email protected]>
  1408. * Button.cs: When clicked and setting the parent form's DialogResult,
  1409. use FindForm instead of Parent, since parent could be a container
  1410. control and not the Form. Fixes bug #80495.
  1411. 2007-01-10 Chris Toshok <[email protected]>
  1412. * Form.cs: move the call to SendControlFocus into the same
  1413. is_loaded check.
  1414. 2007-01-10 Chris Toshok <[email protected]>
  1415. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  1416. It breaks in the face of the new ActiveControl stuff, and should
  1417. be unnecessary.
  1418. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  1419. activecontrol's focus if it's not already set, after we set
  1420. ActiveControl, but before we call OnActivated. Re-fixes #79667
  1421. after the previous focus/active control fixes regressed it.
  1422. * Control.cs: reindent some code.
  1423. 2007-01-10 Chris Toshok <[email protected]>
  1424. * Splitter.cs: clearing some outstanding changes from my tree.
  1425. Replace all accesses (not writes) to the internal dock_style field
  1426. with the Dock property.
  1427. 2007-01-10 Chris Toshok <[email protected]>
  1428. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  1429. FireValidated virtual.
  1430. * Form.cs: override and don't chain up calls to FireEnter and
  1431. FireLeave.
  1432. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  1433. * ListView.cs: Add more text padding space when using
  1434. auto resize for columns (the previous value didn't work fine).
  1435. * ThemeWin32Classic.cs: Update text position inside columns,
  1436. to match the appeareance of .Net.
  1437. * ColumnHeader.cs: When using auto resize, only the Width should
  1438. depend on the sub items, not the Height. Also, set width after
  1439. auto resizing (the value of Width should never remain as -1 or -2).
  1440. 2007-01-10 Chris Toshok <[email protected]>
  1441. * Application.cs: fix compilation errors when debug is enabled.
  1442. 2007-01-10 Chris Toshok <[email protected]>
  1443. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  1444. add some nice ascii art pictures and explanation of the process).
  1445. (GetMostDeeplyNestedActiveControl): new utility function we need
  1446. because our ActiveControl can refer to a child container with its
  1447. own ActiveControl.
  1448. * Form.cs (OnActivated): remove the call to SelectActiveControl
  1449. from here, since you can override this method and not chain up,
  1450. and winforms still sets the active control.
  1451. (OnCreateControl): also remove the unnecessary SelectActiveControl
  1452. call from here.
  1453. (WndProc): it's actually called from the WM_ACTIVATE block, just
  1454. before calling OnActivated.
  1455. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  1456. inside the else. the ActiveControl setter will end up setting
  1457. focus on @control. This keeps us from setting it again (and
  1458. generating an extra LostFocus/GotFocus pair).
  1459. (Select (bool, bool)): reindent.
  1460. 2007-01-10 Jonathan Pobst <[email protected]>
  1461. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  1462. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  1463. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  1464. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  1465. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  1466. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  1467. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  1468. ToolStripTextBox.cs: Another wave of corcompare work.
  1469. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  1470. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  1471. the Width property.
  1472. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  1473. methods by callling Column.AutoResize method on columns.
  1474. 2007-01-09 Jonathan Pobst <[email protected]>
  1475. * Control.cs: Provide proper implementations of PreferredSize
  1476. and GetPreferredSize (2.0).
  1477. 2007-01-09 Jonathan Pobst <[email protected]>
  1478. * Form.cs: Remove one character (!) to make my previous OnClosing
  1479. stuff work for modal windows like MessageBox.
  1480. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  1481. * ListView.cs:
  1482. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  1483. ListView.Columns to get the last displayed column. Fixes #80452.
  1484. 2007-01-09 Everaldo Canuto <[email protected]>
  1485. * Label.cs, LinkLabel.cs: Source code identation fixes.
  1486. 2007-01-08 Everaldo Canuto <[email protected]>
  1487. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  1488. we dont need to invalidate only borders because when we invalidate four
  1489. border lines the invalidate's generates a complete redraw of button,
  1490. because it now invalidate a complete rect some other redraws operations
  1491. are fixed. Fixes #80196.
  1492. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  1493. Remove ToolBarInvalidateEntireButton as it is not used.
  1494. 2007-01-08 Jonathan Pobst <[email protected]>
  1495. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  1496. called for 2.0 profile.
  1497. * CloseReason.cs: Make class internal for 1.1.
  1498. 2007-01-08 Jonathan Pobst <[email protected]>
  1499. * ToolStripManager.cs: Implement FindToolStrip functionality.
  1500. * ToolStrip.cs: Register and unregister with ToolStripManager.
  1501. 2007-01-07 Jonathan Pobst <[email protected]>
  1502. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  1503. to ArrangedElementCollection. Implemented this with as few #if's as
  1504. possible (which is still too many).
  1505. 2007-01-07 Jonathan Pobst <[email protected]>
  1506. * Control.cs: Implement SizeFromClientSize() [2.0].
  1507. 2007-01-07 Everaldo Canuto <[email protected]>
  1508. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  1509. use Theme.BorderSize to calculate area instead of static value 1,
  1510. by the way use new BorderStaticSize instead Border3DSize when
  1511. border_static is true. Fixes #79537.
  1512. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  1513. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  1514. it is not needed.
  1515. 2007-01-06 Everaldo Canuto <[email protected]>
  1516. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  1517. 2007-01-06 Everaldo Canuto <[email protected]>
  1518. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  1519. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  1520. * Hwnd.cs:
  1521. - border_static field added, it will used to define when a control
  1522. theres 3D border but it must be static (thin).
  1523. - In GetWindowRectangle use Theme.BorderSize to calculate area
  1524. instead of static value 1, by the way use new BorderStaticSize instead
  1525. Border3DSize when border_static is true.
  1526. * XplatUIX11.cs, XplatUIOSX.cs:
  1527. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  1528. * Theme.cs: BorderStaticSize field added.
  1529. 2007-01-05 Everaldo Canuto <[email protected]>
  1530. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  1531. 2007-01-05 Everaldo Canuto <[email protected]>
  1532. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  1533. mimic same behavior than win32 that set border only in CreateParams,
  1534. it fix problems under CreateParams overrides. Fix #79442 and partial
  1535. fix #79537.
  1536. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  1537. of thi control you must call recreate handle.
  1538. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  1539. need to do anything as RecreateHangle will take care about borders.
  1540. 2007-01-05 Mike Kestner <[email protected]>
  1541. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  1542. cycles between the ItemControl and parent. Fixes #80388.
  1543. 2007-01-05 Gert Driesen <[email protected]>
  1544. * Control.cs: Lazy init layout engine. Do not directly use
  1545. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  1546. 2007-01-05 Chris Toshok <[email protected]>
  1547. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  1548. unless our list manager has changed (i.e. unless we have reason to
  1549. believe our columns have changed). Fixes #80422.
  1550. also, disable the call do BindColumns in
  1551. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  1552. 1.1 the event isn't raised in response to a column addition on a
  1553. table.)
  1554. 2007-01-05 Jonathan Pobst <[email protected]>
  1555. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  1556. that inheritors can not call it if they choose. Fixes bug #80456.
  1557. 2007-01-05 Andreia Gaita <[email protected]>
  1558. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  1559. doesn't blow up with a null exception on marshalling.
  1560. 2007-01-05 Jonathan Pobst <[email protected]>
  1561. * Control.cs: Implement several 2.0 protected properties and methods.
  1562. Ensure that all necessary events are being called when properties
  1563. are set.
  1564. 2007-01-05 Mike Kestner <[email protected]>
  1565. * ListView.cs: implement PgUp/PgDn for Details view. Also
  1566. fixes First/LastVisibleIndex to use the item_control.ClientRect
  1567. instead of the parent control. Fixes #80378.
  1568. 2006-01-05 Atsushi Enomoto <[email protected]>
  1569. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  1570. determine whether to use yard-pound or not (bug #78399).
  1571. 2006-01-04 Alexander Olk <[email protected]>
  1572. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  1573. problems. So it is time to bring back the old popupbutton colors.
  1574. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  1575. * ColumnHeader.cs:
  1576. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  1577. property by using the internal information of the
  1578. columns order in ListView.
  1579. 2007-01-04 Jonathan Pobst <[email protected]>
  1580. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  1581. Add 2.0 Tag properties.
  1582. * LinkArea.cs: Add 2.0 ToString method.
  1583. 2007-01-03 Chris Toshok <[email protected]>
  1584. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  1585. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  1586. when we're editing, which fixes #80047.
  1587. 2007-01-03 Chris Toshok <[email protected]>
  1588. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  1589. #80404.
  1590. 2007-01-03 Jonathan Pobst <[email protected]>
  1591. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  1592. property and implementation.
  1593. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  1594. for MdiWindowListItem property.
  1595. * ToolStripDropDown.cs: Don't consider hidden menu items while
  1596. laying out the menu.
  1597. 2007-01-03 Andreia Gaita <[email protected]>
  1598. * SendKeys.cs: window handle is not needed in win32, so just
  1599. get the active window for X after parsing keys and don't use
  1600. it when building the message; it is passed by parameter to the
  1601. Xplat method and used there to build the message instead. Also,
  1602. wait for events to be processed on SendWait, as opposed to Send,
  1603. which doesn't wait :) Playing with threads and Send() completely
  1604. hangs on ms.net, only SendWait() works.
  1605. XplatUIX11.cs
  1606. X11Display.cs: Check for valid window handle.
  1607. 2007-01-03 Jackson Harper <[email protected]>
  1608. * TextControl.cs: Need to prevent wrap calculations when replacing
  1609. text (this was there before i removed it accidently).
  1610. - Don't update the cursor during the positioning, just set it to
  1611. selection_start at the end of the operaion.
  1612. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  1613. * Control.cs:
  1614. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  1615. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  1616. * MonthCalendar.cs: Added Click and DoubleClick events again,
  1617. but this time they only hide Control's Click and DoubleClick.
  1618. 2007-01-03 Gert Driesen <[email protected]>
  1619. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  1620. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  1621. 2007-01-02 Jackson Harper <[email protected]>
  1622. * TextBoxBase.cs: We move the caret with the split now, so we
  1623. don't need to explicitly move the caret after splitting. This
  1624. fixes the caret bumping down an extra line on Enter.
  1625. 2007-01-02 Miguel de Icaza <[email protected]>
  1626. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  1627. 2.72).
  1628. * ScrollableControl.cs: Add Scroll event.
  1629. 2007-01-02 Mike Kestner <[email protected]>
  1630. * ListView.cs: one more try with help from [email protected]
  1631. to fix all hdr height padding codepaths. Fixes #80207.
  1632. 2007-01-02 Chris Toshok <[email protected]>
  1633. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  1634. setting it to the Control defaults anyway, and it being after the
  1635. Dock set was screwing up layout.
  1636. (set_Dock): don't short circuit out of setting base.Dock. Also,
  1637. no need to call UpdateStatusBar here, as it'll be re-layed out if
  1638. it needs to be.
  1639. 2007-01-02 Mike Kestner <[email protected]>
  1640. * ListView.cs: patch from [email protected] to add padding
  1641. to header height for width == -1. Fixes the rest of #80207.
  1642. 2007-01-02 Mike Kestner <[email protected]>
  1643. * ListView.cs: rework the mouse event forwarding everaldo added
  1644. to translate the coordinates to the parent control not
  1645. raise the parent events until after we've done our work. Hover
  1646. needs more work, in the case where HoverSelection is on, because
  1647. the item control receives more than one MouseHover per Enter
  1648. event, so we need to ensure only the "first" hover gets forwarded.
  1649. Opening a minor bug for that.
  1650. 2007-01-02 Gert Driesen <[email protected]>
  1651. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  1652. * ListControl.cs: Implemented AllowSelection property. Removed extra
  1653. tabs.
  1654. * ListBox.cs: Implemented AllowSelection property.
  1655. 2007-01-02 Everaldo Canuto <[email protected]>
  1656. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  1657. SelectedItem, it prevent for errors when you must disable item
  1658. before perform click. Fixes #80409.
  1659. 2007-01-02 Everaldo Canuto <[email protected]>
  1660. * MenuAPI.cs: Prevent second level and beyond submenus to close
  1661. until first level when move out side of popup.
  1662. 2007-01-02 Everaldo Canuto <[email protected]>
  1663. * MenuAPI.cs:
  1664. - Down submenu positin in three pixels.
  1665. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  1666. 2007-01-02 Everaldo Canuto <[email protected]>
  1667. * ThemeWin32Classic.cs:
  1668. - Fix popup menu size adding one pixel on the top.
  1669. - Down menu item border from two to one to mimic Win32.
  1670. - Some source identation fixes.
  1671. 2007-01-01 Everaldo Canuto <[email protected]>
  1672. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  1673. position of menu arrows, it fix wrong arrow size.
  1674. 2007-01-01 Everaldo Canuto <[email protected]>
  1675. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  1676. instead of line, it simplify draw operation and fix it using 3D
  1677. borders to mimic Win32.
  1678. 2007-01-01 Jonathan Pobst <[email protected]>
  1679. * StatusStrip.cs: Add implementation of the sizing grip.
  1680. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  1681. StatusStrip rendering.
  1682. 2006-12-31 Chris Toshok <[email protected]>
  1683. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  1684. override the layout style (anchor/dock) of the control. assign to
  1685. Dock instead. Fixes bug #80416.
  1686. * ToolStrip.cs: same.
  1687. 2006-12-31 Andreia Gaita <[email protected]>
  1688. * ContainerControl.cs: Use ContainerSelected flag to check if
  1689. a Container is directly selected, or if Select is called on a
  1690. non-container. If a container is directly selected, focus events
  1691. should not be raised.
  1692. Apply #80411 patch to throw exception on set_ActiveControl if
  1693. control is the same as the current one.
  1694. * Control.cs: Use ContainerSelected flag (see above).
  1695. Add invalidation check to raise event but not invalidate if
  1696. dimensions are 0.
  1697. Apply #80411 patch.
  1698. 2006-12-31 Everaldo Canuto <[email protected]>
  1699. * MenuAPI.cs: After click, dont close popup menu when menu is
  1700. ContextMenu. Fixes #80399.
  1701. 2006-12-30 Chris Toshok <[email protected]>
  1702. * ContainerControl.cs: make sure we throw the exception if the
  1703. container control doesn't contain the control we're setting
  1704. ActiveControl to.
  1705. 2006-12-30 Chris Toshok <[email protected]>
  1706. * Control.cs (SetTopLevel): fix the exception raised by
  1707. SetTopLevel for child controls.
  1708. (set_Anchor): call UpdateDistances when setting the anchor type.
  1709. This fixes bug #80336.
  1710. 2006-12-29 Gert Driesen <[email protected]>
  1711. * Theme.cs: For now, revert back to 8pt font.
  1712. 2006-12-29 Everaldo Canuto <[email protected]>
  1713. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  1714. Fixes #80395.
  1715. 2006-12-29 Chris Toshok <[email protected]>
  1716. * Control.cs: reorder the code in OnResize to give the same event
  1717. ordering as MS.
  1718. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  1719. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  1720. TileHorizontally and TileVertically.
  1721. 2006-12-29 Alexander Olk <[email protected]>
  1722. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  1723. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  1724. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  1725. Corrected copyright and email adress.
  1726. 2006-12-29 Gert Driesen <[email protected]>
  1727. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  1728. of Exception in FullPath property if no TreeView is associated with
  1729. the TreeNode.
  1730. 2006-12-29 Gert Driesen <[email protected]>
  1731. * Theme.cs: Marked default_font as private, and initialize it in ctor
  1732. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  1733. on 2.0 profile.
  1734. * ThemeGtk.cs: Removed default_font intialization.
  1735. * ThemeWin32Classic.cs: Removed default_font initialization.
  1736. 2006-12-28 Chris Toshok <[email protected]>
  1737. * Control.cs: fix a couple of place where we were creating handles
  1738. more aggressively than we should be. Fixes ControlRefresh unit
  1739. tests.
  1740. 2006-12-28 Chris Toshok <[email protected]>
  1741. * Control.cs: contrary to what the comment said, Control.Dock does
  1742. not supercede Control.Anchor - the last one you assign to decides
  1743. the layout behavior. so we need to keep track of which was the
  1744. last set. Also, fix some of the affected property arguments in
  1745. PerformLayout calls, and remove an redundant parent.PerformLayout
  1746. call in OnResized.
  1747. Add a VisibleInternal property, which returns is_visible. We
  1748. can/should get rid of all the usage of this field elsewhere.
  1749. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1750. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  1751. control style, not DoubleBuffer. Added UseDoubleBuffering property
  1752. that indicates whether doublebuffering is enabled and supported.
  1753. (comment from and code based on Gert Driesen's patch in #80324).
  1754. Fixes #80324.
  1755. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1756. * Control.cs: Fixed a NRE.
  1757. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1758. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  1759. for 2.0.
  1760. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1761. * Control.cs: Rewrote double buffering, now a seperate
  1762. class handles all the buffering, no Graphics is disposed of
  1763. until the painting is finished (earlier implementation
  1764. would crash if the control was resized in the OnPaint,
  1765. since it would cause the double buffer to be recreated
  1766. and the old one disposed), a separate Graphics is
  1767. created for every paint (MS behaviour and anyways the state
  1768. of the Graphics would have to be saved and restored otherwise)
  1769. * XplatUIDriver.cs:
  1770. * XplatUIX11.cs:
  1771. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  1772. so that we can get the graphics for the back buffer without
  1773. having to create a new one and remove the offscreen_dc parameter
  1774. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  1775. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  1776. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  1777. Also make virtual all the key-related methods.
  1778. * ListViewItem.cs: Make virtual the key related methods for
  1779. ListViewSubItemCollection.
  1780. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  1781. * ListView.cs:
  1782. * ListViewItem.cs:
  1783. * ThemeWin32Classic.cs:
  1784. * Theme.cs: Initial support for Tile view in ListView,
  1785. as well as the implementation of the required bits for it (Item
  1786. and Subitem).
  1787. 2006-12-27 Gert Driesen <[email protected]>
  1788. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  1789. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  1790. Provide useful exception messages.
  1791. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  1792. * TrackBar.cs: Remove a warning.
  1793. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  1794. when used by DateTimePicker, fixes #80287. This also requires that
  1795. MonthCalendar implements it's own drawing for the yearly updown control,
  1796. otherwise the Capture tracking would be too complicated. Removed the Click
  1797. and DoubleClick events (according to comments they were hiding the base class
  1798. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  1799. raise these events, not that they cannot be raised. It is possible to raise
  1800. them by calling OnClick and OnDoubleClick). Added two internal fields in
  1801. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  1802. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  1803. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  1804. event, no longer needed.
  1805. 2006-12-27 Gert Driesen <[email protected]>
  1806. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  1807. true if new value differs from current value.
  1808. 2006-12-27 Gert Driesen <[email protected]>
  1809. * Control.cs: ControlCollection.Count must be public. Fixed build of
  1810. unit tests.
  1811. 2006-12-27 Gert Driesen <[email protected]>
  1812. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  1813. 2006-12-27 Gert Driesen <[email protected]>
  1814. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  1815. 2006-12-26 Everaldo Canuto <[email protected]>
  1816. * Control.cs: Invalidates control including when Width and Height is
  1817. equal zero or is not visible, only Paint event must be care about
  1818. this. Fixes #79913.
  1819. 2006-12-26 Chris Toshok <[email protected]>
  1820. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  1821. more corcompare work.
  1822. * DataGridView.cs: fix compiler warning.
  1823. * ColumnHeader.cs: some corcompare work, and also take the
  1824. opportunity to make the internal fields private.
  1825. * ListView.cs: fix the fallout from the above field change.
  1826. 2006-12-26 Jonathan Pobst <[email protected]>
  1827. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  1828. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  1829. ToolStripTextBox.cs: Fixes to events and corcompare.
  1830. 2006-12-26 Everaldo Canuto <[email protected]>
  1831. * ListView.cs: Call owner.OnMousexx event to propagate events from
  1832. item to ListView. Fixes #80367.
  1833. 2006-12-26 Gert Driesen <[email protected]>
  1834. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  1835. if value is less than one. ItemHeight should not be set to a value
  1836. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  1837. Removed extra tabs.
  1838. 2006-12-26 Jonathan Pobst <[email protected]>
  1839. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  1840. * ToolStripStatusLabel.cs: Add Spring for Moma.
  1841. 2006-12-26 Gert Driesen <[email protected]>
  1842. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  1843. Fixed code formatting. Removed debug code.
  1844. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  1845. 2006-12-26 Gert Driesen <[email protected]>
  1846. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  1847. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  1848. ArgumentOutOfRangeException if ColumnCount is negative. In
  1849. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  1850. less than 4 or higher than 32768.
  1851. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  1852. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  1853. Fixed IsFormatProviderDefault to return true if FormatProvider has
  1854. not been explicitly set.
  1855. 2006-12-25 Chris Toshok <[email protected]>
  1856. * Application.cs: add a couple of 2.0 events.
  1857. 2006-12-25 Chris Toshok <[email protected]>
  1858. * Control.cs: fix compiler warning.
  1859. * AxHost.cs: corcompare fixes.
  1860. * ApplicationContext.cs: corcompare fixes.
  1861. 2006-12-25 Chris Toshok <[email protected]>
  1862. * Control.cs: only update dist_right/dist_bottom if the
  1863. width/height is > 0. this fixes anchored controls being resized
  1864. smaller until they disappear and then resized larger again.
  1865. 2006-12-25 Chris Toshok <[email protected]>
  1866. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  1867. since they're nothing more than X/Left and Y/Top, respectively.
  1868. Also, move back to a per-control Bitmap/Graphics for
  1869. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  1870. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  1871. Height.
  1872. 2006-12-25 Miguel de Icaza <[email protected]>
  1873. * MessageBox.cs: Implemented overload that takes a new "bool
  1874. displayHelpButton" by adding a new internal field "show_help".
  1875. When clicked this will raise the HelpRequested on the owner or the
  1876. main form.
  1877. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  1878. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  1879. * ListView.cs: Add support ColumnWidthChanged and
  1880. ColumnWidthChanging.
  1881. Add support for ColumnReordered event.
  1882. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  1883. reorder.
  1884. Very nice codebase!
  1885. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  1886. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  1887. 2006-12-24 Chris Toshok <[email protected]>
  1888. * GridTablesFactory.cs: 2.0 corcompare work.
  1889. * ToolStripContainer.cs: add "override" to
  1890. ContextMenuStripChanged, and remove the local event object.
  1891. * ToolStripDropDown.cs: same with a couple properties.
  1892. * ToolStripPanel.cs: same with AutoSizeChanged event.
  1893. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  1894. * Form.cs: add the remaining 2.0 events, and do some corcompare
  1895. attribute work.
  1896. * DateTimePicker.cs: add "new" to padding.
  1897. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  1898. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  1899. * DataGridView.cs: PaddingChanged is overridden.
  1900. 2006-12-24 Chris Toshok <[email protected]>
  1901. * Control.cs: corecompare work here too.
  1902. * DataGridViewElement.cs, DataGridView.cs,
  1903. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  1904. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  1905. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  1906. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  1907. work.
  1908. 2006-12-24 Miguel de Icaza <[email protected]>
  1909. * Control.cs: Switched the error message on the console for a
  1910. todo. A review of the code will have to cope with this anyways
  1911. (since its a large feature, it is in our radar) and it was
  1912. producing too much output when running PDN.
  1913. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  1914. changes. Applications depend on this (PDN 2.72)
  1915. 2006-12-23 Chris Toshok <[email protected]>
  1916. * TableLayoutSettings.cs: finish up the corcompare work for this
  1917. class.
  1918. 2006-12-23 Chris Toshok <[email protected]>
  1919. * Control.cs: make SetImplicitBounds internal, do some futzing
  1920. with LayoutEngine so that it's available in 1.1, and remove the
  1921. entire duplicated code mess from PerformLayout. Use
  1922. System.Windows.Forms.Layout.DefaultLayout instead.
  1923. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  1924. 2006-12-23 Jonathan Pobst <[email protected]>
  1925. * Form.cs: Add MainMenuStrip property.
  1926. 2006-12-23 Jonathan Pobst <[email protected]>
  1927. * Control.cs: Add ContextMenuStrip property and implementation.
  1928. Fix ContextMenu implementation to show menu centered on control when
  1929. activated using the keyboard instead of showing at screen (0,0).
  1930. * ToolStripDropDown.cs: Fix needed overload of Show ().
  1931. 2006-12-23 Everaldo Canuto <[email protected]>
  1932. * Menu.cs: Name property added for 2.0 profile.
  1933. 2006-12-23 Everaldo Canuto <[email protected]>
  1934. * Menu.cs: Update information about FindMenuItem, method to be
  1935. implemented soon.
  1936. 2006-12-23 Everaldo Canuto <[email protected]>
  1937. * MenuAPI.cs: When deselect items deselect also selected subitems.
  1938. 2006-12-23 Everaldo Canuto <[email protected]>
  1939. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  1940. FindSubItemByCoord to found itens that is not active, also an
  1941. cheking added to FindSubItemByCoord to search for items only
  1942. in visible popup windows. Fixes #80274.
  1943. 2006-12-22 Everaldo Canuto <[email protected]>
  1944. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  1945. internal property, it be care about change ExStyle.
  1946. 2006-12-22 Andreia Gaita <[email protected]>
  1947. * ContainerControl.cs: set activeControl for parent forms up the
  1948. tree when the new activecontrol is a container.
  1949. When validating the active control, if it is a container, also
  1950. raise up the validation for it's active control. Fixes #80280
  1951. * Control.cs: Add internal property flag and check to prevent
  1952. Focus events from getting raised when Select() is called for
  1953. a ContainerControl. There are still too many focus events being
  1954. raised at the moment though.
  1955. Cleaned up the code a bit.
  1956. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  1957. * Control.cs: Added all missing 2.0 events.and
  1958. fixed a couple of corcompare issues.
  1959. * TrackBar.cs: Implemented missing 2.0 bits.
  1960. * MonthCalendar.cs,
  1961. * DateTimePicker.cs,
  1962. * MdiClient.cs: Fixed some corcompare issues.
  1963. 2006-12-21 Jonathan Pobst <[email protected]>
  1964. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  1965. SplitterPanel.cs: corecompare work.
  1966. 2006-12-21 Jonathan Pobst <[email protected]>
  1967. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  1968. Clean up warnings for BackgroundImageChanged and PaddingChanged
  1969. events now that they are implemented in Control.cs.
  1970. 2006-12-21 Jonathan Pobst <[email protected]>
  1971. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  1972. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  1973. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  1974. of TableLayoutPanel and supporting cast.
  1975. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  1976. * XplatUIWin32.cs:
  1977. - GrabWindow now confines the mouse pointer to the confine window.
  1978. - Added Win32ClipCursor and Win32GetClipCursor.
  1979. * Control.cs:
  1980. - Added CaptureWithConfine to be able to capture and confine
  1981. mouse pointer.
  1982. * InternalWindowManager.cs:
  1983. - Call CaptureWithConfine instead of Capture if we're an
  1984. MdiChild (fixes #79982).
  1985. 2006-12-21 Chris Toshok <[email protected]>
  1986. * DataGrid.cs: guard against the initial state of selection, where
  1987. selection_start == -1. make sure we only select from index >= 0.
  1988. Fixes bug #80291.
  1989. 2006-12-21 Chris Toshok <[email protected]>
  1990. * Control.cs: we don't need to be so draconian with
  1991. UpdateDistances, and we thusly don't need to call it before
  1992. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  1993. 2006-12-21 Daniel Nauck <[email protected]>
  1994. * ComboBox.cs,
  1995. TextBox.cs: Implemented AutoComplete properties.
  1996. 2006-12-20 Chris Toshok <[email protected]>
  1997. * DataGridView*.cs: some corecompare work.
  1998. 2006-12-20 Jackson Harper <[email protected]>
  1999. * XplatUIX11.cs: We need to hide the caret when deleting it,
  2000. otherwise you get carets left lying around everywhere.
  2001. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  2002. prevents getting some weird half drawn caret tracers when
  2003. scrolling.
  2004. * TextControl.cs: Attempt to reduce the number of times we need to
  2005. recreate the caret.
  2006. 2006-12-20 Gert Driesen <[email protected]>
  2007. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  2008. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  2009. * DateTimePicker.cs:
  2010. - Implemented missing 2.0 bits.
  2011. - Changed some default values to match MS.
  2012. 2006-12-20 Jackson Harper <[email protected]>
  2013. * TextBoxBase.cs: When changing the font across the document we
  2014. can't recalculate after changing each line, since that will cahnge
  2015. the line count.
  2016. - PreferredHeight is a little different than i thought.
  2017. - When backspacing, move the caret before we do the actual char
  2018. delete, because when that delete crosses a wrap boundary the
  2019. positional information will change.
  2020. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  2021. * Control.cs: Added some missing 2.0 bits:
  2022. BackgroundImageLayout, BackgroundImageLayoutChanged,
  2023. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  2024. add IBindableComponent and IDropTarget implementation.
  2025. * MonthCalendar.cs:
  2026. - Added all missing 2.0 features:
  2027. BackgroundImageLayout, RightToLeftLayout,
  2028. OnHandleDestroyed, RightToLeftLayoutChanged,
  2029. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  2030. PaddingChanged.
  2031. - Rewrote all the BoldDate code, it was completely broken.
  2032. - Fixed all the tests (the tests can now be re-enabled, the
  2033. problems were not with the tests, but with the control, it was
  2034. mostly broken).
  2035. * DateTimePicker.cs: Changed the location where the
  2036. MonthCalendar is shown.
  2037. 2006-12-19 Chris Toshok <[email protected]>
  2038. * DataGridView.cs: add IDropTarget implementation.
  2039. * ToolStripPanel.cs: add IDropTarget implementation.
  2040. 2006-12-19 Jackson Harper <[email protected]>
  2041. * TextControl.cs: soft now means something different than what it
  2042. used to mean, we want to move the caret regardless of whether or
  2043. not this break was soft (would we really have wanted the caret
  2044. to not move with the break in the old context?)
  2045. * TreeView.cs: Make sure we factor in the vert scrollbar when
  2046. calculating the horizontal scrollbar's maximum.
  2047. 2006-12-19 Andreia Gaita <[email protected]>
  2048. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  2049. check for keywords in alternate casing, close bug #80049.
  2050. 2006-12-19 Chris Toshok <[email protected]>
  2051. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  2052. methods (which all do nothing).
  2053. * IDropTarget.cs: add the 4 missing methods.
  2054. 2006-12-19 Chris Toshok <[email protected]>
  2055. * TableLayoutRowStyleCollection.cs: corcompare work.
  2056. * TableLayoutSettings.cs: same.
  2057. * TableLayoutStyle.cs: same.
  2058. * TableLayoutColumnStyleCollection.cs: same.
  2059. 2006-12-19 Jonathan Pobst <[email protected]>
  2060. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  2061. TableLayoutPanel I've had in my local tree for way too long.
  2062. 2006-12-19 Miguel de Icaza <[email protected]>
  2063. * TableLayoutSettings.cs: Finish the public API (still needs all
  2064. the logic to update on changes).
  2065. * TableLayoutPanelCellPosition.cs: new file.
  2066. * TableLayoutRowStyleCollection.cs,
  2067. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  2068. TableLayoutSettings.cs: Track the final 2.0 table api.
  2069. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  2070. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  2071. and Image List 2.0 members for ColummnHeader.
  2072. * ListView.cs: Add key-related 2.0 methods for
  2073. ColumnHeaderCollection.
  2074. 2006-12-19 Gert Driesen <[email protected]>
  2075. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  2076. ArgumentNullException if items argument is null. Ignore null item in
  2077. arrays. Removed extra tabs.
  2078. 2006-12-19 Gert Driesen <[email protected]>
  2079. * MonthCalendar.cs: Fixed InvalidCastException.
  2080. 2006-12-19 Jackson Harper <[email protected]>
  2081. * TextControl.cs: Don't increment the position here.
  2082. - When calculating char positions only add in the line break size
  2083. for hard line breaks.
  2084. 2006-12-19 Andreia Gaita <[email protected]>
  2085. * SendKeys.cs: Changed some things to match ms.net behaviour
  2086. when parsing shifted capital letters.
  2087. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  2088. Add window handle as parameter to SendInput. X11 needs the
  2089. window handle, and the handle being passed to it in the keys
  2090. queue is the active control handle (which windows needs), not
  2091. the window handle.
  2092. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  2093. to support SendKeys on X.
  2094. * X11Keyboard: Implement helper method to lookup a linux keycode
  2095. given the virtual keycode. Added table of keycode-2-virtualkey
  2096. values to support this.
  2097. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  2098. * ListView.cs: Add support for SelectedIndexCollection
  2099. and SelectedItemCollection 2.0 methods. Implement support
  2100. for ImageKey too.
  2101. * ListViewItem.cs: Add support for ListViewSubItemCollection
  2102. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  2103. (it shouldn't call Clear).
  2104. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  2105. 2006-12-19 Jackson Harper <[email protected]>
  2106. * RichTextBox.cs:
  2107. * TextBoxBase.cs: New args for FormatText
  2108. * TextControl.cs: Rewrote the main drawing method, this version
  2109. feels a little easier to understand and debug to me. Hopefully it
  2110. does to others also
  2111. - Fix FormatText to OR in the new formating values. Added
  2112. FormatSpecified param, basically this works in the same way as
  2113. BoundsSpecified in Control.
  2114. - Set the caret properties when the caret is positioned.
  2115. - When wrapping text make sure that we calculate the width of the
  2116. last character
  2117. - when calculating alignments we might have wrapped down to the
  2118. next line, so don't search for an individual tag, search for the
  2119. end of the line
  2120. - We need to invalidate the selection area when we replace the
  2121. selection.
  2122. 2006-12-19 Daniel Nauck <[email protected]>
  2123. * Application.cs: add Restart () 2.0 support
  2124. 2006-12-18 Everaldo Canuto <[email protected]>
  2125. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  2126. property. Fixes #80268.
  2127. 2006-12-18 Everaldo Canuto <[email protected]>
  2128. * MenuAPI.cs: Dont trigger select event when closes top menu
  2129. item. Fixes #80270.
  2130. 2006-12-18 Everaldo Canuto <[email protected]>
  2131. * MenuAPI.cs: When you click on menuitem only trigger onselect
  2132. event for top menu itens. Fixes #80271.
  2133. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  2134. * MdiWindowManager.cs: Make IconicBounds depend on
  2135. the bottom of MdiClient, not the top (fixes #80267)
  2136. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  2137. * MdiClient.cs: Added missing 2.0 attribute
  2138. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  2139. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  2140. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  2141. 2006-12-18 Everaldo Canuto <[email protected]>
  2142. * MenuAPI.cs: Fix click when menuitem is not popup,
  2143. this regression was caused by last commit (#80272).
  2144. 2006-12-17 Everaldo Canuto <[email protected]>
  2145. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  2146. fire click event or close menu. Fixes #80272.
  2147. 2006-12-17 Daniel Nauck <[email protected]>
  2148. * ListViewHitTestInfo.cs: add
  2149. 2006-12-17 Daniel Nauck <[email protected]>
  2150. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  2151. * FlatButtonAppearance.cs: add
  2152. * DockingAttribute.cs: add
  2153. 2006-12-17 Chris Toshok <[email protected]>
  2154. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  2155. and rebind our columns when it does - this way, if you make
  2156. changes to the DataTable (or set the Table attribute on a DataView
  2157. after setting it as the DataGrid's DataSource, the changes are
  2158. made visible.) Fixes bug #80107.
  2159. 2006-12-17 Daniel Nauck <[email protected]>
  2160. * ListViewGroup.cs: add internal Location property for layouting.
  2161. * Theme.cs: add abstract ListViewGroupHeight function.
  2162. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  2163. 2006-12-16 Andreia Gaita <[email protected]>
  2164. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  2165. Added reset of selected index to 0 when adding first tab page.
  2166. Fixes #80264
  2167. * NumericUpDown.cs: Fix NET_2_0 check
  2168. 2006-12-16 Daniel Nauck <[email protected]>
  2169. * ListViewGroup.cs: fixed DefaultValueAttribute value
  2170. 2006-12-16 Daniel Nauck <[email protected]>
  2171. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  2172. 2006-12-15 Miguel de Icaza <[email protected]>
  2173. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  2174. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  2175. ScrollableControl.cs: Add a handful of methods that are
  2176. overwritten in 2.0
  2177. 2006-12-15 Chris Toshok <[email protected]>
  2178. * XplatUIWin32.cs: initial implementation of the Reversible
  2179. drawing functions. there are some problems. DrawReversibleFrame
  2180. doesn't seem to work at all for Dashed FrameStyle, and in the
  2181. Thick case there are drawing errors at the corners (we probably
  2182. need to bind Rectangle instead of doing moveto/lineto's.)
  2183. 2006-12-16 Andreia Gaita <[email protected]>
  2184. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  2185. to send blocks of key messages. Send accumulates keys to send with Flush,
  2186. while SendWait sends all keys immediately.
  2187. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2188. XplatUIX11.cs, XplatUIX11-new.cs:
  2189. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  2190. to Win32 SendInput.
  2191. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  2192. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  2193. testing for ms.net on this class is very tricky, as the tests run too fast
  2194. to allow the hook to release, essentially freezing the keyboard and the
  2195. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  2196. category :p
  2197. 2006-12-16 Daniel Nauck <[email protected]>
  2198. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  2199. added missing attributes.
  2200. 2006-12-15 Daniel Nauck <[email protected]>
  2201. * ListViewGroup.cs: Added missing attributes.
  2202. * ListViewGroupCollection.cs: Added missing attributes.
  2203. 2006-12-15 Daniel Nauck <[email protected]>
  2204. * ListViewItem.cs: fixed ListViewSubItem text property.
  2205. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2206. * Control.cs: Added missing 2.0 attributes
  2207. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2208. * MdiClient.cs: Added missing 2.0 attribute.
  2209. * MonthCalendar.cs: Added some missing 2.0 attributes
  2210. and properties.
  2211. 2006-12-15 Daniel Nauck <[email protected]>
  2212. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  2213. 2006-12-15 Jonathan Pobst <[email protected]>
  2214. * MainMenu.cs: Add the new 2.0 constructor to help out people
  2215. using the MainMenu in VS2005.
  2216. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2217. * MdiChildContext.cs: Removed it, no longer used.
  2218. * MdiClient.cs: Added missing 2.0 attributes.
  2219. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2220. * InternalWindowManager.cs: Fix a NullRef with previous
  2221. changes for toolwindows.
  2222. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2223. * Control.cs:
  2224. - Added AfterTopMostControl to allow for certain controls
  2225. to always stay on top when normal controls are brought to
  2226. front.
  2227. * XplatUIWin32.cs:
  2228. - (DrawInversibleRectangle): Get window rectangle from Win32
  2229. in stead of from control, since Win32 doesn't calculate
  2230. screen coords correctly from control's Location if it
  2231. have docked siblings.
  2232. * MdiWindowManager.cs:
  2233. - Correct the control menu popup location when clicked on
  2234. the maximized form icon. (fixes #80223.1)
  2235. - Don't show moving rectangle if mouse hasn't moved from
  2236. the original clicked point.
  2237. - Removed FormGotFocus handler (not used).
  2238. - Calculate the control buttons location from the main
  2239. window's size and not client size (fixes #79770).
  2240. - Form is now closed when the form icon is double-clicked
  2241. (fixes #79775).
  2242. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  2243. * InternalWindowManager.cs:
  2244. - Moved some MDI-only methods to MdiWindowManager.
  2245. - Removed unused properties and methods.
  2246. - Unified method naming for methods handling wm messages.
  2247. - Moved all message handling to seperate methods for
  2248. each message.
  2249. * ThemeWin32Classic.cs:
  2250. - DrawManagedWindowDecorations now draws the title bar
  2251. with a gradient brush.
  2252. - Add a CPDrawButtonInternal that allows us to specify
  2253. light, normal and dark colors for the buttons (control
  2254. buttons for MDI children were drawn with the same light
  2255. color as the background, therefore loosing the 3D effect).
  2256. * SizeGrip.cs:
  2257. - Add a CapturedControl property that is used to
  2258. determine the control to resize (defaults to parent).
  2259. Needed for MdiClient, since its SizeGrip's parent is
  2260. MdiClient, but the control to resize is the main form.
  2261. * MdiClient.cs:
  2262. - Set SizeGrip's CapturedControl to the main form in order
  2263. to resize the main form and not the MdiClient.
  2264. - Override AfterTopMostControl to leave the scrollbars
  2265. always on top.
  2266. 2006-12-15 Daniel Nauck <[email protected]>
  2267. * ListView.cs: fixed ListViewItemCollection AddRange and
  2268. implemented ListViewItemCollection AddRange 2.0 support.
  2269. 2006-12-15 Daniel Nauck <[email protected]>
  2270. * ListViewGroup.cs: Add.
  2271. * ListViewGroupCollection.cs: Add
  2272. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  2273. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  2274. stub for ImageKey 2.0 support.
  2275. 2006-12-14 Mike Kestner <[email protected]>
  2276. * ListView.cs: add text padding to the autocalculation for columns
  2277. of width -2. Fixes #80207.
  2278. 2006-12-14 Mike Kestner <[email protected]>
  2279. * ListView.cs: add some index guarding for partial row navigation
  2280. logic. Fixes #80250.
  2281. 2006-12-14 Mike Kestner <[email protected]>
  2282. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  2283. are added or inserted to the collection. Fixes #81099.
  2284. 2006-12-13 Everaldo Canuto <[email protected]>
  2285. * MenuAPI.cs: Closes menu when right click out side of popup
  2286. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  2287. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  2288. * ListViewItem.cs: Fix dumb error.
  2289. * ListView.cs: Add Find and ContainsKey methods in
  2290. ListViewItemCollection, and also return true for IsReadOnly
  2291. and IsFixedSize (changes for 2.0).
  2292. 2006-12-13 Gert Driesen <[email protected]>
  2293. * Control.cs: Allow Region to be set to null.
  2294. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  2295. * MdiWindowManager.cs: Remove unused (commented out) code.
  2296. * Form.cs: When the MdiChild is maximized, the form needs
  2297. WM_NCMOUSELEAVE, so request it.
  2298. * InternalWindowManager.cs:
  2299. - Added tooltips to control buttons.
  2300. - Removed duplicated control button handling code.
  2301. - Removed unused (commented out) code.
  2302. 2006-12-12 Everaldo Canuto <[email protected]>
  2303. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  2304. was used because we must set cursor without trigger ChangeCursor event
  2305. and without change Cursor control property. Fixes #79963.
  2306. 2006-12-12 Andreia Gaita <[email protected]>
  2307. * Control.cs: Check if Region setter value is null, and ignore
  2308. 2006-12-12 Jackson Harper <[email protected]>
  2309. * TextControl.cs: We were almost always drawing one more line then
  2310. needed, since the GetLineByPixel will return the last line found
  2311. at that pixel. In most cases though, we were invalidating up to
  2312. the junction between two lines.
  2313. - Improve debug code.
  2314. 2006-12-12 Chris Toshok <[email protected]>
  2315. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  2316. and FillReversibleRectangle.
  2317. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  2318. and FillReversibleRectangle.
  2319. * XplatUIWin32.cs: add stubs which do nothing for
  2320. DrawReversibleFrame, DrawReversibleLine, and
  2321. FillReversibleRectangle.
  2322. * XplatUIOSX.cs: add stubs which raise NIE for
  2323. DrawReversibleFrame, DrawReversibleLine, and
  2324. FillReversibleRectangle.
  2325. * XplatUIX11.cs: add working implementation for
  2326. DrawReversibleFrame, DrawReversibleLine, and
  2327. FillReversibleRectangle.
  2328. * ControlPaint.cs: implement DrawReversibleFrame,
  2329. DrawReversibleLine, and FillReversibleRectangle, by calling into
  2330. the appropriate XplatUI method.
  2331. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2332. * Form.cs: Make MdiClient have the focus even if it's
  2333. not selectable, since it should receive WM_KEY* and WM_MOUSE
  2334. messages. Fixes #79907.
  2335. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2336. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  2337. queried after the window is created.
  2338. * XplatUIX11.cs: Added SendParentNotify to implement
  2339. WM_PARENTNOTIFY logic. Fixes #79965.
  2340. * Control.cs: Added MakeParam.
  2341. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2342. * MdiClient.cs: Resume Layout before setting window
  2343. states (fixes #80201).
  2344. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2345. * MenuAPI.cs: Deselect a menu item after performing
  2346. the click (fixes #80197).
  2347. 2006-12-11 Jackson Harper <[email protected]>
  2348. * TextBoxBase.cs: We need to cap this value, since Maximum -
  2349. ViewPortHeight can be less than zero.
  2350. - Only do selection with the left mouse button.
  2351. * TextBox.cs: Don't tell the world that we have a context menu.
  2352. * Control.cs: New method so that we can control whether or not the
  2353. context menu is visible outside MWF.
  2354. 2006-12-11 Everaldo Canuto <[email protected]>
  2355. * ToolBarButton.cs: Fix text positon.
  2356. 2006-12-11 Miguel de Icaza <[email protected]>
  2357. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  2358. * Control.cs (DoubleBuffered): Add implementation.
  2359. * Application.cs (OpenForms): Add.
  2360. 2006-12-11 Jonathan Pobst <[email protected]>
  2361. * Form.cs: Use opacity instead of Opactiy to determine if we need
  2362. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  2363. 2006-12-11 Jonathan Pobst <[email protected]>
  2364. * Control.cs: Fix NRE if Control.Site was set to null.
  2365. 2006-12-11 Chris Toshok <[email protected]>
  2366. * Control.cs: ControlCollection.Remove should return if the arg is
  2367. null, and ControlCollection.SetChildIndex should raise a ANE.
  2368. 2006-12-11 Gert Driesen <[email protected]>
  2369. * Control.cs: Verify value set for Dock property. Code formatting
  2370. updates.
  2371. 2006-12-11 Jackson Harper <[email protected]>
  2372. * TextControl.cs: Draw the caret and the selection when a flag is
  2373. set on the owner.
  2374. * TextBoxBase.cs: We want to draw the caret and the selection for
  2375. TextBox but not for TextBoxBase.
  2376. - If the window is resized and scrolling is no longer needed (the
  2377. whole doc is visible) set the scroll position to zero.
  2378. - The default SelectWord (the one TextBox uses) should move the
  2379. caret to the end of the word.
  2380. - SelectAll moves the caret to the end of the selection.
  2381. * TextBox.cs: We don't selectall on focus, we just do it when the
  2382. control is created.
  2383. 2006-12-11 Mike Kestner <[email protected]>
  2384. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  2385. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  2386. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  2387. 2.0 support.
  2388. * ListViewItem.cs: Add Name 2.0 property.
  2389. 2006-12-11 Andreia Gaita <[email protected]>
  2390. * TabControl.cs: Set visibility on selected or default tab
  2391. when tabcontrol handle is created, so that it's contents
  2392. actually show up (duh). Fixes #80193
  2393. Don't redraw the control if there is no handle created, as
  2394. the selected index might be completely invalid. Added some tests
  2395. to check for this.
  2396. 2006-12-11 Everaldo Canuto <[email protected]>
  2397. * ToolBar.cs: Uses maximun width and height of all buttons as
  2398. button rectangle when ButtonSize specified, it looks strange but
  2399. is what happens in Win32. Fixes #80189.
  2400. 2006-12-11 Jackson Harper <[email protected]>
  2401. * TextControl.cs: Need to track undo levels ourself, since
  2402. compound actions will mess them up.
  2403. 2006-12-10 Andreia Gaita <[email protected]>
  2404. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  2405. SelectedIndex value is changed (even if it's not valid).
  2406. Reset SelectedIndex to 0 when the handle is created and if
  2407. the current index is invalid.
  2408. Fixes SelectdeIndex unit tests and #80128
  2409. 2006-12-08 Chris Toshok <[email protected]>
  2410. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  2411. calls EndEdit, it needs to be called before we set current_cell to
  2412. its new value. Otherwise, we end up committing the value in the
  2413. textbox to the new cell as well. Fixes bug #80160.
  2414. 2006-12-08 Chris Toshok <[email protected]>
  2415. * Form.cs (set_CancelButton): if the button's DialogResult is
  2416. None, set it to Cancel. Fixes bug 80180.
  2417. 2006-12-08 Jackson Harper <[email protected]>
  2418. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  2419. to watch ourselves when setting the canvas size and setting the
  2420. scrollbar values.
  2421. 2006-12-08 Chris Toshok <[email protected]>
  2422. * DataGrid.cs: comment out the two MakeTransparent calls for the
  2423. time being so people using trunk (and not 1.2.2) on windows can
  2424. actually use the datagrid. This deals with bug #80151.
  2425. 2006-12-08 Jonathan Pobst <[email protected]>
  2426. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  2427. Graphics.DrawImage (image, int, int, int, int) overload instead
  2428. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  2429. the dpi difference and was blurring images it drew.
  2430. [Fixes bug #79960]
  2431. 2006-12-08 Chris Toshok <[email protected]>
  2432. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  2433. rowcnt is 0 (such as with an empty datasource), and make sure we
  2434. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  2435. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  2436. 2006-12-08 Chris Toshok <[email protected]>
  2437. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  2438. grid.
  2439. 2006-12-08 Chris Toshok <[email protected]>
  2440. [ Fixes bug #80167 ]
  2441. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  2442. style is FlatStyle.System.
  2443. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  2444. ButtonBase.flat_style private, and switch uses of it to the public
  2445. property.
  2446. 2006-12-08 Chris Toshok <[email protected]>
  2447. [ Fixes bug #80121 ]
  2448. * ThemeWin32Classic.cs: center the caption text in the datagrid
  2449. when we draw it.
  2450. * DataGrid.cs: lessen the amount we add to the caption height from
  2451. 6 to 2. 6 was making it huge.
  2452. 2006-12-08 Andreia Gaita <[email protected]>
  2453. * UpDownBase: Handle MouseWheel call directly instead of capturing
  2454. the inner textbox's OnMouseWheel. Fixes #80166
  2455. 2006-12-08 Jackson Harper <[email protected]>
  2456. * TextControl.cs: We need to invalidate the textbox when we empty
  2457. it (how had this not been discovered before?)
  2458. 2006-12-08 Jackson Harper <[email protected]>
  2459. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  2460. to behave like MS, we now ignore the eventargs.Click and just
  2461. track state ourself, which we were already doing anyways.
  2462. - Constrain the double click handler to the double click size.
  2463. 2006-12-08 Chris Toshok <[email protected]>
  2464. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  2465. direction if that scrollbar isn't shown. fixes bug #80158.
  2466. 2006-12-08 Andreia Gaita <[email protected]>
  2467. * NumericUpDown.cs: Update value on getter. Fixes #79950
  2468. 2006-12-08 Chris Toshok <[email protected]>
  2469. * MenuItem.cs: add back in the event cloning code. I didn't know
  2470. how to do it in the face of the EventHandlerList work i'd done
  2471. last week. Fixes bug #80183.
  2472. 2006-12-08 Jonathan Pobst <[email protected]>
  2473. * Control.cs: Add an invalidate to the BackgroundImage setter.
  2474. [Fixes 80184]
  2475. 2006-12-07 Jonathan Pobst <[email protected]>
  2476. * ToolStrip*: Add some small properties reported by MoMA, fix event
  2477. firing and default properties based off of unit tests, and add some
  2478. attributes based off of the class status page.
  2479. 2006-12-07 Jackson Harper <[email protected]>
  2480. * TextBoxBase.cs: Take HideSelection into account when determining
  2481. whether or not to show the selection.
  2482. * RichTextBox.cs: After inserting the RTF into the document move
  2483. the cursor to the beginning of the document.
  2484. 2006-12-07 Jonathan Pobst <[email protected]>
  2485. * Control.cs: Remove static ArrayList "controls" which maintained
  2486. a reference to every control created.
  2487. * Application.cs: Create a static FormCollection to maintain a reference
  2488. to every form created. Use it in places that formerly enumerated through
  2489. the controls one looking for forms.
  2490. * Form.cs: Add and remove self from above FormCollection.
  2491. 2006-12-07 Alexander Olk <[email protected]>
  2492. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  2493. not libgdk (though it makes me wonder why I didn't have any
  2494. problems)
  2495. 2006-12-07 Chris Toshok <[email protected]>
  2496. [ you had to know this was coming after that last commit...]
  2497. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  2498. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  2499. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  2500. XCopyArea).
  2501. 2006-12-07 Chris Toshok <[email protected]>
  2502. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  2503. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  2504. all the behavior we need for double buffering.
  2505. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  2506. client side Bitmap, just like the old Control-based double buffer
  2507. code did. The methods are virtual, so each XplatUI driver
  2508. subclass can replace the implementation to use a faster, platform
  2509. specific approach.
  2510. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  2511. double buffer code, and clean things up a bit in the process.
  2512. 2006-12-06 Chris Toshok <[email protected]>
  2513. * Control.cs: reindent WndProc.
  2514. 2006-12-06 Chris Toshok <[email protected]>
  2515. [ I wanna be like BenM when I grow up ]
  2516. * Hwnd.cs: create a single static Graphics object on the static
  2517. Bitmap we create. use this for our text measurements.
  2518. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  2519. This was causing us to allocate a backbuffer for every control,
  2520. even when it wasn't flagged as double buffered. Instead use the
  2521. single graphics instance. This might have implications for
  2522. multithreaded applications. If we run into problems we can switch
  2523. to creating 1 Graphics per control, on the static Hwnd bitmap.
  2524. this change nets us a 7M savings in private dirty mappings when
  2525. running FormsTest.exe.
  2526. 2006-12-06 Chris Toshok <[email protected]>
  2527. * ListView.cs: the BackgroundImage override is just to set
  2528. attributes. chain up to base.BackgroundImage.
  2529. * RichTextBox.cs: same.
  2530. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  2531. changes, so instead a handler for BackgroundImageChanged.
  2532. * Control.cs: make background_image private.
  2533. 2006-12-06 Chris Toshok <[email protected]>
  2534. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  2535. sure we even need this assignment, but roll with it for now.
  2536. * Control.cs: make the cursor field private.
  2537. 2006-12-06 Chris Toshok <[email protected]>
  2538. * Form.cs: we don't need to explicitly set ImeMode to
  2539. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  2540. behavior in the face of ImeMode.Inherit.
  2541. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  2542. change the ctor's assignment to use ImeMode instead of ime_mode.
  2543. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  2544. ImeModeInherit. Only check for the parent's imemode (and return
  2545. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  2546. This fixes the button unit test, which sets both ImeMode and
  2547. DefaultImeMode to ImeMode.Disable.
  2548. also make the ime_mode field private.
  2549. 2006-12-06 Chris Toshok <[email protected]>
  2550. * Control.cs: make control_style private.
  2551. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  2552. setting the styles to true, then setting them to false instead of
  2553. reverting to their previous values.
  2554. also, call SetStyle on the scrollbars instead of using
  2555. control_style directly.
  2556. 2006-12-06 Jonathan Pobst <[email protected]>
  2557. * FormCollection.cs: Implement. [2.0]
  2558. 2006-12-06 Chris Toshok <[email protected]>
  2559. * Control.cs: make tab_stop private.
  2560. * Label.cs: set TabStop, not tab_stop. reformat some event
  2561. add/remove methods to make them more compact.
  2562. 2006-12-06 Chris Toshok <[email protected]>
  2563. * RadioButton.cs: fix TabStop handling.
  2564. 2006-12-06 Chris Toshok <[email protected]>
  2565. * TextBox.cs: remove the explicit assignments to has_focus.
  2566. Control does that.
  2567. * ButtonBase.cs: remove the assignment to has_focus. Control will
  2568. manage that.
  2569. 2006-12-06 Chris Toshok <[email protected]>
  2570. * ButtonBase.cs: remove all uses of is_enabled from this code.
  2571. it's always true when any of the code containing the checks is
  2572. executed.
  2573. 2006-12-06 Chris Toshok <[email protected]>
  2574. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  2575. with different semantics (some are present in both 1.1 and 2.0
  2576. profiles) so that we match MS's behavior in our unit tests.
  2577. 2006-12-06 Jackson Harper <[email protected]>
  2578. * TextControl.cs: Make this operation undoable.
  2579. * TextBoxBase.cs: Factor the border width into the preferred
  2580. height.
  2581. - implement Modified as per the spec.
  2582. 2006-12-06 Chris Toshok <[email protected]>
  2583. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  2584. 2006-12-06 Chris Toshok <[email protected]>
  2585. * Control.cs: make right_to_left and context_menu fields private.
  2586. 2006-12-06 Chris Toshok <[email protected]>
  2587. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  2588. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  2589. Control.child_controls private. switch all uses over to
  2590. Control.Controls.
  2591. 2006-12-06 Chris Toshok <[email protected]>
  2592. * System.Windows.Forms/GroupBox.cs,
  2593. System.Windows.Forms/AccessibleObject.cs,
  2594. System.Windows.Forms/ErrorProvider.cs,
  2595. System.Windows.Forms/Control.cs,
  2596. System.Windows.Forms/UpDownBase.cs,
  2597. System.Windows.Forms/ScrollBar.cs,
  2598. System.Windows.Forms/DateTimePicker.cs,
  2599. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  2600. System.Windows.Forms/ToolTip.cs,
  2601. System.Windows.Forms/RadioButton.cs,
  2602. System.Windows.Forms/LinkLabel.cs,
  2603. System.Windows.Forms/Splitter.cs,
  2604. System.Windows.Forms/TextBoxBase.cs,
  2605. System.Windows.Forms/ToolStripTextBox.cs,
  2606. System.Windows.Forms/ContainerControl.cs,
  2607. System.Windows.Forms/ThemeWin32Classic.cs,
  2608. System.Windows.Forms/SizeGrip.cs,
  2609. System.Windows.Forms/ToolStripDropDown.cs,
  2610. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  2611. private. switch all uses over to Control.Parent.
  2612. 2006-12-06 Chris Toshok <[email protected]>
  2613. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  2614. Control does this before calling emitting these events.
  2615. * TabControl.cs: same.
  2616. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  2617. Control.client_rect.
  2618. * ButtonBase.cs: use the ClientSize property instead of the
  2619. client_size field.
  2620. * ScrollableControl.cs: same.
  2621. * Control.cs: another pass at making properties private. also,
  2622. move the initialization of tab_stop to the ctor.
  2623. 2006-12-05 Andreia Gaita <[email protected]>
  2624. * TabControl.cs: Let the selected index be set freely if the
  2625. control handle is not yet created.
  2626. 2006-12-05 Jonathan Pobst <[email protected]>
  2627. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  2628. internal until I can rewrite DefaultLayout.
  2629. * ToolStrip.cs: Fix build error and some general cleaning.
  2630. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  2631. Fix build errors caused by making some of Control's fields private.
  2632. 2006-12-05 Jackson Harper <[email protected]>
  2633. * TextControl.cs: Redo Insert a little so that it use IndexOf
  2634. instead of Split, this prevents it from messing up on things like
  2635. \n\n\n. Also more effecient since the split array doesn't need to
  2636. be created.
  2637. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  2638. multiline text differently, this is the first of many fixes that
  2639. will make multiline/non-multiline the same thing as far as the
  2640. TextBoxBase is concerned.
  2641. - Don't split the text and insert lines, this can lose some line
  2642. endings (like is the last line a soft or hard break). Instead use
  2643. the new Insert.
  2644. - Fix an off by one when combining all the lines in the Text
  2645. getter.
  2646. - Remove separate multiline handling from the Text getter/setter.
  2647. 2006-12-05 Chris Toshok <[email protected]>
  2648. * ButtonBase.cs: a few changes:
  2649. - don't reinitialize internal Control fields in the ctor when they
  2650. have the same values as Control sets them.
  2651. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  2652. this before calling those methods.
  2653. - we don't need to call Refresh for anything. use Invalidate
  2654. instead.
  2655. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  2656. calls Refresh in its OnEnabledChanged.
  2657. - several of the events we were registered for in the ctor to
  2658. redraw ourselves already include calls to Invalidate in the
  2659. property setters that raise the events. remove the extra
  2660. invalidation.
  2661. - reformat a switch statement that was 83274658 columns wide.
  2662. 2006-12-05 Mike Kestner <[email protected]>
  2663. * ComboBox.cs: fix a unit test regression from a TextBox
  2664. SelectionLength return of -1 when there's no selection.
  2665. 2006-12-05 Chris Toshok <[email protected]>
  2666. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  2667. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  2668. cleaning up some of the internal Control fields being used by
  2669. subclasses.
  2670. 2006-12-05 Mike Kestner <[email protected]>
  2671. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  2672. listbox after AddImplicit calls since it defaults to hidden. Add a
  2673. hack to preserve requested heights across DropDownStyle changes.
  2674. 2006-12-05 Jonathan Pobst <[email protected]>
  2675. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  2676. 2006-12-05 Chris Toshok <[email protected]>
  2677. * DataGridView.cs: fix compiler warnings.
  2678. * PrintControllerWithStatusDialog.cs: same.
  2679. * ToolBar.cs: same.
  2680. * FolderBrowserDialog.cs: same.
  2681. * Splitter.cs: same.
  2682. * DataGridViewComboBoxCell.cs: same.
  2683. * XplatUIWin32.cs: same.
  2684. * PictureBox.cs: same.
  2685. * Win32DnD.cs: same.
  2686. * PageSetupDialog.cs: same.
  2687. * FileDialog.cs: same.
  2688. * PrintDialog.cs: same.
  2689. * DataGridTextBoxColumn.cs: same.
  2690. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  2691. 2006-12-05 Chris Toshok <[email protected]>
  2692. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  2693. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  2694. System.ComponentModel.EventHandlerList work.
  2695. 2006-12-05 Jonathan Chambers <[email protected]>
  2696. * DrawTreeNodeEventArgs.cs: Added.
  2697. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  2698. * InternalWindowManager.cs: Remove an unused field.
  2699. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  2700. * InternalWindowManager.cs:
  2701. - Save the point where the title bar is clicked.
  2702. * MdiWindowManager.cs:
  2703. - Only allow moving of the window as long as the
  2704. clicked point on the title bar does not get out of
  2705. MdiClient's rectangle. Fixes #79982.
  2706. * MdiClient.cs:
  2707. - Added Horizontal/VerticalScrollbarVisible.
  2708. - Simplified the scrollbar sizing algorithm.
  2709. - Cache the difference in scrolled value in
  2710. H/VBarValueChanged and move the calculation out
  2711. of the for loop.
  2712. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  2713. * Control.cs: Make the Console.WriteLine in WndProc
  2714. write more info.
  2715. 2006-12-05 Chris Toshok <[email protected]>
  2716. * ToolStripManager.cs, ToolStripButton.cs,
  2717. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  2718. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  2719. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  2720. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  2721. ToolStripProgressBar.cs, ToolStripContainer.cs,
  2722. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  2723. to using System.ComponentModel.EventHandlerList.
  2724. 2006-12-04 Chris Toshok <[email protected]>
  2725. * LinkLabel.cs: fix up compiler warnings.
  2726. * TableLayoutSettings.cs: same.
  2727. * TreeView.cs: same.
  2728. * ToolBar.cs: same.
  2729. * TabControl.cs: same.
  2730. * RichTextBox.cs: same.
  2731. * ListViewItem.cs: same.
  2732. * PropertyGrid.cs: same.
  2733. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  2734. * ToolTip.cs same.
  2735. * TextRenderer.cs: fix up compiler warnings.
  2736. * Label.cs: same.
  2737. * Form.cs: corcompare fixes.
  2738. * PictureBox.cs: fix up compiler warnings.
  2739. * ImageListStreamer.cs: same.
  2740. * TrackBar.cs: corcompare fix.
  2741. * Control.cs: fix up compiler warnings.
  2742. * SplitterPanel.cs: same.
  2743. * NumericTextBox.cs: same.
  2744. * ImageList.cs: same.
  2745. * StatusStrip.cs: same.
  2746. * ProgressBar.cs: corcompare fix.
  2747. * ToolStripButton.cs: fix up compiler warnings.
  2748. * ToolStripStatusLabel.cs: same.
  2749. * ToolStripSplitButton.cs: same.
  2750. * ToolStripSeparator.cs: same.
  2751. * ToolStripProgressBar.cs: same.
  2752. * ToolStripDropDownMenu.cs: same
  2753. * ToolStripDropDown.cs: same.
  2754. * ToolStripDropDownButton.cs: same.
  2755. * ToolStrip.cs: same.
  2756. * ToolStripControlHost.cs: same.
  2757. * ToolStripContentPanel.cs: same.
  2758. * ToolStripDropDown.cs: same.
  2759. * ToolStripContainer.cs: same.
  2760. * ToolStripPanel.cs: same, and add "new" where we need it to work
  2761. with the new ArrangedElementCollection.
  2762. * ToolStripItemCollection.cs: add "new" where we need it to work
  2763. with the new ArrangedElementCollection.
  2764. 2006-12-04 Andreia Gaita <[email protected]>
  2765. * TabControl.cs: Fix default tab selection to after TabControl
  2766. gets focus and not before. Fixes #80128
  2767. 2006-12-04 Chris Toshok <[email protected]>
  2768. * DataGridTableStyle.cs: remove the gross calling of
  2769. datagrid.Refresh from here. It's a broken idea and it doesn't
  2770. work anyway.
  2771. * DataGrid.cs: instead, just register/unregister from the
  2772. DataGridTableStyle events in CurrentTableStyle. we play it
  2773. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  2774. even though some would most likely not require it. Fixes bug
  2775. #80115 (and one portion of #80117 as a side effect).
  2776. 2006-12-04 Chris Toshok <[email protected]>
  2777. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  2778. so the textbox (if any) goes away. Fixes bug #80117.
  2779. 2006-12-04 Chris Toshok <[email protected]>
  2780. * DataGridColumnStyle.cs: set the column's readonly property
  2781. initially based on the property descriptor's IsReadOnly. Fixes
  2782. bug #80044.
  2783. 2006-12-04 Chris Toshok <[email protected]>
  2784. * ComboBox.cs: wrap the dropdown style changing work in
  2785. SuspendLayout/ResumeLayout. Fixes bug #79968.
  2786. 2006-12-04 Jackson Harper <[email protected]>
  2787. * TextBoxBase.cs: Fix off by one, since these are one-based.
  2788. * TextBox.cs: Select all the text when we get focus. The TextBox
  2789. does this but the RTB does not.
  2790. 2006-12-04 Chris Toshok <[email protected]>
  2791. * DataGridTextBoxColumn.cs: remove some spew.
  2792. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  2793. but some part of me is saying "it shouldn't be here.." At any
  2794. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  2795. setting the value.
  2796. 2006-12-04 Chris Toshok <[email protected]>
  2797. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  2798. to reassign the propertydescriptor.
  2799. 2006-12-04 Jackson Harper <[email protected]>
  2800. * TextBoxBase.cs:
  2801. * TextControl.cs: Remove some unused variables. Maybe this will
  2802. patch things up between mike and I.
  2803. - don't split lines less then one char wide, if the viewport is
  2804. that small text won't be visible anyways.
  2805. 2006-12-04 Jackson Harper <[email protected]>
  2806. * TextBoxBase.cs: Default selection length is -1, need to do some
  2807. more testing on windows to see when this is used for the property.
  2808. - Redid the Lines [] property to that we properly remove soft line
  2809. breaks
  2810. - added support for preserving carriage returns
  2811. - CanUndo is not a variable like 'is undo enabled' it just returns
  2812. true if there is undo operations available.
  2813. - AppendText doesn't need to grab the last tag itself anymore,
  2814. this happens automatically when we move the cursor.
  2815. * TextControl.cs: Add CompoundActions to the undo class. This
  2816. allows combining the other operations into one big option. ie a
  2817. paste will combine { delete old, insert new, move cursor }
  2818. - Add InsertString undo operation
  2819. - New method for deleting multiline text
  2820. - Add carriage returns to lines. So we can preserve carriage
  2821. returns when text is 'roundtripped'
  2822. 2006-12-04 Chris Toshok <[email protected]>
  2823. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  2824. minimum 0. Fixes the scrollbar exception in bug #80136.
  2825. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  2826. * MdiClient.cs:
  2827. * MdiWindowManager: Removed unused fields and methods.
  2828. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  2829. * StatusBar.cs: Update all panels when a AutoSize=Contents
  2830. panel needs updating.
  2831. * StatusBarPanel.cs: Remove twidth and only use initialize.
  2832. Fixes #80031.
  2833. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  2834. * Form.cs: When a form's MdiParent is set add it directly
  2835. on top of the z-order in stead of relying on MdiClient's
  2836. ActivateChild to do it. Fixes #80135.
  2837. * MdiClient.cs:
  2838. - Remove original_order, mdi_child_list is already doing
  2839. the same thing.
  2840. - Create mdi_child_list on construction in
  2841. stead of first use (avoids a few null checks).
  2842. * MenuItem.cs: Use an already existing list of mdi children
  2843. to get the correct order of children and remove the other
  2844. redundant list.
  2845. 2006-12-04 Chris Toshok <[email protected]>
  2846. * PropertyGridView.cs: cached_splitter_location is only used in
  2847. !DOUBLEBUFFER code.
  2848. * PropertyGrid.cs: implement the ComComponentNameChanged event
  2849. using Events, hoping that would fix the warning. Looks like a
  2850. compiler bug instead (#80144).
  2851. * PropertyManager.cs: remove unused method.
  2852. 2006-11-04 Everaldo Canuto <[email protected]>
  2853. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  2854. include parentesis to fix expression evaluation. Fixes #79634.
  2855. 2006-11-02 Everaldo Canuto <[email protected]>
  2856. * MenuAPI.cs:
  2857. - Changes to fix behavior in Menu control, some reported in #80097
  2858. and other detected during behavior refactory like a select event
  2859. problems.
  2860. - Remove unneded "if's" conditions.
  2861. - Created an internal to flag when popup is active in control, we need
  2862. it because in .NET you can have menu active but without popup active
  2863. when you active menu using popup without visible items.
  2864. - Mimic win32 behavior for Select and Popup events.
  2865. - Dont open popup menu when you dont have visible subitems.
  2866. - Do nothing when click on disabled menu item.
  2867. - Some small changes to follow the coding style guidelines.
  2868. - Unselect menu only when another control gives focus. Fixes #80097.
  2869. - Remove unused code.
  2870. * MenuItem.cs: internal VisibleItems method to check if menu
  2871. theres visible subitems, it will be usefull to fix some
  2872. behavior in Menu control.
  2873. 2006-11-01 Everaldo Canuto <[email protected]>
  2874. * Timer.cs: Tag property for 2.0 profile.
  2875. 2006-12-01 Chris Toshok <[email protected]>
  2876. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  2877. * Win32DnD.cs: comment out some unused fields.
  2878. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  2879. some unused properties/methods.
  2880. * XplatUIX11.cs: fix MousePosition so we override the base class's
  2881. property instead of conflicting with it.
  2882. * PictureBox.cs: comment out some unused fields
  2883. * OSXStructs.cs: make some struct fields public.
  2884. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  2885. MousePosition so we override the base class's property instead of
  2886. conflicting with it.
  2887. * X11Dnd.cs: comment out some unused fields
  2888. * X11DesktopColors.cs: fix some struct field visibility to quiet
  2889. the compiler.
  2890. * X11Dnd.cs: remove some debug code.
  2891. * ThemeClearlooks.cs: comment out unused field.
  2892. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  2893. * ThemeGtk.cs: comment out some unused pinvokes.
  2894. * Timer.cs: remove some unused fields.
  2895. * ThemeClearlooks.cs: comment out unused field.
  2896. * UpDownBase.cs: comment out unused field.
  2897. * DataObject.cs: comment out unused field.
  2898. * DataGridBoolColumn.cs: reomve unused field.
  2899. * DataGrid.cs: remove unused field.
  2900. * Cursor.cs: remove old ToBitmap code.
  2901. * ControlPaint.cs: remove unused method.
  2902. * ScrollBar.cs: remove unused fields.
  2903. * ComboBox.cs: remove unused field, and chain up to
  2904. AccessibleObject ctor.
  2905. * ListBox.cs: remove unused field.
  2906. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  2907. * GridEntry.cs: remove unused fields.
  2908. * Binding.cs: remove unused fields.
  2909. * AxHost.cs: remove unused method.
  2910. * ContainerControl.cs: remove unused field.
  2911. * ScrollableControl.cs: remove unused fields.
  2912. 2006-12-01 Chris Toshok <[email protected]>
  2913. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  2914. the Where/WhereString stuff. it's easy enough to CWL
  2915. Environment.StackTrace.
  2916. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  2917. unused private fields.
  2918. 2006-12-01 Jackson Harper <[email protected]>
  2919. * TextControl.cs: Do not update the view while inserting multiline
  2920. text. If we update the view we might wrap lines, before entering
  2921. the new lines, which causes the new line insertion calculations to
  2922. be totally fubared.
  2923. - Remove an old TODO
  2924. - Make debug output a little nicer
  2925. 2006-12-01 Chris Toshok <[email protected]>
  2926. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  2927. 2006-12-01 Chris Toshok <[email protected]>
  2928. [ fix the majority of the CS0108 warnings we've been suppressing ]
  2929. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  2930. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  2931. to "LayoutToolBar" to quiet mcs.
  2932. * TabControl.cs: mark our ControlCollection class as 'new'.
  2933. * TextBoxBase.cs: mark some events as 'new'.
  2934. * Splitter.cs: TabStop is 'new'.
  2935. * ControlBindingsCollection.cs: mark a few methods as new since
  2936. they change the visibility from protected to public.
  2937. * RadioButton.cs: DoubleClick -> base class, and remove unused
  2938. HaveDoubleClick.
  2939. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  2940. events as new.
  2941. * NumericUpDown.cs: TextChanged -> base class.
  2942. * CheckedListBox.cs: mark our ObjectCollection class as new to
  2943. quiet mcs.
  2944. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  2945. muck with the base class.
  2946. * StatusBar.cs: fix some mcs warnings about Update being the same
  2947. name as a base class method.
  2948. * RichTextBox.cs: mark some events as new, and make them do things
  2949. to the base class impl.
  2950. * UserControl.cs: mark TextChanged as new, and have it manipulate
  2951. base.TextChanged.
  2952. * UpDownBase.cs: mark some things new.
  2953. * CheckBox.cs: mark DoubleClick "new", and add some text about
  2954. what we need to look at.
  2955. * Panel.cs: make the events "new", and manipulate the base
  2956. version. these are just here for attributes.
  2957. * AccessibleObject.cs: make owner private.
  2958. * Control.cs: deal with AccessibleObject.owner being private.
  2959. cache our own copy if we need it.
  2960. * Button.cs: add "new" to the DoubleClickEvent.
  2961. * ListBox.cs: no need to track our own has_focus here. let
  2962. Control.has_focus do it for us. Also some other work to clear up
  2963. warnings about not overriding base class methods of the same name.
  2964. * ComboBox.cs: clear up some warnings about not override base
  2965. class methods of the same name.
  2966. 2006-12-01 Chris Toshok <[email protected]>
  2967. * Form.cs: flag a few things as "new" to quiet some of the mcs
  2968. warnings.
  2969. * AxHost.cs: same.
  2970. * PrintPreviewDialog.cs: same.
  2971. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  2972. now DGV isn't so horrible on the class status page. also, move
  2973. all events to using System.ComponentModel.EventHandlerList. my
  2974. wrists hurt.
  2975. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  2976. * MdiWindowManager.cs:
  2977. - Set form to active mdi child if shown,
  2978. and update the active mdi child to the next
  2979. remaining child in the z-order if the form is hidden.
  2980. * Form.cs:
  2981. - Track if the form has been visible and if its
  2982. visibility is beeing changed, so that the MdiClient
  2983. can properly decide the ActiveMdiChild. The MdiClient
  2984. cannot track this since the form can change visibility
  2985. before MdiClient is created.
  2986. * MdiClient.cs:
  2987. - Don't activate anything of the parent form is changing
  2988. its visibility.
  2989. - Rework ActiveMdiChild to only return visible mdi
  2990. children and take into account several other corner
  2991. cases.
  2992. 2006-12-01 Chris Toshok <[email protected]>
  2993. * IBindableComponent.cs: new 2.0 interface.
  2994. 2006-12-01 Gert Driesen <[email protected]>
  2995. * DataGrid.cs: Font for caption area is bold by default.
  2996. 2006-12-01 Everaldo Canuto <[email protected]>
  2997. * Menu.cs: Tag property for 2.0.
  2998. 2006-11-01 Everaldo Canuto <[email protected]>
  2999. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  3000. 2006-12-01 Chris Toshok <[email protected]>
  3001. * TreeView.cs: doh, the Begin* events should be
  3002. TreeViewCancelEventHandler.
  3003. 2006-12-01 Chris Toshok <[email protected]>
  3004. * Form.cs: Form.ControlCollection already stores off the
  3005. form_owner field. don't access the base class's internal "owner"
  3006. field.
  3007. * Control.cs: make all the fields in Control.ControlCollection
  3008. private. there's no need for any internal fields here.
  3009. 2006-12-01 Chris Toshok <[email protected]>
  3010. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  3011. OnHandleCreated. Fixes bug #80109.
  3012. 2006-12-01 Chris Toshok <[email protected]>
  3013. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  3014. SplitContainer.cs, Control.cs, StatusStrip.cs,
  3015. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  3016. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  3017. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  3018. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  3019. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  3020. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  3021. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  3022. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  3023. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  3024. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  3025. do most of the work to convert our code over to use
  3026. System.ComponentModel.Component.Events for
  3027. adding/removing/dispatching events.
  3028. 2006-11-30 Jonathan Pobst <[email protected]>
  3029. * DataGridView.cs: Fix an ArgumentNullException reported
  3030. twice today in IRC.
  3031. 2006-11-30 Mike Kestner <[email protected]>
  3032. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  3033. grabbed listbox. Fixes #80036 and #80101.
  3034. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  3035. * Message.cs: Changed ToString() to match MS.
  3036. 2006-11-30 Jackson Harper <[email protected]>
  3037. * TextBoxBase.cs: You can still change the selected text on a read
  3038. only textbox.
  3039. * TextControl.cs: Lower magic number for wrap calculations. This
  3040. lets text get closer to the right (far) edge.
  3041. 2006-11-30 Jonathan Pobst <[email protected]>
  3042. * Control.cs: Tweak 2.0 layout properties.
  3043. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  3044. * TextRenderer.cs: Add a new overload.
  3045. * ToolStrip*: Huge amount of changes and new features.
  3046. 2006-11-30 Mike Kestner <[email protected]>
  3047. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  3048. scroll range correct. Fixes #79994.
  3049. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  3050. * MdiWindowManager.cs: Update main form's text when
  3051. a form is closed. (fixes #80038)
  3052. 2006-11-30 Everaldo Canuto <[email protected]>
  3053. * ToolBar.cs:
  3054. - Fix an regression in ButtonSize.
  3055. - Get ImeMode default value change to "Disable".
  3056. - Get ShowTooltips default value change to true, default value is
  3057. "false" but after make a test in .NET we get "true" result as default.
  3058. 2006-11-29 Jonathan Pobst <[email protected]>
  3059. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  3060. 2006-11-29 Chris Toshok <[email protected]>
  3061. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  3062. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  3063. SetWindowTransparency hasn't been called.
  3064. 2006-11-29 Chris Toshok <[email protected]>
  3065. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  3066. if it's supported.
  3067. (set_AllowTransparency): reorder things a little so that the
  3068. WS_EX_LAYERED style is removed properly.
  3069. 2006-11-29 Chris Toshok <[email protected]>
  3070. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  3071. * Form.cs: only call the XplatUI transparency method (get/set) if
  3072. SupportsTransparency says it's supported. Otherwise fallback to
  3073. doing nothing (in the set case) or returning the instance field we
  3074. cache (in the get case).
  3075. * XplatUIStructs.cs: add TransparencySupport flag enum.
  3076. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  3077. change to SupportsTransparency.
  3078. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  3079. TransparencySupport.None from SupportsTransparency.
  3080. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  3081. TransparencySupport.Set from SupportsTransparency.
  3082. * XplatUIWin32.cs: implement GetWindowTransparency calling
  3083. GetLayeredWindowAttributes, and implement SupportsTransparency by
  3084. checking whether or not both
  3085. GetWindowTransparency/SetWindowTransparency are available
  3086. entrypoints. We need to do this since SetWindowTransparency is
  3087. available as of win2k, but GetWindowTransparency requires winxp.
  3088. yay win32 api.
  3089. * XplatUI.cs: Add GetWindowTransparency, and change
  3090. SupportsTransparency to allow for either/both Get/Set.
  3091. 2006-11-29 Chris Toshok <[email protected]>
  3092. * DataGrid.cs: keep from going into an infinite loop redrawing a
  3093. datagrid that has no datasource. Fixes bug #80033.
  3094. 2006-11-29 Chris Toshok <[email protected]>
  3095. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  3096. Invalidate) before the mainmenu has been assigned to a control.
  3097. 2006-11-29 Chris Toshok <[email protected]>
  3098. * DataGrid.cs: detect when we should be double the double click
  3099. row/column autosize stuff, although that codepath has yet to be
  3100. written. part of the work for bug #79891.
  3101. 2006-11-29 Chris Toshok <[email protected]>
  3102. * Binding.cs (SetControl): fix unit test.
  3103. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  3104. * PageSetupDialog.cs: Validate the margins and set them in
  3105. PageSettings.
  3106. * NumericTextBox.cs: New class to mimic the behavior of the
  3107. textboxes used in the printing dialogs.
  3108. 2006-11-29 Andreia Gaita <[email protected]>
  3109. * Form.cs: Revert previous change (remove call UpdateBounds
  3110. from form constructor), because it messes with the handle creation
  3111. order, and that one needs lots and lots of love.
  3112. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  3113. for valid printer and throw InvalidPrinterException if document
  3114. is set but printer not valid), adding a MonoTODO. Once
  3115. handle creation is done properly, we can put this back in.
  3116. 2006-11-28 Everaldo Canuto <[email protected]>
  3117. * MenuItem.cs: Create a invalidate method for menu item, to be
  3118. calling from set text, it make text changes to imadiate update
  3119. on screen. Fixes #80013.
  3120. 2006-11-28 Everaldo Canuto <[email protected]>
  3121. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  3122. fixes bug #80070 and some other problem on toolbar buttons
  3123. layout.
  3124. 2006-11-28 Everaldo Canuto <[email protected]>
  3125. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  3126. with dotted brush. Fixes #79564
  3127. 2006-11-28 Andreia Gaita <[email protected]>
  3128. * Form.cs: Removed call to UpdateBounds on Form
  3129. constructor, it was causing a call to CreateHandle
  3130. before it was supposed to.
  3131. * PrintControllerWithStatusDialog: Applied patch
  3132. by Chris Toshok to hide controller when there are
  3133. no printers available.
  3134. PrintDialog.cs: initialize printer settings to
  3135. null - correct DefaultValues test #5
  3136. * PrintPreviewControl.cs: Move PrintController
  3137. initialization to GeneratePreview
  3138. * PrintPreviewDialog.cs:
  3139. - Remove Preview generation from Document_set(). It is
  3140. called on OnPaint
  3141. - Throw InvalidPrinterException on CreateHandle if
  3142. a Document is set but there are no printers or
  3143. printer is not valid.
  3144. * ThemeWin32Classic: don't paint PrintPreviewControl
  3145. if there is nothing to paint
  3146. 2006-11-28 Miguel de Icaza <[email protected]>
  3147. * Form.cs: Add another popular method.
  3148. * TabPage.cs: ditto.
  3149. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3150. * MenuItem.cs: Fixed a warning.
  3151. * InternalWindowManager: Fixed a warning.
  3152. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3153. * MenuItem.cs:
  3154. - When cloning a menu also clone MdiList and clone the
  3155. window menu items properly (as the forms and menuitems
  3156. are kept in an internal hashtable, these need updating
  3157. as well)
  3158. - Rewrote the window menu code, menu items are added in the
  3159. order the forms were added to their parent, and they are
  3160. updated every time the window menu is shown (before the
  3161. list was only generated once, in the current order of the
  3162. forms, and would never be updated). A checkmark is shown
  3163. next to the item corresponding to the active mdi child.
  3164. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3165. * XplatUIStructs.cs:
  3166. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  3167. * XplatUIWin32.cs:
  3168. - Added TME_NONCLIENT to TMEFlags.
  3169. - Handles WM_NCMOUSEMOVE in GetMessage to
  3170. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  3171. * MdiWindowManager:
  3172. - Now merges mdi child menu to parent menu when maximized.
  3173. - Recalculate NC areas of both mdi child and mdi parent.
  3174. Fixes #79757 (4).
  3175. on window state and size changes.Fixes #79844 (3).
  3176. - Handle WM_NCCALCSIZE to properly calculate borders.
  3177. * Form.cs:
  3178. - Add/remove to the mdi containers list of mdi children
  3179. in the order they are added.
  3180. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  3181. to the maximized mdi child.
  3182. * InternalWindowManager.cs:
  3183. - Only execute a click on the control buttons on the mouse up,
  3184. not on the mouse down. Show the state of the button
  3185. (was only showing Normal state, never Pressed state). The
  3186. pressed button now follows the mouse (if you click the Close
  3187. button and move the mouse over the Maximize button, the
  3188. Maximize button will be shown as pressed). Since Win32 does
  3189. not generate WM_NCLBUTTONUP if you release the button outside
  3190. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  3191. it as a mouse up.
  3192. * ThemeWin32Classic.cs:
  3193. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  3194. * MdiClient.cs:
  3195. - Added a list of forms which contains the order the forms are
  3196. added to the mdi parent.
  3197. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  3198. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  3199. - If the active form changes set the scrollbars to the top
  3200. of the Z order, otherwise the form could hide them.
  3201. - Scrollbars are now sized according to ClientSize, not
  3202. to Size, and they take into account the other scrollbar
  3203. to determine maximum.
  3204. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3205. * XplatUI.cs:
  3206. * XplatUIDriver.cs:
  3207. * XplatUIX11.cs:
  3208. * XplatUIWin32.cs:
  3209. * XplatUIOSX.cs:
  3210. - Added RequestAdditionalWM_NCMessages for windows to
  3211. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  3212. Currently only implemented in XplatUIWin32.
  3213. 2006-11-27 Chris Toshok <[email protected]>
  3214. * Hwnd.cs: only add the hwnd to the windows hash in
  3215. set_WholeWindow and set_ClientWindow if whole_window/client_window
  3216. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  3217. 2006-11-27 Mike Kestner <[email protected]>
  3218. * ComboBox.cs: remove redundant OnDropDown call. It is called
  3219. from the ComboListBox.ShowWindow code. Fixes #79969.
  3220. 2006-11-27 Chris Toshok <[email protected]>
  3221. * Hwnd.cs: remove the setters for ExposePending and
  3222. NCExposePending - noone uses them.
  3223. 2006-11-27 Jackson Harper <[email protected]>
  3224. * TextControl.cs: new param for ReplaceSelection which determines
  3225. whether we select the new selection, or set the cursor to the end
  3226. of the new selection.
  3227. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  3228. pasting, select the new text.
  3229. * RichTextBox.cs: Use new param for ReplaceSelection.
  3230. 2006-11-27 Jackson Harper <[email protected]>
  3231. * TextBoxBase.cs: Set the selection to the caret after the caret
  3232. is moved, otherwise they get out of sync.
  3233. 2006-11-26 Everaldo Canuto <[email protected]>
  3234. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  3235. it fixes #80015
  3236. 2006-11-26 Everaldo Canuto <[email protected]>
  3237. * ThemeWin32Classic.cs:
  3238. - Fix toolbar drop down arrow position.
  3239. - Fix drop down appearance when ToolBar.Appearance is normal,
  3240. it fixes #80018.
  3241. 2006-11-26 Gert Driesen <[email protected]>
  3242. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  3243. * Control.cs: Same.
  3244. * UpDownBase.cs: Same.
  3245. * ButtonBase.cs: Same.
  3246. * ScrollBar.cs: Same.
  3247. * TrackBar.cs: Same.
  3248. * PictureBox.cs: Same.
  3249. * UserControl.cs: Same.
  3250. * Label.cs: Same.
  3251. * ListControl.cs: Same.
  3252. * TextBoxBase.cs: Same.
  3253. * ListView.cs: Same.
  3254. * RichTextBox.cs: Same.
  3255. * TreeView.cs: Same.
  3256. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  3257. * PrintDialog.cs:
  3258. - Text label for where
  3259. - Text label comment was not shown
  3260. 2006-11-23 Everaldo Canuto <[email protected]>
  3261. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  3262. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3263. * InternalWindowManager.cs:
  3264. - Handle WM_PARENTNOTIFY to activate the form
  3265. if any child control is clicked.
  3266. - The form is only sizable if not minimized.
  3267. * MdiWindowManager.cs:
  3268. - Save the IconicBounds if the form is moved.
  3269. - Rework SetWindowState, now the window bounds
  3270. are stored only if the old window state is Normal.
  3271. * MdiClient.cs:
  3272. - In SetWindowStates store the old window state if
  3273. the window is maximized and restore window state if
  3274. the window looses focus.
  3275. - Don't handle any scrollbar value changes if
  3276. initializing the scroll bars. Fixes #79771.
  3277. - Reworked ArrangeIconicWindows. Current algorithm
  3278. tests bounds agains all other minimized windows, if
  3279. any intersections create new bounds (going left to
  3280. right, bottom to top) and then test again. When
  3281. successful the bounds are saved and never computed
  3282. again. Fixes #79774.
  3283. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3284. * InternalWindowManager.cs: Added HandleTitleBarUp.
  3285. 2006-11-23 Gert Driesen <[email protected]>
  3286. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  3287. hexadecimal in ParseUserEdit.
  3288. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3289. * MdiWindowManager.cs:
  3290. - Handle a click on the form's icon to show the
  3291. system menu (when maximized). Fixes #79775.
  3292. - Change the existing click handler for the form's
  3293. icon when not maximized to show on MouseUp.
  3294. Fixes #79776.
  3295. * Form.cs: In OnResize only layout the mdi child's
  3296. parent if it actually has a parent. Might not if
  3297. the window is closing.
  3298. 2006-11-23 Gert Driesen <[email protected]>
  3299. * MdiClient.cs: Ignore active MDI client for text of parent, if
  3300. child has no text set.
  3301. 2006-11-23 Gert Driesen <[email protected]>
  3302. * ToolBar.cs: Fixed ToString to match MS.
  3303. 2006-11-22 Andreia Gaita <[email protected]>
  3304. * NumericUpDown:
  3305. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  3306. update inner values on set. Fixes #79966.
  3307. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  3308. - Fix hexadecimal parsing.
  3309. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  3310. parent. Fixes #79957
  3311. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  3312. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  3313. the actual size has to be queried, since if height /
  3314. width is negative Win32 changes it to 0.
  3315. Fixes #79999 on Windows.
  3316. * XplatUIX11.cs: Set height / width to 0 if negative
  3317. in SetWindowPos. Fixes #79999 on Linux.
  3318. 2006-11-22 Everaldo Canuto <[email protected]>
  3319. * ThemeWin32Classic.cs: Fix text redenring when button is
  3320. pressed.
  3321. 2006-11-22 Everaldo Canuto <[email protected]>
  3322. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  3323. and later navigate by mouse. Fixes #79528.
  3324. 2006-11-21 Everaldo Canuto <[email protected]>
  3325. * ToolBar.cs: Set default value for TabStop to false in
  3326. constructor, it fixes remaining behavior of bug #79863.
  3327. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  3328. * MdiWindowManager.cs:
  3329. * InternalWindowManager.cs:
  3330. - Moved a few methods specific to Mdi from
  3331. InternalWindowManager to MdiWindowManager.
  3332. Fixes #79996.
  3333. 2006-11-21 Chris Toshok <[email protected]>
  3334. * XplatUIOSX.cs: stub out InvalidateNC.
  3335. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  3336. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  3337. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  3338. * XplatUIDriver.cs: add InvalidateNC abstract method.
  3339. * XplatUI.cs: add InvalidateNC.
  3340. 2006-11-21 Everaldo Canuto <[email protected]>
  3341. * ToolBar.cs: Invalidate complete button area when pressed status
  3342. was changed.
  3343. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  3344. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  3345. by 1 when button is pressed.
  3346. 2006-11-20 Everaldo Canuto <[email protected]>
  3347. * ToolButton.cs: Invalidate middle of DropDown button when
  3348. ToolBar theres DropDownArrows.
  3349. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  3350. fix DropDown drawing operations.
  3351. 2006-11-20 Chris Toshok <[email protected]>
  3352. * NativeWindow.cs: fix the formatting of functions ('{' on the
  3353. following line), and enable the thread exception dialog.
  3354. * Application.cs: remove the duplicate exception catching from
  3355. here.
  3356. 2006-11-20 Everaldo Canuto <[email protected]>
  3357. * Toolbar.cs: Triggers button click event when click on icon
  3358. of dropdown ToolBarButton. Fixes #79912.
  3359. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  3360. * Theme.cs:
  3361. * ThemeWin32Classic.cs:
  3362. - Added a property WindowBorderFont to enable themeing
  3363. of mdi child windows' Text.
  3364. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  3365. * InternalWindowManager.cs:
  3366. * Form.cs:
  3367. * MdiClient.cs:
  3368. * MdiWindowManager.cs:
  3369. - If mdi child is maximized, set mdi parent's
  3370. text to "Parent - [Child]". Fixes #79770.
  3371. - If there is any maximized mdi child windows, only the active
  3372. window (and any new windows) is maximized, the rest are normal.
  3373. - On a WindowState change only save mdi child's window bounds
  3374. if the old window state was normal. Fixes #79774.
  3375. - The scroll bars are now calculated on hopefully all
  3376. necessary events. Fixed #79771 / #79844->6 / #79906.
  3377. - MdiClient.SizeScrollBars() now takes into account docked
  3378. controls in the parent when calculating available space.
  3379. - InternalWindowManager now always repaints the entire title
  3380. area. Fixes #79844->1/4/5.
  3381. - Added RequestNCRecalc on mdi child windowstate changes.
  3382. Fixes #79772.
  3383. 2006-11-20 Mike Kestner <[email protected]>
  3384. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  3385. in the MouseUp handler of the listbox and move the return handling
  3386. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  3387. 2006-11-20 Everaldo Canuto <[email protected]>
  3388. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  3389. 2006-11-17 Alexander Olk <[email protected]>
  3390. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  3391. working in 1.2.x anymore. So, updated.
  3392. 2006-11-19 Gert Driesen <[email protected]>
  3393. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  3394. NumberGroupSeparator of current culture instead of assuming en-US.
  3395. Fixed bug #79967.
  3396. 2006-11-17 Mike Kestner <[email protected]>
  3397. * Control.cs: Add the concept of implicit bounds setting so that
  3398. dock/undock round trips preserve explicitly set size/locations.
  3399. Fixes #79313.
  3400. 2006-11-17 Alexander Olk <[email protected]>
  3401. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  3402. can't handle those filters. (Fixes bug #79961)
  3403. 2006-11-17 Chris Toshok <[email protected]>
  3404. [ fixes the exit/crashes associated with #79835. it's clearly
  3405. suboptimal though, we need to figure out a better way to solve
  3406. this. ]
  3407. * PrintPreviewControl.cs: deal with the new invalid printer
  3408. exceptions.
  3409. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  3410. and return false (so CommonDialog.ShowDialog doesn't actually show
  3411. the form.)
  3412. * PrintDialog.cs: enable/disable the Ok button depending on
  3413. whether or not the printer is valid.
  3414. * CommonDialog.cs (ShowDialog): only actually show the form if
  3415. RunDialog returns true.
  3416. 2006-11-17 Jackson Harper <[email protected]>
  3417. * TextControl.cs: When soft splitting a line, mark it as a soft
  3418. split line. Also carry over the current line break to the next
  3419. line.
  3420. 2006-11-17 Chris Toshok <[email protected]>
  3421. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  3422. only want to shift the part of the invalid area that overlaps the
  3423. area we're scrolling. we also don't want to clear the invalid
  3424. area unless the invalid area was entirely contained within the
  3425. scrolling area.
  3426. 2006-11-16 Chris Toshok <[email protected]>
  3427. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  3428. also make sure to free the memory returned by XGetWindowProperty
  3429. in GetText().
  3430. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  3431. 2006-11-16 Chris Toshok <[email protected]>
  3432. * XplatUI.cs: add a new super secret way to get at the totally
  3433. unsupported X11 backend.
  3434. 2006-11-16 Gert Driesen <[email protected]>
  3435. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  3436. 2006-11-16 Jackson Harper <[email protected]>
  3437. * TreeView.cs: Allow more explicit setting of top node position
  3438. for scrollbars. Slower algo, but more accurate.
  3439. - CollapseAll should maintain the current top node.
  3440. * TextBoxBase.cs: When positioning the caret, use the line, pos
  3441. method, since the x, y method does not grab the correct tag, and
  3442. the caret height never gets set correctly. (Maybe I should just do
  3443. away with the caret having its own height, and always use the
  3444. carets current tag for height).
  3445. 2006-11-16 Jonathan Pobst <[email protected]
  3446. [Fixes 79778, 79923]
  3447. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  3448. Parent to the FosterParent instead.
  3449. 2006-11-16 Jackson Harper <[email protected]>
  3450. * TreeView.cs: Need to recalc the topnode when we expand or
  3451. collapse. The scrolling methods can't handle this on their own,
  3452. since they use differences between the last scroll position, and
  3453. those difference get completely messed up since we are expanding
  3454. nodes. This problem should probably be fixed in the scrolling
  3455. methods, so they can figure out exactly where they are, but this
  3456. will slow things down a little.
  3457. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  3458. strings, makes nunit-gui look a lot nicer.
  3459. 2006-11-16 Chris Toshok <[email protected]>
  3460. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  3461. the broken multithreaded event handling we have in here. File
  3462. this entry under "Why we should move to the new X11 backend".
  3463. Any thread can make it into UpdateMessageQueue, which gets events
  3464. from the X socket - some of which could belong to hwnds being
  3465. managed by a different thread. We can also have multiple threads
  3466. in UpdateMessageQueue at the same time, with each one reading from
  3467. the X socket. This leads to many problems, with the following
  3468. solutions:
  3469. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  3470. EnqueueLocked.
  3471. The MotionNotify compression we do can't work across threads
  3472. (without locking the entire queue, perhaps) since we call
  3473. hwnd.Queue.Peek, so we just punt and don't compress motion events
  3474. unless the owning thread is the one which got the X event.
  3475. ConfigureNotify is another fun one, since it modifies the hwnd's
  3476. bounds and then enqueues the event. We add a lock to Hwnd which
  3477. is held when setting configure_pending to true (and enqueuing the
  3478. event).
  3479. There is a race wrt the wake socket. we need to make sure that
  3480. only 1 thread is waiting on that socket, or else a thread could
  3481. sleep waiting for data that never comes. It's difficult (but not
  3482. impossible) to make happen, because it seems to require something
  3483. like the following:
  3484. 1. Thread 1 polls on wake_receive
  3485. 2. poll returns saying there's data to be read on
  3486. wake_receive.
  3487. 3. Thread 2 polls on wake_receive and immediately returns
  3488. saying there's data to be read.
  3489. 4. Thread 2 reads the wakeup byte from wake_receive
  3490. 5. Thread 1 attempts to read the wakeup byte from
  3491. wake_receive.
  3492. 6. Thread 2 exits (due to a form closing, perhaps).
  3493. 7. Thread 1 blocks forever.
  3494. Fun, eh?
  3495. Fixing the Expose handling isn't done yet, and the races inherent
  3496. in that piece of code are responsible for the drawing mistakes you
  3497. see when generating expose events in a MT app (like NPlot). This
  3498. one is the likely to be the hardest to bandaid, and it doesn't
  3499. appear to cause anything but drawing problems. The other issues
  3500. caused apps to exit or hang.
  3501. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  3502. called from a different thread than the one that should be calling
  3503. these functions.
  3504. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  3505. 2006-11-15 Chris Toshok <[email protected]>
  3506. * Application.cs: null out the context's MainForm when we exit
  3507. RunLoop. Fixes a newly checked in unit test as well as the last
  3508. ODE from bug #79933.
  3509. 2006-11-15 Chris Toshok <[email protected]>
  3510. * Form.cs (set_Owner): allow a null value so we can clear the
  3511. form's owner.
  3512. (Dispose): set all our owned_form's Owner properties to null, and
  3513. clear the owned_forms collection.
  3514. (WM_CLOSE): clean up this a little bit.. still not right though.
  3515. * ApplicationContext.cs: OnMainFormClosed should only call
  3516. ExitThreadCore if the main form isn't recreating. Fixes unit
  3517. test.
  3518. 2006-11-15 Jonathan Pobst <[email protected]>
  3519. [Fixes 78346]
  3520. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  3521. 2006-11-15 Jonathan Pobst <[email protected]>
  3522. [Fixes 79433]
  3523. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  3524. keep popup window types from stealing focus from the main form
  3525. on Windows.
  3526. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  3527. * MenuAPI.cs: Set above flag to true.
  3528. 2006-11-15 Chris Toshok <[email protected]>
  3529. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  3530. the button being released is not in wParam.
  3531. 2006-11-15 Jonathan Pobst <[email protected]>
  3532. * Form.cs: Add the released button to MouseEventArgs.Button
  3533. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  3534. on Win32.
  3535. 2006-11-15 Chris Toshok <[email protected]>
  3536. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  3537. GetText(). untested because it's unused in our implementation.
  3538. Control.Text always caches the text, even if
  3539. ControlStyles.CacheText is not set.
  3540. fixes bug #79939.
  3541. 2006-11-15 Chris Toshok <[email protected]>
  3542. [ fixes #79933 ]
  3543. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  3544. message. no hiding, no disposing.
  3545. in the WM_CLOSE handler, hide the form if it's modal.
  3546. 2006-11-15 Chris Toshok <[email protected]>
  3547. * XplatUIX11.cs: use AddExpose instead of sending a message.
  3548. fixes textbox border drawing.
  3549. 2006-11-15 Chris Toshok <[email protected]>
  3550. * PropertyGridView.cs: keep from crashing on mouse move/down when
  3551. the property grid is empty.
  3552. 2006-11-14 Jackson Harper <[email protected]>
  3553. * TextControl.cs: Make PageUp and PageDown more like the MS
  3554. versions.
  3555. * TextBoxBase.cs: When we set the text property position the
  3556. cursor at the beginning of the document.
  3557. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  3558. * Form.cs: if a mdi child's WindowState has changed
  3559. before it's creation, it would display wrong control
  3560. buttons.
  3561. 2006-11-14 Alexander Olk <[email protected]>
  3562. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  3563. (Fixes bug #79927)
  3564. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  3565. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  3566. the window gets to paint its borders even if the window is
  3567. getting smaller.
  3568. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  3569. otherwise the old control buttons would still be painted
  3570. if the window gets bigger.
  3571. * PaintEventArgs.cs: add an internal method so that the clip
  3572. rectangle can be changed.
  3573. 2006-11-13 Chris Toshok <[email protected]>
  3574. [ fixes bug #79745 ]
  3575. * NotifyIcon.cs: lots of cleanup.
  3576. * X11Structs.cs: add an enum for XEMBED messages.
  3577. * XplatUIX11.cs: reindent one of the giant switch statements, it
  3578. was taking up an additional tab stop, and this file is already way
  3579. too wide for my laptop's screen.
  3580. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  3581. we get it, resize the hwnd to the WMNormalHints max_width/height.
  3582. 2006-11-13 Jackson Harper <[email protected]>
  3583. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  3584. teh simple way.
  3585. 2006-11-13 Chris Toshok <[email protected]>
  3586. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  3587. #79898. force a reference to the Region to stick around so the
  3588. unmanaged object isn't collected (rendering our handle in the MSG
  3589. stale).
  3590. 2006-11-13 Chris Toshok <[email protected]>
  3591. * XplatUIX11.cs: fix #79917 for window managers which support
  3592. using XStoreName on the raw utf8, and we need to convert to
  3593. COMPOUND_TEXT if it's non-latin1.
  3594. 2006-11-13 Chris Toshok <[email protected]>
  3595. * Form.cs (set_DialogResult): we need to set closing to false if
  3596. we're setting our result to None. fixes bug #79908.
  3597. 2006-11-13 Jackson Harper <[email protected]>
  3598. * TextControl.cs: When formatting text, compute the adjusted tag
  3599. lengths correctly, using FindTag for the end tag instead of trying
  3600. to figure it out outselves.
  3601. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  3602. the item, ItemHeight doesn't work, because trees with large
  3603. imagelists use those for their height
  3604. * TreeView.cs: ActualItemHeight factors in the image height
  3605. - compute left edge of checkboxes correctly
  3606. - when expanding/collapsing move the bottom down one pixel, so we
  3607. aren't moving part of the node
  3608. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  3609. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  3610. stack in PaintEventStart so that it won't get disposed by the gc
  3611. before reaching PaintEventEnd.
  3612. 2006-11-13 Jackson Harper <[email protected]>
  3613. * TextBoxBase.cs: Don't select the word if we are on a line with
  3614. no text.
  3615. - We don't need to position the caret on mouse up, since the mouse
  3616. move handler should be doing this
  3617. - When double clicking a blank line, the caret is advanced to the
  3618. next line.
  3619. 2006-11-13 Gert Driesen <[email protected]>
  3620. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  3621. 2006-11-12 Gert Driesen <[email protected]>
  3622. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  3623. Fixes part of bug #79910.
  3624. 2006-11-11 Alexander Olk <[email protected]>
  3625. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  3626. (bug #79903). Some minor string updates to match ms.
  3627. 2006-11-10 Alexander Olk <[email protected]>
  3628. * FileDialog.cs: Don't add an extension if the filename
  3629. already ends with that extension.
  3630. 2006-11-10 Jackson Harper <[email protected]>
  3631. * TreeView.cs: Use the currently highlighted node for the
  3632. BeforeSelect event.
  3633. * TextBoxBase.cs: There is no need to expand selection on
  3634. MouseMove.
  3635. - CanUndo means 'is there any undo operations', not 'is undo
  3636. allowed on this textcontrol. Fixed ClearUndo unit test.
  3637. 2006-11-10 Andreia Gaita <[email protected]>
  3638. * Button.cs: only perform click when button is Selectable (so as
  3639. not to activate default buttons when they're disabled)
  3640. * Control.cs: Rewrite of the SelectNextControl and related
  3641. methods. HandleClick now selects next control if the current one
  3642. is being disabled.
  3643. * Form.cs: OnActivated selects next active control only if Load
  3644. has already occurred. If Load hasn't run, there's no point in
  3645. selecting here, Load might change the state of controls.
  3646. * FocusTest.cs: Tests marked as working again for these fixes
  3647. 2006-11-10 Chris Toshok <[email protected]>
  3648. * XplatUIX11.cs: a couple of fixes.
  3649. - use XInternAtoms with almost all the atoms we need to register,
  3650. instead of many, many calls to XInternAtom. should help a bit on
  3651. startup time, at the expense of making the code look a little
  3652. worse.
  3653. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  3654. isn't reparented (which seems to be a clue that we're running fon
  3655. compiz) and they have an Owner form. This fixes the tool windows
  3656. in paint.net when running under compiz.
  3657. - when setting the opacity of a window, support both the case
  3658. where the window has been reparented and also when it hasn't been.
  3659. Since compiz/beryl doesn't seem to reparent windows, and these are
  3660. the only window managers which support translucency, I'm not sure
  3661. why we need the hwnd.reparented case at all.. but leave it in.
  3662. now we get translucent windows in paint.net under compiz/beryl.
  3663. 2006-11-10 Alexander Olk <[email protected]>
  3664. * FileDialog.cs: Always return the value for FilterIndex that
  3665. was set. Internally convert it to values that make sense.
  3666. 2006-11-10 Everaldo Canuto <[email protected]>
  3667. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  3668. 2006-11-10 Everaldo Canuto <[email protected]>
  3669. * Toolbar.cs: Change default value of DropDownArrows to true, the
  3670. signature still using false to make it compatible with MS but the
  3671. initial value is true. Fixes #79855.
  3672. 2006-11-10 Alexander Olk <[email protected]>
  3673. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  3674. only available on Linux.
  3675. 2006-11-09 Everaldo Canuto <[email protected]>
  3676. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  3677. reduce number of calls to redraw method during toolbar creation.
  3678. 2006-11-09 Mike Kestner <[email protected]>
  3679. * ListView.cs : raise SelectedIndexChanged when an item is selected
  3680. programmatically via the Item.Selected property. Gert's nice
  3681. ListViewSelectedIndexChanged test fixture now runs clean.
  3682. 2006-11-09 Mike Kestner <[email protected]>
  3683. * ListView.cs : raise SelectedIndexChanged when a selected item is
  3684. removed from the item collection using Remove or RemoveAt.
  3685. 2006-11-09 Mike Kestner <[email protected]>
  3686. * ListView.cs : raise SelectedIndexChanged once per selected item
  3687. for compat with MS. Fixes #79849+.
  3688. 2006-11-09 Chris Toshok <[email protected]>
  3689. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  3690. we need to (if we have any tab pages). Fixes unit test.
  3691. 2006-11-09 Chris Toshok <[email protected]>
  3692. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  3693. width is 0, not 3. Fixes a unit test.
  3694. 2006-11-09 Mike Kestner <[email protected]>
  3695. * ListView.cs : use Implicit scrollbars so that focus isn't
  3696. stolen from the listview when they are clicked. Fixes #79850.
  3697. 2006-11-09 Chris Toshok <[email protected]>
  3698. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  3699. have a root item. Fixes #79879.
  3700. 2006-11-09 Alexander Olk <[email protected]>
  3701. * FileDialog.cs:
  3702. - Fix ToString ()
  3703. - An ArgumentException is now thrown if a wrong filter
  3704. is applied (matches ms). The previous filter doesn't change
  3705. anymore if an exception is thrown.
  3706. - Changing the FileName property also affects FileNames
  3707. * ColorDialog.cs: The length of the CustomColors array is always
  3708. 16. It doesn't matter if we use a smaller array or null to update
  3709. or change the custom colors property.
  3710. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  3711. for RootFolder if we get a undefined value.
  3712. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  3713. * StatusBarPanel.cs:
  3714. - Width is set to MinWidth if Width is smaller than
  3715. MinWidth. Fixes #79842.
  3716. - MinWidth now always overrides Width (MSDN says MinWidth
  3717. is set to Width when AutoSize = None, but they do not
  3718. behave like that).
  3719. - Style has now the the correct default value.
  3720. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  3721. * TrackBar.cs:
  3722. - The control is completely invalidated on
  3723. Got/LostFocus to draw the focus rectangle correctly.
  3724. - When AutoSize then height is always 45 (width for
  3725. vertical controls).
  3726. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  3727. on the mouse when moved and it doesn't move when grabbed
  3728. until the mouse moves as well. Also fixed some wrong
  3729. calculations when clicking on the thumb (control thought
  3730. click was outside of thumb and didn't grab it).
  3731. Fixes some of the issues in #79718.
  3732. 2006-11-08 Everaldo Canuto <[email protected]>
  3733. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  3734. 2006-11-08 Chris Toshok <[email protected]>
  3735. * PropertyGridView.cs: only call ToggleValue if the item is not
  3736. readonly.
  3737. 2006-11-08 Jackson Harper <[email protected]>
  3738. * TextBoxBase.cs: The RichTextBox and textbox have very different
  3739. word selection methods. Implement the textbox's simple word
  3740. selection here, and let the RichTextBox override and provide it's
  3741. own.
  3742. - Don't do extra selection on mouseup
  3743. * RichTextBox.cs: Use the documents word selection algorithm, I
  3744. think ideally, this function will be pulled into the
  3745. RichTextBox.cs code someday.
  3746. 2006-11-08 Chris Toshok <[email protected]>
  3747. * RootGridEntry.cs: new class to represent GridItemType.Root.
  3748. * CategoryGridEntry.cs: reformat, and add boilerplate.
  3749. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  3750. returns the UI parent anyway, and we need special handling to
  3751. implement the GetTarget method in the face of it. Also, implement
  3752. Select().
  3753. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  3754. a root grid item, and use that instead of PropertyGrid.grid_items.
  3755. Also, make use of TypeConverters (and add limitted support for
  3756. ICustomTypeDescriptors) when initially populating the grid.
  3757. Arrays now show up more or less properly.
  3758. 2006-11-08 Chris Toshok <[email protected]>
  3759. * Application.cs: set the modal dialog to non modal after we close
  3760. it. Fixes bug #79866.
  3761. 2006-11-08 Jackson Harper <[email protected]>
  3762. * TextControl.cs: When combining lines carry over the line end
  3763. style from the end line.
  3764. - Invalidate the selected area when setting it, if it is visible.
  3765. * TextBoxBase.cs: Only rich text box can do full line selects.
  3766. - Make sure to set the cursor position when there is a click,
  3767. otherwise two clicks in separate areas could cause a large chunk
  3768. to be selected.
  3769. 2006-11-07 Everaldo Canuto <[email protected]>
  3770. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  3771. Fixes #79863.
  3772. 2006-11-07 Everaldo Canuto <[email protected]>
  3773. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  3774. time. Remove tooltips when ToolButton click events. Fixes #79856.
  3775. 2006-11-07 Everaldo Canuto <[email protected]>
  3776. * MenuAPI.cs: Ignore right click for menu actions and fixes
  3777. menu border when clicked. Fixes #79846.
  3778. 2006-11-07 Everaldo Canuto <[email protected]>
  3779. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  3780. MouseState after create wParam for message, this fixes mouse button
  3781. equal none in mouse up events.
  3782. 2006-11-07 Andreia Gaita <[email protected]>
  3783. * Control.cs : Focus() now calls Select to set the Container's
  3784. Active Control and to give it focus. To avoid infinite recursion
  3785. (because ActiveControl also calls Focus at one point), a check
  3786. is made in Focus with the help of a new internal variable
  3787. is_focusing.
  3788. 2006-11-07 Mike Kestner <[email protected]>
  3789. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  3790. if there's a selection. Fixes #79849.
  3791. 2006-11-07 Gert Driesen <[email protected]>
  3792. * PropertyGrid.cs: Avoid fixed height of help description label.
  3793. Fixes part of bug #79829.
  3794. 2006-11-07 Chris Toshok <[email protected]>
  3795. * XplatUIX11.cs: fix #79790 again, by using the
  3796. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  3797. 2006-11-07 Everaldo Canuto <[email protected]>
  3798. * ToolBar.cs: Fix left click checking.
  3799. 2006-11-07 Chris Toshok <[email protected]>
  3800. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  3801. 2006-11-07 Chris Toshok <[email protected]>
  3802. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  3803. PropertyManager unit tests.
  3804. * PropertyManager.cs: make property_name internal.
  3805. 2006-11-07 Chris Toshok <[email protected]>
  3806. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  3807. pass a unit test. Also, don't set image_index to anything in
  3808. response to setting the ImageList property.
  3809. 2006-11-07 Everaldo Canuto <[email protected]>
  3810. * ToolBar.cs: Ignore click events when mouse button is not a
  3811. left button, only accepts other button for dropdown menus.
  3812. Fixes #79854.
  3813. 2006-11-07 Chris Toshok <[email protected]>
  3814. * DataGrid.cs: make the back and parent row buttons a little less
  3815. ugly.
  3816. 2006-11-07 Jackson Harper <[email protected]>
  3817. * TextBoxBase.cs: When converting to Text don't put line breaks in
  3818. for soft line breaks.
  3819. * TextControl.cs: There is an initial "fake" line in the document,
  3820. this is now a soft break line, so that an extra line feed doesn't
  3821. get added to the end of documents.
  3822. 2006-11-07 Chris Toshok <[email protected]>
  3823. [ fix bug #79778 ]
  3824. * CurrencyManager.cs: if the list is readonly, don't bother
  3825. checking if IBindingList.AllowNew is true.
  3826. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  3827. for non-DataRowView datasources.. or rather, make it not crash.
  3828. (DataGridPaintRelationRow): make sure we limit the row painting to
  3829. the area not covered by the row header, and make our cell width at
  3830. least large enough to cover the relation area. This allows grids
  3831. that have relations but no rows to render correctly.
  3832. (DataGridPaintRowContents): same type of changes here.
  3833. (SetDataSource): move back to always calling
  3834. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  3835. navigating back through relations.
  3836. (HitTest): handle the case where we have no cells but have
  3837. relations. Right now we generate a hit in cell 0 of whatever the
  3838. row is, not sure if this is strictly correct, but it works for our
  3839. purposes.
  3840. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  3841. bother doing anything.
  3842. 2006-11-07 Jonathan Pobst <[email protected]>
  3843. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  3844. early version of StatusStrip. Not responsible for eaten
  3845. application or firstborn children.
  3846. 2006-11-06 Chris Toshok <[email protected]>
  3847. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  3848. call GetTabRect with a -1 index. Fixes #79847.
  3849. 2006-11-06 Jackson Harper <[email protected]>
  3850. * TreeNodeCollection.cs: Update scrollbars after clearing.
  3851. 2006-11-06 Chris Toshok <[email protected]>
  3852. * NumericUpDown.cs: fix the ToString method for some unit test
  3853. love.
  3854. 2006-11-06 Chris Toshok <[email protected]>
  3855. * PropertyGrid.cs:
  3856. - set the initial SelectedGridItem if we can.
  3857. - Exclude non-mergable properties only if we're merging > 1
  3858. object. Merging 1 object isn't really merging, obviously.
  3859. - Handle PropertySort.NoSort just like Alphabetical, which is
  3860. wrong of course, but at least gets things on the screen.
  3861. * PropertyGridView.cs:
  3862. - Add method "FindFirstItem" which finds the first property grid
  3863. item, so we can select it by default.
  3864. - make use of GridEntry.CanResetValue.
  3865. - Don't call RedrawBelowItemOnExpansion here anymore, the
  3866. individual GridEntry's will do that.
  3867. - Remove the ITypeDescriptorContextImpl internal class.
  3868. * GridEntry.cs:
  3869. - this class needs to implement ITypeDescriptorContext, as it's
  3870. what MS's PropertyDescriptorGridEntry does, which means we can
  3871. remove the ITypeDescriptorContextImpl internal class from
  3872. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  3873. - keep a reference to our PropertyGridView, and move the call to
  3874. RedrawBelowItemOnExpansion here from PGV. This means
  3875. programmaticly setting Expanded actually does something visible.
  3876. - add a CanResetValue() function which takes into account our
  3877. possibly multiple "selected_objects" in the merged case. Shifting
  3878. PropertyGridView to use this method fixes another unreported
  3879. crasher found running the test for #79829.
  3880. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  3881. is updated to reflect this.
  3882. * CategoryGridEntry.cs: the ctor takes the PGV now.
  3883. 2006-11-06 Jackson Harper <[email protected]>
  3884. * TextControl.cs: These are 1 based.
  3885. * TextBoxBase.cs: When setting the selected text, don't change the
  3886. selected text tags, this is done by ReplaceText, just position the
  3887. cursor at the end of the new text.
  3888. 2006-11-06 Alexander Olk <[email protected]>
  3889. * ListView.cs: Allow label edit only when, when LabelEdit is
  3890. set to true.
  3891. 2006-11-06 Jackson Harper <[email protected]>
  3892. * TextControl.cs: If a suitable wrapping position isn't found,
  3893. just wrap right in the middle of a word.
  3894. 2006-11-06 Alexander Olk <[email protected]>
  3895. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  3896. bug #79820.
  3897. 2006-11-06 Jackson Harper <[email protected]>
  3898. * TreeView.cs: Can't use the VisibleCount property when setting
  3899. scrollbar heights, because this doesn't take into account whether
  3900. or not the horz scrollbar just came visible.
  3901. 2006-11-05 Everaldo Canuto <[email protected]>
  3902. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  3903. activated. Fixes #79369, #79832.
  3904. 2006-11-05 Alexander Olk <[email protected]>
  3905. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  3906. had to remove support for links that point to a directory. FileInfo
  3907. returns no usefull information (means, the directory they point to)
  3908. for such links. Replaced some empty string ("") with String.Empty.
  3909. 2006-11-04 Gert Driesen <[email protected]>
  3910. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  3911. NullReferenceException when attempting to remove node that is not in
  3912. collection. Throw NullReferenceException when null is passed to
  3913. Remove. Allow first element of the collection to be removed. Fixes
  3914. bug #79831. In GetEnumerator ().Current return null if positioned
  3915. before the first element of the collection. In GetEnumerator ().Reset,
  3916. position before first element of the collection.
  3917. 2006-11-04 Gert Driesen <[email protected]>
  3918. * PropertyGrid.cs: To match MS, remove default title and description
  3919. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  3920. buttons.
  3921. 2006-11-04 Chris Toshok <[email protected]>
  3922. * Theme.cs: add a Clamp method, just for kicks.
  3923. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  3924. 2006-11-04 Chris Toshok <[email protected]>
  3925. * Form.cs: if the form isn't visible, Close() does nothing.
  3926. 2006-11-03 Chris Toshok <[email protected]>
  3927. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  3928. Hide it.
  3929. (WndProc): don't Dispose after handling the WM_CLOSE message.
  3930. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  3931. them as such, instead of using casts from Control to Form. Also,
  3932. don't Dispose of the modal dialog when we fall out of the loop -
  3933. Close() it instead.
  3934. fixes bug #79813.
  3935. 2006-11-03 Chris Toshok <[email protected]>
  3936. * Control.cs (Dispose): only go through the dispose thing if we're
  3937. @disposing, and we haven't already been disposed. Fixes bug
  3938. #79814.
  3939. * Form.cs: no reason to call "base.Dispose()" here instead of
  3940. "Dispose()".
  3941. 2006-11-03 Mike Kestner <[email protected]>
  3942. * ComboBox.cs : use ToString instead of casts in AddItem for
  3943. sorting functionality. Fixes #79812.
  3944. 2006-11-03 Chris Toshok <[email protected]>
  3945. * Application.cs: pave the way for actually using the thread
  3946. exception dialog. it's ifdefed out at the moment.
  3947. 2006-11-03 Chris Toshok <[email protected]>
  3948. * ThreadExceptionDialog.cs: until we get a better layout, actually
  3949. hide the details textbox and label when we shouldn't see them.
  3950. 2006-11-03 Jackson Harper <[email protected]>
  3951. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  3952. multiline textboxes anymore. This method also determines the
  3953. width/height of a textboxes canvas area.
  3954. - Sorta a revert of the last patch. For multiline just position
  3955. the controls, then bail. This way the scrollbar width won't be
  3956. altered.
  3957. 2006-11-03 Everaldo Canuto <[email protected]>
  3958. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  3959. it dont need. Fixes #79537.
  3960. 2006-11-02 Jackson Harper <[email protected]>
  3961. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  3962. send the status after firing the DndOver event.
  3963. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  3964. * TrackBar.cs: Now orientation only switches height / width if
  3965. the control's handle is created (Win32 does it like this). Also
  3966. fixed a typo in ToString() for a test to pass, changed the
  3967. exception thrown in set_LargeChange and set_SmallChange to
  3968. match Win32 behaviour, and added TrackBar tests to the unit
  3969. tests.
  3970. 2006-11-02 Chris Toshok <[email protected]>
  3971. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  3972. not _NET_WM_STATE_NO_TASKBAR.
  3973. 2006-11-02 Jackson Harper <[email protected]>
  3974. * TextControl.cs: Increment count by one, since in the update view
  3975. count - 1 is used.
  3976. 2006-11-02 Jackson Harper <[email protected]>
  3977. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  3978. the mouse is in the client rectangle (duh).
  3979. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  3980. * TrackBar.cs: Fixed trackbar jumping around when clicking
  3981. on it - the trackbar was not detecting correctly at which
  3982. side of the thumb the click was done. (fixes #79718)
  3983. 2006-11-02 Everaldo Canuto <[email protected]>
  3984. * ListBox.cs: scroll visible area when change SelectedIndex to
  3985. a non visible area. Fixes #79481.
  3986. 2006-11-01 Jackson Harper <[email protected]>
  3987. * TextControl.cs: When replacing the selection move the selection
  3988. start/end/anchor to the end of the new text.
  3989. 2006-11-01 Jackson Harper <[email protected]>
  3990. * XplatUIWin32.cs: When setting the parent change the controls
  3991. visibility to it's visibility flag, not to it's old parents
  3992. visibility (.Visible walks the parent chain).
  3993. 2006-11-01 Chris Toshok <[email protected]>
  3994. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  3995. XSetTransientForHint fix breaks paint .net's tool windows. more
  3996. work needed for that one.
  3997. 2006-11-01 Chris Toshok <[email protected]>
  3998. * ScrollBar.cs: throw ArgumentException instead of Exception in
  3999. LargeChange/SmallChange setters. fixes unit tests.
  4000. 2006-10-31 Andreia Gaita <[email protected]>
  4001. * ContainerControl.cs: reverted rev.67183 (which was itself
  4002. a reversion of rev.66853... eh).
  4003. * Control.cs: Fixes Reflector hang by changing Focus() call
  4004. to what it was before rev.66643 (calling Select() here sets
  4005. ActiveControl, which in some situations calls back Focus and
  4006. eventually does a stack overflow). Temp fix.
  4007. Changes to GetNextControl() to not look for children to select when
  4008. parent cannot be selectable (so it looks for siblings instead)
  4009. 2006-10-31 Mike Kestner <[email protected]>
  4010. * CheckedListBox.cs : off by one error in returned index from
  4011. ObjectCollection.Add. Fixes #79758.
  4012. 2006-10-31 Chris Toshok <[email protected]>
  4013. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  4014. calls for the textbox/spinner, to keep from recursing to the point
  4015. where we crash. Fixes #79760.
  4016. 2006-10-31 Chris Toshok <[email protected]>
  4017. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  4018. null/"" value, just return. matches ms's behavior and fixes some
  4019. failing tests.
  4020. 2006-10-31 Chris Toshok <[email protected]>
  4021. * Control.cs (set_Capture): make a logic a little easier to
  4022. follow.
  4023. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  4024. if it's being destroyed. A necessary fix surely, but a bandaid
  4025. also, to fix the stuck capture problem in bug #78413.
  4026. 2006-10-31 Chris Toshok <[email protected]>
  4027. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  4028. convention of clearing hwnd.ClientRect when we set the
  4029. width/height (so it'll be recalculated by Hwnd).
  4030. 2006-10-31 Andreia Gaita <[email protected]>
  4031. * ContainerControl.cs: reversed Contains check from
  4032. ActiveControl due to hanging problems. This fix
  4033. partly regresses #79667 (button does not have
  4034. initial focus), so this might be a symptom for
  4035. a larger parenting problem (set_ActiveControl
  4036. is being called but the child control does
  4037. not have the parent set yet?)
  4038. 2006-10-31 Mike Kestner <[email protected]>
  4039. * MenuAPI.cs : fix keynav when menu is click activated.
  4040. 2006-10-31 Jonathan Pobst <[email protected]>
  4041. * ToolStrip*: Version 0.2.
  4042. * MenuStrip.cs: Version 0.1.
  4043. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  4044. 2006-10-30 Chris Toshok <[email protected]>
  4045. [ fixes the oversized notify icon issue in bug #79745 ]
  4046. * NotifyIcon.cs: scale the icon down to the size we're given by
  4047. the XplatUI layer (this would be faster if we did it once instead
  4048. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  4049. since it's never invoked.
  4050. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  4051. pixels high by default, so let's hardcode our systray icon to that
  4052. size. The SYSTEM_TRAY protocol should really have a way for
  4053. client apps to query for the correct icon size.. but oh well. A
  4054. couple of patches to deal with the screwy client_window ==
  4055. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  4056. instance, and also make sure we don't XSelectInput twice).
  4057. 2006-10-30 Chris Toshok <[email protected]>
  4058. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  4059. recreating forms. Control recreation is the bane of my existence.
  4060. Fix it in a way that keeps everyone happy.
  4061. 2006-10-30 Chris Toshok <[email protected]>
  4062. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  4063. just non-CHILD ones. otherwise sometimes scrollbars end up with
  4064. client_windows not being resized to the proper size (ReportBuilder
  4065. shows this extremely well).
  4066. 2006-10-30 Chris Toshok <[email protected]>
  4067. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  4068. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  4069. showing up in the gnome taskbar. Fixes bug #79790.
  4070. 2006-10-30 Chris Toshok <[email protected]>
  4071. * ApplicationContext.cs: guard against a NRE.
  4072. * Application.cs: null out the old MainForm for the context, so we
  4073. don't try to use it again once it's disposed. Fixes bug #79783.
  4074. 2006-10-30 Chris Toshok <[email protected]>
  4075. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  4076. BindingContext, set the data source directly, otherwise do the
  4077. lazy approach - the actual ListManager will be created when we get
  4078. a BindingContext. Fixes bug #79700.
  4079. 2006-10-30 Jonathan Pobst <[email protected]>
  4080. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  4081. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  4082. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  4083. 2006-10-30 Jonathan Pobst <[email protected]>
  4084. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  4085. of SetVisible that allows a window to be shown, but not activated.
  4086. This is needed on Windows for MenuStrip, and can probably be used
  4087. with MainMenu and ComboBox to fix the focus stealing issues on
  4088. Windows.
  4089. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  4090. 2006-10-30 Alexander Olk <[email protected]>
  4091. * PictureBox.cs: Fix the output of the ToString method.
  4092. 2006-10-29 Chris Toshok <[email protected]>
  4093. * Control.cs (get_TopLevelControl): fix bug #79781.
  4094. 2006-10-29 Chris Toshok <[email protected]>
  4095. * ListControl.cs (set_DataSource): throw Exception here, not
  4096. ArgumentException, to match MS behavior.
  4097. 2006-10-29 Chris Toshok <[email protected]>
  4098. * Form.cs: remove the try-catch's around calls to GetWindowState.
  4099. We can just check the return value.
  4100. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  4101. Instead return -1.
  4102. * XplatUI.cs: Add note about additional return value for
  4103. GetWindowState.
  4104. 2006-10-29 Chris Toshok <[email protected]>
  4105. * Control.cs (CreateHandle): when we create our handle, we also
  4106. create the handles of our child controls. Fixes one of the
  4107. Control unit tests (CH11).
  4108. 2006-10-28 Alexander Olk <[email protected]>
  4109. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  4110. 2006-10-28 Alexander Olk <[email protected]>
  4111. * ThemeClearlooks.cs: A little speedup.
  4112. 2006-10-27 Chris Toshok <[email protected]>
  4113. * Control.cs: implement Control.FromChildHandle in a way that
  4114. matches the docs (and fixes the failed test.)
  4115. 2006-10-27 Chris Toshok <[email protected]>
  4116. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  4117. comments).
  4118. * DataGrid.cs: implement ResetForeColor such that the tests
  4119. succeed.
  4120. 2006-10-27 Chris Toshok <[email protected]>
  4121. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  4122. being set to "". Fixes bug #79759.
  4123. 2006-10-27 Jackson Harper <[email protected]>
  4124. * TextControl.cs: We need to clear the entire selection area when
  4125. setting the start, otherwise multiline selections are still
  4126. visible.
  4127. 2006-10-26 Chris Toshok <[email protected]>
  4128. * PropertyGridView.cs:
  4129. - ifdef all the code specific to the double
  4130. buffer case, and provide some alternatives in the non-doublebuffer
  4131. code, which makes heavy use of XplatUI.ScrollWindow to move things
  4132. around without having to invalidate (and cause flicker). There
  4133. are still some drawing problems in the non-doublebuffered case, so
  4134. DOUBLEBUFFER is defined by default.
  4135. - Fix the way dropdowns are handled. now we explicitly watch for
  4136. the events which might cause the dropdown to close, and break out
  4137. of the nested event loop there. This gets rid of all Capture
  4138. code, at the expense of the Msg special casing. Seems to work,
  4139. though, and fixes bug #79743.
  4140. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  4141. * Control.cs: SetIsRecreating now recreates implicitly added
  4142. child controls as well. Finally fixes #79629. The flag passed to
  4143. SetIsRecreating has also been removed since it wasn't used.
  4144. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  4145. * PageSetupDialog.cs: Clean some code, fix some bits,
  4146. add some checks, and add a printer sub-dialog.
  4147. 2006-10-26 Chris Toshok <[email protected]>
  4148. * PropertyGrid.cs: make set_SelectedObject call
  4149. set_SelectedObjects, and move the duplicate logic to the
  4150. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  4151. * PropertyGridView.cs: hide the textbox when we get a
  4152. SelectedObjectsChanged event.
  4153. Fixes bug #79748.
  4154. 2006-10-26 Chris Toshok <[email protected]>
  4155. * PropertyGridView.cs: deal with the type converter not supporting
  4156. GetStandardValues() or GetStandardValues() returning null, which
  4157. is does in the default case. Fixes #79742.
  4158. 2006-10-25 Andreia Gaita <[email protected]>
  4159. * CheckedListBox.cs: nunit no longer crashes when selecting
  4160. Project/Edit menu option
  4161. 2006-10-25 Andreia Gaita <[email protected]>
  4162. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  4163. is no menu selected. fixes #79739
  4164. 2006-10-25 Chris Toshok <[email protected]>
  4165. * PropertyGridView.cs: factor out the splitter invalidation code
  4166. into the SplitterPercent setter, and for kicks implement the
  4167. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  4168. amount in either direction.
  4169. 2006-10-25 Chris Toshok <[email protected]>
  4170. * PropertyGridView.cs: do some cleanup of the brush used to draw
  4171. text - read only fields should be grayed out. not sure how to do
  4172. this with the textbox, though. but the textbox's should also be
  4173. readonly now at least. Also, hide/show the textbox when resizing
  4174. the control.
  4175. * CursorConverter.cs: use System.Reflection when getting the
  4176. properties of Cursors, as TypeDescriptor.GetProperties isn't
  4177. returning static properties.
  4178. 2006-10-25 Chris Toshok <[email protected]>
  4179. * PropertyGridView.cs: factor out the up/down handling, and reuse
  4180. it for page up/down. also add End/Home support.
  4181. 2006-10-25 Chris Toshok <[email protected]>
  4182. * PropertyGridView.cs:
  4183. - ensure the selected grid item is visible in the scrolled area,
  4184. fixes bug #79572.
  4185. - fix Keys.Down handling when you're on the last item in the
  4186. propertygrid.
  4187. 2006-10-25 Mike Kestner <[email protected]>
  4188. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  4189. clicks too. Fixes #79725.
  4190. 2006-10-24 Chris Toshok <[email protected]>
  4191. * PropertyGrid.cs: use property.Converter instead of
  4192. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  4193. TypeConverters declared on the property as well as on the
  4194. PropertyType. Fixes bug #79678.
  4195. 2006-10-24 Alexander Olk <[email protected]>
  4196. * MimeIcon.cs, Mime.cs:
  4197. Fallback to the default platform handler if no shared mime info
  4198. stuff exists (fixes #79693).
  4199. 2006-10-20 Andreia Gaita <[email protected]>
  4200. * ContainerControl.cs: Incorrect contains check in ActiveControl
  4201. from previous fix (duh).
  4202. 2006-10-20 Chris Toshok <[email protected]>
  4203. * PropertyGridView.cs: the dropdown should be MIN(number of items
  4204. in list, 15). Fixes #79551.
  4205. 2006-10-20 Andreia Gaita <[email protected]>
  4206. Fixes #79384, #79394, #79652, #79667
  4207. * Application.cs:
  4208. - Modal windows are now destroyed in the proper order for windows
  4209. * ContainerControl.cs:
  4210. - ActiveControl setter has more conditions on when to return:
  4211. - if we're reselecting the active control, but it actually
  4212. didn't have focus (window hidden or some such), it runs
  4213. - if the active control being selected doesn't actually
  4214. exist in the container, it returns
  4215. * Form.cs
  4216. - The ShowDialog now gets the current form as the owner when
  4217. invoking without parameters, and correctly activates the owner
  4218. when returning
  4219. * MessageBox.cs
  4220. - MessageBox now catches the Escape key to exit
  4221. 2006-10-20 Chris Toshok <[email protected]>
  4222. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  4223. most of bug #79676):
  4224. - you can navigate around the property grid with the arrow keys.
  4225. - the dropdown is sized properly when the pg has a vertical
  4226. scrollbar.
  4227. - fix the indentation for subentries, and properly select the
  4228. entire label rect.
  4229. - fix the gray bar's drawing (only draw it to the last element,
  4230. not for the height of the control. Also make sure we draw that
  4231. last horizontal grid line.
  4232. - use the same mechanism the datagrid uses wrt the editing textbox
  4233. when scrolling/resizing/etc. Namely, we hide it first, do the
  4234. operation, then show it again (if it's still visible).
  4235. - aggressively remove a lot of unnecessary refreshes (and also
  4236. calls to Invalidate(). call more limited variants, and only redraw
  4237. what we need.)
  4238. * PropertyGrid.cs:
  4239. - when we're populating the merged collection, fill in the UI
  4240. parent with either the passed in item, or the category item we
  4241. create.
  4242. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  4243. * GridItem.cs: drop some fully qualified names.
  4244. * GridEntry.cs: add a "UIParent", which is basically the parent
  4245. treenode.
  4246. * GridItemCollection.cs: add an IndexOf method.
  4247. 2006-10-20 Mike Kestner <[email protected]>
  4248. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  4249. a working win32 NC invalidation mechanism, we can't invalidate
  4250. menus. [Fixes #79705]
  4251. 2006-10-20 Mike Kestner <[email protected]>
  4252. * ListBox.cs : don't update the VScrollbar if the list is empty,
  4253. just hide it. [Fixes #79692]
  4254. 2006-10-20 Jackson Harper <[email protected]>
  4255. * RichTextBox.cs: Handle some special chars better, and don't skip
  4256. the entire group when we encounter a special char that we don't
  4257. handle correctly.
  4258. 2006-10-18 Chris Toshok <[email protected]>
  4259. * PropertyGridView.cs: address a number of issues from bug #79676,
  4260. mostly of the cosmetic variety.
  4261. - The highlight rectangle for indented items not extends all the
  4262. way to the left.
  4263. - Indented items aren't indented so much.
  4264. - the dropdown is properly sized width-wise if the pg has a
  4265. vertical scrollbar.
  4266. 2006-10-18 Chris Toshok <[email protected]>
  4267. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  4268. systray stuff is rather convoluted to begin with.
  4269. systray icons are a single window for some reason (that I haven't
  4270. figured out yet), and for them, client_window == whole_window.
  4271. Given the way the tests are structured elsewhere to determine
  4272. which paints are pending (client vs. nc), that situation will
  4273. always yield PAINT, not NCPAINT. So, if we have a pending
  4274. nc_expose and no pending expose, remove the hwnd from the paint
  4275. queue, and also set nc_expose_pending to false, to keep us from
  4276. blocking further expose's adding the hwnd to the paint queue.
  4277. phew. like i said, a rather convoluted change. Fixes the
  4278. notifyicon repaint issues in bug #79645.
  4279. 2006-10-18 Chris Toshok <[email protected]>
  4280. * Form.cs: when getting the backcolor of the form, don't get
  4281. base.BackColor, as this allows parents to influence the background
  4282. color. This breaks mdi forms. Instead, if the background_color
  4283. is empty, return the default.
  4284. 2006-10-18 Chris Toshok <[email protected]>
  4285. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  4286. to being private instead of internal static.
  4287. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  4288. crap, it wasn't working for more deeply nested controls anyway,
  4289. and we already have the is_recreating flag - use that instead.
  4290. Before calling DestroyHandle in RecreateHandle, recurse through
  4291. the control tree setting it to true. this returns the recreate
  4292. code to much of its original simplicity, while now guaranteeing we
  4293. actually recreate everything we're supposed to. This change gets
  4294. fyireporting actually showing mdi children.
  4295. 2006-10-17 Chris Toshok <[email protected]>
  4296. * Form.cs: remove some debug spew, and collapse some duplicate
  4297. code at the end of SetClientSizeCore.
  4298. * XplatUIX11.cs:
  4299. - add some more debug spew here too wrt Destroy handling.
  4300. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  4301. in Control's handling of WM_DESTROY.
  4302. - Remove the handling of zombie window DestroyNotifies from the
  4303. event loop - we don't need it. Now the only DestroyNotifies we
  4304. actually handle are ones generated by X.
  4305. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  4306. match gtk's (functioning) handling of this. This keep metacity
  4307. from leaving droppings in the form of wm borders with no window
  4308. contents all over the place.
  4309. * Control.cs:
  4310. - add a bunch of debug spew wrt control recreation.
  4311. - fix a bug where we weren't tracking Visible properly on
  4312. recreated hwnds.
  4313. - fixed the WM_PAINT double buffer handling to support re-entrant
  4314. calls (yes, i know it's gross, but it's happening to us).
  4315. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  4316. * ThemeWin32Classic.cs: changed drawing of selected days
  4317. to make them look better.
  4318. 2006-10-16 Chris Toshok <[email protected]>
  4319. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  4320. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  4321. * XplatUIX11.cs: move away from using hwnd.client_dc and
  4322. hwnd.non_client_dc and on to a stack of dc's (and in window's
  4323. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  4324. without puking or not disposing of Graphics objects.
  4325. * XplatUIOSX.cs: same.
  4326. * XplatUIWin32.cs: same.
  4327. 2006-10-03 Alexander Olk <[email protected]>
  4328. * FileDialog.cs: Don't call on_directory_changed inside
  4329. OnSelectedIndexChanged (it changes the SelectedIndex too).
  4330. Instead move it to OnSelectionChangeCommitted.
  4331. 2006-10-13 Chris Toshok <[email protected]>
  4332. * XplatUIX11.cs: more Destroy work. the current code does the
  4333. following things, in order:
  4334. 1. Enumerates all handles of all controls at or below the one
  4335. being destroyed, in pre-order. As it is doing this, it marks the
  4336. handles as zombie and clears all references to them.
  4337. 2. calls XDestroyWindow on the window passed in.
  4338. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  4339. list.
  4340. 2006-10-13 Chris Toshok <[email protected]>
  4341. * XplatUIX11.cs: set hwnd.zombie to true before calling
  4342. SendMessage (WM_DESTROY). this keeps us from marking the new
  4343. window a zombie, and also keeps us from calling sendmessage at
  4344. all.
  4345. 2006-10-13 Jackson Harper <[email protected]>
  4346. * TextControl.cs: Do not show the caret and selection at the same
  4347. time. Reduces ugliness by 35%.
  4348. 2006-10-13 Chris Toshok <[email protected]>
  4349. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  4350. zombie after we do the recursive call, so we actually do call
  4351. SendMessage on the children controls.
  4352. (GetMessage): if we find a pending paint event for a zombie hwnd,
  4353. remove the hwnd from the paint queue, or else it will always be
  4354. there (and we'll effectively loop infinitely)
  4355. 2006-10-13 Mike Kestner <[email protected]>
  4356. * MenuItem.cs : add Selected format under keynav too.
  4357. Fixes #79528.
  4358. 2006-10-13 Gert Driesen <[email protected]>
  4359. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  4360. implementation and that of MS.
  4361. 2006-10-13 Chris Toshok <[email protected]>
  4362. * Control.cs (OnInvalidated) only futz with the invalid_region if
  4363. the control is double buffered. this fixes the apparent hang in
  4364. the ListView unit tests. Someone needs to make the
  4365. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  4366. 2006-10-13 Chris Toshok <[email protected]>
  4367. * PropertyGridView.cs:
  4368. - do a little refactoring so that only one place calls
  4369. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  4370. else call that. Also make it Refresh, since there are redraw bugs
  4371. otherwise (we should take a look at that...)
  4372. - do a little more refactoring work to share the body of code
  4373. involved with the drop down. it was duplicated in the code
  4374. dealing with the listbox handling and in the code dealing with the
  4375. UITypeEditors.
  4376. - add a Capture to the dropdown form's control once it's
  4377. displayed, and add a MouseDown handler that checks to make sure
  4378. the position is inside the control. If it's not, close the
  4379. dropdown. This fixes #78190.
  4380. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  4381. if the value is different than the initial value.
  4382. 2006-10-13 Andreia Gaita <[email protected]>
  4383. * Control.cs: see #78650
  4384. - Fixed GetNextControl for several cases:
  4385. - Changed FindFlatForward to return
  4386. correct sibling control when more than one
  4387. control has same TabIndex as the currently
  4388. focused one.
  4389. - Changed FindFlatBackward to loop children
  4390. from last to first and apply same logic as in
  4391. FindFlatForward
  4392. - Changed FindControlForward to search for
  4393. children when control is not a container
  4394. but has children, or search for siblings if
  4395. control is a container...
  4396. - Changed FindControlBackward to continue
  4397. searching for child controls when hitting
  4398. Panel-like parents
  4399. - Fixed Focus method to update ActiveControl
  4400. (FocusTest.FocusSetsActive failure)
  4401. * TabControl.cs:
  4402. - Focus rectangle now refreshes when gaining
  4403. or losing focus
  4404. - Removed grab for Tab key on IsInputKey that
  4405. was keeping tab navigation from working (#78650)
  4406. 2006-10-13 Chris Toshok <[email protected]>
  4407. * PropertyGridView.cs:
  4408. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  4409. SelectedObjects.
  4410. - Deal with GridItem.Value == null a few places.
  4411. * PropertyGrid.cs:
  4412. - replace the PopulateGridItemCollection with a pair of methods
  4413. which compute the intersection of all the properties in the
  4414. SelectedObjects array. Fixes #79615.
  4415. - Throw ArgumentException from set_SelectedObjects if there's a
  4416. null in the array.
  4417. - Add GetTarget method which can be used to traverse up the
  4418. GridItem.Parent chain. It depends on the assumption that
  4419. selected_objects for different GridEntries are always in the same
  4420. order (a safe assumption). Use this method and loop over all the
  4421. selected objects in the entry when calling RemoveValueChanged and
  4422. AddValueChanged.
  4423. * GridEntry.cs: Make this handle multiple selected objects.
  4424. .Value returns null if not all the selected objects share the same
  4425. value.
  4426. 2006-10-12 Jonathan Pobst <[email protected]>
  4427. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  4428. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  4429. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  4430. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  4431. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  4432. add additional functionality.
  4433. 2006-10-12 Mike Kestner <[email protected]>
  4434. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  4435. * HelpProvider.cs : new ToolTipWindow ctor sig.
  4436. * ToolTip.cs : remove ToolTip param from Window sig since it is
  4437. not used.
  4438. * ToolBar.cs : add tooltip support. Fixes #79565.
  4439. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4440. * ComboBox.cs: move the events in set_SelectedIndex to
  4441. after the call to HighlightIndex in order to avoid
  4442. possible recursion and subsequent problems with the call
  4443. to HighlightIndex and include a range check in
  4444. set_HighlightIndex. Fixes #79588
  4445. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4446. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  4447. to ui thread's settings instead of sunday.
  4448. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  4449. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4450. * DateTimePicker.cs
  4451. * MonthCalendar.cs
  4452. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  4453. and implement missing functionality (selecting different parts
  4454. of the date and edit them individually with the keyboard).
  4455. 2006-10-11 Chris Toshok <[email protected]>
  4456. * Control.cs (OnInvalidated): fix NRE relating to last change.
  4457. 2006-10-11 Chris Toshok <[email protected]>
  4458. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  4459. atoms in _NET_WM_STATE here if the window is maximized. We need
  4460. to do this because we're *replacing* the existing _NET_WM_STATE
  4461. property, so those atoms will be lost otherwise, and any further
  4462. call to GetWindowState will return Normal for a window which is
  4463. actually maximized. Fixes #79338.
  4464. 2006-10-11 Jackson Harper <[email protected]>
  4465. * TextControl.cs: Special case for setting selection end to
  4466. selection start, we basically kill the anchor.
  4467. - some todo comments.
  4468. 2006-10-11 Chris Toshok <[email protected]>
  4469. * Control.cs: switch to using an "invalid_region" to track which
  4470. parts of the image buffer need updating. This is more code than
  4471. the simple fix from r66532. That version just attempted to always
  4472. fill the entire buffer on redraw, which turns out to be
  4473. inefficient when invalidating small rectangles. This version
  4474. simply adds the invalid rectangle to the invalid region. When we
  4475. get any WM_PAINT message we see if it can be filled using the
  4476. image buffer, and if it can't (if the paint event's clip rectangle
  4477. is visible in the invalid region) we first fill the image buffer.
  4478. So, the image buffer is still a cache, we just fill it lazily.
  4479. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  4480. need it any longer.
  4481. 2006-10-11 Chris Toshok <[email protected]>
  4482. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  4483. well as size after calling XMoveResizeWindow. This keeps us from
  4484. ignoring future SetWindowPos calls. Fixes the disappearing
  4485. DateTimePicker in the ToolBarDockExample from bug #72499.
  4486. 2006-10-11 Chris Toshok <[email protected]>
  4487. * TextBoxBase.cs: reorder things a bit when it comes to
  4488. resizing-causing-recalculation. we were recalculating the
  4489. document when our position was changed, which shouldn't happen.
  4490. We only care about size changes. Clear up some more redundant
  4491. recalculation calls while I'm at it. This makes the toolbar dock
  4492. example snappy when you're just dragging toolbars around (since it
  4493. causes a relayout whenever you move one.)
  4494. 2006-10-11 Chris Toshok <[email protected]>
  4495. * ToolBarButton.cs (get_Rectangle): this only returns
  4496. Rectangle.Empty if Visible == false, or Parent == null.
  4497. Parent.Visible doesn't matter.
  4498. 2006-10-10 Chris Toshok <[email protected]>
  4499. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  4500. by .net 1.1, so switch to an internal method instead.
  4501. 2006-10-10 Chris Toshok <[email protected]>
  4502. * Control.cs (WM_PAINT): when a control is double buffered we draw
  4503. initially to the ImageBuffer and then copy from there. But when a
  4504. parent control which has child controls is double buffered, the
  4505. initial drawing doesn't encompass the entire ClientRectangle of
  4506. the parent control, so we end up with uninitialized bits (this is
  4507. easily seen by dragging the top toolbar in
  4508. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  4509. manually set the ClipRectangle of the paint_event (only the one we
  4510. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  4511. of the nastiness in bug #72499.
  4512. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  4513. which we use in Control.cs's WM_PAINT handling.
  4514. 2006-10-10 Jackson Harper <[email protected]>
  4515. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  4516. 2006-10-10 Chris Toshok <[email protected]>
  4517. * Cursor.cs: Apply a slightly different patch to the one suggested
  4518. in #79609.
  4519. 2006-10-10 Jackson Harper <[email protected]>
  4520. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  4521. not the parent form.
  4522. * TextControl.cs: use difference in old line count vs new count to
  4523. calculate how many lines were added, this takes into account soft
  4524. line breaks properly.
  4525. 2006-10-10 Chris Toshok <[email protected]>
  4526. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  4527. rectangle located at 0,0 and the size of the text. Use
  4528. ClientRectangle instead. This fixes rendering of non-left aligned
  4529. link labels.
  4530. 2006-10-10 Jackson Harper <[email protected]>
  4531. * TextBoxBase.cs: When we set the selection start position the
  4532. caret.
  4533. * TextControl.cs: Need to update the caret when we decrement it to
  4534. zero.
  4535. - Make sure that the selection_visible flag gets reset to false if
  4536. the selection isn't visible. Before this you could get it set to
  4537. visible by changing the selection start, then changing the end to
  4538. equal the start.
  4539. 2006-10-09 Jackson Harper <[email protected]>
  4540. * TreeView.cs: Don't update scrollbars when we aren't visible.
  4541. * TreeNodeCollection.cs: Only need to update scrollbars if being
  4542. added to an expanded visible node or the root node.
  4543. 2006-10-09 Chris Toshok <[email protected]>
  4544. * XplatUIX11.cs (SendMessage): fix NRE.
  4545. 2006-10-09 Jackson Harper <[email protected]>
  4546. * TextBoxBase.cs: Implement horizontal autoscrolling.
  4547. * TextControl.cs: Add a movement types that allows moving forward
  4548. and backwards without wrapping.
  4549. 2006-10-09 Mike Kestner <[email protected]>
  4550. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  4551. with focus "expansion" of labels. Fixes #79532 and then some.
  4552. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  4553. when wrapping.
  4554. 2006-10-09 Jackson Harper <[email protected]>
  4555. * TextBoxBase.cs: Set the default max values to MaxValue since
  4556. we use the scrollbar for autoscrolling and the default value is
  4557. 100. If we don't do this the caret won't keep up with typing
  4558. after about 18 characters.
  4559. * TextControl.cs: Make sure the selection is offset by the
  4560. viewport x. This fixes selection when using auto scrolling.
  4561. 2006-10-07 Andreia Gaita <[email protected]>
  4562. * Form.cs: The active control should be selected after the
  4563. OnLoad so that any child control initialization that affects
  4564. the selection is done. Fixes #79406
  4565. 2006-10-06 Chris Toshok <[email protected]>
  4566. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  4567. to have no evil effects.
  4568. - Stop selecting StructureNotifyMask on non-toplevel windows.
  4569. The only way children should be resized is by using the SWF api,
  4570. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  4571. Toplevel windows can be interacted with via the window manager,
  4572. and so we keep the input mask there.
  4573. The other event StructureNotifyMask gives us (that we care
  4574. about) is DestroyNotify. The code is already structured such
  4575. that it assumes we won't be getting a DestroyNotify event for
  4576. the window we pass to XDestroyWindow (which is what
  4577. StructureNotifyMask is supposed to guarantee.) So, that code
  4578. shouldn't be affected by this either.
  4579. - Stop selecting VisibilityChangeMask altogether.
  4580. We weren't doing anything with the resulting events anyway.
  4581. This vastly reduces the number of X requests and events we see
  4582. when resizing/laying out a large ui.
  4583. 2006-10-06 Chris Toshok <[email protected]>
  4584. * ScrollableControl.cs (DisplayRectangle): we need to take into
  4585. account the DockPadding regardless of whether or not auto_scroll
  4586. == true. rework this slightly to this effect, and fix bug #79606,
  4587. and part of #72499 (you can now see the drag handles and drag
  4588. toolbars around).
  4589. 2006-10-06 Gert Driesen <[email protected]>
  4590. * ListViewItem.cs: Collections of selected and checked items are now
  4591. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  4592. we mark the collection "dirty".
  4593. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  4594. to only clear SelectedItems when a new item is selected and MultiSelect
  4595. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  4596. event of ListViewItemCollection, and mark its list dirty whenever
  4597. that event is fire. This allows us to return selected/checked items
  4598. in the same order as they are in the Items collection. This matches
  4599. the MS behavior.
  4600. 2006-10-06 Chris Toshok <[email protected]>
  4601. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  4602. right mouse clicks. Fixes bug #79593.
  4603. 2006-10-06 Chris Toshok <[email protected]>
  4604. * Splitter.cs: doh, fix splitters that don't want to cancel the
  4605. movement when you drag them. Also, impose the limits on the
  4606. values we send to the SplitterMovingEvent. Fixes #79598.
  4607. 2006-10-06 Jackson Harper <[email protected]>
  4608. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  4609. since we use this for auto scrolling also.
  4610. 2006-10-05 Chris Toshok <[email protected]>
  4611. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  4612. beginning to think that most datagrid column types don't need this
  4613. method. Fixes bug #79392.
  4614. 2006-10-05 Chris Toshok <[email protected]>
  4615. * DataGrid.cs: move back to a more lazy scheme for creating the
  4616. CurrencyManager, so we aren't updating it every time you set
  4617. either DataSource or DataMember. Also, don't call
  4618. RecreateDataGridRows if the currency manager hasn't changed.
  4619. 2006-10-05 Chris Toshok <[email protected]>
  4620. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  4621. emitted, SelectedIndex should already be updated. Fixes bug
  4622. #78929.
  4623. 2006-10-05 Jonathan Pobst <[email protected]>
  4624. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  4625. ToolStripTextBox.cs: Initial commit.
  4626. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  4627. 2006-10-05 Jackson Harper <[email protected]>
  4628. * TabControl.cs: We need to invalidate the tab control area when
  4629. new ones are added (duh).
  4630. 2006-10-03 Chris Toshok <[email protected]>
  4631. * Form.cs (ProcessDialogKey): if the focused control is in this
  4632. form and is a button, call its PerformClick method here. Fixes
  4633. #79534.
  4634. 2006-10-04 Jackson Harper <[email protected]>
  4635. * TabPage.cs: Ignore setting of Visible, and add an internal
  4636. method for setting the controls visibility. TabPage's Visible
  4637. property is a little strange on MS, this seems to make us
  4638. compatible, and fixes cases where people set all the tab pages to
  4639. visible.
  4640. * TabControl.cs: Use the new internal setting on tab pages
  4641. visibility.
  4642. 2006-10-03 Mike Kestner <[email protected]>
  4643. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  4644. 2006-10-03 Mike Kestner <[email protected]>
  4645. * ListView.cs : use is_visible instead of Visible to check if
  4646. scrollbars should be placed/sized. Also some max_wrap_width
  4647. love for LargeIcon view. [Fixes #79533]
  4648. 2006-10-03 Atsushi Enomoto <[email protected]>
  4649. * TextControl.cs :
  4650. Make set_TextAlign() do actually update the align. Fixed #78403.
  4651. 2006-10-03 Chris Toshok <[email protected]>
  4652. * DataGrid.cs: fix a crash when switching datasources if the
  4653. vertical scrollbar is at someplace other than Value = 0. Also,
  4654. reduce the number of recalculation passes we do in SetDataSource
  4655. from 2 to 1.
  4656. 2006-10-03 Jackson Harper <[email protected]>
  4657. * TextBoxBase.cs: Move the if value the same bail check up, we
  4658. don't want to empty the document if it is already empty, this
  4659. seems to severly mess up the caret. TODO: I should probably fix
  4660. the empty statement to update teh caret somehow.
  4661. 2006-10-03 Chris Toshok <[email protected]>
  4662. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  4663. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  4664. reflection, an internal row type, properties on said type, etc.)
  4665. will work with our datagrid. Fixes #79531.
  4666. 2006-10-03 Alexander Olk <[email protected]>
  4667. * FileDialog.cs: Don't crash if a path is not accessible
  4668. (System.UnauthorizedAccessException). Fixes #79569.
  4669. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  4670. a ':' too. Return unknown icon for those paths/files.
  4671. 2006-10-03 Sebastien Pouliot <[email protected]>
  4672. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  4673. GetContainerControl returns null.
  4674. 2006-10-02 Chris Toshok <[email protected]>
  4675. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  4676. call to XGetWindowAttributes instead of "handle". fixes an X
  4677. error using notifyicon after the NotifyIconWindow to Form base
  4678. class switch.
  4679. 2006-10-02 Chris Toshok <[email protected]>
  4680. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  4681. server grab and looping we need to do to get down to the most
  4682. deeply nested child window.
  4683. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  4684. QueryPointer again after the WarpPointer so we can generate a
  4685. proper (fake) MotionNotify event to be enqueued in the destination
  4686. window's queue.
  4687. (GetCursorPos): call QueryPointer.
  4688. Fixes #79556.
  4689. 2006-10-02 Jackson Harper <[email protected]>
  4690. * NotifyIcon.cs: Derive the notify icon from a form, so things
  4691. like FindForm work on it.
  4692. - Swallow the WM_CONTEXTMENU message, since that is generated on
  4693. mouse down, and context menu is a mouse up kinda guy. I believe
  4694. the correct fix here is probably to make the notify icon entirely
  4695. NC area, but this seems to work fine for anyone not manipulating
  4696. WndProc.
  4697. 2006-10-02 Jonathan Pobst <[email protected]>
  4698. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  4699. ToolStripItemCollection.cs, ToolStripLabel.cs,
  4700. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  4701. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  4702. Initial implementation.
  4703. * TextRenderer.cs: Provide padding to MeasureText.
  4704. 2006-10-02 Sebastien Pouliot <[email protected]>
  4705. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  4706. of ButtonBaseAccessibleObject. Fix bug #79552.
  4707. 2006-10-02 Jackson Harper <[email protected]>
  4708. * MdiWindowManager.cs: When maximizing use the containers client
  4709. rect, not it's bounds, so nc area is accounted correctly.
  4710. - Use the parent form's size for the menu position, since the
  4711. client isn't always the full form size.
  4712. 2006-10-01 Chris Toshok <[email protected]>
  4713. * ScrollableControl.cs: make sure neither right_edge or
  4714. bottom_edge are < 0, since they're used as LargeChange for the
  4715. horiz/vert scrollbars respectively. Fixes #79539.
  4716. 2006-10-01 Chris Toshok <[email protected]>
  4717. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  4718. the xplatuix11 code can cause us to destroy/recreate our handle.
  4719. * XplatUIX11.cs
  4720. (SystrayAdd):
  4721. - this code can be invoked many times for the same Hwnd. Make
  4722. sure we only destroy the client window once (the first time this
  4723. method is called). This fixes bug #79544.
  4724. - Remove the call to the improperly bound XSync. why we had two
  4725. bindings to this, I will never know, but this call resulted in
  4726. events being discarded from the queue(!).
  4727. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  4728. not our current state but the state we wish to be in. So, 0 if
  4729. we don't want to be mapped. Change it to 1.
  4730. (SystrayRemove): The XEMBED spec makes mention of the fact that
  4731. gtk doesn't support the reparent of client windows away from the
  4732. embedder. Looking at gtksocket-x11.c seems to agree with this.
  4733. The only avenue we have for removing systray icons is to destroy
  4734. them. We don't want the handle to go away for good, though, so
  4735. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  4736. #79545.
  4737. 2006-10-01 Chris Toshok <[email protected]>
  4738. * Form.cs (WndProc): inline the native_enabled variable usage into
  4739. the cases in which it's used. Fixes #79536.
  4740. 2006-09-29 Mike Kestner <[email protected]>
  4741. * ListView.cs : toggle the selection state for ctrl clicks in
  4742. multiselect mode. [Fixes #79417]
  4743. 2006-09-29 Mike Kestner <[email protected]>
  4744. * ListView.cs : kill CanMultiSelect and refactor the selection
  4745. code to support multiselection in the absence of mod keys. Steal
  4746. arrow/home/end keys by overriding InternalPreProcessMessage to
  4747. restore regressed keynav behavior.
  4748. [Fixes #79416]
  4749. 2006-09-29 Jackson Harper <[email protected]>
  4750. * MdiClient.cs: Repaint the titlebars when the active window is
  4751. changed.
  4752. 2006-09-29 Chris Toshok <[email protected]>
  4753. * Application.cs: when entering a runloop with a modal, make sure
  4754. the hwnd is enabled. Fixes #79480.
  4755. 2006-09-29 Chris Toshok <[email protected]>
  4756. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  4757. when ListManager.CanAddRows == false, bump us back one.
  4758. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  4759. listmanager.CanAddRows check. This makes ArrayLists uneditable
  4760. using a datagrid, which is not right.
  4761. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  4762. is an IEditable, but call property_descriptor.SetValue regardless.
  4763. fixes #79435.
  4764. 2006-09-29 Chris Toshok <[email protected]>
  4765. * DataGridBoolColumn.cs: we need to test equality in the face of
  4766. possible null values (as is the case with the default NullValue).
  4767. This patch keeps us from crashing in that case.
  4768. 2006-09-29 Jackson Harper <[email protected]>
  4769. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  4770. here, since it will get called for every node collection in the
  4771. tree. This is now done in the treeview once the sorting is
  4772. finished.
  4773. * TreeView.cs: Recalculate the visible order, and update the
  4774. scrollbars after sorting, set the top nope to the root so that the
  4775. recalc actually works.
  4776. 2006-09-29 Chris Toshok <[email protected]>
  4777. * LinkLabel.cs: more handling of the default link collection in
  4778. the face of LinkArea manipulation. The default link collection
  4779. contains 1 element (start=0,length=-1). If the user sets LinkArea
  4780. to anything and the links collection is the default, clear it.
  4781. Then only add the link if its nonempty. Fixes #79518.
  4782. 2006-09-29 Chris Toshok <[email protected]>
  4783. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  4784. piece correctly when we hit a '\n'. Fixes #79517.
  4785. 2006-09-29 Chris Toshok <[email protected]>
  4786. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  4787. change the binding of gdk_init_check to take two IntPtr's, and
  4788. pass IntPtr.Zero for both of them. Fixes #79520.
  4789. 2006-09-29 Mike Kestner <[email protected]>
  4790. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  4791. [Fixes #78779]
  4792. 2006-09-28 Jackson Harper <[email protected]>
  4793. * XplatUIX11.cs: When translating NC messages make sure we go from
  4794. whole window to screen, not client window to screen.
  4795. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  4796. method doesn't exist
  4797. - Skip over controls that aren't forms when arranging.
  4798. 2006-09-28 Jackson Harper <[email protected]>
  4799. * XplatUIWin32.cs: Clip the rect to the parent window.
  4800. * XplatUIStructs.cs: Add clipping modes struct.
  4801. * InternalWindowManager.cs: New private method that factors title
  4802. bar heights in when calculating the pos of an NC mouse message.
  4803. - Use SendMessage to force a paint when the form's size is changed
  4804. instead of painting the decorations immediately.
  4805. - Don't let the NC button click messages get to DefWndProc,
  4806. because they will attempt to handle windowing themself, and this
  4807. messes up z-order (it will put them in front of the scrollbars).
  4808. * XplatUIX11.cs: Make sure that we don't reset window managers if
  4809. we already have one (ie the window is an MDI window).
  4810. 2006-09-28 Chris Toshok <[email protected]>
  4811. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  4812. menu code really needs going over.
  4813. 2006-09-27 Chris Toshok <[email protected]>
  4814. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  4815. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  4816. window is maximizable. So, we need to make sure that even if we
  4817. clear the border/wm frame of those functions, they're still
  4818. available (basically, we remove the decoration without removing
  4819. the function). Half the fix for #79338.
  4820. 2006-09-27 Chris Toshok <[email protected]>
  4821. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  4822. Fixes bug #79515.
  4823. 2006-09-27 Chris Toshok <[email protected]>
  4824. * Splitter.cs: reorder things a bit so that we don't actually
  4825. draw/move the splitter until after calling OnSplitterMoving. This
  4826. lets users cancel/disallow the movement by explicitly setting
  4827. event.SplitX/SplitY. Fixes #79372.
  4828. 2006-09-27 Jackson Harper <[email protected]>
  4829. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  4830. because it is most likely on a window being destroyed, and that
  4831. will give us an X11 error.
  4832. 2006-09-27 Chris Toshok <[email protected]>
  4833. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  4834. the dropdown button now toggles between showing and hiding the
  4835. dropdown. Also, get rid of dropdown_form_showing and just use
  4836. dropdown_form.Visible. We still don't do a grab, but I'll leave
  4837. that part to someone who has handled Capture-fu before.
  4838. 2006-09-27 Chris Toshok <[email protected]>
  4839. * DataGrid.cs: return false if alt isn't pressed when '0' is
  4840. pressed. this keeps the '0' key from being swallowed, and fixes
  4841. bug #79350.
  4842. 2006-09-27 Chris Toshok <[email protected]>
  4843. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  4844. Calling Refresh (in response to a scrollbar event) screws up the
  4845. scrollbar painting. Fixes bug #78923.
  4846. 2006-09-27 Chris Toshok <[email protected]>
  4847. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  4848. then insert into hashtable" blocks threadsafe.
  4849. 2006-09-27 Chris Toshok <[email protected]>
  4850. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  4851. baseclass's, since otherwise the
  4852. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  4853. effect. This gets the close button back in messageboxes.
  4854. 2006-09-27 Chris Toshok <[email protected]>
  4855. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  4856. flag, not just != 0. this makes flags that are actually multiple
  4857. bits (like WS_CAPTION) work. fixes bug #79508.
  4858. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  4859. * PageSetupDialog.cs: add support for getting and settings the
  4860. paper size, source and orientation.
  4861. 2006-09-26 Chris Toshok <[email protected]>
  4862. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  4863. and caption == "", we need to remove the resize handles as well as
  4864. the title bar.
  4865. * Control.cs (set_Text): turns out that setting Text on a form
  4866. should change the WM styles on the window, since if ControlBox ==
  4867. false, the only way to get a window border is to have a non-""
  4868. Text property. check winforms/forms/text.cs for an example. so,
  4869. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  4870. update both window styles and title. This fixes a lot of dialogs
  4871. (including the preferences dialog in MonoCalendar.)
  4872. 2006-09-26 Chris Toshok <[email protected]>
  4873. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  4874. control isn't a Form), call Win32ShowWindow to hide the window,
  4875. but don't update the control Visible property. When we reparent
  4876. back to a parent control, call SetVisible in order for the
  4877. window's visibility to be reinstated.
  4878. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  4879. the FosterParent.
  4880. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  4881. call for good, since it breaks MonoCalendar (and other things I'm
  4882. sure.) Also, set all_controls to null *after* the owner calls,
  4883. which end up regenerating it.
  4884. (ChangeParent): allow new_parent to be == null, passing
  4885. IntPtr.Zero down to XplatUI.
  4886. this fixes #79294 the right way.
  4887. 2006-09-26 Mike Kestner <[email protected]>
  4888. * GridEntry.cs : internal SetParent method.
  4889. * PropertyGrid.cs : attach to property changed on the proper
  4890. target if we have a hierarchical grid with subobjects. Setup
  4891. GridItem.Parent for hierarchical items.
  4892. * PropertyGridView.cs : Set value on the correct target for
  4893. hierarchical grids. [Fixes #78903]
  4894. 2006-09-26 Chris Toshok <[email protected]>
  4895. * Control.cs (ChildNeedsRecreating): this should return true if
  4896. either we're being recreated and the child is in our list, or our
  4897. parent is waiting for our recreation.
  4898. 2006-09-26 Chris Toshok <[email protected]>
  4899. * Control.cs (ControlCollection.Remove): reinstate the
  4900. value.Hide() call as suggested in bug #79294.
  4901. 2006-09-26 Sebastien Pouliot <[email protected]>
  4902. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  4903. coordinates (versus a relative move).
  4904. 2006-09-26 Chris Toshok <[email protected]>
  4905. * Control.cs: rework child recreation a little bit. It turns out
  4906. that we race between the DestroyNotify the WM_DESTROY message. If
  4907. the parent gets its DestroyNotify before the child gets the
  4908. WM_DESTROY message, the child ends up not recreating (since the
  4909. parent finishes its recreation on DestroyNotify, and the child
  4910. checks ParentIsRecreating.)
  4911. So, instead we store off a list of all the child controls which
  4912. need to be recreated when the parent control starts to recreate
  4913. itself. Then, when child controls get their WM_DESTROY message we
  4914. check to see if they're in the parent's pending recreation list,
  4915. and if so, we recreate. This removes all dependency on ordering
  4916. from the code and fixes the initial MonoCalendar upgrade dialog.
  4917. 2006-09-26 Jackson Harper <[email protected]>
  4918. * TextControl.cs: Use the Line to get the length of the line,
  4919. since soft line breaks can change the end line.
  4920. 2006-09-26 Chris Toshok <[email protected]>
  4921. * Control.cs (ControlCollection.AddImplicit): don't add the
  4922. control again if it's already in one of our lists. This keeps us
  4923. from adding controls over and over again for comboboxes when their
  4924. handle gets recreated (as the combobox adds implicit controls in
  4925. OnHandleCreated). Fixes the X11 errors in bug #79480.
  4926. 2006-09-26 Jackson Harper <[email protected]>
  4927. * TextControl.cs: When deleting characters make sure that any
  4928. orphaned zero lengthed tags get deleted.
  4929. - Fix ToString for zero lengthed tags.
  4930. 2006-09-25 Jackson Harper <[email protected]>
  4931. * TextControl.cs: When getting a tag at the location there can be
  4932. multiple tags at the same spot, these are 0-lengthed tags that
  4933. appear when extra formatting has been stuck in a location. We
  4934. need to pull out the last of these 0 lengthed tags.
  4935. 2006-09-25 Jackson Harper <[email protected]>
  4936. * TextControl.cs: Fix print out in debug method.
  4937. * TextBoxBase.cs: When text is set bail if we are setting to the
  4938. previous value.
  4939. 2006-09-24 Alexander Olk <[email protected]>
  4940. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  4941. It is now possible to change the selected index in a FontXXXListBox
  4942. with the up and down arrow keys from the FontXXXTextBoxes.
  4943. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  4944. FontXXXListBoxes to match ms.
  4945. 2006-09-22 Sebastien Pouliot <[email protected]>
  4946. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  4947. anyone can dispose it, anytime. All other properties returns enums,
  4948. structs or basic types so they don't need such tricks.
  4949. 2006-09-22 Jackson Harper <[email protected]>
  4950. * XplatUI.cs:
  4951. * XplatUIWin32.cs:
  4952. * Clipboard.cs:
  4953. * DataFormats.cs:
  4954. * XplatUIOSX.cs:
  4955. * XplatUIDriver.cs: Update interface to add a primary selection
  4956. flag, so the driver can use the primary selection buffer if
  4957. needed.
  4958. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  4959. * RichTextBox.cs: We need to supply the data object to paste now
  4960. (so we can choose to supply CLIPBOARD or PRIMARY).
  4961. * TextBoxBase.cs: Supply data object to paste (see above).
  4962. - Middle click uses the primary selection data object.
  4963. 2006-09-21 Chris Toshok <[email protected]>
  4964. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  4965. of SetWMStyles. It's still a rat's nest and is largely
  4966. order-dependent which I dislike immensely. This also fixes the X
  4967. button disappearing from toplevel forms.
  4968. 2006-09-21 Mike Kestner <[email protected]>
  4969. * ListBox.cs: move Jordi's click/dblclick raising code to the
  4970. mouse up handler.
  4971. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  4972. * ListBox.cs: Fixes 79450
  4973. 2006-09-21 Mike Kestner <[email protected]>
  4974. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  4975. to deal with people updating the TreeNodeCollection after the tree
  4976. is disposed. "Fixes" 79330.
  4977. 2006-09-20 Jackson Harper <[email protected]>
  4978. * TextControl.cs: Push the cursor record onto the undo stack
  4979. before the delete action. This fixes 78651.
  4980. 2006-09-20 Jonathan Chambers <[email protected]>
  4981. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  4982. CreateParams. Fixes 79329.
  4983. 2006-09-19 Chris Toshok <[email protected]>
  4984. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  4985. things up a bit. First, get rid of the NetAtoms array (and the NA
  4986. enum), and just embed the atoms as static fields. Also, add a
  4987. couple of functions (StyleSet and ExStyleSet) to clean up all the
  4988. bitmask testing of styles.
  4989. * X11Structs.cs: remove the NA enum, not needed anymore.
  4990. 2006-09-19 Chris Toshok <[email protected]>
  4991. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  4992. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  4993. added cleanup to get MessageBox titles appearing again, which were
  4994. broken by my earlier fix for caption-less/ControlBox-less windows.
  4995. 2006-09-18 Jonathan Pobst <[email protected]>
  4996. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  4997. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  4998. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  4999. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  5000. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  5001. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  5002. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  5003. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  5004. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  5005. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  5006. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  5007. Inital import.
  5008. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  5009. ToolStripButton.cs: Stubs needed for above.
  5010. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  5011. 2006-09-15 Chris Toshok <[email protected]>
  5012. * XplatUIX11.cs:
  5013. - make the MessageQueues hashtable Synchronized.
  5014. - SendMessage: if the Hwnd is owned by a different thread, use the
  5015. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  5016. thread. Fixes bug #79201.
  5017. 2006-09-15 Chris Toshok <[email protected]>
  5018. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  5019. ControlBox == false, we disallow maximize/minimize/close. If the
  5020. form Caption is "" we also disallow move (and get rid of the Title
  5021. decoration). Unfortunately, regardless of how things are set,
  5022. we're stuck with the Title and WM menu.
  5023. 2006-09-15 Chris Toshok <[email protected]>
  5024. * Application.cs: add locking around the static message_filters
  5025. ArrayList, part of #79196.
  5026. 2006-09-15 Chris Toshok <[email protected]>
  5027. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  5028. Form.ControlBox == false, the window has no titlebar nor resize
  5029. handles. fixes bug #79368.
  5030. 2006-09-15 Chris Toshok <[email protected]>
  5031. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  5032. >= 0. Fixes bug #79370.
  5033. 2006-09-15 Jonathan Pobst <[email protected]>
  5034. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  5035. * Control.cs:
  5036. Add properties: LayoutEngine, Margin, DefaultMargin.
  5037. Add method: GetPreferredSize.
  5038. Move layout logic from PerformLayout to layout engines.
  5039. 2006-09-13 Chris Toshok <[email protected]>
  5040. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  5041. fix for #79326 broke #78718, so this change addresses that.
  5042. - in SendWMDestroyMessages remove the call to
  5043. CleanupCachedWindows, since we might be recreating the control and
  5044. need to maintain the references to right Hwnd handles. Also, set
  5045. the zombie flag to true for each of the children in the hierarchy
  5046. instead of calling hwnd.Dispose. This will cause GetMessage to
  5047. ignore all events for the window except for DestroyNotify.
  5048. - In GetMessage, ignore messages except for DestroyNotify for
  5049. zombie hwnds.
  5050. * Control.cs: revert the is_recreating fix from the last
  5051. ChangeLog. It's definitely "right", but it breaks switching from
  5052. an MDI form to a non-MDI form. Will need to revisit that.
  5053. * Hwnd.cs: add a zombie flag, which means "the
  5054. client_window/whole_window handles are invalid, but we're waiting
  5055. for the DestroyNotify event to come in for them". Set the flag to
  5056. false explicitly if setting WholeWindow/ClientWindow, and also
  5057. when Disposing.
  5058. 2006-09-13 Chris Toshok <[email protected]>
  5059. * XplatUIX11.cs: rework window destruction slightly.
  5060. - when destroying the windows associated with a control, we don't
  5061. need 2 separate XDestroyWindow calls. Just the one for the
  5062. whole_window (or for client_window if whole_window is somehow
  5063. IntPtr.Zero -- can this happen?) is enough.
  5064. - reworked SendWMDestroyMessages slightly, so we always dispose
  5065. the child control hwnd's after sending the messages.
  5066. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  5067. the two places it was used (one was even using hwnd.Handle and the
  5068. other hwnd.client_window. ugh), adding another call in
  5069. SendWMDestroyMessages. We need this new call because now the
  5070. DestroyNotify events in the queue will be ignored for the child
  5071. controls (as their hwnd's were disposed, and the window id's
  5072. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  5073. - this fixes bug #79326.
  5074. 2006-09-13 Chris Toshok <[email protected]>
  5075. * Control.cs: don't always set is_recreating to false at the end
  5076. of RecreateHandle, since sometimes we're not done (and won't be
  5077. until WndProc handles the WM_DESTROY message). Also, set
  5078. is_recreating to false in the WM_DESTROY handling code. Part of
  5079. the fix for bug #79326.
  5080. 2006-09-13 Miguel de Icaza <[email protected]>
  5081. * X11DesktopColors.cs: Start the droppage of debugging messages.
  5082. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  5083. 2006-09-13 Jonathan Pobst <[email protected]>
  5084. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  5085. 2006-09-12 Chris Toshok <[email protected]>
  5086. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  5087. to create it using SetDataSource. Fixes bug #79151.
  5088. 2006-09-11 Chris Toshok <[email protected]>
  5089. * XEventQueue.cs: add a DispatchIdle property.
  5090. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  5091. either the queue is null, or the queue has DispatchIdle set to
  5092. true.
  5093. (DoEvents): set queue.DispatchIdle to false around the
  5094. peek/translate/dispatch message loop in this method. This keeps
  5095. Application.Doevents from emitting idle events. Part of the fix
  5096. for #78823.
  5097. 2006-09-11 Chris Toshok <[email protected]>
  5098. * DataGrid.cs (set_DataSource): make this work for both the
  5099. winforms/datagrid test and ReportBuilder. It seems as though when
  5100. we've created a ListManager (or maybe it's if we have a
  5101. BindingContext?), when we set the DataSource it clears the
  5102. DataMember to "". otherwise we reuse the datamember. Fixes bug
  5103. #79333.
  5104. 2006-09-11 Chris Toshok <[email protected]>
  5105. * XplatUIX11.cs: deal with queue being null, which happens in all
  5106. the Clipboard functions. Fixes one of the two problems mentioned
  5107. in #78612.
  5108. 2006-09-11 Chris Toshok <[email protected]>
  5109. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  5110. button on various spots (including outside the menu) works closer
  5111. to MS, and doesn't crash. Fixes #79343.
  5112. 2006-09-11 Gert Driesen <[email protected]>
  5113. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  5114. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  5115. and the internal comparer is set. When a new ListViewItemSorter is set,
  5116. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  5117. was specified. No further processing is necessary if SortOrder is set
  5118. to it's current value. If Sorting is modified to None, and View is
  5119. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  5120. (either custom or our internal ItemComparer) to null, on 1.0 profile
  5121. only set item_sorter to null if its our internal IComparer. If Sorting
  5122. is modified to Ascending or Descending, then use our internal IComparer
  5123. if none is set, and if the current IComparer is our internal one then:
  5124. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  5125. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  5126. Enum.IsDefined to verify whether a valid View value is specified in
  5127. its setter. Automatically sort listview items when listview is
  5128. created. In Sort, do nothing if ListView is not yet created, or if
  5129. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  5130. to None or ListViewItemSorter was set to null). Added Sort overload
  5131. taking a bool to indicate whether the ListView should be redrawn when
  5132. items are sorted (we use this in ListViewItemCollection to avoid double
  5133. redraws). Modified our internal IComparer to take the sort order into
  5134. account. In Add and AddRange methods of ListViewItemCollection, also
  5135. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  5136. view), but use overload with noredraw option to avoid double redraw.
  5137. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  5138. true when View is Tile, and do the same when attempting to set View to
  5139. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  5140. for selected/checked indices, as it involves overhead when sorting is
  5141. done while these collections are not used all that often. Instead
  5142. we'll build the indices on demand. Modified IList implementation of
  5143. CheckedIndexCollection to use public methods if object is int.
  5144. Modified CheckedListViewItemCollection to hide checked items if
  5145. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  5146. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  5147. IList implementation in SelectedIndexCollection to use public methods
  5148. if object is int. Modified SelectedListViewItemCollection to hide
  5149. selected items if listview is not yet created.
  5150. * ListViewItem.cs: CheckedIndices list no longer needs to be
  5151. maintained separately (see ListView changes). Also clone font, fixes
  5152. test failure.
  5153. 2006-09-11 Mike Kestner <[email protected]>
  5154. * ComboBox.cs: if we are updating the contents of the currently
  5155. selected index, refresh the control or the textbox selection.
  5156. [Fixes #79066]
  5157. 2006-09-11 Mike Kestner <[email protected]>
  5158. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  5159. the 'specified' logic has been moved there. This seems like a bug
  5160. in Control.cs, since our current SetBoundsCore completely ignores
  5161. the specified parameter. Peter's commit seems to indicate that is
  5162. the way the MS control implementation works. [Fixes #79325]
  5163. 2006-09-10 Jonathan Chambers <[email protected]>
  5164. * XplatUI.cs: Set default_class_name to be composed
  5165. of current domain id. This allows MWF to be loaded in multiple
  5166. domains on Win32.
  5167. 2006-09-09 Miguel de Icaza <[email protected]>
  5168. * X11Keyboard.cs: If we are unable to obtain the input method, do
  5169. not call CreateXic to create the input context. Should fix
  5170. #78944/79276.
  5171. 2006-09-08 Alexander Olk <[email protected]>
  5172. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  5173. Simplified gnome support by adding more pinvokes to get the
  5174. icon for a file or mime type.
  5175. 2006-09-08 Jackson Harper <[email protected]>
  5176. * MenuAPI.cs: Deslect popup context menu items before closing the
  5177. window, so that you don't see the previously selected item
  5178. selected when you reopen the menu.
  5179. * TextControl.cs: Update the cursor position even if we don't have
  5180. focus. This fixes typing in things like the ComboBox. I'm not
  5181. totally sure we should always set the visibility if we don't have
  5182. focus, but couldn't find any corner cases where the cursor showed
  5183. up when it shouldn't.
  5184. 2006-09-08 Chris Toshok <[email protected]>
  5185. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  5186. our arrays are length 256. & 0xff before indexing. Fixes the
  5187. crash in bug #78077.
  5188. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  5189. * ThemeWin32Classic.cs:
  5190. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  5191. is true. Handle that check box too.
  5192. 2006-09-07 Chris Toshok <[email protected]>
  5193. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  5194. 79244.
  5195. 2006-09-07 Chris Toshok <[email protected]>
  5196. * Control.cs: in set_BackColor only do the work if
  5197. background_color != value.
  5198. * XplatUIX11.cs: move the clearing of invalid areas (both client
  5199. and nc) to the same block of code where we set (nc_)expose_pending
  5200. to false. That is, move it from PaintEventEnd to PaintEventStart,
  5201. so things that cause invalidates from within OnPaint will trigger
  5202. another call to OnPaint. Fixes bug #79262.
  5203. 2006-09-07 Alexander Olk <[email protected]>
  5204. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  5205. * FileDialog.cs: Fix typo
  5206. 2006-09-07 Jackson Harper <[email protected]>
  5207. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  5208. for tab pages if they have any.
  5209. 2006-09-06 Mike Kestner <[email protected]>
  5210. * Splitter.cs: use the "current" rect when finishing drag handle
  5211. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  5212. 2006-09-06 Mike Kestner <[email protected]>
  5213. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  5214. support offset splitters. [Fixes #79298]
  5215. 2006-09-06 Alexander Olk <[email protected]>
  5216. * Mime.cs: Fixed a bug that could override the global mime type
  5217. result.
  5218. 2006-09-05 Jackson Harper <[email protected]>
  5219. * TabControl.cs: Better calculation method for setting the slider
  5220. pos. Prevents crashes on really wide tabs.
  5221. - Draw Image on tab pages if an image list is used.
  5222. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  5223. * MonthCalendar.cs: When Font changes, the Size should be
  5224. updated to fit the new font's space requirements.
  5225. 2006-09-02 Alexander Olk <[email protected]>
  5226. * ListBox.cs: If the items are cleared with Items.Clear set
  5227. top_index to 0.
  5228. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  5229. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  5230. fire DateChanged event instead of DateSelected event when
  5231. the date was changed by keyboard interaction.
  5232. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  5233. * DateTimePicker.cs: Handle DateChanged for the associated
  5234. month_calendar control, and set month_calendar.Font from
  5235. OnFontChanged method, as well as resize the height of the
  5236. control when needed. Make PreferredHeight proportional.
  5237. 2006-09-01 Chris Toshok <[email protected]>
  5238. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  5239. properties.
  5240. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  5241. 2006-09-01 Peter Dennis Bartok <[email protected]>
  5242. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  5243. for decorations (Fixes #79219)
  5244. 2006-09-01 Mike Kestner <[email protected]>
  5245. * ComboBox.cs: first stab at sorting plus some selection handling
  5246. fixes to bring us more in line with MS behavior. Also switches back
  5247. to index based selection. Alternative patches for index-based
  5248. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  5249. and [email protected] on bug 78848. I assume they were similar to this
  5250. code I've had simmering in my tree forever.
  5251. [Fixes #78848]
  5252. 2006-09-01 Chris Toshok <[email protected]>
  5253. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  5254. when setting list position guard against ending up with a -1 index
  5255. (the other part of the fix for #78812). Should probably make sure
  5256. we don't need the analogous fix in the ItemDeleted case.
  5257. * DataGrid.cs:
  5258. - in SetDataSource, work around the fact that the way
  5259. OnBindingContextChanged is invoked will cause us to re-enter this
  5260. method. I'll remove the hack once I investigate
  5261. OnBindingContextChanged.
  5262. - fix the logic in set_DataSource and set_DataMember (basically
  5263. what to do if the other of the two is null.)
  5264. - in OnListManagerItemChanged, we need to take into account the
  5265. edit row when deciding whether or not to call RecreateDataGridRows
  5266. (part of the fix for #78812).
  5267. 2006-09-01 Jackson Harper <[email protected]>
  5268. * Splitter.cs: Don't do anything if there is no control to affect
  5269. (prevents us from crashing in weird tet cases).
  5270. * TreeView.cs: Bounding box for the mouse movement reverting
  5271. focus/selection back to previously selected node. This matches
  5272. MS, and makes the tree a lot more useable.
  5273. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  5274. use clipping so they are not drawn. This fixes when the control
  5275. is set to have a transparent background, or if it was over an
  5276. image.
  5277. 2006-09-01 Alexander Olk <[email protected]>
  5278. * MimeIcon.cs: Improved handling for reading default icons when
  5279. using gnome (2.16 made it necessary). Check and read svg icons
  5280. first, then 48x48 and then 32x32 icons.
  5281. 2006-08-31 Chris Toshok <[email protected]>
  5282. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  5283. visible.
  5284. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  5285. ProcessKeyPreview. Fixes part of #77806.
  5286. * DataGrid.cs: big patch.
  5287. - revert the queueing up of DataSource/DataMember if inside
  5288. BeginInit/EndInit calls. That's not the way the datagrid achieves
  5289. its delayed databinding. Instead, call SetDataSource in
  5290. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  5291. #78811.
  5292. - Also, it wasn't mentioned in #78811, but the test case exhibits
  5293. behavior that was lacking in our datagrid implementation - Columns
  5294. that have mapping names that don't exist in the datasource's
  5295. properties aren't shown. Yuck. To fix this I added the bound
  5296. field to the column style, and basically any calculation to figure
  5297. out anything about columns uses a loop to find the bound columns.
  5298. still need to investigate if I can cache an array of the bound
  5299. columns or if the indices must be the same.
  5300. - When setting CurrentCell, we no longer abort if the cell being
  5301. edited was in the add row. This fixes the other part of #77806.
  5302. - The new code also fixes #78807.
  5303. * ThemeWin32Classic.cs: perpetrate the same disgusting
  5304. column.bound field hack, and only render bound fields.
  5305. 2006-08-31 Chris Toshok <[email protected]>
  5306. * DataGridColumnStyle.cs: add bound field. this field is true if
  5307. the datasource has a property corresponding to the mapping name.
  5308. * DataGridTableStyle.cs: set the bound field on the column styles
  5309. depending on whether or not we have a column for that property.
  5310. 2006-08-31 Peter Dennis Bartok <[email protected]>
  5311. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  5312. splitter control (fixes #79228)
  5313. 2006-08-31 Chris Toshok <[email protected]>
  5314. * DataGridColumnStyle.cs: we need to delay the assignment of
  5315. property descriptor until the last possible moment due to the lazy
  5316. databinding stuff in the datagrid. Also, fix the exceptions
  5317. thrown by CheckValidDataSource to match MS.
  5318. 2006-08-31 Jackson Harper <[email protected]>
  5319. * Form.cs: When activated select the active control, if there is
  5320. no active control, we select the first control.
  5321. * XplatUIX11.cs: If there is no focus control when we get a
  5322. FocusIn event, find the toplevel form and activate it. This
  5323. occurs when you popup a window, it becomes the focus window, then
  5324. you close that window, giving focus back to the main window.
  5325. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  5326. * MonthCalendar.cs:
  5327. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  5328. as StringFormat with Center alignments in MonthCalendar,
  5329. instead of creating new ones when drawing the control.
  5330. Also, draw the month name in bold style.
  5331. 2006-08-30 Peter Dennis Bartok <[email protected]>
  5332. * Control.cs:
  5333. - PerformLayout(): It would seem MS performs the fill even if the
  5334. control is not visible (part of #79218 fix)
  5335. - ResetBackColor(): Use the setter to reset the color, to allow
  5336. overriders to catch the change.
  5337. * Form.cs:
  5338. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  5339. - CreateHandle(): dito (part of $79218 fix)
  5340. - Don't set an icon if we have a dialog
  5341. * ScrollableControl.cs:
  5342. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  5343. - ScrollIntoView(): No need to scroll if control is already visible
  5344. (resolves fixme and fixes #79218)
  5345. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  5346. * MonthCalendar.cs: Change proportions in SingleMonthSize
  5347. to match the aspect of the original control.
  5348. 2006-08-29 Alexander Olk <[email protected]>
  5349. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  5350. get updated when they get maximized.
  5351. 2006-08-29 Peter Dennis Bartok <[email protected]>
  5352. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  5353. 2006-08-29 Chris Toshok <[email protected]>
  5354. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  5355. 2006-08-29 Jackson Harper <[email protected]>
  5356. * TreeView.cs: Need to track selected node and highlighted node,
  5357. they aren't always the same thing, when the mouse is down on a
  5358. node it is hilighted, but not selected yet.
  5359. - Do the HideSelection stuff right
  5360. - Need to focus on rbutton mouse down. And redraw selection when
  5361. right click is mouse upped.
  5362. 2006-08-29 Mike Kestner <[email protected]>
  5363. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  5364. when SubItems.Count < Columns.Count. [Fixes #79167]
  5365. 2006-08-28 Peter Dennis Bartok <[email protected]>
  5366. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  5367. 2006-08-28 Peter Dennis Bartok <[email protected]>
  5368. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  5369. from X. Only send based on ConfigureNotify if we don't have the
  5370. correct location in hwnd (if the window manager moved us)
  5371. 2006-08-28 Mike Kestner <[email protected]>
  5372. * ListView.cs: remove a TODO.
  5373. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  5374. [Fixes ListView part of #79166]
  5375. 2006-08-28 Mike Kestner <[email protected]>
  5376. * ListView.cs: move wheel handler to parent since it is focused
  5377. instead of the item_control now. [Fixes #79177]
  5378. 2006-08-28 Mike Kestner <[email protected]>
  5379. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  5380. when the control is focused. [Fixes #79171]
  5381. 2006-08-28 Mike Kestner <[email protected]>
  5382. * ListView.cs: size the item and header controls for empty and
  5383. unscrollable views.
  5384. * ThemeWin32Classic.cs: draw disabled backgrounds.
  5385. [Fixes #79187]
  5386. 2006-08-28 Chris Toshok <[email protected]>
  5387. * Form.cs: remove unused "active_form" static field.
  5388. * Hwnd.cs: lock around accesses to static windows collection.
  5389. * Application.cs: lock threads in Exit ().
  5390. 2006-08-28 Chris Toshok <[email protected]>
  5391. * NativeWindow.cs: lock around accesses to window_collection.
  5392. 2006-08-28 Chris Toshok <[email protected]>
  5393. * Control.cs: err, fix this the right way, by locking on controls
  5394. when using it. not by making it synchronized.
  5395. 2006-08-28 Chris Toshok <[email protected]>
  5396. * Control.cs: make the static "controls" field synchronized, as it
  5397. gets updated from multiple threads.
  5398. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5399. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  5400. Prevent other threads from exiting when calling thread sets quit state.
  5401. * XEventQueue.cs: Added PostQuitState property
  5402. 2006-08-27 Chris Toshok <[email protected]>
  5403. * AsyncMethodData.cs: add a slot for the window handle.
  5404. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  5405. window (the destination control's window, not the foster window).
  5406. * Control.cs (BeginInvokeInternal): store the window's handle in
  5407. the AsyncMethodData.
  5408. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5409. * XplatUIX11.cs:
  5410. - PostQuitMessage: Removed resetting S.D display handle, we might have
  5411. another loop started after calling PostQuitMessage (Fixes #79119)
  5412. - Created destructor to reset S.D handle
  5413. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5414. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  5415. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5416. * TextControl.cs (Insert): Update the caret position even if we don't
  5417. have a handle yet, just don't call the driver in that case.
  5418. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  5419. to the end of the new selection text (Fixes #79184)
  5420. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5421. * Form.cs (Activate): Only activate if the handle is created)
  5422. * Control.c:
  5423. - Mark window as invisible when it's disposed
  5424. - Check if window handle is created when setting window visible,
  5425. instead of relying just on the is_created variable
  5426. - Check if object is disposed when creating the control (Fixes #79155)
  5427. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5428. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  5429. when allowing layout again. Otherwise we re-generate the anchoring
  5430. distance to the border again and actually alter what the user wanted
  5431. This is ugly, it'd be better if we used DisplayRectangle instead of
  5432. ClientRectangle for Control.UpdateDistances, but that causes us to
  5433. have other problems (initial anchoring positons would be wrong)
  5434. (Fixes #78835)
  5435. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5436. * Control.cs:
  5437. - The size and location setters shouldn't go directly to
  5438. SetBoundsCore, but to SetBounds, which triggers layout on the
  5439. parent, then calls SetBoundsCore. (Related to fix for #78835)
  5440. - SetBounds: Moved actual location update code into this function
  5441. from SetBoundsCore, to match MS. Added call to PerformLayout if
  5442. we have a parent (to trigger resizing of anchored parents if the
  5443. child size has changed (see testcase for #78835)
  5444. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  5445. new control code
  5446. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  5447. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5448. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  5449. System.Drawing when a toplevel window gets closed; there might
  5450. be other toplevel windows belonging to the same app (Fixes #78052)
  5451. 2006-08-26 Alexander Olk <[email protected]>
  5452. * FileDialog.cs: After reading FileDialog settings from mwf_config
  5453. use Desktop prefix only if a real folder doesn't exist anymore.
  5454. * FontDialog.cs: Added char sets.
  5455. It is now possible to select the font, size or style with the
  5456. textboxes.
  5457. 2006-08-25 Kornél Pál <[email protected]>
  5458. * PrintPreviewDialog.cs: Use assembly name constants.
  5459. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5460. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  5461. scrollbar from whacking it's buttons)
  5462. 2006-08-24 Chris Toshok <[email protected]>
  5463. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  5464. in this patch (aggregating setting Left/Top/Width/Height to
  5465. setting Bounds on the scrollbars), but the crux of the fix is in
  5466. Recalculate, where we scroll by the remaining scroll_position if
  5467. we're hiding a scrollbar. The 2*$5 reward in the comment is
  5468. serious.
  5469. 2006-08-24 Jackson Harper <[email protected]>
  5470. * MdiClient.cs:
  5471. * MdiWindowManager.cs: If the form is made a non-mdi window we
  5472. need to remove the form closed event so that closing forms works
  5473. correctly.
  5474. 2006-08-24 Jackson Harper <[email protected]>
  5475. * Control.cs: Make IsRecreating internal so that the driver can
  5476. check it
  5477. - Temporarily remove the Hide when controls are removed, its
  5478. making a whole bunch of things not work because visibility isn't
  5479. getting reset elsewhere correctly
  5480. * Form.cs: Need to do a full handle recreation when the mdi parent
  5481. is set.
  5482. * XplatUIX11.cs: If we are recreating handles don't dispose the
  5483. HWNDs. What was happening is the handles were being recreated in
  5484. SendWMDestroyMessages, but then flow continued on in that method
  5485. and destroyed the new handles.
  5486. 2006-08-23 Jackson Harper <[email protected]>
  5487. * Form.cs: MdiClient is always at the back of the bus
  5488. * Control.cs: When the order of items in the collection is changed
  5489. we need to reset the all_controls array
  5490. - do the same sorta setup thats done when adding a control when a
  5491. control is set on the collection.
  5492. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5493. * TextBoxBase.cs (get_Text): Return an empty array if our document
  5494. is empty (fixes #79052)
  5495. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5496. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  5497. on WM_SYSCHAR messages (fixes #79053)
  5498. 2006-08-23 Chris Toshok <[email protected]>
  5499. * DataGrid.cs: fix flickering when scrolling vertically.
  5500. 2006-08-23 Chris Toshok <[email protected]>
  5501. * DataGrid.cs (EndEdit): only invalidate the row header when we
  5502. need to.
  5503. 2006-08-23 Chris Toshok <[email protected]>
  5504. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  5505. methods. fixes the flicker when scrolling around.
  5506. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5507. * FileDialog.cs: Making sure the control is created before we get a
  5508. chance to use it with BeginInvoke (Fixes #79096)
  5509. 2006-08-23 Chris Toshok <[email protected]>
  5510. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  5511. width to use when painting the rows.
  5512. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5513. * TextBoxBase.cs:
  5514. - Throw ArgumentException if a negative value is passed to SelectionLength
  5515. - Update the selection end if start is moved. end needs to be always
  5516. after start. (Fixes #79095)
  5517. - Track selection length; MS keeps the selection length even if start
  5518. is changed; reset on all other operations affection selection
  5519. 2006-08-22 Jackson Harper <[email protected]>
  5520. * TreeView.cs: Make sure both scrollbars get displayed and sized
  5521. correctly when the other bar is visible.
  5522. - Use the original clip rectangle for checking if the area between
  5523. the two scrollbars is visible, not the viewport adjusted clipping
  5524. rectangle.
  5525. 2006-08-22 Jackson Harper <[email protected]>
  5526. * Binding.cs: We don't use IsBinding because it requires the
  5527. control to be created, which really shouldn't be necessary just to
  5528. set a property on the control.
  5529. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  5530. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  5531. ArgumentNullReferenceException when the argument is null.
  5532. 2006-08-21 Jackson Harper <[email protected]>
  5533. * Timer.cs: Track the thread that the timer is started in (NOT
  5534. CREATED), this way messages for it will only be triggered on its
  5535. queue.
  5536. * XEventQueue.cs: Track the timers here, this makes timers per
  5537. thread, like MS.
  5538. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  5539. 2006-08-19 Chris Toshok <[email protected]>
  5540. * XplatUIX11.cs: after further communication with pdb, we get the
  5541. best of both worlds. SetZOrder working for un-Mapped windows, and
  5542. no X errors for un-mapped windows.
  5543. 2006-08-19 Chris Toshok <[email protected]>
  5544. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  5545. as it was causing pdn toolbars to not have the correct stacking.
  5546. 2006-08-18 Mike Kestner <[email protected]>
  5547. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  5548. calculation. Not sure why control should ever be setting a negative
  5549. width though. Fixes #78931.
  5550. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  5551. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  5552. null items in ObjectCollection class.
  5553. * ListBox.cs.: Likewise.
  5554. 2006-08-18 Atsushi Enomoto <[email protected]>
  5555. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  5556. as the base method in ThemeWin32Classic should work fine.
  5557. Fixed bug #78607.
  5558. 2006-08-18 Jackson Harper <[email protected]>
  5559. * Binding.cs: When validating if the value entered doesn't convert
  5560. properly reset to the old value.
  5561. * RadioButton.cs: Don't fire click when we get focus.
  5562. 2006-08-18 Jackson Harper <[email protected]>
  5563. * FileDialog.cs: Paint the selection on the directory combobox the
  5564. same way as on MS.
  5565. 2006-08-17 Jackson Harper <[email protected]>
  5566. * ErrorProvider.cs: Don't allow the error control to be selected.
  5567. * Control.cs: Don't send the SetFocus messages, the control
  5568. activation will do this, and if we do it blindly here validation
  5569. does not work.
  5570. 2006-08-17 Jackson Harper <[email protected]>
  5571. * Control.cs:
  5572. * ContainerControl.cs: Make validation events fire in the correct
  5573. order. TODO: For some reason the first validation event is not
  5574. getting fired.
  5575. 2006-08-17 Mike Kestner <[email protected]>
  5576. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  5577. 2006-08-17 Mike Kestner <[email protected]>
  5578. * ComboBox.cs : implement scroll wheel support for popped-down
  5579. state. Fixes #78945.
  5580. 2006-08-17 Jackson Harper <[email protected]>
  5581. * TreeView.cs: Specify treeview actions (old patch that didn't get
  5582. committed for some reason).
  5583. - Don't let the mouse wheel scroll us too far. Just want to make
  5584. the bottom node visible, not scroll it all the ways to the top.
  5585. 2006-08-17 Jackson Harper <[email protected]>
  5586. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  5587. 2006-08-17 Mike Kestner <[email protected]>
  5588. * ComboBox.cs : don't do mouseover selection in simple mode.
  5589. 2006-08-16 Jackson Harper <[email protected]>
  5590. * Form.cs: Fire the closing events for all the mdi child windows
  5591. when a window is closed. If the cancel args are set to true, the
  5592. main window still gets the event fired, but it doesn't not close.
  5593. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  5594. handler, instead of when the button is clicked, so cancelling the
  5595. close works correctly.
  5596. * ComboBox.cs: Send the mouse down to the scrollbar.
  5597. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  5598. * ListBox.cs: When passing 'null' to SelectedItem,
  5599. set SelectedIndex to -1, to unselect items. This is the
  5600. observed behaviour in .Net.
  5601. 2006-08-16 Peter Dennis Bartok <[email protected]>
  5602. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  5603. MS flags saying there won't be any. (fixes #78800)
  5604. * Control.cs (HandleClick): Made virtual
  5605. 2006-08-16 Atsushi Enomoto <[email protected]>
  5606. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  5607. cultures. Fixed bug #78399.
  5608. 2006-08-16 Jackson Harper <[email protected]>
  5609. * Form.cs: Use the MdiClients MdiChildren property to access
  5610. MdiChildren instead of creating the array from the child controls.
  5611. * MdiClient.cs: Maintain a separate array of the mdi children, so
  5612. that insertion order is maintained when the Z-order is changed.
  5613. 2006-08-16 Mike Kestner <[email protected]>
  5614. * ListView.cs : add an ItemComparer and default to it for sorting.
  5615. Fixes #79076, but sorting needs a complete overhaul to be compat with
  5616. MS.
  5617. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5618. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  5619. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5620. * Hwnd.cs (Mapped): Properly traverse the tree
  5621. 2006-08-15 Chris Toshok <[email protected]>
  5622. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  5623. pass manager.Current.GetType() to ParseData. It has to be the
  5624. property type. So, hold off doing the ParseData until we're in
  5625. SetPropertyValue where we know the type. This fixes the crash in
  5626. #78821 but the textbox is still empty.
  5627. 2006-08-15 Chris Toshok <[email protected]>
  5628. * DataGrid.cs:
  5629. - when we're scrolling, only call Edit() again if the
  5630. current cell is still unobscured. Fixes bug #78927.
  5631. - when handling mousedown on a cell, ensure the cell is visible
  5632. before calling Edit.
  5633. - remove the properties from DataGridRow, and remove the
  5634. DataGridParentRow class altogether.
  5635. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5636. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  5637. fire OnTextChanged by ourselves. There's no point calling base,
  5638. we don't set the base value anywhere else. Fixes #78773.
  5639. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  5640. * ListBox.cs: Call CollectionChanged when modifying
  5641. an item from Items indexer, to update the actual items
  5642. in the list box.
  5643. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  5644. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  5645. to match .Net behaviour.
  5646. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5647. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  5648. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5649. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  5650. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5651. * MessageBox.cs: Prevent potential NRE exception.
  5652. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  5653. 2006-08-14 Peter Dennis Bartok <[email protected]>
  5654. * MessageBox.cs: Calculate the owner of a messagebox, also make
  5655. it topmost. Fixes #78753
  5656. 2006-08-14 Chris Toshok <[email protected]>
  5657. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  5658. programmatically move windows. first, set the PPosition hint as
  5659. well as the USPosition hint. Second include some code from pdb
  5660. that sets the window type to NORMAL when we set the transient for
  5661. hint. This is because, in the absence of a window type, metacity
  5662. thinks any window with TransientFor set is a dialog, and refuses
  5663. to let us move it programmatically. fascists.
  5664. 2006-08-14 Peter Dennis Bartok <[email protected]>
  5665. * XplatUIX11.cs: When setting normal hints, take into consideration
  5666. an different hints previously set so we don't delete them (fixes #78866)
  5667. 2006-08-12 Chris Toshok <[email protected]>
  5668. * ToolBarButton.cs: make Layout return a boolean, if something to
  5669. do with the button's layout changed.
  5670. * ToolBar.cs:
  5671. - add another parameter to Redraw, @force, which all existing
  5672. calls set to true.
  5673. - make the Layout function return a boolean which is true if the
  5674. layout has actually changed. Redraw now uses this (and @force)
  5675. to determine when to invalidate. At present the only place
  5676. where @force can be false is the call from OnResize, when
  5677. background_image == null. So, resizing a toolbar when the
  5678. layout doesn't change results in no drawing.
  5679. 2006-08-12 Chris Toshok <[email protected]>
  5680. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  5681. the VScrollBar and HScrollbar reversed. oops.
  5682. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  5683. scrollbars. we were assigning them twice (once in
  5684. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  5685. therefore causing two scrollbar resizes (and redraws?) to happen
  5686. per grid resize.
  5687. 2006-08-12 Chris Toshok <[email protected]>
  5688. * ToolBarButton.cs: redraw the entire button if the theme tells us
  5689. to.
  5690. * Theme.cs: add ToolBarInvalidateEntireButton.
  5691. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  5692. buttons, just the border.
  5693. * ThemeNice.cs: redraw the entire toolbar button since we need to
  5694. draw the highlight image.
  5695. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  5696. we need to redraw the entire button (not just the border).
  5697. 2006-08-11 Peter Dennis Bartok <[email protected]>
  5698. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  5699. for vertical bars. Fixes the mismatches shown by #78513
  5700. 2006-08-11 Alexander Olk <[email protected]>
  5701. * FileDialog.cs: If a saved/remembered path doesn't exist
  5702. anymore, fall back to "Desktop".
  5703. 2006-08-11 Peter Dennis Bartok <[email protected]>
  5704. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  5705. parent. It's apparently legal to not have one
  5706. * XplatUIX11.cs:
  5707. - SetZOrder: Don't try to set Z-Order on an unmapped window
  5708. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  5709. it unless the coordinates are negative
  5710. 2006-08-10 Mike Kestner <[email protected]>
  5711. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  5712. when setting to null per msdn docs. Fixes #78854.
  5713. 2006-08-10 Chris Toshok <[email protected]>
  5714. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  5715. flickering by setting a clip rectangle on the Graphics when we
  5716. need to redraw just a particular menuitem. Also, rename "OnClick"
  5717. to "OnMouseDown" to reflect what it actually is.
  5718. * Form.cs: track the OnMouseDown change.
  5719. 2006-08-10 Peter Dennis Bartok <[email protected]>
  5720. * CommonDialog.cs: Properly inherit the CreateParams from the form
  5721. and only change what we need. Fixes #78865
  5722. 2006-08-10 Chris Toshok <[email protected]>
  5723. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  5724. flickering in flat mode (and most of the flickering in general) by
  5725. only invalidating the button border (and not the entire rectangle)
  5726. when the state changes. A couple of cases still flicker:
  5727. ToggleButtons, and the dropdown arrow case when the user mouse
  5728. ups.
  5729. 2006-08-10 Alexander Olk <[email protected]>
  5730. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  5731. for german keyboards. Numlock state shouldn't affect the behaviour
  5732. of the Del key. Fixes bug #78291.
  5733. 2006-08-10 Chris Toshok <[email protected]>
  5734. * ListControl.cs: remove the items.Clear line from BindDataItems,
  5735. as this is the first thing done by both subclasses in their
  5736. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  5737. passed -1, refresh the list. This gets databinding working when
  5738. the datasource is set on the list before the datasource is
  5739. populated (as in wf-apps/ReportBuilder.)
  5740. * ComboBox.cs: remove the argument to BindDataItems. This call
  5741. should really go away, and be initiated by the ListControl code.
  5742. * ListBox.cs: same.
  5743. 2006-08-09 Peter Dennis Bartok <[email protected]>
  5744. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  5745. if no data is in the document when the control is displayed
  5746. 2006-08-09 Peter Dennis Bartok <[email protected]>
  5747. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  5748. yes (fixes #78806)
  5749. * TextControl.cs:
  5750. - PositionCaret: Allow positioning of caret but don't call methods
  5751. requiring a handle if the window isn't created yet
  5752. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  5753. - owner_HandleCreated: Don't position the caret, just update it's
  5754. location. User might have already set a different position
  5755. 2006-08-09 Peter Dennis Bartok <[email protected]>
  5756. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  5757. windows. Screws up the returned coordinates for child windows.
  5758. Fixes #78825. I'm hoping this doesn't break something, since the
  5759. code was explicitly put in 8 months ago, but no bug was attached.
  5760. Menus still seem to work properly.
  5761. 2006-08-08 Chris Toshok <[email protected]>
  5762. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  5763. supposed to do - delay data binding until the EndInit call. Also,
  5764. make the table style collection's CollectionChangeAction.Refresh
  5765. work properly.
  5766. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  5767. (with action = Refresh) when a consituent table's MappingName is
  5768. changed.
  5769. 2006-08-08 Chris Toshok <[email protected]>
  5770. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  5771. Invalidate, since changing the text can change the size of the all
  5772. toolbar buttons.
  5773. 2006-08-08 Peter Dennis Bartok <[email protected]>
  5774. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  5775. we don't have it yet
  5776. 2006-08-08 Chris Toshok <[email protected]>
  5777. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  5778. dialog, as this causes X errors later on, since we actually
  5779. destroy the window. Instead, .Hide() it.
  5780. 2006-08-08 Peter Dennis Bartok <[email protected]>
  5781. * ComboBox.cs: Added focus reflection for popup window
  5782. * XplatUIX11.cs:
  5783. - Removed transient setting for non-app windows for now, not sure it
  5784. was needed
  5785. - Fixed logic checking if we have captions when deciding
  5786. override_redirect, WS_CAPTION is two bits and a 0 check was not
  5787. sufficient
  5788. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  5789. complicated
  5790. * Form.cs:
  5791. - AddOwnedForm: Don't just add the form to the list, call the property
  5792. to ensure the driver is informed about the ownership as well
  5793. - CreateHandle: Set the TopMost status in the driver if we have an owner
  5794. * XplatUI.cs: Fixed debug statement
  5795. 2006-08-08 Jonathan Pobst <[email protected]>
  5796. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  5797. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  5798. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  5799. TrackBarRenderer.cs: Make constructor private.
  5800. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  5801. * ProfessionalColorTable.cs: Make properties virtual.
  5802. 2006-08-06 Duncan Mak <[email protected]>
  5803. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  5804. is not changing.
  5805. 2006-08-04 Jonathan Pobst <[email protected]>
  5806. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  5807. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  5808. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  5809. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  5810. Initial import of new 2.0 classes.
  5811. 2006-08-04 Jonathan Pobst <[email protected]>
  5812. * Application.cs: Add 2.0 VisualStyles properties.
  5813. 2006-08-04 Jonathan Pobst <[email protected]>
  5814. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5815. XplatUIX11.cs: Create property to allow access to existing private
  5816. variable "themes_enabled"
  5817. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  5818. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  5819. file size, as otherwise our class libraries fail using windows. Fixes
  5820. bug #78759.
  5821. 2006-08-04 Jackson Harper <[email protected]>
  5822. * Form.cs:
  5823. * XplatUIX11.cs: Move the toolwindow window manager creation into
  5824. the X11 driver, this way on win32 we can let windows create/handle
  5825. the toolwindows.
  5826. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  5827. * PrintDialog.cs: Remove some redundant checks, add some others,
  5828. clean some code, and move the focus to the text boxes when the
  5829. values are incorrect.
  5830. 2006-08-04 Alexander Olk <[email protected]>
  5831. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  5832. 2006-08-03 Alexander Olk <[email protected]>
  5833. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  5834. handled correctly. Fixes bug #79001.
  5835. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  5836. * PrintDialog.cs: The "Copies" numeric up down must have
  5837. set the Minimum property to 1; only if the value is bigger
  5838. than 1, activate "Collate" check box. This is the behaviour of .Net.
  5839. Also modify the Document elements only if it is not null.
  5840. 2006-08-03 Jackson Harper <[email protected]>
  5841. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  5842. length. (We have a larger array then actual node count).
  5843. 2006-08-03 Jackson Harper <[email protected]>
  5844. * ComboBox.cs: Don't show selection by default.
  5845. - The SelectAll isn't needed here, since the focus code should do
  5846. that
  5847. - DDL style lists to manual selection drawing, so when they
  5848. get/lose focus they have to invalidate.
  5849. 2006-08-03 Peter Dennis Bartok <[email protected]>
  5850. * TextBoxBase.cs: Don't always show all selections by default.
  5851. 2006-08-03 Jonathan Pobst <[email protected]>
  5852. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  5853. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  5854. Fixed various typos.
  5855. 2006-08-03 Alexander Olk <[email protected]>
  5856. * Control.cs: Removing the controls in a ControlCollection with
  5857. Clear now hides the controls as expected. Fixes bug #78804.
  5858. 2006-08-03 Jackson Harper <[email protected]>
  5859. * Control.cs: Revert previous focus patch, it breaks reflector.
  5860. 2006-08-03 Jackson Harper <[email protected]>
  5861. * ComboBox.cs: Cleanup selection and focus with the combobox.
  5862. This also eliminates some duplicated keyboard code, since now
  5863. everything is handled by the main class.
  5864. - Make list selection work on mouse up instead of down, to match
  5865. MS.
  5866. 2006-08-02 Jackson Harper <[email protected]>
  5867. * Control.cs: Setting focus needs to go through the whole
  5868. selection mechanism.
  5869. 2006-08-02 Chris Toshok <[email protected]>
  5870. * PrintPreviewDialog.cs: change MinimumSize to use
  5871. base.MinimumSize so it works.
  5872. 2006-08-02 Peter Dennis Bartok <[email protected]>
  5873. * TextControl.cs:
  5874. - UpdateCaret: Added sanity check in case caret isn't defined yet
  5875. - Line.Delete: Now updating selection and caret markers if we're
  5876. transfering a node (Properly fixes #78323)
  5877. - SetSelectionEnd: Added sanity check
  5878. * TextBoxBase.cs: Removed broken attempt to fix #78323
  5879. 2006-08-01 Chris Toshok <[email protected]>
  5880. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  5881. Close() call is handled in Form, not here.
  5882. 2006-08-01 Chris Toshok <[email protected]>
  5883. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  5884. layout/rendering.
  5885. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  5886. for sizes < 100% zoom. The code now aggressively attempts to keep
  5887. from calling document.Print (), and tries not to use the scaling
  5888. g.DrawImage whenever possible (it still does if you scale to >
  5889. 100%, since usually that involves huge images).
  5890. * PrintPreviewControl.cs: hook up the close button.
  5891. 2006-08-01 Jonathan Pobst <[email protected]>
  5892. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  5893. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  5894. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  5895. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  5896. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  5897. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  5898. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  5899. Removed [Serializable] for 2.0 Event Handlers.
  5900. 2006-07-31 Jackson Harper <[email protected]>
  5901. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  5902. * TextControl.cs: Uncomment out the body of this method.
  5903. 2006-07-31 Alexander Olk <[email protected]>
  5904. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  5905. standard cursors.
  5906. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5907. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  5908. that embed TextBox and need selections visible even if textbox is not
  5909. focused to enforce that behaviour.
  5910. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  5911. selection drawing
  5912. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5913. * TextControl.cs:
  5914. - Added new SetSelectionStart/SetSelectionEnd overloads
  5915. - Fixed viewport width assignment to be accurate
  5916. - Adjusted alignment line shift calculations to allow cursor on right
  5917. aligned lines to be always visible at the right border (like MS)
  5918. * TextBoxBase.cs:
  5919. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  5920. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  5921. - CalculateScrollBars: Use ViewPort size instead of window size, to
  5922. properly consider space occupied by the border and scrollbars
  5923. (Fixes #78661)
  5924. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  5925. calculations; no longer leaves artifacts
  5926. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  5927. calculation bugs (Still missing right/center align calculations)
  5928. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5929. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  5930. use of both scroll rect and clip rect, as they do the same.
  5931. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5932. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  5933. in the event handler (fixes #78912)
  5934. 2006-07-31 Chris Toshok <[email protected]>
  5935. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  5936. grid.ListManager.Count, since grid.ListManager might be null.
  5937. This of course begs the question "why are we drawing rows for a
  5938. grid with no list manager (and therefor no rows)?" Fixes the
  5939. crash in bug #78929.
  5940. 2006-07-31 Chris Toshok <[email protected]>
  5941. * RelatedPropertyManager.cs: Don't always chain up to the parent
  5942. ctor. instead, call SetDataSource if the parent's position is !=
  5943. -1. Fixes the crash in #78822.
  5944. 2006-07-31 Chris Toshok <[email protected]>
  5945. * DataGrid.cs (get_ListManager): use field instead of property
  5946. accessors for datasource and datamember.
  5947. (RowsCount): make internal again.
  5948. (OnMouseDown): end edits before resizing columns/rows.
  5949. (OnMouseUp): restart edits after resizing columns/rows.
  5950. 2006-07-30 Peter Dennis Bartok <[email protected]>
  5951. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  5952. This fixes the situation where the last set cursor is displayed
  5953. whenever the mouse is over scrollbars.
  5954. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  5955. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  5956. Document properties, as well as initial values.
  5957. 2006-07-29 Peter Dennis Bartok <[email protected]>
  5958. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  5959. and ClientEdge results in a 3-pixel border, which is
  5960. wrong.
  5961. 2006-07-28 Jackson Harper <[email protected]>
  5962. * TreeNodeCollection.cs: Fix the clear method.
  5963. - Fix the Shrink also
  5964. 2006-07-27 Jackson Harper <[email protected]>
  5965. * TreeView.cs: Make sure the visible order is computed when we
  5966. attempt to size the scrollbars (for trees that mess with the
  5967. scrolling when they shouldn't.
  5968. - Make sure to give the scrollbars valid values.
  5969. 2006-07-26 Peter Dennis Bartok <[email protected]>
  5970. * XplatUIX11.cs: Move motion compression code to where it
  5971. has less performance impact
  5972. 2006-07-26 Jackson Harper <[email protected]>
  5973. * UpDownBase.cs: When the control is selected make the child
  5974. controls non selectable, so that a click on them won't do a
  5975. focus/unfocus cycle.
  5976. - Don't give focus to the text box when the spinner is selected.
  5977. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  5978. 2006-07-26 Chris Toshok <[email protected]>
  5979. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  5980. satisfied with this solution. If the bitmaps are small, we should
  5981. just cache them in the PrintPreviewDialog and draw them here.
  5982. Also, the layout is broken for the 2-up and 3-up cases.
  5983. * Theme.cs: add PrintPReviewControlPaint.
  5984. * PrintPreviewDialog.cs: first pass implementation.
  5985. * PrintPreviewControl.cs: first pass implementation. No
  5986. scrollbars yet.
  5987. * PrintDialog.cs: only validate fields if that particular portion
  5988. of the UI is enabled. Also, set the document's controller to a
  5989. PrintControllerWithStatusDialog wrapping the document's print
  5990. controller.
  5991. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  5992. bring up a SaveFileDialog (i hope we don't want to match the
  5993. behavior of the crappy windows file entry) and set the
  5994. PrinterSettings.PrintFileName accordingly.
  5995. 2006-07-26 Jackson Harper <[email protected]>
  5996. * ContainerControl.cs: Add a field that disables auto selecting
  5997. the next control in a container when the container is activated.
  5998. * UpDownBase.cs: Don't select the text box when the up down is
  5999. selected.
  6000. 2006-07-26 Peter Dennis Bartok <[email protected]>
  6001. * XEventQueue.cs: Added methods for peeking (used for compression
  6002. of successive events)
  6003. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  6004. mouse move events (fixes #78732)
  6005. 2006-07-25 Jackson Harper <[email protected]>
  6006. * UpDownBase.cs: Use an internal class for the textbox so that we
  6007. can control focus. the updown control should always have focus,
  6008. if either the text area or the buttons are clicked.
  6009. - Send the key messages to the textbox, since it never actually
  6010. has focus
  6011. - Activate and decativate the textbox caret.
  6012. 2006-07-24 Jackson Harper <[email protected]>
  6013. * Control.cs: Use the directed select when selecting a control,
  6014. this way the container controls override will get called and the
  6015. whole ActiveControl chain will get triggered. TODO: probably need
  6016. to make sure this gets done everywhere instead of the old
  6017. Select(Control).
  6018. * ContainerControl.cs: Implement the directed Select method to
  6019. find and activate the correct child control.
  6020. 2006-07-22 Mike Kestner <[email protected]>
  6021. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  6022. menu handling code so that clicks without a grab work too.
  6023. [Fixes #78914]
  6024. 2006-07-22 Alexander Olk <[email protected]>
  6025. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  6026. Added some small optimizations.
  6027. 2006-07-21 Matt Hargett <[email protected]>
  6028. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  6029. 2006-07-21 Peter Dennis Bartok <[email protected]>
  6030. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  6031. tests pass and match MS in some strange border cases.
  6032. 2006-07-21 Chris Toshok <[email protected]>
  6033. * ThemeWin32Classic.cs: handle drawing of the relation links and
  6034. parent row buttons.
  6035. * Theme.cs: change args to DataGridPaintParentRow.
  6036. * DataGrid.cs: Don't use controls for the relation links and
  6037. parent buttons, so we have to handle all their interactions in
  6038. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  6039. when we're navigating through child tables, so we can reinstate
  6040. selection, expanded state, current cell, etc.
  6041. 2006-07-20 Chris Toshok <[email protected]>
  6042. * ToolBar.cs: When we redraw a button, for whatever reason,
  6043. there's no reason to redraw the entire toolbar. Also, don't call
  6044. Control.Refresh from within Redraw, as it's much heavier than
  6045. Invalidate (which is really what we want).
  6046. 2006-07-20 Chris Toshok <[email protected]>
  6047. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  6048. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  6049. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  6050. traces from within a debug IBindingList datasource
  6051. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  6052. to work in a similar fashion.
  6053. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  6054. * ListBox.cs: Don't call Sort () when setting
  6055. the Sorted property to false (avoid an unnecessary sort).
  6056. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  6057. * ListControl.cs: DataSource should throw an ArgumentException
  6058. instead of a normal exception when the argument is not of the
  6059. correct type.
  6060. 2006-07-20 Mike Kestner <[email protected]>
  6061. * Control.cs: add InternalPreProcessMessage to allow us to steal
  6062. key events before MWF gets its paws on them. Adapted from a
  6063. suggestion by eno.
  6064. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  6065. up/down/left/right navigation. Override the new internal control
  6066. method to steal the events since they never make it to WndProc.
  6067. * ToolBarButton.cs: don't worry about pushed when setting hilight
  6068. since the drawing code prefers pushed to hilight. Invalidate on
  6069. Hilight changes. Fixes #78547 and #78525.
  6070. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6071. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  6072. the canvas size. Fixes #78868
  6073. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6074. * Splitter.cs: Track requested split position until first layout
  6075. is performed. Fixes #78871
  6076. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6077. * Application.cs: Removed code that forces 1.x for the version
  6078. number if the version started with 0. Not sure why that code was
  6079. there and I couldn't find any bugs that indicated we needed it.
  6080. Fixes #78869
  6081. 2006-07-20 Alexander Olk <[email protected]>
  6082. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  6083. ResetDefaults(), just write some output to the console until it's
  6084. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  6085. 2006-07-19 Jonathan Chambers <[email protected]>
  6086. * PropertyGridView.cs: set StartPosition of drop down forms
  6087. so they appear in correct initial spot. Fixes #78190.
  6088. 2006-07-19 Mike Kestner <[email protected]>
  6089. * ThemeWin32Classic.cs: use parent background color when drawing
  6090. flat toolbars. Restructure the conditionals to make sure non-flat
  6091. non-Divider toolbars are filled too. Fixes #78837.
  6092. 2006-07-19 Mike Kestner <[email protected]>
  6093. * ListBox.cs: Sort on collection changes even if the handle
  6094. isn't created yet. Fixes #78813.
  6095. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  6096. * ListControl.cs: DisplayMember should never be null,
  6097. and now we assign String.Empty when null is passed to it (this
  6098. is the .Net way).
  6099. 2006-07-17 Mike Kestner <[email protected]>
  6100. * ListViewItem.cs: restructure Font and subitem Font handling
  6101. to hold a specific font and refer back to owner on null.
  6102. Fixes #78761.
  6103. 2006-07-17 Mike Kestner <[email protected]>
  6104. * ToolBar.cs: bandaid for side-effect of previous patch which was
  6105. discarding explicit heights for non-AutoSize toolbars. Need to
  6106. extend my format tester to deal with AutoSize=false. Fixes #78864.
  6107. 2006-07-15 Jackson Harper <[email protected]>
  6108. * LabelEditTextBox.cs:
  6109. * TreeView.cs: Use a new LabelEdit class for node editing, this
  6110. class automatically 'closes' itself when it gets the enter key or
  6111. loses focus.
  6112. - Use the client rectangle when setting the trees scrollbars, so
  6113. border style is taken into account.
  6114. 2006-07-14 Jackson Harper <[email protected]>
  6115. * TreeNode.cs:
  6116. * TreeView.cs: Make the editing work similar to MSs, firing the
  6117. events correctly and ending edits correctly.
  6118. 2006-07-14 Mike Kestner <[email protected]>
  6119. * ToolBarButton.cs:
  6120. * ToolBar.cs: layout restructuring and redraw enhancements to support
  6121. formatting changes gracefully, like setting TextAlign, ImageList,
  6122. ButtonSize, and Appearance. Handles explicit button sizing quirks
  6123. of the MS controls. Things like flat toolbars ignoring button size
  6124. but becoming constant sized at the largest button's size. Normal
  6125. toolbars with an image set cannot be shrunk smaller than the image,
  6126. but text can be clipped/ignored.
  6127. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  6128. is zero. Seems like DrawString should be smart enough to not put
  6129. anything on screen though. Also trim labels and ellipsize at the char
  6130. boundary, not word.
  6131. Fixes #78711 and #78483.
  6132. 2006-07-14 Alexander Olk <[email protected]>
  6133. * FolderBrowserDialog.cs: Disable "New Folder" button and
  6134. "New Folder" contextmenu menuitem if a folder like "My Computer"
  6135. is selected.
  6136. 2006-07-14 Alexander Olk <[email protected]>
  6137. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  6138. * FolderBrowserDialog.cs:
  6139. - Use MWFConfig to store and read size and position settings
  6140. - Added code to create a new folder (button or context menu).
  6141. Use TreeView labeledit to change the name of the new folder.
  6142. 2006-07-14 Jackson Harper <[email protected]>
  6143. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  6144. when the tree is scrolled we end editing.
  6145. 2006-07-14 Alexander Olk <[email protected]>
  6146. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  6147. Down arrows
  6148. 2006-07-14 Jonathan Pobst <[email protected]>
  6149. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  6150. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  6151. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  6152. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  6153. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  6154. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  6155. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  6156. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  6157. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  6158. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  6159. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  6160. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  6161. ListViewItemSelectionChangedEventHandler.cs,
  6162. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  6163. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  6164. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  6165. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  6166. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  6167. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  6168. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  6169. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  6170. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  6171. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  6172. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  6173. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  6174. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  6175. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  6176. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  6177. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  6178. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  6179. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  6180. WebBrowserNavigatingEventHandler.cs,
  6181. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  6182. 2006-07-14 Jonathan Pobst <[email protected]>
  6183. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  6184. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  6185. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  6186. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  6187. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  6188. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  6189. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  6190. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  6191. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  6192. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  6193. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  6194. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  6195. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  6196. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  6197. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  6198. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  6199. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  6200. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  6201. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  6202. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  6203. ListViewItemStates.cs, MaskFormat.cs: Added
  6204. 2006-07-13 Jonathan Chambers <[email protected]>
  6205. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  6206. Patch from eno for bug 78558.
  6207. 2006-07-13 Jackson Harper <[email protected]>
  6208. * TreeView.cs: When an edit is finished make sure that the
  6209. selected node is visible.
  6210. - When setting the top/bottom use the scrollbars is_visible, so
  6211. everything will be set correctly even if the tree isn't visible
  6212. yet.
  6213. 2006-07-13 Jackson Harper <[email protected]>
  6214. * ComboBox.cs: Revert the item->index part of my previous patch.
  6215. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  6216. the edit box has lost focus (duh).
  6217. - Just make the edit box not visible when we get return, that will
  6218. take the focus, which will call EndEdit
  6219. * TreeNode.cs When we start editing, notify the treeview.
  6220. 2006-07-12 Jackson Harper <[email protected]>
  6221. * ComboBox.cs: Clear out old items before setting the item list.
  6222. This prevents databound controls from having their items added
  6223. twice.
  6224. - Switch the combobox to use indices whereever possible instead of
  6225. using Item's. This allows usto navigate through lists that have
  6226. more then one item with the same string value (ie a, b, b, a).
  6227. - Scroll the listboxes scrollbar when a non visible item is
  6228. highlighted
  6229. - Allow keypress to cycle through all the possible values. For
  6230. example if you have b1, b2, b3 and hold down the B key all the
  6231. values will be cycled through.
  6232. 2006-07-12 Jackson Harper <[email protected]>
  6233. * TextBoxBase.cs:
  6234. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  6235. this using the internal methods.
  6236. * Control.cs: Add OnGotFocusInternal. A new method that allows
  6237. controls to "override" OnGotFocus and change focus behavior if
  6238. needed.
  6239. - Same thing for LostFocus
  6240. * ComboBox.cs: Pass off focus to the text control properly.
  6241. 2006-07-12 Alexander Olk <[email protected]>
  6242. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  6243. * FolderBrowserDialog.cs: Almost a complete rewrite.
  6244. - Better support for Environment.Specialfolders
  6245. - Added support for MWFVFS
  6246. - Made setting SelectedPath work
  6247. 2006-07-12 Jackson Harper <[email protected]>
  6248. * Control.cs: Optimze getting all the controls.
  6249. 2006-07-11 Jackson Harper <[email protected]>
  6250. * ContainerControl.cs: Override SETFOCUS in the container control,
  6251. so that it is not selected on mouse click.
  6252. 2006-07-11 Peter Dennis Bartok <[email protected]>
  6253. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  6254. Hopefully we will have a better way once all of focus is complete.
  6255. 2006-07-11 Peter Dennis Bartok <[email protected]>
  6256. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  6257. a compile error with csc.
  6258. 2006-07-11 Jackson Harper <[email protected]>
  6259. * Control.cs: When hiding a control only select the next control
  6260. if the current control was focused.
  6261. - Don't handle enter/leave when setting/killing focus, this is
  6262. done by the container control.
  6263. - Remove is_selected, it's not needed anymore.
  6264. - Add utility methods for selecting a child control, and for
  6265. firing the Enter/Leave events.
  6266. * ContainerControl.cs: When a control is activated fire the
  6267. enter/leave events.
  6268. - Don't wrap when processing the tab key, so that focus can be
  6269. moved outside of the container.
  6270. - Use the correct active control
  6271. 2006-07-11 Jackson Harper <[email protected]>
  6272. * ComboBox.cs: Remove some debug code that was blinding me.
  6273. * UpDownBase.cs: These controls actually aren't implicit, they are
  6274. visible to the user.
  6275. 2006-07-10 Chris Toshok <[email protected]>
  6276. * DataGrid.cs: move back to the is_adding boolean field. god i
  6277. hate this is_editing/is_adding/is_changing stuff.
  6278. 2006-07-10 Chris Toshok <[email protected]>
  6279. * DataGridTableStyle.cs: just check if the property type is bool.
  6280. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  6281. Don't use CanRenderType.
  6282. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  6283. if our text == NullText. Remove CanRenderType.
  6284. * DataGridBoolColumn.cs: nuke CanRenderType.
  6285. * DataGrid.cs: reenable some code to end the current edit inside
  6286. of set_CurrentCell. This fixes the other 1.1.16 regression.
  6287. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  6288. Also, remove the visible_row_count arg from CalcRowHeaders, since
  6289. we don't need to worry about the actual height of the area.
  6290. 2006-07-10 Chris Toshok <[email protected]>
  6291. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  6292. mode, just return.
  6293. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  6294. the real sense of the IsInEditOrNavigateMode property (true =
  6295. navigate, false = edit). Also, update OnKeyPress to reflect this.
  6296. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  6297. column style exists, we still need to set its property descriptor
  6298. to match up with our list manager.
  6299. 2006-07-10 Chris Toshok <[email protected]>
  6300. * ThemeWin32Classic.cs: implement the new row/header painting
  6301. approach. The parent row painting will likely go away and
  6302. replaced with label controls, but the rest seems to work ok (and
  6303. efficiently).
  6304. * Theme.cs: change the way we draw datagrid rows. we don't draw
  6305. the row headers as a block now. Instead we draw them in the
  6306. normal draw-row loop. Add some calls for drawing parent rows and
  6307. relation rows.
  6308. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  6309. a default table style. Set the defaults from ThemeEngine.Current,
  6310. not SystemColors. Fix lots of misc issues with property setters.
  6311. * DataGrid.cs: move loads of style information out of this class
  6312. as it's being duplicated with DataGridTableStyle. keep track of a
  6313. special DataGridTableStyle for the properties we used to mirror
  6314. here. Switch all the style properties to access this table style
  6315. instead of instance fields of this class. Also add a internal
  6316. class to represent parent rows (more needs to be stored here, like
  6317. the selection state from the parent table, as well as the
  6318. expansion state.) Also, for datasources with relations, do the
  6319. right thing for collapse/expand, and add support for the
  6320. navigation/parent row buttons.
  6321. Lastly, fix the crash in the 1.1.16 build.
  6322. * GridTableStylesCollection.cs: make the explicit interface
  6323. implementations call the class's methods as opposed to duplicating
  6324. them.
  6325. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  6326. 0 so the text doesn't jump around when we move the cursor.
  6327. 2006-07-10 Jackson Harper <[email protected]>
  6328. * TextBoxBase.cs:
  6329. * ListBox.cs: Match MS's ToString (this makes debugging focus
  6330. stuff infinitely easier).
  6331. 2006-07-10 Jackson Harper <[email protected]>
  6332. * Control.cs (SelectNextControl): When checking the control's
  6333. parent use this instead of ctrl.parent so that null can be passed
  6334. to SelectNextControl. (I have unit tests for this).
  6335. - Remove unused var.
  6336. 2006-07-10 Chris Toshok <[email protected]>
  6337. * CurrencyManager.cs: correct one regression, the removal of the
  6338. finalType field. Also, add a MonoTODO on CanAddRows, implement
  6339. Refresh() correctly, and fix some event emission in
  6340. ListChangedHandler.
  6341. 2006-07-07 Alexander Olk <[email protected]>
  6342. * FileDialog.cs: Don't use brackets for new folders if they exist
  6343. under *nix. Instead use -(number of existing folders +1).
  6344. 2006-07-07 Alexander Olk <[email protected]>
  6345. * FileDialog.cs:
  6346. - Fixed really nasty bug #78771
  6347. - Don't block the whole GUI when reading directories with a lot of
  6348. entries. Use an other thread instead and call BeginInvoke to
  6349. update the ListView in MWFFileView
  6350. 2006-07-07 Chris Toshok <[email protected]>
  6351. * Control.cs (Dispose): release any Capture when disposing.
  6352. 2006-07-07 Chris Toshok <[email protected]>
  6353. * LinkLabel.cs (Select): if we chain up to the parent, set
  6354. focused_index to -1 so we'll search for the first available link
  6355. the next time the user tabs into us. Also, if the direction is
  6356. backward and focused_index == -1, start the search from the last
  6357. element.
  6358. 2006-07-07 Chris Toshok <[email protected]>
  6359. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  6360. is beyond the end of the text, don't do anything.
  6361. (CreateLinkPieces): set our ControlStyles.Selectable based on
  6362. whether or not we have any links.
  6363. (Link.Invalidate): use a loop instead of foreach.
  6364. (Link.set_Start): null out owner.sorted_links so it'll be
  6365. recreated by CreateLinkPieces.
  6366. 2006-07-06 Chris Toshok <[email protected]>
  6367. * LinkLabel.cs: revert the SetStyle change.
  6368. 2006-07-06 Chris Toshok <[email protected]>
  6369. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  6370. (OnEnableChanged): s/Refresh/Invalidate
  6371. (OnGotFocus): if we have a focused index already, refocus it (so
  6372. if we mouse out/in to the window it'll focus the right link).
  6373. (OnKeyDown): move the tab handling out of here.
  6374. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  6375. when we lose focus.
  6376. (OnMouseDown): don't Capture here - Control handles it. Also,
  6377. focus the active link.
  6378. (OnMouseUp): don't deal with Capture.
  6379. (OnPaintBackgroundInternal): remove.
  6380. (OnTextAlignChanged): CreateLinkPieces before calling the
  6381. superclass's method.
  6382. (OnTextChanged): call CreateLinkPieces before calling superclass's
  6383. method.
  6384. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  6385. move around.
  6386. (Select): implement this, moving the selection between different
  6387. links, and call parent.SelectNextControl if we don't have another
  6388. link to focus in the given direction.
  6389. (CreateLinkPieces): call Invalidate instead of Refresh.
  6390. 2006-07-06 Chris Toshok <[email protected]>
  6391. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  6392. new LinkLabel internals.
  6393. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  6394. over pieces looking for active/focused/etc links. also, deal with
  6395. runs of text (and links) with embedded \n's in them, and use
  6396. MeasureCharacterRanges instead of MeasureString to figure out the
  6397. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  6398. two-step.
  6399. 2006-07-04 Jackson Harper <[email protected]>
  6400. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  6401. XKB or key auto repeat, do it manually. Without key auto repeat,
  6402. when a key is held down we get key press, key release, key press,
  6403. key release, ... with auto repeat we get key press, key press, key
  6404. press ..., and then a release when the key is actually released.
  6405. 2006-07-03 Jackson Harper <[email protected]>
  6406. * TabControl.cs:
  6407. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  6408. rules, they are always control color regardless of the background
  6409. color.
  6410. 2006-07-02 Alexander Olk <[email protected]>
  6411. * FileDialog.cs: Added internal class MWFConfig.
  6412. Removed Registry support and replaced it with support for the new
  6413. MWFConfig class. See MWFConfig comments for more information.
  6414. 2006-06-30 Alexander Olk <[email protected]>
  6415. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  6416. rectangle. Added some patches from eno from bug #78490 and fixed
  6417. the arrow position for small up and down CPDrawScrollButtons.
  6418. 2006-06-30 Jackson Harper <[email protected]>
  6419. * InternalWindowManager.cs: Remove some debug code.
  6420. * Form.cs: When an MdiParent is set to null, the window is
  6421. "detatched" and becomes a normal window.
  6422. * MdiClient.cs: Don't bring the new child form to the front until
  6423. it is activated (setting it as active does this), this makes the
  6424. previously active forms titlebar get redrawn as inactive.
  6425. 2006-06-29 Peter Dennis Bartok <[email protected]>
  6426. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  6427. with later controls
  6428. 2006-06-29 Mike Kestner <[email protected]>
  6429. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  6430. arrow in keynav state. Fixes #78682.
  6431. 2006-06-28 Atsushi Enomoto <[email protected]>
  6432. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  6433. order (fixes #78393)
  6434. 2006-06-28 Jonathan Pobst <[email protected]>
  6435. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  6436. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  6437. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  6438. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  6439. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  6440. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  6441. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  6442. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  6443. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  6444. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  6445. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  6446. values)
  6447. 2006-06-28 Mike Kestner <[email protected]>
  6448. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  6449. 2006-06-28 Atsushi Enomoto <[email protected]>
  6450. * PropertyGrid.cs,
  6451. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  6452. item lines from other area (It also makes BackColor consistent and
  6453. compatible with .NET). Fixed bug #78564.
  6454. 2006-06-28 Jonathan Chambers <[email protected]>
  6455. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  6456. Patch from Eno for #78555.
  6457. 2006-06-27 Chris Toshok <[email protected]>
  6458. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  6459. * DataGridColumnStyle.cs: same.
  6460. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  6461. * DataGridDrawingLogic.cs: nuke.
  6462. 2006-06-27 Chris Toshok <[email protected]>
  6463. * DataGridTableStyle.cs: clean up the constructors, and build the
  6464. list of child relations for this table. I have no idea if this is
  6465. where we should be doing it (it probably isn't), but since we're
  6466. already iterating over the properties..
  6467. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  6468. struct and array for keeping track of row information, similar to
  6469. what's shown in a hack on
  6470. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  6471. * Theme.cs: be consistent about the naming of DataGrid methods,
  6472. prefering ColumnWidths and RowHeights over columnsWidths and
  6473. RowsHeights.
  6474. * ThemeWin32Classic.cs: same, and also add support for variable
  6475. sized rows (and the +/- expansion icons for related rows).
  6476. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6477. * TextBoxBase.cs: Applied Eno's patch from #78660
  6478. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6479. * Form.cs (ScaleCore): We don't want to scale our form if it's
  6480. state is minimized or maximized, but we still need to scale our
  6481. child windows. Also, added try/finally block to ensure layout
  6482. gets reset (Fixes #78697)
  6483. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6484. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  6485. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6486. * Form.cs: Fixed c+p error and added check to resize form if minimum
  6487. size is bigger than current size (Fixes #78709)
  6488. 2006-06-26 Peter Dennis Bartok <[email protected]>
  6489. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  6490. 2006-06-26 Mike Kestner <[email protected]>
  6491. * ComboBox.cs: only do Keypress handling in the combo when there
  6492. are items in the collection. Fixes #78710.
  6493. 2006-06-26 Chris Toshok <[email protected]>
  6494. * Binding.cs: make this work bi-directionally. also, clear up
  6495. other mixups between Push/Pull Data (e.g. we're supposed to pull
  6496. data when validating).
  6497. * BindingManagerBase.cs: trim some fully qualified collection
  6498. types.
  6499. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  6500. 2006-06-23 Chris Toshok <[email protected]>
  6501. * PropertyManager.cs: It appears (according to the unit tests)
  6502. that PropertyManager doesn't use
  6503. PropertyDescriptor.AddValueChanged to track propery value changes
  6504. in its datasource, but uses the same scheme as Binding, where it
  6505. looks for a <Property>Changed event and binds to it.
  6506. Also, according to the docs, IsSuspended always returns false for
  6507. a property manager with a non-null datasource.
  6508. 2006-06-22 Peter Dennis Bartok <[email protected]>
  6509. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  6510. need to update the actual DialogResult. (Fixes #78613)
  6511. 2006-06-22 Peter Dennis Bartok <[email protected]>
  6512. * Form.cs (ShowDialog): Release any captures before running the
  6513. new message pump (fixes #78680)
  6514. 2006-06-22 Mike Kestner <[email protected]>
  6515. * ListView.cs: Layout column widths properly in details mode even
  6516. if HeaderStyle.None is set. Fixes #78691.
  6517. 2006-06-21 Peter Dennis Bartok <[email protected]>
  6518. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  6519. 2006-06-21 Peter Dennis Bartok <[email protected]>
  6520. * Control.cs (ContainsFocus): Using new driver method to get focused
  6521. window, instead of trying to use internal tracking var, which can
  6522. recursion issues (Fixes #78685)
  6523. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6524. XplatUIWin32.cs: Added GetFocus method to return focused window
  6525. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  6526. * ColorDialog.cs: when the mouse button is pressed inside the color
  6527. matrix, don't let the cursor move out of it until the button is
  6528. released, which is the behavior on windows. Changed 'colours' by
  6529. 'colors' to use the same word consistently.
  6530. 2006-06-21 Chris Toshok <[email protected]>
  6531. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  6532. child relation and back, using a stack). Also, remove
  6533. GetDataSource and the code that calls it - it's not needed. Also,
  6534. track CurrencyManager.ListName's removal.
  6535. 2006-06-21 Chris Toshok <[email protected]>
  6536. * CurrencyManager.cs: push some of the original type checking from
  6537. BindingContext.CreateBindingManager to here, and remove some of
  6538. the finalType stuff. Need more tests to make sure I've got the
  6539. ListName part right, and we might need more in SetDataSource.
  6540. * PropertyManager.cs: add a ctor that takes just the datasource,
  6541. and no property name. Make SetDataSource work with a null
  6542. property_name, and make Current return the data_source if the
  6543. property descriptor is null. this makes 'string foo = "hi";
  6544. BindingContext[foo].Current' return "hi" as it should.
  6545. * RelatedCurrencyManager.cs: make this code more generic - there's
  6546. no reason the parent manager has to be CurrencyManager, and
  6547. there's no reason to pass the DataRelation. It suffices to use a
  6548. BindingManagerBase and PropetyDescriptor.
  6549. * RelatedPropertyManager.cs: make a similar change here.
  6550. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  6551. flower I knew it could be.
  6552. 2006-06-20 Chris Toshok <[email protected]>
  6553. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  6554. data in the source has changed and we need to update the control,
  6555. so s/PullData/PushData.
  6556. * CurrencyManager.cs: Refresh is meant to update the control from
  6557. data in the datasource. So, s/PullData/PushData.
  6558. * BindingContext.cs: add more ugliness (we weren't handling the
  6559. case where data_source = DataTable and data_member = column_name).
  6560. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  6561. from the perspective of the datasource. PullData pulls from the
  6562. control, PushData pushes to the control.
  6563. 2006-06-20 Chris Toshok <[email protected]>
  6564. * BindingContext.cs: rewrite the CreateBindingManager code to
  6565. handle navigation paths more or less properly. This could
  6566. definitely stand some more work, in particular to push the
  6567. recursion up to the toplevel. But that relies on fixes in other
  6568. places (System.Data comes to mind).
  6569. Also, move to a flat hashtable (and encode the twolevel nature of
  6570. the dictionary into the hash key). This lets us implement the
  6571. IEnumerable.GetEnumerator method.
  6572. * RelatedCurrencyManager.cs: new class. Update our view based on
  6573. our relation and our parent CurrencyManager's position.
  6574. * CurrencyManager.cs: split out some logic from the ctor into
  6575. SetView, so it can be called from the new RelatedCurrencyManager
  6576. subclass.
  6577. * RelatedPropertyManager.cs: new class. Update our datasource
  6578. based on the position of our parent CurrencyManager.
  6579. * PropertyManager.cs: split out some logic from the ctor into
  6580. SetDataSource, so it can be called from the new RelatedDataSource
  6581. subclass. Also, make the Current getter return the value
  6582. of the PropertyDescriptor, not the data_source.
  6583. * Binding.cs: no need to duplicate the string splitting code here.
  6584. 2006-06-19 Peter Dennis Bartok <[email protected]>
  6585. * Control.cs:
  6586. - set_Enabled: OnEnabledChanged is not called if the inherited state
  6587. of the control is not altered, even though we might be changing the
  6588. internal state of the control (#78458)
  6589. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  6590. OnEnabledChanged, to allow easy altering of any child window state
  6591. - OnEnabledChanged: Added code to enable/disable driver window state
  6592. - OnParentEnabledChanged: Instead of firing the event, call
  6593. OnEnabledChanged, which will fire the event and also a) set driver
  6594. window state and pass the enabled state to any grandchildren (#78458)
  6595. 2006-06-19 Jackson Harper <[email protected]>
  6596. * InternalWindowManager.cs: We don't set the cursor explicitly
  6597. thats done via the response to NCHITTESTs.
  6598. - Don't need to adjust for titlebar heights anymore, the
  6599. coordinates are coming in the correct coordinates now (see peters
  6600. last patch).
  6601. 2006-06-19 Peter Dennis Bartok <[email protected]>
  6602. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  6603. being translated relative to whole window, instead of client window.
  6604. That caused broken offsets on mouseclick (and caused gas for our
  6605. InternalWindowManager)
  6606. 2006-06-15 Peter Dennis Bartok <[email protected]>
  6607. * TextControl.cs:
  6608. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  6609. - Undo(): Added replay of cursor move on DeleteChars action; added
  6610. calling Undo() again if a recorded cursor move is invalid (to
  6611. ensure that some action is performed on Undo)
  6612. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  6613. 2006-06-16 Jackson Harper <[email protected]>
  6614. * MdiClient.cs: Instead of just sizing maximized windows when
  6615. there is a resize we also have to adjust the Y of minimized
  6616. windows, so they stay pinned to the bottom of the mdi container.
  6617. - Eliminate separate tracking of the active control, we can just
  6618. get this from the controls collection.
  6619. - Paint the decorations for the newly activated titlebar so we get
  6620. a pretty blue bar.
  6621. * InternalWindowManager.cs:
  6622. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  6623. even if they are a tool window.
  6624. 2006-06-15 Peter Dennis Bartok <[email protected]>
  6625. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  6626. undo buffer, these can happen when text was deleted and the cursor
  6627. was recorded first. Since we will also have a recorded cursor
  6628. after the delete this is not an issue. (Fixes #78651)
  6629. 2006-06-14 Peter Dennis Bartok <[email protected]>
  6630. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  6631. instead properly track control states internally (allows us to
  6632. remove is_selected from Control)
  6633. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  6634. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  6635. whose width is not a multiple of 8.
  6636. 2006-06-13 Jackson Harper <[email protected]>
  6637. * MdiClient.cs: Only maximize the next child if the current one
  6638. is maximized.
  6639. 2006-06-13 Chris Toshok <[email protected]>
  6640. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  6641. modified. Also, guard against grid or grid_drawing being null in
  6642. Invalidate.
  6643. * DataGrid.cs: Reformat tons of getters/setters. In the
  6644. DataMember setter, just call SetNewDataSource instead of
  6645. duplicating some of its functionality. In SetNewDataSource, don't
  6646. check ListManager for null, since the property getter creates the
  6647. object if needed.
  6648. * DataGridTableStyle.cs: don't set TableStyle or call
  6649. SetDataGridInternal on the column here, it's done in
  6650. GridColumnStylesCollection.Add.
  6651. * GridColumnStylesCollection.cs: fix all the explicit interface
  6652. implementations to just call our methods. Nuke AddInternal() and
  6653. move the body of it to Add(). Also, add a call to
  6654. column.SetDataGridInternal to Add().
  6655. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  6656. base()+duplicate code. Also, use the Format property instead of
  6657. format to generate an Invalidate ala MS. Lastly, create the
  6658. textbox here, unconditionally.
  6659. (set_Format): call Invalidate.
  6660. (get_TextBox): no need to call EnsureTextBox.
  6661. (Commit): remove the message box.
  6662. (Edit) remove the call to EnsureTextBox.
  6663. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  6664. (EnterNullValue): no need to check textbox for null.
  6665. (HideEditBox): no need to check textbox for null.
  6666. (SetDataGridInColumn): add the textbox to the grid's controls.
  6667. (EnsureTextBox): nuke.
  6668. 2006-06-13 Jackson Harper <[email protected]>
  6669. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  6670. and redraw the buttons when needed. Unhook when the window is
  6671. unmaximized.
  6672. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  6673. needs this so that it can redraw its buttons when the menu is
  6674. repainted.
  6675. * InternalWindowManager.cs:
  6676. * Form.cs: The method order has changed for DrawMaximizedButtons,
  6677. so that it can be a PaintEventHandler.
  6678. 2006-06-13 Jackson Harper <[email protected]>
  6679. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  6680. window is activated and maximized, even if it wasn't before.
  6681. - When a new window is activated repaint the decorations of the
  6682. old one, so that it no longer has the Active "look" (the blue
  6683. titlebar).
  6684. * InternalWindowManager.cs: Open up CreateButtons to base classes
  6685. so they can recreate the buttons on state changes.
  6686. - If a window is maximized give it all three buttons
  6687. * MdiWindowManager.cs: Create the titlebar buttons when the state
  6688. is changed, this is needed because a toolwindow will not have all
  6689. three buttons until it is maximized.
  6690. 2006-06-13 Atsushi Enomoto <[email protected]>
  6691. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  6692. Fixed bug #78609.
  6693. 2006-06-12 Jackson Harper <[email protected]>
  6694. * KeysConverter.cs: Make sure we handle the Ctrl special case
  6695. if its the only key.
  6696. 2006-06-12 Jackson Harper <[email protected]>
  6697. * Theme.cs: Add a method to get the size of a managed window
  6698. toolbar button.
  6699. * InternalWindowManager.cs: Remove the ButtonSize property, this
  6700. should be retrieved from the theme.
  6701. * MdiWindowManager.cs: Get the button size from the theme
  6702. * ThemeWin32Classic.cs: Make the method to get the managed window
  6703. titlebar button size public.
  6704. - Handle the different button sizes of maximized toolwindows
  6705. (should match any maximized window).
  6706. - Get the titlebar height from the theme, not the WM (which gets
  6707. it from the theme).
  6708. 2006-06-12 Jackson Harper <[email protected]>
  6709. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  6710. event down to the mdi window manager.
  6711. - Expose some extra stuff to base classes
  6712. - Make sure to end the Capture on an NC Mouse up, so that we can
  6713. get double clicks properly, and the sizing doens't stick.
  6714. - When doing PointToClient contain it in the workable desktop
  6715. area, this prevents windows from changing size when the cursor is
  6716. pulled outside of the working area while sizing.
  6717. * MdiWindowManager.cs: When we get a double click maximize the
  6718. window.
  6719. - Reset the cursor after handling mode changes.
  6720. 2006-06-12 Peter Dennis Bartok <[email protected]>
  6721. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  6722. current desktop, instead of just assuming a 0, 0 origin. This
  6723. is needed for our internal window manager, to know the top
  6724. margin of the desktop
  6725. 2006-06-12 Chris Toshok <[email protected]>
  6726. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  6727. we need this to get rid of the selected background in the bool
  6728. column.
  6729. (CancelEditing): move the ConcedeFocus call to above the Abort
  6730. call. Also, set is_changing to false and invalidate the row
  6731. header if we were changing before.
  6732. (ProcessKeyPreviewInternal): remove, since noone outside this
  6733. class calls it anymore. Roll the code into ProcessKeyPreview.
  6734. (EndEdit): remove the internal version.
  6735. (InvalidateCurrentRowHeader): make private.
  6736. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  6737. Keys.Escape handling (and with it the last call to
  6738. DataGrid.EndEdit from outside the class.)
  6739. 2006-06-12 Chris Toshok <[email protected]>
  6740. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  6741. (OnKeyPress): set isedit to true.
  6742. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  6743. already handled by the grid.
  6744. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  6745. right. ugh.
  6746. (set_DataSource): SetDataSource always returns true, so stop
  6747. putting it in an if statement.
  6748. (EndEdit): get rid of some {}'s
  6749. (ProcessGridKey): return true in case Keys.Escape.
  6750. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  6751. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  6752. PositionChanged, stopped connecting to CurrentChanged.
  6753. (GetDataSource): simplify this a bunch.
  6754. (SetDataSource): change return type from bool to void.
  6755. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  6756. to this, and make sure we don't set ListManager.Position inside
  6757. set_CurrentCell.
  6758. (OnListManagerItemChanged): if we're passed an actual index,
  6759. redraw that row.
  6760. * CurrencyManager.cs (set_Position): don't call PullData here.
  6761. 2006-06-09 Jackson Harper <[email protected]>
  6762. * TreeNode.cs: Recalculate the visible order before doing the
  6763. Expand/Collapse Below calls, because those calls generate an
  6764. expose.
  6765. - Reduce calls to the TreeView property, which is mildly expensive
  6766. by using a local var.
  6767. * Form.cs: Layout the MDI child windows when creating the parent
  6768. form.
  6769. - Don't use the internal constructor anymore
  6770. * MdiClient.cs: use the parent form width/height (if available)
  6771. when laying out the child windows, we do this because the
  6772. mdiclient isn't docked yet when the initial layout is done.
  6773. - Don't need an internal constructor anymore.
  6774. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  6775. * FileDialog.cs: handle access errors when trying to create a folder
  6776. or changing to a directory. No need to initialize out parameters.
  6777. 2006-06-08 Alexander Olk <[email protected]>
  6778. * FileDialog.cs: Append a number when creating a new folder if the
  6779. folder already exists (use parenthesis instead of square brackets)
  6780. 2006-06-08 Alexander Olk <[email protected]>
  6781. * FileDialog.cs:
  6782. - Disabled registry support for windows and added better registry
  6783. error checking for other systems (need to investigate why it
  6784. works perfectly on my system)
  6785. - If a folder already exist show an error MessageBox instead of
  6786. trying to create an indexed name.
  6787. - Fixed a non intentional typo.
  6788. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  6789. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  6790. 2006-06-08 Alexander Olk <[email protected]>
  6791. * FileDialog.cs: When creating a new folder don't crash if the
  6792. folder already exists.
  6793. 2006-06-08 Alexander Olk <[email protected]>
  6794. * FileDialog.cs: Allmost a complete rewrite.
  6795. - added a "virtual" file system that handles the differences
  6796. between unix and windows file systems (especially the directory
  6797. structure). Moved most of the directory and file handling code
  6798. into the vfs.
  6799. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  6800. UnixFileSystem and FSEntry.
  6801. - Recently used folder/directory, size, location and used file names
  6802. (file name ComboBox) are now stored in the registry and get read
  6803. before the dialog shows up (fixes part 6 of bug #78446).
  6804. - Creation of new folders/directories is now possible (context menu
  6805. or ToolBar). Added TextEntryDialog for this that fills in the gap
  6806. until ListView.LabelEdit works.
  6807. - Fixed cursor handling (bug #78527) and focus handling for
  6808. PopupButtonPanel
  6809. - Various "Search in" ComboBox enhancements. The content of the
  6810. dropdown listbox now almost matches ms.
  6811. - Changed the behaviour when the user switches to SpecialFolder
  6812. Recent to show the ListView in View.Details.
  6813. - Beside using the ToolBar to change the View property of the
  6814. file ListView it is now possible to use the context menu too.
  6815. 2006-06-08 Alexander Olk <[email protected]>
  6816. * ComboBox.cs: Don't create a new ObjectCollection when an item
  6817. gets inserted. Just insert the item in the existing object_items
  6818. ArrayList.
  6819. 2006-06-08 Jackson Harper <[email protected]>
  6820. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  6821. that the treeview and root node checks are done also, this fixes a
  6822. regression i caused in the unit tests.
  6823. 2006-06-07 Wade Berrier <[email protected]>
  6824. * RichTextBox.cs: More ISO8859-1 -> unicode
  6825. 2006-06-07 Mike Kestner <[email protected]>
  6826. * ComboBox.cs : use items to hold highlight/selection so that
  6827. collection insertions don't require synchronization.
  6828. 2006-06-07 Jackson Harper <[email protected]>
  6829. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  6830. routine. We now always keep the sized edge at the cursor instead
  6831. of computing movement and adjusting rects. There is one buglet
  6832. with this method though when the cursor is moved over area that
  6833. the window can not expand too (such as the toolbars on the desktop).
  6834. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  6835. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  6836. here. Fixes crash on startup in AlbumSurfer.
  6837. 2006-06-07 Peter Dennis Bartok <[email protected]>
  6838. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  6839. values
  6840. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  6841. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  6842. statement to avoid calling XNextEvent which will block if another thread
  6843. took the event that we were expecting. Fixes bug #78605.
  6844. 2006-06-07 Mike Kestner <[email protected]>
  6845. * ListView.cs : isolated checkbox clicking from the selection logic.
  6846. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  6847. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  6848. * Form.cs: Check that the value passed to Form.DialogResult
  6849. is a valid enum value.
  6850. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  6851. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  6852. Computer'. Clicking it in the network view goes to 'My Computer'.
  6853. Added CIFS filesystem type. Display the mount point of filesystems.
  6854. Avoid duplicate mount points (happens for me with CIFS);
  6855. 2006-06-06 Jackson Harper <[email protected]>
  6856. * InternalWindowManager.cs: Draw the maximized windows buttons
  6857. when resizing.
  6858. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  6859. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  6860. all other dialogs. Fixes bug #78585.
  6861. 2006-06-06 Mike Kestner <[email protected]>
  6862. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  6863. Only invalidate checkbox on checkstate changes to avoid flicker.
  6864. * ListBox.cs : avoid unselect/select when clicking selected item.
  6865. avoid reselection flicker for already multiselected items.
  6866. Fixes #78382.
  6867. 2006-06-06 Jackson Harper <[email protected]>
  6868. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  6869. the parent form so that the menu is removed if needed.
  6870. 2006-06-06 Mike Kestner <[email protected]>
  6871. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  6872. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  6873. 2006-06-06 Mike Kestner <[email protected]>
  6874. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  6875. 2006-06-06 Jackson Harper <[email protected]>
  6876. * Control.cs: Use the property (instead of the field) to get the
  6877. default cursor so it is instantiated correctly.
  6878. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  6879. resizes so we need to manually repaint the window decorations here.
  6880. - Set the titlebar button locations as soon as they are created,
  6881. otherwise they are not set correctly on win32.
  6882. 2006-06-06 Chris Toshok <[email protected]>
  6883. * CurrencyManager.cs (set_Position): call PullData before
  6884. OnCurrentChanged.
  6885. (AddNew): after calling IBindingList.AddNew, update our
  6886. listposition, and call OnCurrentChanged/OnPositionChanged (without
  6887. calling PullData).
  6888. (OnCurrentChanged): remove the call to PullData from here.
  6889. (OnItemChanged): remove the call to PushData from here.
  6890. (OnPositionChanged): change the test from == null to != null to
  6891. match the other methods.
  6892. (ListChangedHandler): the grossest part of the patch. Implement
  6893. this such that it passes the unit tests in CurrencyManagerTest and
  6894. the output more or less matches that of MS's implementation.
  6895. 2006-06-06 Mike Kestner <[email protected]>
  6896. * ListView.cs : only update check state on single click.
  6897. * ThemeWin32Classic.cs : fix focus drawing for details view without
  6898. fullrowselect. Fixes #78454.
  6899. * XplatUIX11.cs : fix for double click emission.
  6900. 2006-06-05 Jonathan Chambers <[email protected]>
  6901. * PropertyGridView.cs : Applied Atsushi's patch to fix
  6902. font dialog bug (#78197).
  6903. 2006-06-05 Jackson Harper <[email protected]>
  6904. * TreeNode.cs: Compute the next node for expanding/collapsing
  6905. correctly. We now factor in nodes without a NextNode
  6906. correctly. (Fixes somes cases in nunit-gui).
  6907. * InternalWindowManager.cs: Set the bounds when updating the
  6908. virtual position of a tool window.
  6909. 2006-06-05 Chris Toshok <[email protected]>
  6910. * DataGrid.cs: rename cached_currencymgr to list_manager.
  6911. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  6912. some.
  6913. (CurrentRow, CurrentColumn): single accessors so we can make the
  6914. cursor movement code a lot easier to understand.
  6915. (CurrentRowIndex): implement this in terms of CurrentRow.
  6916. (BeginEdit): clean this up a bit.
  6917. (CancelEditing): sort out the is_editing/is_changing/is_adding
  6918. stuff a little.
  6919. (EndEdit): minor changes.
  6920. (OnKeyDown): add a comment about a (most likely) unnecessary
  6921. check.
  6922. (OnMouseDown): cancel editing when we click on a row header. And
  6923. use the CurrentRow setter, not CurrentCell.
  6924. (ProcessDialogKey): directly call ProcessGridKey.
  6925. (UpdateSelectionAfterCursorMove): factor out this common block of
  6926. code (it's used everywhere that we move the cursor by updating row
  6927. or column).
  6928. (ProcessGridKey): pretty substantial overhaul. Use the
  6929. CurrentRow/CurrentColumn properties to make the code a lot more
  6930. readable. Only use the CurrentCell property when we have to
  6931. modify both row and column at once. Tab behavior is still broken,
  6932. and Delete is untested.
  6933. (Select): if we have no selected rows, set selection_start to
  6934. @row.
  6935. (EditCurrentCell): rename EditCell this. It was only ever invoked
  6936. with CurrentCell as the arg, so drop the arg and rename it.
  6937. * DataGridColumnStyle.cs: clean up the constructors a little, and
  6938. drop CommonConstructor().
  6939. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  6940. actually get notified when the user hits it.
  6941. (ProcessKeyMessage): *substantially* simplify this method.
  6942. There's no reason (that I can see) for the textbox to be making
  6943. calls into the datagrid at all. Remove all of them but the ones
  6944. for Enter handling. those will take some more work.
  6945. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  6946. calling HideEditBox.
  6947. (HideEditBox): if we have an active textbox, render it invisible
  6948. without causing a re-layout of the datagrid.
  6949. 2006-06-05 Mike Kestner <[email protected]>
  6950. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  6951. collection changes by resetting it to Items[0]. Fixes #78587.
  6952. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  6953. * MessageBox.cs: if the height of the text is larger than the icon_size,
  6954. use that. Fixes bug #78575.
  6955. 2006-06-05 Jackson Harper <[email protected]>
  6956. * TreeView.cs: Fix line drawing when scrolling. To do this each
  6957. node is basically responsible for drawing its entire horizontal
  6958. area. When drawing a node it draws its parent node lines if
  6959. needed.
  6960. - Adjust the clip area to the viewport rectangle
  6961. - Fix Left/Right key handling to match MS. (It expand/collapses
  6962. and moves to parents/first child but does not move selection to
  6963. sibling nodes).
  6964. - Fix SetTop to work with new bound calculation code
  6965. - When scrollbars are no longer needed we need to reset scrolling
  6966. vars and recalculate the visible order so the redraw is correct
  6967. * TreeNode.cs: We can't expand/collapse nodes with no children.
  6968. 2006-06-03 John Luke <[email protected]>
  6969. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  6970. so the colors work without dev packages
  6971. 2006-06-02 Peter Dennis Bartok <[email protected]>
  6972. * Control.cs
  6973. - Select: Implemented to just use activate. Seems to match MS
  6974. behaviour closest. Documented to only do actual control walking
  6975. based on it's parameters if in a container control so I moved
  6976. the code there.
  6977. - Removed selection check logic from our internal Select() method
  6978. * ContainerControl.cs:
  6979. - Select: Moved selection logic from Control here, since MS documents
  6980. that containers obey the bool arguments. No longer calling base
  6981. 2006-06-02 Jackson Harper <[email protected]>
  6982. * TreeView.cs: If the selected node isn't changed when we get
  6983. focus update the previously selected node so that we see the
  6984. selection box.
  6985. 2006-06-02 Mike Kestner <[email protected]>
  6986. * ComboBox.cs: restructure grab and general mouse event handling.
  6987. Make the composite control raise mouse events like it was a single
  6988. control for leaves/enters/motion/up/down events. fix dropdown list
  6989. coordinate mangling and refactor it into the scrollbar subclass to
  6990. reduce code duplication. Fixes #78282 #78361 and #78457.
  6991. 2006-06-02 Mike Kestner <[email protected]>
  6992. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  6993. automatically in the Control.WndProc.
  6994. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  6995. * FileDialog.cs: fix crash when running SharpChess, which sets the
  6996. FilterIndex to 2 with only one Filter.
  6997. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  6998. * ToolBar.cs: add SizeSpecified property.
  6999. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  7000. try to figure out our real size, otherwise fallback to what the
  7001. container says.
  7002. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7003. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  7004. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  7005. up the event
  7006. 2006-06-01 Mike Kestner <[email protected]>
  7007. * ListView.cs: revamp the focus management in ListView. It still
  7008. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  7009. better than not handling focus at all. Will revisit when pdb feels
  7010. the general focus handling is solid. Fixes #78526.
  7011. 2006-06-01 Jackson Harper <[email protected]>
  7012. * TreeView.cs: Set the default border style in the constructor.
  7013. - Move painting to use OnPaintInternal instead of capturing
  7014. WM_PAINT, this is the correct way of doing things
  7015. - UpdateBelow shouldn't invalidate the scrollbar area
  7016. - Cap the top on update below in case the node was above the top
  7017. of the viewport rectangle.
  7018. - ExpandBelow and Collapse below need to obey Begin/End Update.
  7019. * TreeNode.cs: Make is_expanded internal so the treenode
  7020. collection can change it without firing the whole event chain.
  7021. * TreeNodeCollection.cs: When clearing all the child nodes make
  7022. sure to recalc the visible order.
  7023. - Improve algo for remove the top node
  7024. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7025. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  7026. SendMessage directly calling window procedures, which in turn might
  7027. call SetFocus()
  7028. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7029. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  7030. has focus (works around X11 sending a FocusIn after our SetFocus)
  7031. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  7032. 2006-06-01 Alexander Olk <[email protected]>
  7033. * Mime.cs: Fix for the NET_2_0 build.
  7034. NameValueCollection needs StringComparer now.
  7035. 2006-05-31 Chris Toshok <[email protected]>
  7036. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  7037. return (via an out parameter) the starting X of the column.
  7038. (UpdateVisibleColumn): track change to FromPixelToColumn.
  7039. (HitTest): add a ColumnResize case here.
  7040. (DrawResizeLine): new function, probably poorly named.
  7041. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  7042. only need to keep one reference.
  7043. (set_ListManager): same.
  7044. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  7045. Also, add support for HitTestType.ColumnResize.
  7046. (OnMouseMove): add column resize behavior here, and change the
  7047. cursor to the correct one as we move around the datagrid.
  7048. (OnMouseUp): terminate the column resize if we're resizing.
  7049. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  7050. for the current cell.
  7051. (ConnectListManagerEvents): use cached_currencymgr.
  7052. (DisconnectListManagerEvents): fill this in, using
  7053. cached_currencymgr.
  7054. (SetCurrentCell): remove cached_currencymgr_events handling.
  7055. (SetDataMember): only call DisconnectListManagerEvents if
  7056. cached_currencymgr is != null.
  7057. (SetDataSource): same.
  7058. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  7059. cached_currencymgr.
  7060. 2006-05-31 Jackson Harper <[email protected]>
  7061. * BindingManagerBase.cs: Remove somedebug code that creeped into
  7062. SVN.
  7063. * TreeNode.cs: We get the indent level dynamically right now, so
  7064. don't track it as a member.
  7065. * TreeNodeCollection.cs: Make sure all nodes added to the list
  7066. have parents, treeviews/topnodes setup properly.
  7067. - Don't attempt to track indent level.
  7068. 2006-05-30 Jackson Harper <[email protected]>
  7069. * BindingContext.cs: Create the currency manager tables here.
  7070. This allows us to more easily create null tables (when bad data
  7071. members are used), and more easily create related currency
  7072. managers.
  7073. * CurrencyManager.cs: All the table creation stuff is done by the
  7074. binding context now.
  7075. - Current should throw an exception if listposition is -1.
  7076. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  7077. been bound yet.
  7078. 2006-05-30 Mike Kestner <[email protected]>
  7079. * ListView.cs: allow reexpansion of zero-width column headers.
  7080. Fixes #78528.
  7081. 2006-05-28 Chris Toshok <[email protected]>
  7082. * CurrencyManager.cs (get_Current): after the late binding
  7083. listposition = -1 fix, we need to guard against it here and return
  7084. null, otherwise we raise an exception (which is swallowed
  7085. elsewhere, and breaks datagrid databinding.)
  7086. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7087. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  7088. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  7089. 2006-05-26 Jackson Harper <[email protected]>
  7090. * ControlPaint.cs:
  7091. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  7092. values, it's faster and it's all we care about (we don't care if
  7093. the names aren't equal).
  7094. * KeyboardLayouts.cs: Eliminate some dead code.
  7095. - Lazy init things
  7096. * X11Keyboard.cs: Lazy init keyboard detection.
  7097. - Cleanup access modifiers a little.
  7098. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7099. * XplatUIX11.cs: Once again, attempting to get layout just right.
  7100. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7101. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  7102. the sizes of each link section, that will result in sizes that
  7103. match DrawString's layout (Fixes #78391)
  7104. 2006-05-27 Alexander Olk <[email protected]>
  7105. * FileDialog.cs: If AddExtension property is true autocomplete the
  7106. extensions in SaveFileDialog correctly. Fixes bug #78453.
  7107. Set MyNetwork and MyComputer to "C:\" for windows. This should
  7108. fix part 8 of bug #78446 for now.
  7109. 2006-05-26 Chris Toshok <[email protected]>
  7110. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  7111. invalidate the current row header if we need to, but presumably
  7112. we'll invalidate the row corrsponding to the bounds or
  7113. editingControl.
  7114. (GridHScrolled): switch back to this method, as it's part of the
  7115. public api. *sigh*.
  7116. (GridVScrolled): same.
  7117. (OnMouseWheel): hack up something that more or less works. Call
  7118. GridHScrolled/GridVScrolled directly, instead of duplicating much
  7119. of their code here.
  7120. (EnsureCellVisibility): reinstate a bunch of this code, since we
  7121. can't just set the scrollbar Value and expect to do all the work
  7122. in the ValueChanged handler. Also, Call Update() after scrolling
  7123. in one direction so the other XplatX11.ScrollWindow call has the
  7124. proper stuff in the proper places.
  7125. (EditCell): set is_editing to true before calling .Edit.
  7126. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  7127. don't bother comparing first.
  7128. (OnKeyPress): call grid.ColumnStartedEditing before calling
  7129. base.OnKeyPress. this will set is_changing and invalidate the row
  7130. header if necessary.
  7131. (ProcessKeyMessage): for WM_CHAR messages, call
  7132. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  7133. and WM_KEYDOWN.
  7134. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  7135. it's done in the DataGrid.
  7136. (NextState): call grid.ColumnStartedEditing, which takes care of
  7137. invalidating the row header (and setting is_changing).
  7138. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  7139. here. it's done in the DataGrid.
  7140. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7141. * Control.cs: allow changing the cursor when the mouse position is
  7142. out of bounds but Capture is set.
  7143. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  7144. linklabel but released somewhere else.
  7145. 2006-05-25 Jackson Harper <[email protected]>
  7146. * TreeView.cs: When we get focus if there is no selected node make
  7147. it the top node
  7148. - Remove some uneeded setup code from Draw.
  7149. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  7150. a new node is inserted make the new node the top.
  7151. * XplatUIX11.cs:
  7152. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  7153. be used (should be faster).
  7154. 2006-05-25 Chris Toshok <[email protected]>
  7155. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  7156. problem with the last commit.
  7157. 2006-05-25 Chris Toshok <[email protected]>
  7158. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  7159. need the invalidate call here, while scrolling right-to-left via
  7160. the left arrow key (i.e. moving the editing cell while scrolling).
  7161. * DataGrid.cs (.ctor): remove the initialization of
  7162. ctrl_pressed/shift_pressed. We no longer track them using key
  7163. up/down handlers, but by using Control.ModifierKeys. Also, switch
  7164. to using ValueChanged handlers on the scrollbars instead of
  7165. Scrolled event handlers. This simplifies a bunch of the scrolling
  7166. code.
  7167. (GridHValueChanged): rename from GridHScrolled, and change it to
  7168. work with the new event args.
  7169. (GridVValueChanged): same.
  7170. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  7171. (OnMouseWheel): actually scroll the datagrid. Don't change the
  7172. selected cell.
  7173. (ProcessGridKey): correct all the keyboard navigation stuff I
  7174. could find. Ctrl up/down/left/right/home/end work now.
  7175. (EnsureCellVisibility): correct method name spelling. Also,
  7176. simplify this a touch by not explicitly calling the
  7177. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  7178. scrollbar value.
  7179. (OnKeyUpDG): no need for this method now.
  7180. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7181. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  7182. Fixes bug #78392.
  7183. 2006-05-25 Chris Toshok <[email protected]>
  7184. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  7185. r61019.
  7186. 2006-05-25 Peter Dennis Bartok <[email protected]>
  7187. * Application.cs: Moved setting of is_modal and closing to before
  7188. we create the control, to allow the event handlers called as a
  7189. result of creation affect closing. Also removed Gonzalo's previous
  7190. change to setting DialogResult, the behaviour has been moved to
  7191. Form.ShowDialog()
  7192. * Form.cs:
  7193. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  7194. handle it instead
  7195. - ShowDialog(): If no dialog result is set, we need to return Cancel
  7196. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  7197. the close is cancelled
  7198. 2006-05-25 Jackson Harper <[email protected]>
  7199. * StatusBar.cs: We only need to update the sizes of the other
  7200. panels when we have auto size contents. Also we are only updating
  7201. the contents of the panel, not the borders, so compensate for the
  7202. border width (TODO: get this width from the theme somehow).
  7203. * TreeView.cs: Scrollable is true by default
  7204. - Use invalidate instead of refresh where needed
  7205. - Factor the scrollable value into scrollbar updating
  7206. - Update the scrollbars if the Scrollable property is altered
  7207. - Update the selected node if its ImageIndex is changed
  7208. - Handle null nodes in UpdateNode (mainly so we don't have to
  7209. check if selected is null when updating it
  7210. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  7211. are factored into the visible count
  7212. - Use VisibleCount for clarity in the code
  7213. - When the font is changed we need to recurse through all the
  7214. nodes and invalidate their sizes
  7215. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7216. * Application.cs: set the DialogResult to fixed when the main form is
  7217. hidden or destroyed while being modal.
  7218. 2006-05-25 Miguel de Icaza <[email protected]>
  7219. * Theme.cs: Use Tangoified messagebox icons.
  7220. (GetSizedResourceImage): Also cope with width = 0 and do not
  7221. trigger a warning in that case (0 means "give me your icon from
  7222. the resouce, no special size needed).
  7223. 2006-05-25 Peter Dennis Bartok <[email protected]>
  7224. * Application.cs: Leave runloop if the the main modal form is
  7225. hidden (fixes #78484)
  7226. 2006-05-25 Atsushi Enomoto <[email protected]>
  7227. * BindingContext.cs : reject null datasource in Contains() and
  7228. Item[].
  7229. * CurrencyManager.cs : check data_member validity when data_source
  7230. is dataset. When it is late binding, the initial position is -1.
  7231. 2006-05-24 Jackson Harper <[email protected]>
  7232. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  7233. inserted nodes that aren't visible. This changes the
  7234. max_visible_order which confuses scrollbar settings.
  7235. - Use the enumerator to get the prev node instead of duplicating
  7236. code.
  7237. * TreeView.cs: Use new method for setting scrollbar values
  7238. - Don't set the bounds every time the scrollbar is updated
  7239. - When updating below the root node use an invalidate instead of a
  7240. refresh to prevent the child controls (scrollbars) from being
  7241. refreshed. (UpdateBelow still needs to be reworked anyways).
  7242. - Reenable SetBottom now that visible orders are set correctly,
  7243. added some debug code incase we ever get bad values there again.
  7244. - Set the scrollbar max to 2 less then the max value, this
  7245. compensates for the max value being one above the node count, and
  7246. for scrollbars adding one extra "notch".
  7247. - When drawing image nodes if there is an imagelist we draw the
  7248. first image in the list if the supplied image index is out of the
  7249. image list's bounds.
  7250. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7251. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  7252. we receive a size change from the WM (Fixes #78503)
  7253. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7254. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  7255. rectangle (Fixes #78501)
  7256. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7257. * ButtonBase.cs:
  7258. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  7259. as a bitfield.
  7260. - Fixed MouseMove to no longer switch pressed state unless the left
  7261. mouse button is pressed. Atsushi provided the original patch (#78485)
  7262. 2006-05-24 Jackson Harper <[email protected]>
  7263. * ScrollBar.cs: New internal methods that allow us to change a
  7264. couple values on the scrollbar (the most common case is maximum
  7265. and large change) without getting multiple invalidates.
  7266. 2006-05-24 Chris Toshok <[email protected]>
  7267. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  7268. (Edit): save off the original state in oldState, and set
  7269. grid.is_editing to true.
  7270. (OnKeyDown): abort editing if escape is pressed. also, call
  7271. NextState if space is pressed.
  7272. (OnMouseDown): call NextState.
  7273. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  7274. here. Also, only invalidate the row header once (on the initial
  7275. is_changing switch) to save on redraws.
  7276. 2006-05-24 Chris Toshok <[email protected]>
  7277. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  7278. if the value in the cell is different than it was before. This
  7279. keeps us from triggering a layout when we move around a datarid
  7280. with a highlighted cell.
  7281. (Edit): suspend layout when creating/positining the text box, and
  7282. resume passing false so we don't ever actually re-layout.
  7283. (ReleaseHostedControl): same.
  7284. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  7285. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  7286. control-key sequences should go to the datagrid - remove that
  7287. lock. Also, modify the conditions under which we move between
  7288. cells when moving the cursor within a cell, and remove the "this"
  7289. and "base" from field accesses. We weren't even consistent, given
  7290. they all were in the base class.
  7291. 2006-05-24 Atsushi Enomoto <[email protected]>
  7292. * Binding.cs : (.ctor)
  7293. An obvious NRE fix for BindingTest.CtorNullTest().
  7294. 2006-05-23 Chris Toshok <[email protected]>
  7295. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  7296. them between lines. This fixes some quirks editing cells in the
  7297. datagrid.
  7298. 2006-05-23 Jackson Harper <[email protected]>
  7299. * TreeView.cs: Use begin/end update when doing expand/collapse all
  7300. so that we don't get flicker on the scrollbar.
  7301. 2006-05-23 Jackson Harper <[email protected]>
  7302. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  7303. treenode calculations to be independant of the painting code. To
  7304. do this nodes track a visible order which is calculated by the
  7305. treeview.
  7306. - Call new methods for expanding/collapsing nodes. These methods
  7307. use scrollwindow so we don't have to update everything below the
  7308. node.
  7309. * TreeView.cs: Refactored drawing and scrolling code. We don't
  7310. need to update nodes when drawing anymore or calculate scrollbar
  7311. stuff.
  7312. - Added new methods for expanding/collapsing nodes. These methods
  7313. use ScrollWindow so as to not have to redraw all the nodes below.
  7314. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  7315. we add/remove nodes or sort.
  7316. - Handle removing the selected and the top node properly.
  7317. 2006-05-23 Chris Toshok <[email protected]>
  7318. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  7319. maybe this should actually happen in the datagrid code?
  7320. (EndEdit): no need to invalidate anything, given that
  7321. ReleaseHostedControl causes the datagrid to relayout, which
  7322. invalidates everything anyway.
  7323. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  7324. in SetCurrentCell).
  7325. (set_SelectionBackColor): call InvalidateSelection instead of
  7326. Refresh.
  7327. (set_SelectionForeColor): same.
  7328. (BeginEdit): Flesh this out a bit.
  7329. (CancelEditing): only do any of this if we're editing/adding.
  7330. (EndEdit): same.
  7331. (OnMouseDown): there's no need to cancel editing here, it's done
  7332. in SetCurrentCell.
  7333. (SetCurrentCell): only invalidate the current row header if it's a
  7334. different row than the new one.
  7335. (ShiftSelection): fix this to work like MS does.
  7336. (ResetSelection): factor out the invalidation of selected_rows to
  7337. InvalidateSelection.
  7338. (SetDataSource): cancel any editing that's going on.
  7339. * DataGridColumnStyle.cs
  7340. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  7341. call the non-interface version.
  7342. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  7343. header rectangle with the clip rectangle so we don't redraw the
  7344. entire header for just a small area. Gets rid of the last flicker
  7345. when horizontally scrolling.
  7346. (DataGridPaintRow): same.
  7347. 2006-05-23 Mike Kestner <[email protected]>
  7348. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  7349. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  7350. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  7351. Critical bug report.
  7352. 2006-05-23 Peter Dennis Bartok <[email protected]>
  7353. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  7354. and this fixes #78493
  7355. 2006-05-23 Miguel de Icaza <[email protected]>
  7356. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  7357. size is not found.
  7358. * FileDialog.cs: Do not change the background for the side bar as
  7359. it wont work nicely with the theme, and also reduces the artifacts
  7360. in rendering the icons (which I want to fix too).
  7361. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  7362. resources, not resgen resources.
  7363. (PlatformDefaultHandler): Pull images using the new API.
  7364. 2006-05-23 Peter Dennis Bartok <[email protected]>
  7365. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  7366. a reference to the hwnd and will not remove it unless there are
  7367. no pending exposures (fixes #78341)
  7368. * XplatUI.cs: Improved debug
  7369. 2006-05-23 Atsushi Enomoto <[email protected]>
  7370. * MenuAPI.cs : don't handle OnClick event when it was not the left
  7371. button. Fixed bug #78487.
  7372. 2006-05-23 Mike Kestner <[email protected]>
  7373. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  7374. prefer submenus to the top menu for item lookup, to avoid popping down
  7375. top-row items.
  7376. 2006-05-23 Alexander Olk <[email protected]>
  7377. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  7378. Graphics.FillRectangle as the visual results are really bad (even
  7379. on win). We now draw perfect arrows (and perfect shadows when the
  7380. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  7381. Pen.DashPattern to draw the dots of each line.
  7382. 2006-05-22 Alexander Olk <[email protected]>
  7383. * FileDialog.cs: Update the filename combobox when navigating through
  7384. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  7385. 2006-05-22 Mike Kestner <[email protected]>
  7386. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  7387. Fixes #78463.
  7388. 2006-05-22 Mike Kestner <[email protected]>
  7389. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  7390. requests. Fix a misspelled parameter and a copy paste exception error
  7391. in Select.
  7392. 2006-05-22 Peter Dennis Bartok <[email protected]>
  7393. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  7394. to get the same width/height (5/13) on X11 as the default font has on
  7395. win32. This means that our DefaultFont emSize is smaller than the
  7396. the MS SWF equivalent (even thought the width/height stays the same)
  7397. 2006-05-20 Jackson Harper <[email protected]>
  7398. * MdiClient.cs:
  7399. * MdiWindowManager.cs:
  7400. * InternalWindowManager.cs: Make sure to use the border width from
  7401. the theme.
  7402. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  7403. * PrintDialog.cs: Implements printer details
  7404. 2006-05-19 Alexander Olk <[email protected]>
  7405. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  7406. Fixes part 1 and 2 of bug #78446
  7407. 2006-05-19 Peter Dennis Bartok <[email protected]>
  7408. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  7409. instead of sticking to the first ever calculated value
  7410. 2006-05-19 Mike Kestner <[email protected]>
  7411. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  7412. PointToClient, since Capture is set. Fixes #78344.
  7413. 2006-05-19 Mike Kestner <[email protected]>
  7414. * ListView.cs: match MS behavior in Details view where items are not
  7415. drawn if Columns.Count == 0.
  7416. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  7417. Use a separate pen to draw the check, since changing the width affects
  7418. the box as well. Fixes #78454.
  7419. 2006-05-18 Miguel de Icaza <[email protected]>
  7420. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  7421. exception should throw the name of the invalid argument.
  7422. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  7423. there are no files listed.
  7424. 2006-05-18 Jackson Harper <[email protected]>
  7425. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  7426. up.
  7427. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7428. * Control.cs: Brought back our old UpdateZOrder method as a private
  7429. function and switched our calls from UpdateZOrder to the new one.
  7430. This fixes the Paint.Net canvas disappearing bug.
  7431. 2006-05-18 Jackson Harper <[email protected]>
  7432. * Theme.cs:
  7433. * ThemeWin32Classic.cs:
  7434. * InternalWindowManager.cs: Move the drawing into the theme,
  7435. expose everything the theme should need from the window manager.
  7436. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7437. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  7438. from the call to NativeWindow to avoid walking up the parent chain
  7439. further than needed (speeds up setting cursors and avoids setting
  7440. the wrong cursor if a parent has another cursor defined)
  7441. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  7442. the icon as hotspot, not what's contained as hotspot in the icon
  7443. file. This fixes the perceived drawing offset seen with Paint.Net
  7444. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7445. * XplatUIX11.cs:
  7446. - Store the calculated rectangle in Hwnd object and use it when
  7447. setting the client size
  7448. - Force Toolwindows to always be type Dock, to ensure they're on top
  7449. 2006-05-18 Mike Kestner <[email protected]>
  7450. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  7451. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  7452. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  7453. Substantial refactoring to remove confusing nested classes. Coding
  7454. standard and Get+Set->property refactorings. Shift to index based
  7455. highlighting in ComboListBox instead of constantly using IndexOf and
  7456. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  7457. in FileDialog growth. Draw borders manually since Simple mode needs
  7458. to look like two independent controls. Make listbox border
  7459. conditional to DropDownStyle. Improved OwnerDraw support.
  7460. 2006-05-18 Sebastien Pouliot <[email protected]>
  7461. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  7462. Don't set the disposed graphics to null, so we can throw the "right"
  7463. exception if the graphics is reused later (added a flag to avoid
  7464. double disposing). Some behaviours are different under 2.0 and are
  7465. filled under bug #78448.
  7466. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7467. * Control.cs: When double-buffering is enabled, we need to reset
  7468. our graphics context between paint calls. Otherwise, any
  7469. transformations and other alterations on the context will
  7470. become cumulative (#77734)
  7471. 2006-05-18 Mike Kestner <[email protected]>
  7472. * ListView.cs: do focused item selection like MS on clicks.
  7473. Rework focus handling for ItemControl so LostFocus invalidates as
  7474. well.
  7475. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  7476. the ListView ItemControl has focus.
  7477. 2006-05-17 Peter Dennis Bartok <[email protected]>
  7478. * XplatUIX11.cs: If client_window ends up being width or height zero
  7479. due to border settings, move it off window inside whole_window (#78433)
  7480. 2006-05-17 Alexander Olk <[email protected]>
  7481. * Mime.cs: Shrink the mime file cache correctly.
  7482. 2006-05-17 Alexander Olk <[email protected]>
  7483. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  7484. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7485. * XplatUIX11.cs (AddExpose): More sanity checks
  7486. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7487. * XplatUIX11.cs:
  7488. - AddExpose: Don't add expose ranges outside the size of our
  7489. window
  7490. - Cast opacity values to Int32 to avoid crashes with certain
  7491. values
  7492. - Added disabled code paths that protect against illegal cross-
  7493. thread painting (Developers.exe)
  7494. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7495. * ProgressBar.cs: Invalidate the control when it's resized
  7496. since block size is based on control size. (#78388)
  7497. 2006-05-16 Miguel de Icaza <[email protected]>
  7498. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  7499. of setting the incoming argument to the "reset" value, we set the
  7500. this.datamember to string.empty (before we were invalidating the
  7501. incoming data).
  7502. Fixes 78420
  7503. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7504. * Form.cs: Only apply transparency settings after the form
  7505. is created. (Fixes #77800)
  7506. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7507. * ApplicationContext.cs: Grab the HandleDestroyed event so
  7508. we know when to fire OnMainFormClosed
  7509. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7510. * Application.cs: Introduced sub-class to allow tracking of
  7511. threads and centralized triggering of the event mess for
  7512. ThreadExit, AppExit, etc.. (#76156)
  7513. 2006-05-16 Alexander Olk <[email protected]>
  7514. * MimeIcon.cs:
  7515. - Do not return a null icon index value for a mime subclass.
  7516. Instead try the main mime type class too.
  7517. - Seems that some newer distributions don't have a link to some
  7518. gnome default icons anymore. So check the default gnome dir too.
  7519. 2006-05-16 Jackson Harper <[email protected]>
  7520. * MdiClient.cs: Don't paint the parent background image if we have
  7521. our own background image.
  7522. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7523. * Control.cs:
  7524. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  7525. controls, all filled controls are supposed to overlap (#78080)
  7526. - UpdateZOrder is supposed to update the control's z-order in the
  7527. parent's z-order chain. Fixed to behave like that
  7528. - BringToFront: Removed obsolete code
  7529. - SendToBack: Simplyfied
  7530. - SetChildIndex: Trigger layout calculations when Z-order changes
  7531. since layout is done by z-order
  7532. 2006-05-16 Chris Toshok <[email protected]>
  7533. [ fixes bug #78410 ]
  7534. * DataGrid.cs (set_AlternatingBackColor): use
  7535. grid_drawing.InvalidateCells instead of Refresh().
  7536. (set_BackColor): call grid_drawing.InvalidateCells.
  7537. (set_BackgroundColor): use Invalidate instead of Refresh.
  7538. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  7539. invalidate the cell area.
  7540. 2006-05-15 Chris Toshok <[email protected]>
  7541. [ fixes bug #78011 ]
  7542. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  7543. on to DataGridPaintRow.
  7544. (DataGridPaintRow): take a clip argument, and only draw the cells
  7545. which intersect it. same with the not_usedarea.
  7546. * Theme.cs (DataGridPaintRow) add @clip parameter.
  7547. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  7548. XplatUI.ScrollWindow.
  7549. (ScrollToRow): same.
  7550. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  7551. with last column which was causing a gray swath to appear with the
  7552. XplatUI.ScrollWindow code.
  7553. 2006-05-15 Chris Toshok <[email protected]>
  7554. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  7555. use XplatUI.ScrollWindow.
  7556. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  7557. 2006-05-15 Peter Dennis Bartok <[email protected]>
  7558. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  7559. 2006-05-15 Peter Dennis Bartok <[email protected]>
  7560. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  7561. file since there are no equivalent X11 cursors
  7562. 2006-05-15 Atsushi Enomoto <[email protected]>
  7563. * MonthCalendar.cs : DateTimePicker should reflect selected date
  7564. on mouse*up*, not mouse*down*. Fixed originally reported part of
  7565. bug #76474.
  7566. 2006-05-15 Atsushi Enomoto <[email protected]>
  7567. * TabControl.cs : When argument index is equal or more than tab
  7568. count, just ignore. Fixed bug #78395.
  7569. 2006-05-15 Peter Dennis Bartok <[email protected]>
  7570. * Control.cs: Dispose all child controls when control is diposed (#78394)
  7571. 2006-05-14 Alexander Olk <[email protected]>
  7572. * ColorDialog.cs: Finally it is possible to select the color with
  7573. the text boxes
  7574. 2006-05-14 Alexander Olk <[email protected]>
  7575. * PrintDialog.cs: Fix typo
  7576. 2006-05-14 Alexander Olk <[email protected]>
  7577. * PrintDialog.cs: PrintDialog is not resizable
  7578. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  7579. color. Made some ToolBar drawing methods protected virtual.
  7580. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  7581. * PrintDialog.cs: Implementation of the PrintDialog
  7582. 2006-05-12 Chris Toshok <[email protected]>
  7583. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  7584. thumb, instead use MoveThumb. This has the side effect of making
  7585. most of the other thumb moving machinery use MoveThumb as well.
  7586. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  7587. need to actually invalidate the rectangle where the new thumb will
  7588. go.
  7589. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  7590. We force an Update() after, so it's not as fast as it could be,
  7591. but at least there's zero flicker and no droppings.
  7592. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  7593. (UpdateThumbPos): add another argument (dirty), which says whether
  7594. or not to calculate/add dirty regions which we later invalidate.
  7595. For cases where we know we're going to use MoveThumb, we pass
  7596. false for this. Otherwise, pass true.
  7597. 2006-05-12 Jackson Harper <[email protected]>
  7598. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  7599. the status bar.
  7600. 2006-05-12 Peter Dennis Bartok <[email protected]>
  7601. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  7602. and GetClipRegion methods and UserClipWontExposeParent property.
  7603. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  7604. overriding UserClipWontExposeParent property, setting to false, since
  7605. Win32 handles the required expose messages to draw our clipped parent
  7606. areas internally
  7607. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  7608. PaintEventStart to set the user clip region if set.
  7609. * Control.cs:
  7610. - Now internally tracking the Region for the control since we need to
  7611. store it if the handle is not yet created and only set it when it
  7612. becomes created. Before setting the region forced handle creation
  7613. - Added code to draw the parents underneath a user-clipped region
  7614. * Hwnd.cs: Added UserClip property
  7615. 2006-05-12 Chris Toshok <[email protected]>
  7616. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  7617. (set_Maximum): same.
  7618. (set_Minimum): same.
  7619. (set_SmallChange): same.
  7620. (OnMouseUpSB): remove the call to refresh when releasing the
  7621. thumb. We shouldn't need it.
  7622. 2006-05-12 Miguel de Icaza <[email protected]>
  7623. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  7624. AutoSize set to None, we do not need to relayout everything, we
  7625. just need to invalidate the current region.
  7626. (Draw): Do not draw the entire ClientArea, just redraw the
  7627. clip area being passed.
  7628. * MdiClient.cs: Make MdiClient constructor with the Form argument
  7629. internal.
  7630. 2006-05-12 Jackson Harper <[email protected]>
  7631. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  7632. parents background image, but strangely not their own.
  7633. - (DrawStatusBarPanel): Take into account horizontal alignment
  7634. when drawing the strings and icons.
  7635. 2006-05-12 Mike Kestner <[email protected]>
  7636. * ListBox.cs: avoid invalidations for focus when the collection is
  7637. empty.
  7638. 2006-05-12 Chris Toshok <[email protected]>
  7639. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  7640. invalidate the entire thumb area. Call InvalidateDirty which
  7641. limits the redraw to the thumb itself and surrounding pixels.
  7642. * XplatUIX11.cs (ScrollWindow): optimize copying.
  7643. 2006-05-12 Chris Toshok <[email protected]>
  7644. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  7645. Figure out the positioning/layout in a single pass instead of
  7646. multiple recursive invocations. Speeds up the initial display of
  7647. the data grid. Also, make many things private that were
  7648. originally public but unused outside this class.
  7649. 2006-05-11 Jackson Harper <[email protected]>
  7650. * MdiClient.cs: Improved layout code.
  7651. 2006-05-11 Jonathan Chambers <[email protected]>
  7652. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  7653. not SelectedObject.
  7654. 2006-05-11 Chris Toshok <[email protected]>
  7655. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  7656. union of that will always be {0,0,width,height}.
  7657. 2006-05-11 Jackson Harper <[email protected]>
  7658. * Form.cs: Match MS's DefaultSize for forms (they must have
  7659. changed the size in sp2).
  7660. 2006-05-11 Atsushi Enomoto <[email protected]>
  7661. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  7662. 2006-05-11 Atsushi Enomoto <[email protected]>
  7663. * TextControl.cs : Fixed bug #78109. This incorrect position
  7664. comparison caused crash on automatic line split.
  7665. * TextBoxBase.cs : reduce duplicate code.
  7666. 2006-05-10 Jackson Harper <[email protected]>
  7667. * MdiClient.cs: Active form is only sent to the back when using
  7668. the Next form functionality, when a form is clicked the current
  7669. active shouldn't be sent to the back.
  7670. - Layout the mdi windows when the container is first made visible.
  7671. * Form.cs: Give the MdiClient a ref to the containing form when we
  7672. create it.
  7673. 2006-05-10 Atsushi Enomoto <[email protected]>
  7674. * LinkLabel.cs : link_font could be uninitialized, so populate one
  7675. before actual use. Fixed bug #78340.
  7676. 2006-05-10 Atsushi Enomoto <[email protected]>
  7677. * XplatUIX11.cs : clipboard format native value is IntPtr.
  7678. Fixed bug #78283.
  7679. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7680. * Control.cs:
  7681. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  7682. which is passed up the parent chain by DefWndProc
  7683. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  7684. to DefWndProc (#77956)
  7685. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  7686. 2006-05-10 Jackson Harper <[email protected]>
  7687. * MdiClient.cs: We need to remove the controls from the mdi
  7688. collection, when we close the window.
  7689. * MdiWindowManager.cs: Special handling of closing mdi windows.
  7690. * InternalWindowManager.cs: Make the close method virtual so the
  7691. mdi window manager can handle it specially.
  7692. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  7693. * DataGrid.cs:
  7694. - Recalculate grid when the data source has changed
  7695. - Matches styles provided by user from all data sources types
  7696. * DataGridTableStyle.cs: For columns that provided by the user set the
  7697. with the preferred value is there was unassigned.
  7698. * CurrencyManager.cs: throw OnItemChanged event
  7699. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7700. * PictureBox.cs: Don't animate until handle is created. Start animation
  7701. when handle is created.
  7702. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7703. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  7704. current codebase.
  7705. * XEventQueue.cs: We don't need to provide the extra info
  7706. 2006-05-10 Jackson Harper <[email protected]>
  7707. * MdiClient.cs: If the mdi clients parent form has a background
  7708. image set, we draw that background image for the mdi area's
  7709. background.
  7710. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7711. * TextBoxBase.cs: Set IBeam cursor (#78347)
  7712. 2006-05-10 Mike Kestner <[email protected]>
  7713. * ToolBar.cs: fix some text padding issues with ButtonSize
  7714. calculation. Update the default size to match MS documentation.
  7715. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  7716. button size. Fixes #78296.
  7717. 2006-05-10 Mike Kestner <[email protected]>
  7718. * ListBox.cs: use is_visible for scrollbar positioning in case the
  7719. control isn't on screen yet. Fix off by one with Right vs Width
  7720. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  7721. 2006-05-10 Jackson Harper <[email protected]>
  7722. * X11Dnd.cs: Drop to a control with another control on top of it.
  7723. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  7724. be modified in click handlers. TODO: Look for similar problems in
  7725. other controls.
  7726. 2006-05-09 Jackson Harper <[email protected]>
  7727. * Form.cs: Window managers need the old window state when setting
  7728. window state now.
  7729. * InternalWindowManager.cs: Allow the base mdi window manager to
  7730. handle more of the MDI only stuff (like maximize buttons).
  7731. * MdiWindowManager.cs: Fix some snafus in changing the window
  7732. state. Add all the menu functionality, for both popup and
  7733. maximized menus.
  7734. * MdiClient.cs: When a new form is selected the currently
  7735. activated form is sent to the back, this matches MS.
  7736. - Implement a new method to activate the next mdi child window.
  7737. 2006-05-08 Peter Dennis Bartok <[email protected]>
  7738. * Control.cs:
  7739. - Added new InternalCapture method to allow controls to prevent
  7740. the capture behaviour on the click handlers
  7741. - Switched to use InternalCapture
  7742. * ComboBox.cs:
  7743. - Using InternalCapture to prevent mouse captures from being released
  7744. on mouse button release (Fixes #78100)
  7745. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  7746. returns Form borders if a caption is present. (Fixes #78310)
  7747. 2006-05-08 Peter Dennis Bartok <[email protected]>
  7748. * TreeNode.cs: Changed serialization .ctor to not require every field
  7749. to be present. (#78265)
  7750. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  7751. 2006-05-05 Alexander Olk <[email protected]>
  7752. * MimeIcon.cs: for is faster than foreach for strings.
  7753. 2006-05-05 Mike Kestner <[email protected]>
  7754. * CheckedListBox.cs: update check handling code to not use selected.
  7755. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  7756. behavior for visual feedback, motion response, shift/ctrl handling,
  7757. and properly deal with all 4 selection modes. Updates to bounds
  7758. handling logic. Add scroll wheel support. [Fixes #77842]
  7759. 2006-05-05 Peter Dennis Bartok <[email protected]>
  7760. * ListView.cs:
  7761. - Moved adding of Implicit controls into .ctor. That way, subsequent
  7762. creation of the controls will not cause them to think they are
  7763. toplevel windows (fixes #78200 header problem)
  7764. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  7765. - Switched visibility setting of header control to use internal field
  7766. to avoid triggering handle creation
  7767. - Now checking if handle is created before causing a refresh when items
  7768. are added (This makes us now match handle creation time with MS)
  7769. * Splitter.cs: Removed loading of private splitter cursor, switched to
  7770. Cursors version now that that is loading the right ones
  7771. * Cursors.cs: Load proper splitter cursors from resources
  7772. * Cursor.cs: Added second method of loading resource cursors for the
  7773. VS.Net users amongst us
  7774. 2006-05-05 Mike Kestner <[email protected]>
  7775. * ListView.cs: give header_control a minimum size based on the
  7776. ListView size.
  7777. 2006-05-05 Peter Dennis Bartok <[email protected]>
  7778. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  7779. window seems to do that with metacity, so set that type. (#78120)
  7780. 2006-05-05 Mike Kestner <[email protected]>
  7781. * ListViewItem.cs: fix Details mode checkbox layout bug.
  7782. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  7783. at the end of the header, if it exists. [Fixes for #78200]
  7784. 2006-05-04 Jackson Harper <[email protected]>
  7785. * MdiClient.cs: Add a helper property to get the container form.
  7786. * MdiWindowManager.cs: We have to make sure to use the menu origin
  7787. when drawing the icons and buttons, this fixes maximized window
  7788. icons/buttons on win32.
  7789. * InternalWindowManager.cs: Reset the restore captions when a
  7790. window goes from Maximized to Minimized and vice versa. Move the
  7791. DrawMaximizedButtons into the MdiWindowManager source, tool
  7792. windows can't be maximized. NOTE: This could use a little
  7793. refactoring if time ever permits.
  7794. 2006-05-03 Jonathan Chambers <[email protected]>
  7795. * TextBox.cs: Add MWFCategoryAttributes
  7796. * TextBoxBase.cs: Add MWFCategoryAttributes
  7797. * Form.cs: Add MWFCategoryAttributes
  7798. 2006-05-03 Jonathan Chambers <[email protected]>
  7799. * Control.cs: Add MWFCategoryAttributes
  7800. * ScrollableControl.cs: Add MWFCategoryAttributes
  7801. 2006-05-03 Alexander Olk <[email protected]>
  7802. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  7803. Divider is true. Fix a little glitch in PropertyToolBar
  7804. drawing code
  7805. 2006-05-02 Peter Dennis Bartok <[email protected]>
  7806. * Control.cs:
  7807. - Dispose: Call base.Dispose, this causes the disposed event
  7808. to be fired (and probably other, more important stuff)
  7809. - SetVisibleCore: Set is_visible to true after creating the
  7810. window so that the window still gets created invisible (if
  7811. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  7812. to generate a WM_ACTIVE message
  7813. * Form.cs: Call Dispose when we want to destroy the window, instead of
  7814. just destroying the handle (Dispose will do that for us)
  7815. * XplatUIX11.cs:
  7816. - RootWindow also needs a queue, so we can properly process the
  7817. property change events from RootWindow (like Activate)
  7818. - Generatic synthetic WM_ACTIVE message when the active window is
  7819. being destroyed
  7820. 2006-05-01 Peter Dennis Bartok <[email protected]>
  7821. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  7822. bounds are changed
  7823. 2006-05-01 Peter Dennis Bartok <[email protected]>
  7824. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  7825. for determining width and height (image might not be assigned if
  7826. we're drawing an imagelist)
  7827. 2006-05-01 Peter Dennis Bartok <[email protected]>
  7828. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  7829. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  7830. height from system
  7831. * Theme.cs: No longer returns hardcoded menu height, instead calls
  7832. new driver method
  7833. * Form.cs (OnLoad): Scaling happens before triggering Load events
  7834. on MS (# 78257)
  7835. 2006-05-01 Mike Kestner <[email protected]>
  7836. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  7837. 2006-04-30 Peter Dennis Bartok <[email protected]>
  7838. * TextBoxBase.cs: Removed Fixme
  7839. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  7840. 2006-04-30 Peter Dennis Bartok <[email protected]>
  7841. * XplatUIX11.cs:
  7842. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  7843. the rectangle relative to the parent, considering borders. We
  7844. don't really want that.
  7845. - ScrollWindow: Fixed warning to be more understandable
  7846. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  7847. scrollbars and scroll only the visible area
  7848. * RichTextBox.cs: Removed debug output
  7849. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7850. * NumericUpDown.cs (Text): Just use base
  7851. * UpDownBase.cs: Ensure txtView is created before using it
  7852. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7853. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  7854. casting to IntPtr to avoid 64bit overflow errors
  7855. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7856. * Control.cs:
  7857. - AllowDrop: Don't force handle creation.
  7858. - CreateHandle: Added call to tell driver if we're allowed to drop
  7859. 2006-04-27 Alexander Olk <[email protected]>
  7860. * FileDialog.cs: Remember the last directory not only for the
  7861. current instance but also for new FileDialog instances.
  7862. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7863. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  7864. broke sending async messages
  7865. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7866. * XplatUIX11.cs:
  7867. - ScrollWindow: Fixed method. We finally generate expose events again
  7868. for scrolled areas. This was causing 'garbage' when scrolling
  7869. textbox and other controls that used ScrollWindow
  7870. - Switched from using the regular queue for paint events to the MS
  7871. model of 'generating' paint events when the queue is empty.
  7872. We use the new XQueueEvent.Paint subclass to store which windows
  7873. need painting.
  7874. - AddExpose now takes the x/y/width/height of the exposed area
  7875. and inserts the window into the paint queue if not already there
  7876. - InvalidateWholeWindow: Switched to use new AddExpose method
  7877. - UpdateMessageQueue: Added which queue to monitor for paint events
  7878. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  7879. the unlikely case nothing above handles it. We reset the expose
  7880. pending states to get them off the queue.
  7881. - GetMessage: Now pulls a paint event if no other events are in the
  7882. queue
  7883. - Invalidate: Switched to new AddExpose method
  7884. - PeekMessage: Updated to understand pending paint events
  7885. - UpdateWindow: Fixed logic bug. We were only updating if the window
  7886. didn't need updating. Also switched to sending WM_PAINT directly,
  7887. like MS does.
  7888. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  7889. and random access Remove(). The random access is needed to handle
  7890. UpdateWindow() where a WM_PAINT is sent directly without accessing
  7891. the queue.
  7892. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  7893. allow for better feedback when scrolling. Scrollbars are small and
  7894. the immediate update should make it 'feel' more responsive without
  7895. slowing things down. ScrollBar still needs it's invaliate logic
  7896. updated to not always invalidate the whole bar on certain changes.
  7897. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  7898. * Control.cs:
  7899. (BackColor): if the control does not support a transparent background,
  7900. return the default backcolor when the parent backcolor is transparent.
  7901. 2006-04-28 Peter Dennis Bartok <[email protected]>
  7902. * Application.cs: Updated to new StartLoop/GetMessage API
  7903. * RichTextBox.cs: Provide some output on RTF parsing errors
  7904. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  7905. new queue_id argument to GetMessage and PeekMessage to allow faster
  7906. handling of per-thread queues in drivers.
  7907. * Hwnd.cs: Added Queue tracking and property
  7908. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  7909. * XEventQueue.cs: Added thread trackingA
  7910. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  7911. * XplatUIX11.cs:
  7912. - Implemented new per-thread queue
  7913. - GetMessage: Fixed return/break behaviour on several cases. We were
  7914. returning stale messages in some cases, instead of just processing
  7915. the next message
  7916. 2006-04-27 Jonathan Chambers <[email protected]>
  7917. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  7918. 2006-04-27 Peter Dennis Bartok <[email protected]>
  7919. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  7920. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  7921. 2006-04-27 Jonathan Chambers <[email protected]>
  7922. * PropertyGridView.cs: Fix drop down width.
  7923. 2006-04-27 Alexander Olk <[email protected]>
  7924. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  7925. a mess in DrawToolBar, so I removed one of them.
  7926. 2006-04-27 Alexander Olk <[email protected]>
  7927. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  7928. needed (clip). Otherwise we get artifacts.
  7929. 2006-04-26 Peter Dennis Bartok <[email protected]>
  7930. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  7931. dimension is fixed
  7932. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  7933. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  7934. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  7935. if it matches the scale base font (avoids unneeded scaling)
  7936. 2006-04-26 Alexander Olk <[email protected]>
  7937. * X11DesktopColors.cs: One gtk_init_check should be enough
  7938. 2006-04-26 Peter Dennis Bartok <[email protected]>
  7939. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  7940. match MS behaviour
  7941. 2006-04-26 Peter Dennis Bartok <[email protected]>
  7942. * TextBoxBase.cs:
  7943. - Generate OnTextChanged for Backspace even if we're only deleting
  7944. the current selection
  7945. - When setting the Text property, only select all text if the
  7946. control does not have focus when it is being set. Otherwise
  7947. just place the cursor at the beginning of the control
  7948. 2006-04-26 Alexander Olk <[email protected]>
  7949. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  7950. Added a little helper to draw PropertyGrid ToolBar with a different
  7951. border and a different BackColor.
  7952. * PropertyGrid.cs: Some background parts didn't get painted with the
  7953. correct background color. Added a class that helps us to draw the
  7954. correct border for PropertyGridView and a class that helps us to
  7955. draw ToolBars with a different backcolor
  7956. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  7957. 2006-04-25 Jonathan Chambers <[email protected]>
  7958. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  7959. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  7960. 2006-04-25 Peter Dennis Bartok <[email protected]>
  7961. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  7962. into the palette entries. Also, since we're working on a copy
  7963. we needed to copy the palette back onto the bitmap.
  7964. * Cursor.cs: Same fix as XplatUIWin32.cs.
  7965. 2006-04-25 Peter Dennis Bartok <[email protected]>
  7966. * ImageListStreamer.cs: Need to read the var (or we're off)
  7967. 2006-04-25 Peter Dennis Bartok <[email protected]>
  7968. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  7969. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  7970. TextBoxBase.cs: Unused var fixes
  7971. * AxHost.cs: Small 2.0 fix
  7972. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  7973. as it seems that is what at least Metacity expects. This will make
  7974. icons show up on 64bit platforms. We still have some 64bit size
  7975. issues, though, since the startup app window size still won't match.
  7976. 2006-04-25 Mike Kestner <[email protected]>
  7977. * *.cs: cleanup newly reported exception var unused warnings.
  7978. 2006-04-25 Alexander Olk <[email protected]>
  7979. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  7980. ms
  7981. 2006-04-25 Alexander Olk <[email protected]>
  7982. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  7983. image. The image position is always the same, no matter if the
  7984. button is pressed or not.
  7985. 2006-04-25 Alexander Olk <[email protected]>
  7986. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  7987. selection and set the correct filename for SaveFileDialog.
  7988. Patch by Emery Conrad.
  7989. 2006-04-24 Mike Kestner <[email protected]>
  7990. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  7991. check for item.X outside the ClientRect instead of item.Y. Fixes
  7992. #78151.
  7993. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  7994. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  7995. trust that value blindly and do some sanity check. Fixes bug #77814.
  7996. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  7997. * ImageListStreamer.cs: save the mask as a 1bpp image.
  7998. 2006-04-21 Mike Kestner <[email protected]>
  7999. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  8000. pass Checked and Indeterminate to the Theme Engine. Improve
  8001. encapsulation with ListBox.
  8002. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  8003. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  8004. nested types. Move all CheckState functionality to CheckedListBox.
  8005. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  8006. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  8007. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  8008. single base list. Fix scrollbar sizing and placement to mirror MS.
  8009. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  8010. used.
  8011. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  8012. for CheckedListBox by using new DrawItemState info. Center the
  8013. checkboxes on the items. Use new StringFormat property.
  8014. 2006-04-18 Jackson Harper <[email protected]>
  8015. * Form.cs: MdiChildren don't do default locations the same way as
  8016. regular forms. This prevents a crash when trying to position the
  8017. mdi windows.
  8018. 2006-04-17 Jonathan Chambers <[email protected]>
  8019. * PropertyGridTextBox.cs: Formatting, copyright
  8020. * PropertiesTab.cs: Formatting
  8021. * PropertyGrid.cs: Formatting
  8022. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  8023. click toggling of values
  8024. 2006-04-17 Peter Dennis Bartok <[email protected]>
  8025. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  8026. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  8027. every time a control is created
  8028. * Application.cs: Removed obsolete EnableRTLMirroring method
  8029. 2006-04-18 Gert Driesen <[email protected]>
  8030. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  8031. SelectedIndex to -1. Fixes bug #78121.
  8032. 2006-04-17 Jackson Harper <[email protected]>
  8033. * Binding.cs: Handle null values for Current and BindingContext.
  8034. This occurs when binding is a little delayed.
  8035. * CurrencyManager.cs: return null for Current when there are no
  8036. items in the list.
  8037. - Hookup to the listchanged event on the DataView and update
  8038. bindings when the list is changed. This fixes late binding of
  8039. controls.
  8040. 2006-04-17 Jackson Harper <[email protected]>
  8041. * X11Dnd.cs:
  8042. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  8043. Ringenbach.
  8044. 2006-04-15 Alexander Olk <[email protected]>
  8045. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  8046. place
  8047. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  8048. with the correct ButtonState
  8049. 2006-04-14 Peter Dennis Bartok <[email protected]>
  8050. * XplatUIX11.cs: Improved distinguishing between window types to
  8051. tell the WM a type closer to what the app wants (Fixes #78107)
  8052. 2006-04-14 Alexander Olk <[email protected]>
  8053. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  8054. GrabHandle
  8055. 2006-04-14 Alexander Olk <[email protected]>
  8056. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  8057. drawing code to reflect the size grip changes
  8058. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  8059. * ImageListStreamer.cs: fix handling of the mask that follows the main
  8060. bitmap when deserializing and serialize it properly. The generated mask
  8061. should better be a 1bpp image, but I'll do that later.
  8062. 2006-04-13 Alexander Olk <[email protected]>
  8063. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  8064. path doesn't fit into some of our Current.Places
  8065. 2006-04-13 Jackson Harper <[email protected]>
  8066. * ComboBox.cs: Use borders instead of drawing our own decorations,
  8067. try to obey correct rules for heights.
  8068. * Theme.cs:
  8069. * ThemeNice.cs:
  8070. * ThemeClearLooks.cs:
  8071. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  8072. this is now handled by borders.
  8073. - Remove unused DrawListBoxDecorationSize method.
  8074. 2006-04-13 Mike Kestner <[email protected]>
  8075. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  8076. reported by Alex.
  8077. 2006-04-13 Alexander Olk <[email protected]>
  8078. * ThemeWin32Classic.cs:
  8079. - Fixed CPDrawStringDisabled
  8080. - Corrected drawing of disabled menu items
  8081. - Fixed drawing of disabled radio buttons (bug #78095)
  8082. - Draw check in a disabled CheckBox with color ControlDark
  8083. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8084. * Form.cs: Use the provided width when calculating the menu size;
  8085. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  8086. and ClientSize.Width won't be updated yet
  8087. * Application.cs: Use Visible instead of Show() to make form visible,
  8088. this way we create the handle later and menusize is considered
  8089. 2006-04-12 Mike Kestner <[email protected]>
  8090. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  8091. reporting.
  8092. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8093. * TextBox.cs: Implemented context menu
  8094. 2006-04-12 Mike Kestner <[email protected]>
  8095. * ListView.cs: implement box selection. fixes #77838.
  8096. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  8097. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8098. * XplatUIX11.cs: Added setting of window type when transient window
  8099. is created (metacity would move it otherwise)
  8100. * X11Structs.cs: Added WINDOW_TYPE atoms
  8101. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  8102. background (the control is Opaque but still wants transparent
  8103. backgrounds)
  8104. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8105. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  8106. that set Opaque but don't mean it (like all ButtonBase-derived
  8107. controls) to still draw their background
  8108. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  8109. the background
  8110. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8111. * Control.cs (PaintControlBackground): Set the graphics object
  8112. on our PaintEvent to null to prevent it from being disposed
  8113. when the PaintEvent gets disposed
  8114. 2006-04-12 Alexander Olk <[email protected]>
  8115. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  8116. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  8117. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8118. * Control.cs:
  8119. - Added transparency check to BackColor property. Transparent
  8120. backgrounds are only allowed if the control styles permit it
  8121. - Added recursive painting of parent control background and
  8122. foreground if a control with a transparent backcolor is drawn
  8123. (Thanks to Tim Ringenback for providing his 'hack' as a base
  8124. for this patch) Fixes #77985 and #78026.
  8125. - Added Opaque style check before calling OnPaintBackground, no
  8126. need to draw the background if the control is opaque
  8127. - Removed ControlAccessibleObject owner variable (inherited from
  8128. base, no need to define again)
  8129. - Added some documentation links explaining the drawing events
  8130. and styles
  8131. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8132. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  8133. that the affected control is the located at the left border of our
  8134. parent (Fixes #77936)
  8135. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8136. * TextBoxBase.cs: When rendering disabled or readonly controls,
  8137. draw the background with 'Control' instead of 'Window' color as
  8138. long as the user hasn't specifically set a color
  8139. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8140. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  8141. since that won't be updated if the user types text (only if it's
  8142. programatically set)
  8143. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8144. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  8145. layout changes do to app-triggered resizes will have the proper
  8146. display rectangle for layout
  8147. 2006-04-11 Alexander Olk <[email protected]>
  8148. * ThemeWin32Classic.cs:
  8149. - Make use of the SystemBrushes and SystemPens wherever possible
  8150. - Corrected some highlight colors
  8151. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  8152. drawing
  8153. * Theme.cs: Added Empty field to CPColor struct
  8154. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8155. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  8156. is displayed when calculating the display rectangle. Thanks to Mike
  8157. for teaching me the err of my ways.
  8158. 2006-04-10 Peter Dennis Bartok <[email protected]>
  8159. * ScrollableControl.cs:
  8160. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  8161. (instead of 0,0) and we now return the real width/height instead of
  8162. just the clientrectangle, adjusted for padding. The rectangle is
  8163. now cached and created by the new CalculateDisplayRectangle method.
  8164. - Created new CalculateDisplayRectange method, which basically does
  8165. what get_DisplayRectangle() did originally, but now using the
  8166. right edge instead of DisplayRectangle to determine the size of
  8167. our scrollbars
  8168. - get_Canvas(): Fixed it to properly calculate canvas for
  8169. right/bottom controls which seem to be placed to the right/bottom
  8170. of any controls that have a fixed location
  8171. - Removed TODO that's taken care of
  8172. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  8173. and SetDisplayRectLocation according to new MSDN2 docs
  8174. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  8175. event when that is called, this is added for compatibility
  8176. - ScrollControlIntoView(): Implemented.
  8177. - Switched scrollbars to be implicit, they shouldn't be selectable
  8178. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  8179. call it when the active control is set/changed
  8180. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  8181. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  8182. implicit_control variable (used for native Win32 message generation)
  8183. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  8184. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  8185. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  8186. * XplatUIStructs.cs: Added ScrollBarCommands enum
  8187. 2006-04-10 Jackson Harper <[email protected]>
  8188. * ButtonBase.cs:
  8189. * CheckedListBox.cs:
  8190. * ComboBox.cs:
  8191. * DataGrid.cs:
  8192. * DataGridView.cs:
  8193. * Form.cs:
  8194. * GroupBox.cs:
  8195. * ListBox.cs:
  8196. * PrintPreviewControl.cs:
  8197. * ProgressBar.cs:
  8198. * PropertyGrid.cs:
  8199. * Splitter.cs:
  8200. * StatusBar.cs:
  8201. * TrackBar.cs:
  8202. * UpDownBase.cs: Fixup base event overrides.
  8203. 2006-04-06 Mike Kestner <[email protected]>
  8204. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  8205. all user-initiated value changes to min <= value <= max-thumbsz+1.
  8206. (set_Value): check for vert/horiz when calculating new thumb position.
  8207. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  8208. like MS does.
  8209. (OnMouseMoveSB): refactor the thumb dragging code and refine
  8210. invalidation logic to reduce flicker.
  8211. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  8212. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  8213. (UpdateThumbPosition): small code readability cleanup
  8214. 2006-04-10 Alexander Olk <[email protected]>
  8215. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  8216. different
  8217. 2006-04-08 Alexander Olk <[email protected]>
  8218. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  8219. 2006-04-08 Alexander Olk <[email protected]>
  8220. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  8221. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  8222. This dramatically reduces the number of Pen.Dispose calls.
  8223. Where possible call ResPool methods only once instead of calling it
  8224. over and over again (for example for the same color).
  8225. 2006-04-06 Mike Kestner <[email protected]>
  8226. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  8227. Also remove an unused private field on the collection. Fixes #77972.
  8228. 2006-04-06 Alexander Olk <[email protected]>
  8229. * ThemeNice.cs: Added ToolBar drawing code
  8230. 2006-04-06 Mike Kestner <[email protected]>
  8231. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  8232. I'm assuming that means we need to look up the toplevel for the
  8233. provided control. Fixes the crash trace in #77911 but exposes another
  8234. crash in some strange reflection usage in NDocGui.
  8235. 2006-04-06 Alexander Olk <[email protected]>
  8236. * ThemeNice.cs: Gave it a little silver touch and added Images
  8237. method
  8238. * FontDialog.cs: FontDialog is not resizable
  8239. * FileDialg.cs: Added SizeGripStyle.Show
  8240. 2006-04-05 Jackson Harper <[email protected]>
  8241. * KeyboardLayouts.cs: Remove warning.
  8242. 2006-04-05 Jackson Harper <[email protected]>
  8243. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  8244. all of our controls instead of Paint +=.
  8245. * ListBox.cs:
  8246. * ListView.cs:
  8247. * MenuAPI.cs:
  8248. * MessageBox.cs:
  8249. * NotifyIcon.cs:
  8250. * ProgressBar.cs:
  8251. * ScrollBar.cs:
  8252. * Splitter.cs:
  8253. * StatusBar.cs:
  8254. * TabControl.cs:
  8255. * TextBoxBase.cs:
  8256. * ToolBar.cs:
  8257. * TrackBar.cs:
  8258. * UpDownBase.cs:
  8259. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  8260. use OnPaintInternal. Remove Width/Height and Visible checks in
  8261. paint handler, this is done at a higher level now.
  8262. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  8263. * PaintEventArgs.cs: Add a handled flag so controls that don't
  8264. want anymore painting after OnPaintInternal can make sure OnPaint
  8265. isn't called.
  8266. 2006-04-05 Mike Kestner <[email protected]>
  8267. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  8268. state of the form, so that we don't process events when Modal dialogs
  8269. are up. Fixes #77922.
  8270. 2006-04-05 Alexander Olk <[email protected]>
  8271. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  8272. checking is done.
  8273. 2006-04-05 Mike Kestner <[email protected]>
  8274. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  8275. 2006-04-05 Mike Kestner <[email protected]>
  8276. * ListView.cs (HeaderMouseMove): null guarding for the over column
  8277. when setting up the drag_to_index. Fixes #78015.
  8278. 2006-04-04 Peter Dennis Bartok <[email protected]>
  8279. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  8280. in the taskbar. Transient windows seem to accomplish that.
  8281. 2006-04-04 Peter Dennis Bartok <[email protected]>
  8282. * Form.cs:
  8283. - Re-enabled CreateParams.X/Y code for FormStartPosition
  8284. - Added code for manual placement when creating the Control
  8285. - Incomplete patch to treat MDI forms differently when
  8286. setting the ClientSizeCore. (Still need to figure out handling
  8287. x/y coords there)
  8288. * XplatUIX11.cs:
  8289. - When we're explicitly setting the X/Y position of a non-Child
  8290. window, let the WM know. Metacity really wants this.
  8291. 2006-04-04 Alexander Olk <[email protected]>
  8292. * ThemeNice.cs: Added CPDrawButton
  8293. 2006-04-04 Alexander Olk <[email protected]>
  8294. * ThemeNice.cs: Changed the color for focused buttons and activated
  8295. the arrows for small scroll buttons.
  8296. 2006-04-04 Alexander Olk <[email protected]>
  8297. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  8298. anymore. Changed some method modifiers to protected (virtual)
  8299. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  8300. changes
  8301. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  8302. Updated drawing of menus, buttons and progressbars; added
  8303. CPDrawBorder3D
  8304. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  8305. * ImageListStreamer.cs: implemented serialization/deserialization
  8306. of the images.
  8307. 2006-04-03 Alexander Olk <[email protected]>
  8308. * ThemeWin32Classic.cs:
  8309. - Removed all the DrawFrameControl stuff; CPDrawButton,
  8310. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  8311. inside the methods
  8312. - Updated and corrected the drawing code of CPDrawButton,
  8313. CPDrawCheckBox and CPDrawRadioButton to better match ms
  8314. - Updated theme checkbox and radiobutton code to use the CP*
  8315. methods
  8316. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8317. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  8318. bug is fixed
  8319. 2006-03-31 Jackson Harper <[email protected]>
  8320. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  8321. sometimes.
  8322. * UpDownBase.cs: Don't CreateGraphics manually, use a
  8323. Refresh. Ideally we would invalidate the correct areas here.
  8324. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8325. * XplatUIX11.cs:
  8326. - We now track the mapping state of windows. If a window (or
  8327. one of it's parents) is not mapped we no longer permit
  8328. WM_PAINT messages to be generated since we'd otherwise get
  8329. lots of BadMatch X errors. Jackson did all the work figuring
  8330. out the problem.
  8331. - Destroying the caret if the window it's contained in is
  8332. destroyed. Can't use regular DestroyCaret method since it
  8333. might fall into a drawing function (trying to remove the
  8334. caret) and with that generate new BadMatch errors. Again,
  8335. Jackson tracked this down.
  8336. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  8337. make sure we send the messages to all windows. (The old code
  8338. would send the WM_DESTROY to the window, and then all child
  8339. windows would be 'gone' because the WM_DESTROY handle lookup
  8340. would no longer find the destroyed window)
  8341. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  8342. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  8343. 2006-03-31 Jackson Harper <[email protected]>
  8344. * ScrollableControl.cs: Dont recalc if we are not visible.
  8345. 2006-03-31 Mike Kestner <[email protected]>
  8346. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  8347. the visibility branch.
  8348. 2006-03-31 Jackson Harper <[email protected]>
  8349. * ScrollBar.cs: Cap values when incrementing/decrementing.
  8350. 2006-03-31 Mike Kestner <[email protected]>
  8351. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  8352. * ToolTip.cs: guard against timer expirations with no active control.
  8353. Not sure why it happened.
  8354. 2006-03-31 Mike Kestner <[email protected]>
  8355. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  8356. text.
  8357. * ToolTip.cs: Position the tooltip based on where the cursor is at
  8358. popup time, not at MouseEnter time. Add a Down state so that we don't
  8359. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  8360. positioning offset. Lookup DisplaySize at positioning time, since it
  8361. can theoretically change during invocation.
  8362. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  8363. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  8364. 2006-03-31 Alexander Olk <[email protected]>
  8365. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  8366. Fixes behaviour when the Text property of the box is String.Empty
  8367. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8368. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  8369. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  8370. a window)
  8371. 2006-03-31 Alexander Olk <[email protected]>
  8372. * FileDialog.cs: Visual enhancement for the popup buttons in
  8373. PopupButtonPanel
  8374. 2006-03-31 Alexander Olk <[email protected]>
  8375. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  8376. code
  8377. 2006-03-30 Alexander Olk <[email protected]>
  8378. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  8379. highlighted menu items to match ms
  8380. 2006-03-30 Peter Dennis Bartok <[email protected]>
  8381. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  8382. 2006-03-30 Mike Kestner <[email protected]>
  8383. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  8384. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  8385. go active to account for HotLight to Selected transition.
  8386. * MenuItem.cs: add internal Selected prop. Fill out the Status
  8387. property by calculating it from item info. Add HotLight,
  8388. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  8389. 2006-03-30 Mike Kestner <[email protected]>
  8390. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  8391. 2006-03-29 Jackson Harper <[email protected]>
  8392. * Form.cs: Implement TODO.
  8393. 2006-03-29 Peter Dennis Bartok <[email protected]>
  8394. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  8395. missing proper dialog setup in the constructor
  8396. 2006-03-29 Peter Dennis Bartok <[email protected]>
  8397. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  8398. * Control.cs:
  8399. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  8400. - Fixed ResetBindings and removed TODO
  8401. - Added check for cross-thread calls to get_Handle()
  8402. - Added Marshaller attribute for set_Font to satisfy class status
  8403. * FontDialog.cs: Removed TODOs that seemed implemented
  8404. * UpDownBase.cs: Removed unneeded TODO and Fixme
  8405. * MessageBox.cs: Implemented support for Default button and removed TODO
  8406. * FileDialog.cs: Removed obsolete TODO
  8407. * DomainUpDown.cs: Removed obsolete TODO
  8408. * ButtonBase.cs: Removed obsolete TODO
  8409. * XplatUIWin32.cs: Removed obsolete TODO
  8410. * Form.cs:
  8411. - Removed obsolete TODO
  8412. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  8413. internal status updates
  8414. - Making sure the active control is selected when the control is created
  8415. * CurrencyManager.cs: Removed obsolete TODO
  8416. 2006-03-29 Mike Kestner <[email protected]>
  8417. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  8418. of PrintPreviewDialog and RichTextBox.
  8419. 2006-03-29 Alexander Olk <[email protected]>
  8420. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  8421. DarkDark, Light and LightLight colors for a specific color
  8422. * ThemeWin32Classic.cs:
  8423. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  8424. Appearance = Button
  8425. - Make use of the new ResPool helper CPColor
  8426. - Draw ProgressBar and StatusBar with correct 3D borders
  8427. 2006-03-29 Alexander Olk <[email protected]>
  8428. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  8429. 2006-03-28 Mike Kestner <[email protected]>
  8430. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  8431. calculating col/row counts.
  8432. 2006-03-28 Mike Kestner <[email protected]>
  8433. * ColumnHeader.cs:
  8434. * ListView.cs:
  8435. * ListViewItem.cs:
  8436. * Menu.cs:
  8437. switch to explicit interface method implementation for some methods
  8438. corcompare identifies as inconsistent with MS.
  8439. 2006-03-28 Mike Kestner <[email protected]>
  8440. * MainMenu.cs:
  8441. * Menu.cs:
  8442. add a few missing methods from the class status output.
  8443. 2006-03-28 Alexander Olk <[email protected]>
  8444. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  8445. correct.
  8446. 2006-03-28 Mike Kestner <[email protected]>
  8447. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  8448. 2006-03-27 Mike Kestner <[email protected]>
  8449. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  8450. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  8451. 2006-03-27 Alexander Olk <[email protected]>
  8452. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  8453. 2006-03-25 Alexander Olk <[email protected]>
  8454. * ThemeWin32Classic.cs:
  8455. - GroupBox: Inserted a little gap between the text and the lines
  8456. on the right side
  8457. - Made the code in CPDrawBorder3D more readable
  8458. - Corrected the drawing location of the up and down arrows in
  8459. CPDrawScrollButton
  8460. 2006-03-25 Alexander Olk <[email protected]>
  8461. * ControlPaint.cs: Corrected line widths in DrawBorder for
  8462. ButtonBorderStyle Inset and Outset
  8463. 2006-03-25 Alexander Olk <[email protected]>
  8464. * ThemeWin32Classic.cs:
  8465. - Rewrote the totally broken CPDrawBorder3D method. That was
  8466. one of the main problems for the terrific ThemeWin32Classic
  8467. look
  8468. - Updated and corrected Button drawing
  8469. - Correct the dimensions of the SizeGrip to match ms ones
  8470. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  8471. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  8472. Border3DStyle.Sunken to match ms.
  8473. 2006-03-25 Alexander Olk <[email protected]>
  8474. * ThemeWin32Classic.cs: First small part of the "de-uglify
  8475. ThemeWin32Classic" effort, SizeGrip
  8476. 2006-03-24 Jackson Harper <[email protected]>
  8477. * XplatUIX11.cs: Give a max idle time of one second, this matches
  8478. MS and forces an Idle event every second when there are no other
  8479. events in the queue.
  8480. 2006-03-24 Mike Kestner <[email protected]>
  8481. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  8482. * ListView.Item.cs: fix layout issues with null image lists and images
  8483. smaller than checkbox size.
  8484. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  8485. mode like MS does. It's weird, but consistent. ;-)
  8486. Fixes #77890.
  8487. 2006-03-24 Mike Kestner <[email protected]>
  8488. * ListView.cs: Scroll wheel support for the item control. Fixes
  8489. #77839.
  8490. 2006-03-23 Jackson Harper <[email protected]>
  8491. * ScrollableControl.cs: Special case negative sized areas, not
  8492. zero.
  8493. * MonthCalendar.cs: Save the rect of the clicked date so we can
  8494. use it for invalidation.
  8495. - Try to cut down on the number of invalidates
  8496. - Invalidate the rect the mouse is over and was over when moving
  8497. the mouse, so we get the focus box following the cursor.
  8498. 2006-03-23 Mike Kestner <[email protected]>
  8499. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  8500. focus rectangle drawing. Fixes #77835.
  8501. 2006-03-23 Mike Kestner <[email protected]>
  8502. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  8503. the if and else if and reverting back to the original == check on the
  8504. None conditional.
  8505. 2006-03-23 Alexander Olk <[email protected]>
  8506. * FontDialog.cs: Update the example panel if the selected index of
  8507. the fontListBox changes.
  8508. 2006-03-23 Alexander Olk <[email protected]>
  8509. * FileDialog.cs: Make FileDialog remember which directory it was in
  8510. last in the same execution.
  8511. 2006-03-22 Mike Kestner <[email protected]>
  8512. * FileDialog.cs: make the DropDownMenu on the toolbar display
  8513. RadioChecks since they are mutually exclusive and that's what MS does.
  8514. 2006-03-22 Mike Kestner <[email protected]>
  8515. * Theme.cs: add Color param to CPDrawMenuGlyph.
  8516. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  8517. checks and radio marks and arrows are visible on highlighted items.
  8518. * ControlPaint.cs: update to use new Theme signature.
  8519. 2006-03-22 Mike Kestner <[email protected]>
  8520. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  8521. is active. Fixes #77870.
  8522. 2006-03-22 Alexander Olk <[email protected]>
  8523. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  8524. to be focused/selected after startup
  8525. 2006-03-22 Alexander Olk <[email protected]>
  8526. * ColorDialog.cs:
  8527. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  8528. CustomColors and ShowHelp properties
  8529. - Some internal rewrites to get better results when using the
  8530. ColorMatrix
  8531. 2006-03-22 Mike Kestner <[email protected]>
  8532. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  8533. HoverSelection. Fixes #77836.
  8534. 2006-03-22 Mike Kestner <[email protected]>
  8535. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  8536. ToggleButtons. (De)Sensitize the Back button around a stack count of
  8537. 1, not 0. Update ButtonSize based on a pixel count of the win32
  8538. control. Adjust the toolbar size/location for new button size.
  8539. 2006-03-22 Jackson Harper <[email protected]>
  8540. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  8541. true.
  8542. * ScrollBar.cs: When doing increments and decrements we need to
  8543. set the Value property so that ValueChanged gets raised. A
  8544. possible optimization here would be to make an internal SetValue
  8545. that doesn't invalidate immediately.
  8546. * ToolTip.cs: Tooltips get added to their container (when
  8547. supplied) so they get disposed when the container is disposed.
  8548. - Don't create tooltips for String.Empty. This prevents all these
  8549. little 2-3 pixel windows from showing up when running nunit-gui
  8550. and driving me mad.
  8551. * Form.cs: Don't set topmost when setting the owner if the handles
  8552. haven't been created yet. The topmost set will happen when the
  8553. handles are created.
  8554. 2006-03-22 Peter Dennis Bartok <[email protected]>
  8555. * XplatUIX11.cs:
  8556. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  8557. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  8558. visible (to allow them to recalculate their sizes)
  8559. 2006-03-21 Mike Kestner <[email protected]>
  8560. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  8561. methods. Removed a ton of redundant code. Still not really happy with
  8562. the border rendering, but I think that's mainly because of the
  8563. ControlDarkDark being black instead of a dark grey. Depending on how
  8564. close we want to be, we might want to revisit those color choices.
  8565. Among the new features added during the refactor were DropDownArrow
  8566. pressed rendering, Disabled image rendering. Proper flat appearance
  8567. boundary rendering. Removed the Divider and Wrapping dividers since I
  8568. can't figure out any combination of themes and conditions to make the
  8569. MS control draw a horizontal line on a toolbar despite what the
  8570. Divider property docs indicate.
  8571. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  8572. conditions and incorrect layout. Updated to coding standard.
  8573. * ToolBarButton.cs: refactored layout and positioning code from
  8574. ToolBar to here. Invalidate wherever possible instead of forcing
  8575. redraws of the whole toolbar.
  8576. (Known remaining issues: explicit ButtonSize smaller than provided
  8577. images.)
  8578. 2006-03-21 Mike Kestner <[email protected]>
  8579. * ContextMenu.cs (Show): use the position parameter instead of just
  8580. showing at the MousePosition.
  8581. 2006-03-21 Jackson Harper <[email protected]>
  8582. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  8583. control handle this.
  8584. * TreeNodeCollection.cs: If we are clearing the root node we need
  8585. to reset top_node so calcs can still happen.
  8586. * ThemeWin32Classic.cs: This is a Flags so we need to check
  8587. properly.
  8588. 2006-03-21 Jackson Harper <[email protected]>
  8589. * DataGrid.cs: Create columns when the binding context has been
  8590. changed.
  8591. * X11Structs.cs: Keysyms are uints.
  8592. - Add size to fix build.
  8593. 2006-03-21 Peter Dennis Bartok <[email protected]>
  8594. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8595. XplatUIOSX.cs:
  8596. - Added ResetMouseHover method to allow controls to retrigger
  8597. hovering if they need it more than once
  8598. - Implemented MouseHoverTime and MouseHoverSize properties
  8599. * Timer.cs: Start() must reset the interval
  8600. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  8601. properties
  8602. 2006-03-21 Jackson Harper <[email protected]>
  8603. * X11Keyboard.cs: improved layout detection. Move the nonchar
  8604. tables into this file.
  8605. * KeyboardLayouts.cs: Move the tables into resource files.
  8606. 2006-03-21 Mike Kestner <[email protected]>
  8607. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  8608. 2006-03-21 Alexander Olk <[email protected]>
  8609. * Mime.cs: Various speed optimizations. Looking up mime types
  8610. is now 2 times faster than before
  8611. 2006-03-17 Peter Dennis Bartok <[email protected]>
  8612. * CreateParams.cs: Added internal menu field
  8613. * Control.cs:
  8614. - Switched call order for UpdateBounds; now we always call
  8615. the one that also takes ClientSize, and we're calculating the
  8616. client size via driver method in the others. The previous
  8617. method of tracking client size by difference wasn't working
  8618. for forms where even the starting client size wouldn't match
  8619. the overall form size (due to borders) (Part of fix for #77729)
  8620. - CreateParams(): Do not use parent.Handle unless the handle is
  8621. already created. Causes havoc with Nexxia and throws off our
  8622. creation of controls
  8623. * XplatUIX11.cs:
  8624. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  8625. - Switched handling of ConfigureNotify over to new PerformNCCalc
  8626. method (consolidates code)
  8627. - Changed RequestNCRecalc to use new PerformNCCalc method
  8628. - Added calls to RequestNCRecalc when menus and borders are changed
  8629. to allow app to set NC size. (Part of fix for #77729) This matches
  8630. when MS send a WM_NCRECALC on Win32 windows.
  8631. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  8632. (Part of fix for #77729). This matches what MS does, they also
  8633. send that message when the form is made visible.
  8634. - XException.GetMessage: Improved usability of X errors by including
  8635. a translation of the window into Hwnd and Control class
  8636. - Improved debug info for window creation, reparenting and destruction
  8637. - Created helper method WindowIsMapped() [Currently not used]
  8638. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  8639. * Form.cs:
  8640. - CreateParams: Now setting our menu on the new internal menu field
  8641. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  8642. avoid calculating the same property twice
  8643. * Hwnd.cs:
  8644. - Improved usability of ToString() for debugging purposes
  8645. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  8646. determine the height of the menu, instead of just the font. This
  8647. required to also create a graphics context and to keep a bmp
  8648. around (for performance reasons)
  8649. 2006-03-17 Peter Dennis Bartok <[email protected]>
  8650. * MenuAPI.cs: Added OnMouseUp method
  8651. * Form.cs:
  8652. - Now remembering the requested client size, avoids size errors
  8653. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  8654. instead of base if the menu is active. This is required due to
  8655. control now capturing and releasing on down/up and it would
  8656. prematurely release our menu capture
  8657. 2006-03-17 Jackson Harper <[email protected]>
  8658. * KeyboardLayouts.cs: Add the czech layouts.
  8659. 2006-03-16 Jackson Harper <[email protected]>
  8660. * Control.cs: Use the viewport space when sizing not the controls
  8661. client size, so things like ScrollableControl that effect the
  8662. viewport size (when scrollbars are added) are computed correctly.
  8663. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  8664. of ManagerEntrys.
  8665. - Handle creating BindingManagers for null data sources.
  8666. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  8667. source, otherwise when rows are added they are added to the 'fake'
  8668. datasource and we will crash when trying to set the position in
  8669. those rows.
  8670. - Use Implicit scrollbars on the datagrid so they arent
  8671. selectable.
  8672. 2006-03-16 Jackson Harper <[email protected]>
  8673. * Binding.cs:
  8674. * InternalWindowManager.cs:
  8675. * MdiWindowManager.cs:
  8676. * X11Keyboard.cs: I really want Mike to love me again (fix
  8677. compiler warnings).
  8678. 2006-03-16 Peter Dennis Bartok <[email protected]>
  8679. * DataGrid.cs:
  8680. - OnMouseDown: Switch to editing mode when clicking on the cell
  8681. even if we're clicking on the cell that's currently
  8682. selected
  8683. - ProcessGridKey: Left/Right now wrap like MS.Net does
  8684. - ProcessGridKey: Tab now knows to add a new row when tab is
  8685. pressed in the cell of the last column of the
  8686. last row
  8687. - ProcessGridKey: Enter now adds another row if pressed in the last
  8688. row and selectes the new row, same column cell
  8689. - ProcessGridKey: Home/End navigate columns, not rows, like
  8690. originally implemented
  8691. - Broke ProcessKeyPreview code out into an extra Internal method
  8692. so it can be called from the edit code
  8693. * DataGridTextBox.cs (ProcessKeyMessage):
  8694. - Switched to accept Tab keypresses
  8695. - Added F2 handling to allow jumping to the end of the edited cell
  8696. - Added logic to allow moving caret left/right inside edited cell
  8697. and making the edited cell jump when the caret hits cell borders
  8698. - Tab and Enter are now passed to the datagrid after being handled
  8699. * TextBoxBase.cs:
  8700. - Removed capture code now that Control handles it
  8701. - set_SelectionStart now ensures caret is visible
  8702. 2006-03-16 Jackson Harper <[email protected]>
  8703. * TrackBar.cs: Debackwards the increment/decrement for handling
  8704. mouse clicks on the bar with vertical trackbars.
  8705. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  8706. bottom to match MS.
  8707. 2006-03-16 Mike Kestner <[email protected]>
  8708. * ListView.cs: make shift/ctrl keyboard and mouse selection
  8709. consistent with the MS control. Fix a bug in
  8710. SelectedListViewItemCollection.Clear that was pissing me off for the
  8711. better part of a day because the collection was being altered
  8712. underneath us as we walked the list.
  8713. 2006-03-16 Peter Dennis Bartok <[email protected]>
  8714. * Control.cs: Not sure how we could miss this so long, but it seems
  8715. that MS.Net has Capture set all the way from before calling
  8716. OnMouseDown through sending the mouse events until after
  8717. OnMouseUp. This will fix DataGrid's selection being set to end
  8718. at the location of the MouseUp.
  8719. 2006-03-15 Jackson Harper <[email protected]>
  8720. * BindingContext.cs: Check the binding after its added so that it
  8721. can initialize the binding managers and hookup to events.
  8722. * Binding.cs: Data members seem to sometimes include rows/cols in
  8723. the format Row.Column we now take this into account.
  8724. - Hookup to the position changed event so we can update the
  8725. control when the position has changed in the data set.
  8726. * CurrencyManager.cs: Take into account the row/col naming
  8727. convention when creating dataset tables.
  8728. * BindingContext.cs: Using a newer better way of storing
  8729. datasource/datamember pairs. Hopefully this better matches MS for
  8730. looking up binding managers.
  8731. 2006-03-15 Jackson Harper <[email protected]>
  8732. * BindingContext.cs: The currency manager needs the data member
  8733. name, if the member is a data set we use the name to find the
  8734. correct table.
  8735. * CurrencyManager.cs: When creating the list prefer an IList over
  8736. an IListSource.
  8737. - Attempt to create a DataTable from a DataSet (TODO: might need
  8738. some better error checking here, although MS doesn't seem to have much)
  8739. - If we have a DataTable create a view and use it as our list.
  8740. 2006-03-15 Mike Kestner <[email protected]>
  8741. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  8742. keyboard navigation. Support Up/Down/Left/Right selection correctly
  8743. for all 4 View modes.
  8744. * ListViewItem.cs: add internal row/col fields for icon layouts.
  8745. 2006-03-15 Jackson Harper <[email protected]>
  8746. * TabControl.cs: Redraw the tabs when we resize so their newly
  8747. calculated sizes are drawn on screen.
  8748. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  8749. composite characters.
  8750. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  8751. - filter events so that composite characters can be created
  8752. patches by peter
  8753. * X11Structs.cs: Add XIMProperties enum.
  8754. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8755. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  8756. unless it's created
  8757. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8758. * Control.cs (PerformLayout): We don't need to consider visiblity
  8759. for anchoring, only for docking. This fixes 'whacky' alignment
  8760. in listbox and other controls that use implicit scrollbars after
  8761. the previous PerformLayout patch
  8762. * ListBox.cs: Switched to use implicit scrollbars
  8763. 2006-03-14 Mike Kestner <[email protected]>
  8764. * ToolBar.cs:
  8765. * VScrollBar.cs:
  8766. - chain up the "new event" overrides to base and use
  8767. OnEvent to raise them. Part of fix for bug #76509.
  8768. 2006-03-14 Alexander Olk <[email protected]>
  8769. * FileDialog.cs: Do not select an item in the parent directory
  8770. on backspace
  8771. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8772. * Control.cs (PerformLayout): It would seem that we considered
  8773. invisible windows for our layout. Not quite the right thing
  8774. to do. Now we don't any longer, thereby fixing bug #76889.
  8775. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8776. * Control.cs (CanFocus): I goofed. A control can have focus
  8777. even though it's not selectable. Made it match MS docs.
  8778. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8779. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  8780. center by default (fixes #76895)
  8781. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  8782. all uses of Border3DSides.All with the explicit ORd together
  8783. Left|Right|Top|Bottom because I assume that nobody was aware
  8784. that All also implies a center fill. Most places I checked had
  8785. a fill right above.
  8786. * ProgressBarStyle.cs: Added
  8787. 2006-03-13 Mike Kestner <[email protected]>
  8788. * ListView.cs: fix breakage in drag shadow header positioning
  8789. from Peter's csc compilation fix.
  8790. 2006-03-13 Mike Kestner <[email protected]>
  8791. * ListView.cs: fix NRE produced by backspacing twice in a focused
  8792. FileDialog.
  8793. 2006-03-13 Mike Kestner <[email protected]>
  8794. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  8795. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8796. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  8797. be changed
  8798. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  8799. the allowed size before making programmatic size changes
  8800. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8801. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  8802. set, metacity is broken and will still use the emty sizes in
  8803. the struct. (Fix for #77089)
  8804. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8805. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  8806. WindowExStyles and marked both enums as Flags
  8807. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  8808. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  8809. to match WindowStyles split
  8810. * XplatUIX11.cs:
  8811. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  8812. - Updated to match WindowStyles split
  8813. * XplatUIWin32.cs:
  8814. - Fixed FosterParent creation, was using ExStyle on the Style field
  8815. (This should help with Popup focus issues)
  8816. - Updated to match WindowStyles split
  8817. 2006-03-13 Jackson Harper <[email protected]>
  8818. * MdiWindowManager.cs: Use the system menu height. Fixes some
  8819. strange sizing issues.
  8820. 2006-03-12 Peter Dennis Bartok <[email protected]>
  8821. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  8822. * TextBoxBase.cs:
  8823. - Scroll to caret after inserting text (#77672)
  8824. - Make scroll range one pixel higher, fixes off-by-one error (and
  8825. makes underlines visible on the last line)
  8826. 2006-03-12 Peter Dennis Bartok <[email protected]>
  8827. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  8828. the keyboard state from being stuck with keys in 'pressed' state when
  8829. focus is switched away via keyboard
  8830. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  8831. reset the keyboard if no X11 KeyUp events are expected to come
  8832. * X11Structs.cs: Switched type of Visible to bool to match driver
  8833. 2006-03-12 Peter Dennis Bartok <[email protected]>
  8834. * TextControl.cs:
  8835. - Switched caret to be just 1 pixel wide, matches MS and looks less
  8836. clunky
  8837. - Moved caret display 1 pixel down from the top of the control
  8838. to improve view
  8839. - InsertCharAtCharet: Update the selection start if moving the caret
  8840. (fixes bug #77696; based on patch suggested by [email protected])
  8841. - No longer always creating the caret when the caret methods are
  8842. called. Only the actual ShowCaret/HideCaret will do that now
  8843. - Only setting caret visible if the owner control has focus
  8844. - UpdateView: Added invalidation-shortcut logic for center and right
  8845. aligned text. Previously we'd update all according to the left
  8846. logic which caused drawing errors. Also fixed height of invalidated
  8847. areas, now properly invalidating the whole area (was off-by-one)
  8848. - owner_HandleCreated: Always generate the document when the
  8849. handle is created; this ensures that
  8850. * TextBoxBase.cs:
  8851. - Fixed situation where caret would disappear under the right
  8852. window border, also improved scrolling behaviour on left-
  8853. aligned textboxes
  8854. - Fixed right-aligned textboxes to have a border to the
  8855. right instead of the caret being under the right border
  8856. * XplatUIX11.cs:
  8857. - Switched from 'nested' to simple visible/not visible tracking
  8858. for caret (part of fix for #77671)
  8859. - No longer passing through translated FocusIn/FocusOut messages
  8860. since we were notifying too often and the wrong windows. Instead
  8861. we just notify our focussed window of receiving or loosing focus
  8862. * XplatUIWin32.cs: Switched from 'nested' show/hide
  8863. counting for caret to simple visible yes/no behaviour (part of
  8864. fix for #77671)
  8865. 2006-03-11 Alexander Olk <[email protected]>
  8866. * Mime.cs: Remove debug code...
  8867. 2006-03-11 Alexander Olk <[email protected]>
  8868. * MimeGenerated.cs: Removed
  8869. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  8870. and subclasses) from /usr/(local/)share/mime and
  8871. $HOME/.local/share/mime.
  8872. 2006-03-10 Jackson Harper <[email protected]>
  8873. * MdiWindowManager.cs: Recalc the NC area when a window is
  8874. maximized/restored so that the menu area is drawn on forms that
  8875. don't have a menu.
  8876. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8877. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8878. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  8879. us to force a WM_NCCALCRESIZE message being sent. This is needed
  8880. for MDI maximizing.
  8881. 2006-03-10 Jackson Harper <[email protected]>
  8882. * Form.cs: We need to use the ActiveMenu when calculating menu
  8883. height.
  8884. - Fix nullref when the window manager hasn't been created yet.
  8885. * Control.cs: Fix nullref when we try to bring a control to the
  8886. front that has no parent.
  8887. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  8888. height.
  8889. - Add a dummy item to the maximized menu so it always has the
  8890. correct height. Otherwise when there are no menus we don't get our
  8891. icon and buttons.
  8892. 2006-03-10 Jackson Harper <[email protected]>
  8893. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  8894. stuff.
  8895. * Form.cs: Make the window_state internal so the window managers
  8896. can track it.
  8897. - When an MDI child is maximized let its window manager create the
  8898. main menu (so it can add its icon).
  8899. - Notify the window managers of state changes
  8900. - Let the window manager paint its buttons and handle button
  8901. clicks on the menu when it is maximized.
  8902. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  8903. window manager, since tool windows don't use it, only mdi windows.
  8904. - Tell the main form that we don't want it to handle NCPAINT
  8905. itself to avoid extra painting.
  8906. - Handle clicks on a maximized windows menu.
  8907. - Handle window state changes
  8908. - Handle minimize/maximize clicks correctly by setting the window state.
  8909. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  8910. when clicking on the forms icon).
  8911. - New method to create a forms maximized menu. This is its normal
  8912. menu + an icon.
  8913. - Handle window state changes.
  8914. - Handle sizing of maximized windows. Maximized windows are just
  8915. drawn bigger then the parent visible area. All controls are still
  8916. there, they are just outside the visible area (this matches windows).
  8917. * MdiClient.cs: No scrollbars when a child window is maximized.
  8918. - Let the children windows figure out how big they should be when
  8919. sizing maximized windows.
  8920. - Implement a version of ArrangeIconicWindows somewhat similar to
  8921. Windows version. There are some little differences, but I don't
  8922. think any app will rely on the layout of minimized mdi windows.
  8923. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8924. * Padding.cs: Several fixes to allow compiling with csc 2.0
  8925. 2006-03-09 Jackson Harper <[email protected]>
  8926. * Menu.cs:
  8927. * MenuItem.cs: Cheap hack so we can add items to the list without
  8928. the events being raised. This allows adding mdi items during
  8929. drawing. TODO: Should probably find a better time to add the items.
  8930. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8931. * ThemeWin32Classic.cs:
  8932. - CheckBox_DrawText: Added logic to not wrap if not enough space
  8933. is available (Fix for bug #77727)
  8934. - RadioButton_DrawText: Added logic not to wrap if not enough
  8935. space is available (Fix for bug #77727). Also removed some
  8936. duplicate code, DrawString always drawing the regular text
  8937. before hitting the if statement.
  8938. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8939. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  8940. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8941. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  8942. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  8943. methods. Moved the new 2.0 properties into alphabetical order with
  8944. other properties and added MonoTODO tags
  8945. 2006-03-09 Peter Dennis Bartok <[email protected]>
  8946. * AutoScaleMode.cs: Added. Fix build.
  8947. 2006-03-09 Peter Dennis Bartok <[email protected]>
  8948. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8949. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  8950. and was requiring premature handle creation for calls from above
  8951. * Form.cs, Control.cs: Removed handle arguments from calls to
  8952. CalculateClientRect()
  8953. 2006-03-09 Peter Dennis Bartok <[email protected]>
  8954. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  8955. drag_column.column_rect is MarshalByRef and can't be used that way
  8956. 2006-03-09 Peter Dennis Bartok <[email protected]>
  8957. * AxHost.cs: Added deserialization constructor for
  8958. AxHost+State (fixes 77743)
  8959. 2006-03-09 Mike Kestner <[email protected]>
  8960. * ListView.cs:
  8961. - Added column drag reordering for details view.
  8962. - fixed behavior when mouse is dragged off column and
  8963. AllowColumnReorder is false.
  8964. * ColumnHeader.cs: clone the format too in Clone.
  8965. * Theme.cs: add DrawListViewHeaderDragDetails method.
  8966. * ThemeWin32Classic.cs:
  8967. - impl new method for drawing drag column shadows and targets.
  8968. - support column offset for details mode in DrawListViewItem.
  8969. 2006-03-09 Peter Dennis Bartok <[email protected]>
  8970. * TextControl.cs: Reset the char_count when the document is cleared
  8971. (Fixes bug reported on mono-winforms mailing list)
  8972. 2006-03-09 Peter Dennis Bartok <[email protected]>
  8973. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  8974. of calling base we simply process the key ourselves, since both
  8975. DefWindowProc and the handled method would set m.Result.
  8976. (Fixes #77732)
  8977. 2006-03-09 Peter Dennis Bartok <[email protected]>
  8978. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  8979. method also moves the window; instead implemented a copy of
  8980. Control.ScaleCore (Part of fix for #77456)
  8981. * TextBoxBase.cs:
  8982. - Created new CreateGraphicsInternal method to allow providing
  8983. a graphics context when no handle is created without triggering
  8984. handle creation. (Part of fix for #77456)
  8985. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  8986. * TextControl.cs:
  8987. - Switched Constructor to require TextBoxBase instead of Control (to
  8988. allow uncast access to CreateGraphicsInternal)
  8989. - Safeguarded use of owner.Handle property. No longer accessing it
  8990. unless the handle is already created.
  8991. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  8992. - Now triggering a recalc when owning control becomes visible
  8993. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  8994. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  8995. premature handle creation (Part of fix for #77456)
  8996. * Control.cs:
  8997. - We now only destroy our double-buffering buffers when the
  8998. control is resized or disposed, but not when visibility
  8999. changes. (The code even re-created them twice every time)
  9000. - Now requiring a redraw of the buffer on visibility changes
  9001. (fixes bug 77654 part 2)
  9002. - Not passing OnParentVisibleChanged up unless the control
  9003. is visible
  9004. - CanFocus: Fixed to match MS documentation
  9005. - Focus: Fixed to return actual focus state and to check if
  9006. setting focus is legal before setting it
  9007. 2006-03-08 Peter Dennis Bartok <[email protected]>
  9008. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  9009. when to draw focus rectangle by looking at parent focus and
  9010. selected state instead. This fixes TabPages on Linux sometimes
  9011. having none or multiple focus rectangles.
  9012. * XplatUIX11.cs (SetFocus):
  9013. - Don't set the focus if the same window already has focus
  9014. - Use SendMessage instead of PostMessage (like it's Win32
  9015. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  9016. to match MS behaviour
  9017. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  9018. are not selectable.
  9019. 2006-03-07 Jackson Harper <[email protected]>
  9020. * PictureBox.cs: Revert line I accidently committed last week.
  9021. 2006-03-07 Peter Dennis Bartok <[email protected]>
  9022. * Control.cs:
  9023. - Added new IsRecreating and ParentIsRecreating properties to
  9024. allow testing if RecreateHandle has been called on ourselves
  9025. or one of our parents
  9026. - WndProc(WM_DESTROY): If our control handle is being recreated
  9027. we immediately need to create the handle when receiving the
  9028. destroy, that way our child windows find a valid parent handle
  9029. when they themselves are being recreated upon WM_DESTROY receipt
  9030. (fix for bug #77654 part 1)
  9031. * XplatUIX11.cs:
  9032. - DestroyWindow: WM_DESTROY must be sent to our own window before
  9033. notifying any child windows. MS documents that child windows
  9034. are still valid when WM_DESTROY is received. (Control now relies on
  9035. this behaviour)
  9036. - Added some fine-grain debug options
  9037. 2006-03-06 Jackson Harper <[email protected]>
  9038. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  9039. box and base calculations off this.
  9040. * MdiChildContext.cs:
  9041. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  9042. anymore.
  9043. 2006-03-06 Peter Dennis Bartok <[email protected]>
  9044. * Splitter.cs: In situations where the affected control is added
  9045. to the parent's control list after the splitter, we would not
  9046. populate affected. Now we try populating it on mousedown, if
  9047. it's not already set, and force it to be re-set whenever our
  9048. parent changes.
  9049. 2006-03-03 Matt Hargett <[email protected]>
  9050. * Control.cs: implement Control.Padding
  9051. * Padding.cs: -Padding.All returns -1 when constructing with the
  9052. implicit default ctor
  9053. -Padding.ToString() matches MS.NET
  9054. * ContainerControl.cs: implement
  9055. ContainerControl.AutoScaleDimensions
  9056. * ListControl.cs: implement ListControl.FormattingEnabled
  9057. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  9058. * ButtonBase.cs:
  9059. * TabPage.cs: Implement UseVisualStyleBackColor.
  9060. * PictureBox.cs: Implement PictureBox.InitialImage.
  9061. 2006-03-03 Mike Kestner <[email protected]>
  9062. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  9063. event declarations to proxy to base event.
  9064. * ListViewItem.cs: update to use ItemControl.
  9065. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  9066. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  9067. column header label rendering for 0 width columns.
  9068. 2006-03-03 Peter Dennis Bartok <[email protected]>
  9069. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  9070. that causes the control to be created. Fixes #77476.
  9071. 2006-03-02 Jackson Harper <[email protected]>
  9072. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  9073. expose_pending.
  9074. 2006-03-02 Peter Dennis Bartok <[email protected]>
  9075. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  9076. passed in for the EventArgs (fixes #77690)
  9077. 2006-03-01 Jackson Harper <[email protected]>
  9078. * ScrollBar.cs: Refresh afterbeing resized.
  9079. 2006-02-28 Mike Kestner <[email protected]>
  9080. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  9081. Clean up a tracker compile warning.
  9082. * MenuItem.cs: add internal PerformPopup method.
  9083. [Fixes #77457]
  9084. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9085. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  9086. implicit expose) when the text is set to null
  9087. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9088. * RichTextBox.cs (FlushText): When newline is true, we always
  9089. need to split the line, even if no text is on it and we may
  9090. never eat newlines. (Fixes #77669)
  9091. 2006-02-28 Mike Kestner <[email protected]>
  9092. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  9093. and set Selected instead.
  9094. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  9095. collections.
  9096. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9097. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  9098. 2006-02-28 Alexander Olk <[email protected]>
  9099. * FontDialog.cs:
  9100. - Got rid of the panel. All controls are now directly added to
  9101. the dialog form
  9102. - It is now possible to set a font with the Font property
  9103. - MinSize and MaxSize property do now what they should
  9104. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  9105. - Searching and selecting a font with the font textbox works now,
  9106. the same applies to the style and size textbox
  9107. - Draw the correct 3D border in the example panel
  9108. - Fixed a little mem leak (unused fonts didn't get disposed)
  9109. - Many other internal updates/rewrites...
  9110. - Fix typo
  9111. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9112. * TextControl.cs:
  9113. - InsertRTFFromStream: Added 'number of characters inserted' argument
  9114. - set_SelectedRTF: Now using the number of characters to calculate
  9115. the new location for the selection and cursor (x/y cannot be used
  9116. due to potentially already wrapped text)
  9117. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9118. * TextControl.cs: Added property and implemented means to allow
  9119. disabling recalculation of a document (can be used to speed up
  9120. multiple inserts and is needed to make RTF inserts predictable, see
  9121. bug #77659)
  9122. * RichTextBox.cs: Using the new NoRecalc property of Document to
  9123. keep x/y insert locations predictable. Also makes it faster inserting
  9124. large chunks of RTF
  9125. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9126. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  9127. it's easier for a child control to handle the other messages without
  9128. having to duplicate the special functionality
  9129. * TextBoxBase.cs
  9130. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  9131. code to handle processing the key ourselves, in order to get
  9132. access to the result of KeyEventArgs.Handled. We now only call
  9133. ProcessKey if they key hasn't been handled already. Fixes #77526.
  9134. - set_Text: If null or empty string is given, just clear the
  9135. document. Fixes part of #77526
  9136. 2006-02-27 Jackson Harper <[email protected]>
  9137. * SizeGrip.cs: Paint the background color before painting the grip
  9138. so things look right.
  9139. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  9140. 2006-02-27 Mike Kestner <[email protected]>
  9141. * ListView.cs:
  9142. - Restructure layout and invalidation model to remove a ton of
  9143. flicker from the control and speed up performance in general.
  9144. - Add manual column resize, flickers like crazy, but I already have
  9145. some ideas on how I'll fix that. (#76822)
  9146. - Merge the three Icon-based views into a single layout method.
  9147. - Move item selection interaction logic from the item since
  9148. interaction with the collections is more appropriate to the view.
  9149. - Deselection on non-item clicks.
  9150. * ListViewItem.cs:
  9151. - Encapsulate most of the layout. Add some internal props to trigger
  9152. layout. Move to a model where Items invalidate themselves instead
  9153. of just invalidating the whole control every time something changes.
  9154. - Invalidate on Text/Caption changes.
  9155. - switch to an offset based layout model to avoid having to absolute
  9156. position every element on item moves.
  9157. - correct checkbox layout to conform to MS layout.
  9158. * ThemeWin32Classic.cs:
  9159. - refactor some column header drawing code.
  9160. - fix string justification for column headers (#76821)
  9161. - make SmallIcon labels top justified for compat with MS impl.
  9162. * ThemeClearlooks.cs:
  9163. - adjust to new ListViewItem internal checkbox bounds api.
  9164. 2006-02-27 Jackson Harper <[email protected]>
  9165. * Control.cs: Change where implicit controls fall in the zorder.
  9166. They are now on top of all children.
  9167. - Synced AddImplicit code with Add
  9168. - Removed unused enumerator.
  9169. * SizeGrip.cs: Remove the TODO as its been TODONE.
  9170. 2006-02-26 Peter Dennis Bartok <[email protected]>
  9171. * TextControl.cs(Insert): Combine the last lines unless the insertion
  9172. string ends with \n\n, otherwise we leave one line too many (Fixes
  9173. something I noticed with the testapp for #77526; the bug itself was
  9174. already fixed in the previous checkin)
  9175. 2006-02-26 Peter Dennis Bartok <[email protected]>
  9176. * RichTextBox.cs:
  9177. - SelectionColor and SelectionFont methods no longer set absolute
  9178. styles. Instead, the keep font or color respectively (This
  9179. resolves a long-standing FIXME in the code)
  9180. - When flushing RTF text, the insert code now considers text trailing
  9181. behind the insertion point (Fixes the bug where when replacing
  9182. the selected text via SelectedRTF the remainder of the line behind
  9183. the selection would stay on the first insertion line)
  9184. * TextBoxBase.cs:
  9185. - AppendText now updates the selection points after inserting text
  9186. - AppendText now ensures that the last tag (sometimes 0-length) of
  9187. the document is used for the style information (Fixes part of
  9188. bug #77220)
  9189. * TextControl.cs:
  9190. - Created new FontDefiniton class to allow describing partial style
  9191. changes
  9192. - StreamLine() now takes a lines argument, to allow it to decide
  9193. whether an encountered zero-length tag is the last in the document
  9194. (which must be kept to not loose the font/color contained in it,
  9195. for later appends)
  9196. - Created Combine() and Split() methods for Marker structs, to
  9197. support marker updates due to reformatted documents (soft line
  9198. wraps)
  9199. - Implemented Document.CaretTag setter
  9200. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  9201. of the last line (Not the cause, but also exposed by bug #77220)
  9202. - Added LineTag argument to InsertString method, to allow callers
  9203. to force a certain tag to be used (required to force use of the
  9204. trailing zero-length tag of a document)
  9205. - Now updating markers in Combine(), to avoid stale tag markers
  9206. - Added some method descriptions to aid maintenance
  9207. - Implemented new FormatText concept, allowing additive/subtractive
  9208. formatting by only specifying the components that are to be
  9209. changed. This was needed for resolving the RTB.SelectedColor/
  9210. RTB.SelectedFont fixmes
  9211. - Added Break() support method to allow breaking up linetags (used
  9212. for partial formatting)
  9213. - Added GenerateTextFormat() method. It is used for partial
  9214. formatting and allows to generate a full font/color from given
  9215. attributes and an existing tag.
  9216. 2006-02-26 Jackson Harper <[email protected]>
  9217. * XplatUIX11.cs: Use the correct caption height.
  9218. - Translate hittest coordinates to screen coords to match MS.
  9219. * XplatUIWin32.cs: When we create MDI windows we need to reset
  9220. some of the style flags, so we get a nice blank window, and can
  9221. draw all the decorations ourselves.
  9222. - Set a clipping rectangle on the non client paint event, the
  9223. window manager drawing code needs one.
  9224. * Form.cs: The window manager needs to know when the window state
  9225. has been updated.
  9226. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  9227. don't need to factor in border and title sizes in these
  9228. methods. TODO: Remove the args and fix the call points.
  9229. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  9230. properly.
  9231. - Let the driver set the cursors.
  9232. - Improve active window handling
  9233. - Correct sizes for title bars and buttons.
  9234. - Match MS drawing better
  9235. * MdiWindowManager.cs: We don't need to handle border style
  9236. updates specially anymore.
  9237. - Check for scrollbars when windows are done moving
  9238. - Handle Active properly.
  9239. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  9240. correctly. I am spewing the exception though, so we don't hide the
  9241. bugs.
  9242. 2006-02-26 Pedro Martinez Julia <[email protected]>
  9243. * DataGridViewRowPostPaintEventArgs.cs,
  9244. DataGridViewCellPaintingEventArgs.cs,
  9245. DataGridViewRowCollection.cs,
  9246. DataGridViewRowPrePaintEventArgs.cs,
  9247. DataGridViewCell.cs: Clear a few warnings and implement a few
  9248. exceptions that should be thrown.
  9249. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9250. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  9251. 'inheriting' our parent's (non-default) cursor. (Part of
  9252. the fix for #77479)
  9253. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9254. * XplatUIX11.cs: Fixed cast to make csc happy
  9255. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9256. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  9257. it's for the client area (part of fix for #77479 and needed
  9258. for MDI window cursor handling)
  9259. * XplatUIX11.cs
  9260. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  9261. the appropriate default cursors and also passing the message
  9262. up the parent chain
  9263. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  9264. for non-client areas
  9265. 2006-02-15 Jackson Harper <[email protected]>
  9266. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  9267. is a real MDI window
  9268. 2006-02-14 Alexander Olk <[email protected]>
  9269. * X11DesktopColors.cs: Instead of checking the desktop session
  9270. string for "KDE" check if it starts with "KDE"
  9271. 2006-02-10 Jackson Harper <[email protected]>
  9272. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  9273. systems).
  9274. 2006-02-10 Alexander Olk <[email protected]>
  9275. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  9276. errors
  9277. * ColorDialog.cs:
  9278. - Got rid of the panel. All controls are now directly added to
  9279. the dialog form
  9280. - Changed to mono coding style
  9281. 2006-02-10 Jackson Harper <[email protected]>
  9282. * InternalWindowManager.cs: We don't need the set visibility to
  9283. false hack anymore now that peter has written beautiful shutdown
  9284. code.
  9285. 2006-02-10 Peter Dennis Bartok <[email protected]>
  9286. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  9287. where already explicitly destroyed
  9288. 2006-02-10 Jackson Harper <[email protected]>
  9289. * MdiClient.cs: Handle the case where windows are too high or to
  9290. the left and we need scrollbars.
  9291. 2006-02-10 Alexander Olk <[email protected]>
  9292. * MimeIcon.cs: Added some icons
  9293. * FileDialog.cs:
  9294. - Fixed bug #77477
  9295. - Got rid of the panel. All controls are now directly added to
  9296. the dialog form
  9297. - Changed to mono coding style
  9298. - On Linux "My Computer" and "My Network" will now show some
  9299. more usefull information. A new class, MasterMount, gathers
  9300. this information from /proc/mount. Updated MWFFileView to make
  9301. use of this information
  9302. - Fixed a bug that caused FileDialog to crash when
  9303. ".recently_used" file had a zero size
  9304. - FilterIndex does now what it should
  9305. - Some Refactoring
  9306. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  9307. FileDialog changes
  9308. 2006-02-09 Jackson Harper <[email protected]>
  9309. * ComboBox.cs: Don't touch if null.
  9310. 2006-02-09 Peter Dennis Bartok <[email protected]>
  9311. * Cursor.cs: 64bit safeness fix
  9312. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  9313. 2006-02-09 Jackson Harper <[email protected]>
  9314. * Form.cs: If a form is made into an MDI form update the styles so
  9315. all the props can get set correctly.
  9316. - Kill the mdi_container when we dont need it anymore.
  9317. * InternalWindowManager.cs: Add missing NOT
  9318. 2006-02-08 Jackson Harper <[email protected]>
  9319. * InternalWindowManager.cs: Respek clipping when drawing MDi
  9320. decorations.
  9321. 2006-02-08 Jackson Harper <[email protected]>
  9322. * Hwnd.cs: Add bits to track non client expose events.
  9323. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  9324. gives us a proper invalid rect and will allow for some nice
  9325. optimizations with NC client drawing
  9326. - MDI windows are children windows, so move their style handling
  9327. into the child window block.
  9328. * InternalWindowManager.cs: Remove a state reset that was
  9329. getting invoked at the wrong time. Fixes managed windows getting
  9330. into a 'stuck' captured state.
  9331. 2006-02-07 Peter Dennis Bartok <[email protected]>
  9332. * TextControl.cs (Document.ctor): Now initializing
  9333. selection_anchor. Fixes #77493
  9334. 2006-02-07 Jackson Harper <[email protected]>
  9335. * TrackBar.cs: The increment/decrements were backwards.
  9336. 2006-02-07 Mike Kestner <[email protected]>
  9337. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  9338. to the instance itself.
  9339. 2006-02-07 Peter Dennis Bartok <[email protected]>
  9340. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  9341. on ulongs and pointers, the size differs between 32bit and 64bit
  9342. systems.
  9343. 2006-02-07 Mike Kestner <[email protected]>
  9344. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  9345. for 64 bit platforms to work around a metacity bug.
  9346. 2006-02-07 Jackson Harper <[email protected]>
  9347. * TrackBar.cs: Process the input keys we need, and hookup to
  9348. KeyDown instead of using WndProc, so we get key messages.
  9349. 2006-02-06 Peter Dennis Bartok <[email protected]>
  9350. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  9351. machine we're on.
  9352. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  9353. we need to translate the XdndVersion atoms array before sending it
  9354. 2006-02-06 Peter Dennis Bartok <[email protected]>
  9355. * XplatUIX11.cs:
  9356. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  9357. number of bits for the property, not the number of bytes. The
  9358. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  9359. but would not crash since it specified 8 bits instead of 4 bits)
  9360. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  9361. defined as XID -> long in the C headers)
  9362. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  9363. references since those are now IntPtr to begin with
  9364. - Switched all Atom.XXX 'int' casts to IntPtr casts
  9365. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  9366. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  9367. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  9368. * X11Structs.cs:
  9369. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  9370. - Changed atom in HoverStruct to be IntPtr
  9371. * X11DnD.cs:
  9372. - Removed local DllImports, switched code to use those from XplatUIX11
  9373. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  9374. 2006-02-06 Mike Kestner <[email protected]>
  9375. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  9376. method signatures in the import region. There may still be some
  9377. lingering struct marshaling issues, as I didn't drill down into those.
  9378. Yet.
  9379. 2006-02-06 Jackson Harper <[email protected]>
  9380. * ComboBox.cs: Dont manually set the top_item, this is computed
  9381. when the scrollbar position is set.
  9382. 2006-02-06 Mike Kestner <[email protected]>
  9383. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  9384. startup crashes on amd64. There's other fixes needed. All pinvoke
  9385. usage of Atom needs to be mapped to IntPtr for example. And there are
  9386. likely other int/long issues to be addressed.
  9387. 2006-02-04 Alexander Olk <[email protected]>
  9388. * FileDialog.cs: One more...
  9389. 2006-02-03 Alexander Olk <[email protected]>
  9390. * FileDialog.cs: Next try
  9391. 2006-02-03 Alexander Olk <[email protected]>
  9392. * FileDialog.cs: First part of fix for #77464
  9393. 2006-02-03 Alexander Olk <[email protected]>
  9394. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  9395. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  9396. AcceptButton border drawing.
  9397. 2006-02-03 Peter Dennis Bartok <[email protected]>
  9398. * Form.cs: Moved positioning of form after auto scaling is applied,
  9399. otherwise it would possibly use wrong form size.
  9400. 2006-02-03 Peter Dennis Bartok <[email protected]>
  9401. * Control.cs (RecreateHandle): No need to re-create any child
  9402. controls, the child windows will get destroyed automatically by
  9403. the windowing system or driver, and re-created when the handle
  9404. is being accessed the first time. Fixes #77456
  9405. * Form.cs: No longer setting the form to closing if the handle is
  9406. being recreated. This seems like the right thing to do, don't
  9407. have a bug or testcase for this, though.
  9408. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9409. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  9410. controls to avoid unwanted side effects
  9411. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9412. * Control.cs:
  9413. - ScaleCore needs to scale the bounds, not the ClientSize of the
  9414. control. Fixes #77416.
  9415. - DefaultSize is 0,0 for control
  9416. * TextBoxBase.cs:
  9417. - DefaultSize is 100, 20
  9418. - SetBoundsCore: Now enforcing the height, no matter if the provided
  9419. height is more or less than the preferred one, as long as AutoSize
  9420. is on
  9421. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  9422. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9423. * Control.cs:
  9424. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  9425. call unless both performLayout is true *and* we have a pending
  9426. layout change
  9427. - ResumeLayout: MS does not completely nest Suspend and Resume,
  9428. they bottom out at 0, fixed our code to match that.
  9429. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  9430. SetBoundsCore, we were updating even when we shouldn't. This fixes
  9431. swf-anchors mis-anchoring when resizing the app fast and lots.
  9432. - UpdateDistances: Now only setting the left and top distance if
  9433. we have a parent and are not suspended, this is based on
  9434. a suggestion by Don Edvaldson in bug #77355.
  9435. - OnVisibleChanged: Fixed logic when to create the control. We may
  9436. not create the control if we have no parent or if it's not visible;
  9437. switched to using Visible property instead of is_visible field
  9438. since the property also considers parent states. This fixes a bug
  9439. when starting Paint.Net
  9440. 2006-02-02 Jackson Harper <[email protected]>
  9441. * Form.cs: If the forms handle hasn't been created yet don't call
  9442. into xplatui to make it top most, just set the topmost flag on the
  9443. form in CreateParams
  9444. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  9445. 2006-02-01 Jackson Harper <[email protected]>
  9446. * ScrollableControl.cs: Refactored the Recalculate method a
  9447. little, this wasn't handling all the variants of bottom and right
  9448. bars needed to be added and added/removed based on their
  9449. counterparts being added/removed (which changes the drawable
  9450. size). Also we special case client widths and heights of 0 and
  9451. don't add the scrollbar for those.
  9452. 2006-02-01 Peter Dennis Bartok <[email protected]>
  9453. * XplatUIX11.cs:
  9454. - Added method to get AbsoluteGeometry(); currently unused, but might
  9455. be used in the future, if we try again to figure out toplevel
  9456. coordinates with some more crappy window managers
  9457. - Added FrameExtents() method to retrieve the WM set decoration size
  9458. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  9459. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  9460. * Hwnd.cs:
  9461. - Added whacky_wm tracking var for metacity
  9462. - Added logic to have default menu height if the actual menu height
  9463. has not yet been calculated (part of fix for #77426)
  9464. * Form.cs: Keep track whether client size has been set and re-set
  9465. it if a menu is added/removed afterwards (Fixes #77426)
  9466. 2006-01-31 Jackson Harper <[email protected]>
  9467. * Control.cs: When a new Site is set on the component attempt to
  9468. pull the AmbientProperties from it.
  9469. 2006-01-31 Peter Dennis Bartok <[email protected]>
  9470. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  9471. in the background of the owning form. Fixes #77332
  9472. 2006-01-31 Alexander Olk <[email protected]>
  9473. * MimeIcon.cs: Fix for #77409
  9474. 2006-01-31 Alexander Olk <[email protected]>
  9475. * XplatUIX11GTK.cs: Initial import
  9476. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  9477. * FixedSizeTextBox: fixes class signature
  9478. 2006-01-30 Jackson Harper <[email protected]>
  9479. * FixedSizeTextBox.cs: New internal class that represents a
  9480. textBox that will not be scaled.
  9481. * TreeView.cs:
  9482. * ComboBox.cs:
  9483. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  9484. standard TextBox.
  9485. 2006-01-30 Peter Dennis Bartok <[email protected]>
  9486. * XplatUIX11.cs: Retrieve default screen number instead of
  9487. assuming 0. Attempted fix for #77318
  9488. 2006-01-30 Peter Dennis Bartok <[email protected]>
  9489. * XplatUIWin32.cs:
  9490. - GetWindowPos: When a window is parented by FosterParent, use
  9491. the desktop instead of FosterParent as the base to get coordinates
  9492. - CreateWindow: Don't make FosterParent the parent window for Popups
  9493. if we don't want a taskbar entry, Popups automatically don't get one
  9494. * Hwnd.cs: Need to call remove to actually remove the key from the
  9495. hash table
  9496. 2006-01-30 Mike Kestner <[email protected]>
  9497. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  9498. 2006-01-30 Jackson Harper <[email protected]>
  9499. * TreeView.cs:
  9500. * TreeNode.cs: Raise events no matter how the treenode is
  9501. checked. Patch by Don Edvalson.
  9502. 2006-01-30 Jackson Harper <[email protected]>
  9503. * TreeNode.cs: Signature fix.
  9504. 2006-01-29 Alexander Olk <[email protected]>
  9505. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  9506. 2006-01-20 Mike Kestner <[email protected]>
  9507. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  9508. event forwarding when menus are active.
  9509. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  9510. Most of the patch is pdb's with a little rework.
  9511. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9512. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  9513. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  9514. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  9515. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  9516. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  9517. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  9518. the PaintWindowDecorations method
  9519. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  9520. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  9521. * MenuAPI.cs: Made tracker window invisible
  9522. * XplatUIWin32.cs:
  9523. - Removed GetMenuDC and ReleaseMenuDC methods
  9524. - Implemented the client=false path for PaintEventStart and
  9525. PaintEventEnd
  9526. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9527. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  9528. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  9529. styles
  9530. * Form.cs:
  9531. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  9532. the style
  9533. - CreateParams: Reworked the styles to match MS look'n'feel,
  9534. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  9535. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  9536. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9537. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  9538. window is not mapped, since otherwise every form that's being
  9539. created is considered minimized, which is wrong.
  9540. * Form.cs: Catching the exception and returning our internal value
  9541. instead
  9542. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9543. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  9544. SetWindowMinMax() to have means to tell the driver about the minimum,
  9545. maximum and maximized state window sizes. (Part of the fix for #76485)
  9546. * Form.cs:
  9547. - Implemented tracking of minimum and maximum window size, now calling
  9548. new SetWindowMinMax() driver method to tell the driver (Part of the
  9549. fix for #76485)
  9550. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  9551. (Completes fix for #76485)
  9552. - Calling new SetWindowMinMax driver method when the handle for a
  9553. form is created, to make sure the driver knows about it even if
  9554. the values have been set before the window was created
  9555. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  9556. to avoid messing up our anchoring calculations (partial fix
  9557. for #77355)
  9558. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  9559. * XplatUIX11.cs:
  9560. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  9561. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  9562. (and presumably other freedesktop.org compliant WMs). Left the
  9563. assumption unmapped=minimized, needed for SetVisible to work.
  9564. - Now setting the window state when creating windows
  9565. - Fixed SetVisible to consider/set the window state when mapping
  9566. a Form. We cannot set the state before it's mapped, and we cannot
  9567. use Form.WindowState once it's mapped (since it would ask the
  9568. driver and get 'normal'. Therefore, we grab the state before
  9569. mapping, map, and then set state.
  9570. - Implmemented SetWindowMinMax method; Metacity does not seem to
  9571. honor the ZoomHints, though.
  9572. * XplatUIWin32.cs:
  9573. - Removed MINMAXINFO (moved to XplatUIStructs)
  9574. - Added SetWindowMinMax stub (on Win32 the only way to set that
  9575. information is in response to the WM_GETMINMAXINFO message, which
  9576. is handled in Form.cs)
  9577. - Added logic to SetVisible to set the proper window state when a
  9578. form is made visible (fixes #75720)
  9579. 2006-01-26 Jackson Harper <[email protected]>
  9580. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  9581. same way we handle them with Invoke.
  9582. 2006-01-25 Peter Dennis Bartok <[email protected]>
  9583. * Form.cs:
  9584. - Added tracking of window state so CreateParams can return
  9585. the appropriate style
  9586. - Moved setting of WS_CAPTION style in CreateParams to allow
  9587. styles without caption
  9588. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  9589. control if the TextBox property is accessed. Fixes #77345
  9590. * Control.cs:
  9591. - get_Created: now uses is_disposed and is_created to determine
  9592. return value (suggested by Jackson)
  9593. - CreateHandle: No longer exits if the handle is being recreated
  9594. - RecreateHandle: If the handle is not yet created call the
  9595. appropriate method to create either control or handle. If the
  9596. control is already created CreateHandle will simply exit instead
  9597. of just creating the handle
  9598. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  9599. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  9600. is called.
  9601. * XplatUIX11.cs:
  9602. - When DestroyWindow is called, instead of waiting for the
  9603. DestroyNotification from X11, we directly post it to the WndProc
  9604. and immediately dispose the hwnd object.
  9605. Same applies to DestroyChildWindows, and this obsoletes the
  9606. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  9607. child windows before our own, to avoid X11 errors.
  9608. - Removed the direct sending of WM_PAINT on UpdateWindow
  9609. * XplatUIWin32.cs:
  9610. - Reworked DoEvents and GetMessage to allow access to internal queue
  9611. even when trying non-blocking access to the queue. Fixes #77335.
  9612. Based on a patch suggestion by Don Edvalson. The new private
  9613. GetMessage can now also be used as a backend for a PeekMessage
  9614. frontend version.
  9615. * XplatUI.cs: Improved debug output for CreateWindow
  9616. 2006-01-25 Jackson Harper <[email protected]>
  9617. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  9618. 2006-01-24 Jackson Harper <[email protected]>
  9619. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  9620. when we have a MaxDropItems lower then the selected index.
  9621. 2006-01-24 Jackson Harper <[email protected]>
  9622. * Control.cs: Don't allow selection of non visible controls, allow
  9623. selection of controls without parents.
  9624. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  9625. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  9626. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  9627. 2006-01-23 Jackson Harper <[email protected]>
  9628. * UpDownBase.cs: Make the textbox handle all the selection and
  9629. tabbing. This fixes tabing to updown controls.
  9630. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  9631. * TextBoxBase.cs: fixes exception thown the object was null
  9632. 2006-01-23 Jackson Harper <[email protected]>
  9633. * ButtonBase.cs: Just use the base CreateParams. They set
  9634. visibility and enabled correctly.
  9635. * ComboBox.cs:
  9636. * TrackBar.cs:
  9637. * MonthCalendar.cs: Lets let the base set as much of the
  9638. createparams as possible so we don't have duplicate code all over
  9639. the place.
  9640. 2006-01-22 Alexander Olk <[email protected]>
  9641. * ThemeGtk.cs: Added TrackBar and some experimental code to
  9642. get double buffering back
  9643. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  9644. * DataGrid.cs: Allows row number set internally higher than the last
  9645. when creating a new row. Restores the editing functionality.
  9646. 2006-01-20 Mike Kestner <[email protected]>
  9647. * MimeIcon.cs: delay Image creation until the icons are accessed
  9648. instead of creating 190 scaled images on GnomeHandler startup.
  9649. 2006-01-19 Peter Dennis Bartok <[email protected]>
  9650. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  9651. first call base before processing the event. Fixes #77279
  9652. 2006-01-19 Peter Dennis Bartok <[email protected]>
  9653. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  9654. that the stride for the GDI bitmap would match the stride of
  9655. a DIB or a Cursor.
  9656. 2006-01-19 Alexander Olk <[email protected]>
  9657. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  9658. 2006-01-19 Jackson Harper <[email protected]>
  9659. * ComboBox.cs: Hookup the text controls keydown event so we get
  9660. those when the text control has the focus.
  9661. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9662. * Label.cs: Now using the base events instead of defining new ones;
  9663. this allows us to just call the base properties without having to
  9664. duplicate all base property logic
  9665. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9666. * Label.cs: A label by default is not a tabstop (Fixes one of our
  9667. failing nunit tests)
  9668. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9669. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  9670. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  9671. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9672. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  9673. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  9674. This fixes #77218
  9675. * XplatUIWin32.cs:
  9676. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  9677. constructor creates images that can't be saved. Part of the fix
  9678. for #76103
  9679. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  9680. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  9681. bug fix for handling window state in forms properly)
  9682. 2006-01-18 Alexander Olk <[email protected]>
  9683. * ThemeGtk.cs: Simplify ScrollBar drawing
  9684. 2006-01-18 Jackson Harper <[email protected]>
  9685. * Splitter.cs: Set the default dock style for the splitter control
  9686. in the constructor.
  9687. 2006-01-18 Alexander Olk <[email protected]>
  9688. * ThemeGtk.cs: Corrected StateType and ShadowType for
  9689. gtk_paint_box
  9690. 2006-01-18 Alexander Olk <[email protected]>
  9691. * Control.cs: Make use of Theme.DoubleBufferingSupported
  9692. * ThemeGtk.cs:
  9693. - Added drawing for flat style buttons
  9694. - Added ScrollBar drawing
  9695. 2006-01-18 Alexander Olk <[email protected]>
  9696. * ThemeClearlooks.cs: Removed some unneeded code.
  9697. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  9698. 2006-01-17 Peter Dennis Bartok <[email protected]>
  9699. * LinkLabel.cs: We need to update the hover drawing when
  9700. leaving the control as well.
  9701. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  9702. * DataGrid.cs: Clicking on non empty areas in the columns
  9703. area was giving an exception
  9704. 2006-01-17 Jackson Harper <[email protected]>
  9705. * ThemeWin32Classic.cs:
  9706. * ListView.cs: Do not draw/clip the headers when the header style
  9707. is None.
  9708. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  9709. * DataGrid.cs: Fixes 77260
  9710. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  9711. * DataGrid.cs: Clicking on a column on a empty grid was giving
  9712. an exception
  9713. 2006-01-17 Peter Dennis Bartok <[email protected]>
  9714. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  9715. or any keypress will crash the grid.
  9716. 2006-01-17 Mike Kestner <[email protected]>
  9717. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  9718. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  9719. invisible/previously-visible items.
  9720. [Fixes #76909]
  9721. 2006-01-17 Alexander Olk <[email protected]>
  9722. * ThemeClearlooks.cs:
  9723. - Added CL_Draw_Button method; now other theme controls that are
  9724. not derived from button or do not have a button can draw buttons
  9725. too
  9726. - Updated ComboBox drawing
  9727. - Beautified RadioButton drawing
  9728. - Corrected drawing of bottom and left tabs
  9729. - Beautified DateTimePicker and MonthCalendar
  9730. - Added CPDrawButton and CPDrawRadioButton
  9731. 2006-01-16 Jackson Harper <[email protected]>
  9732. * ComboBox.cs: Set the initial value of the scrollbar to the
  9733. current index. Reduce the numbers of refreshs and IndexOfs called.
  9734. 2006-01-14 Alexander Olk <[email protected]>
  9735. * FileDialog.cs: When the file listview is focused hitting the
  9736. backspace key moves the fileview to the parent directory
  9737. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9738. * Form.cs:
  9739. - Added RecreateHandle call when changing taskbar visibility to
  9740. trigger reparenting in Win32 driver (Fixes #75719)
  9741. - If a window has minimize or maximize buttons, it cannot have
  9742. a help button
  9743. * XplatUIWin32.cs:
  9744. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  9745. the toplevel form with FosterParent (A toolwindow not on the
  9746. taskbar) (Fixes #75719)
  9747. - Made FosterParent a toolwindow
  9748. 2006-01-13 Alexander Olk <[email protected]>
  9749. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  9750. 2006-01-13 Alexander Olk <[email protected]>
  9751. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  9752. is currently over that control, make sure that tooltip_window.Text
  9753. gets updated
  9754. 2006-01-13 Mike Kestner <[email protected]>
  9755. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  9756. 2006-01-13 Jackson Harper <[email protected]>
  9757. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  9758. value passed. Also redraw the selected node when we recieve
  9759. focus, so tabbing between trees works correctly.
  9760. 2006-01-13 Alexander Olk <[email protected]>
  9761. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  9762. ~/.gconf/%gconf-tree.xml, so use
  9763. .gconf/desktop/gnome/interface/%gconf.xml
  9764. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9765. * TextControl.cs: Draw text in gray if control is disabled
  9766. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9767. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  9768. make sure it's always visible. Fixes #76680.
  9769. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9770. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  9771. 2006-01-13 Jonathan Chambers <[email protected]>
  9772. * PageSetupDialog.cs: Added.
  9773. * PrintDialog.cs: Attributes.
  9774. * PrintPreviewControl.cs: Updates.
  9775. * PrintPreviewDialog.cs: Updates.
  9776. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9777. * Control.cs: Undid my selection check fix, since it's not needed
  9778. * TextBoxBase.cs:
  9779. - Now considering the presence of hscroll/vscroll when sizing
  9780. vscroll/hscroll respectively. Fixed bug #77077
  9781. - Added Left/Up/Down/Right to IsInputKey list to prevent
  9782. ContainerControl from stealing them. This fixes what I broke
  9783. with my last checkin.
  9784. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9785. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  9786. I finally understand how the property can be set without a setter :-)
  9787. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9788. * Application.cs:
  9789. - Switched RunLoop to use static Message.Create to create a
  9790. Message object
  9791. - Added PreProcessMessage call in runloop for keyboard events; this
  9792. is part of the fix for #77219, I overlooked this originally in the
  9793. MSDN doc for PreProcessMessage
  9794. * Control.cs:
  9795. - Removed call to PreProcessMessage from handling of keyboard
  9796. messages; it's supposed to be done in the message pump
  9797. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  9798. per MSDN documentation.
  9799. - IsInputChar: All chars are input chars by default; removed the
  9800. parent calling chain, MS does not document that
  9801. - PreProcessMessage: If IsInputChar is true, we want to return false
  9802. to allow dispatching of the message
  9803. - When selecting the next control, now also check that we're not
  9804. selecting ourselves again and therefore return a false positive.
  9805. * TextBoxBase.cs:
  9806. - Tried to match return values for IsInputKey and ProcessDialogKey
  9807. to what MS returns; moved processing of our special keys outside
  9808. ProcessDialogKey since MS does not seem to return true on those.
  9809. - Moved code that previously was in ProcessDialogKey into new private
  9810. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  9811. - Reworked handling of WM_CHAR to not have to duplicate code from
  9812. Control.cs anymore, instead we simply call down to base.
  9813. 2006-01-12 Jackson Harper <[email protected]>
  9814. * ComboBox.cs: We always need to refresh the text area when
  9815. EndUpdate is called. Fixes the combobox in the file dialog.
  9816. * Control.cs: Don't create the creator_thread until the controls
  9817. handle is created. Also in InvokeRequired we check if the
  9818. creator_thread is null. This gives the effect of InvokeRequired
  9819. returning true if the controls handle is not created yet, and
  9820. matches MS.
  9821. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9822. * XplatUI.cs:
  9823. - Added StartLoop() driver method. This is used to allow drivers to
  9824. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  9825. loop for a particular thread
  9826. - Added EndLoop() driver method. This is called once the message
  9827. pump for the thread is shut down
  9828. - Added SupportsTransparency method to allow the driver to indicate
  9829. opacity support for windows
  9830. * Form.cs:
  9831. - Removed TODO attribute, completed AllowTransparency property
  9832. - Added documented logic to Opacity
  9833. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  9834. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  9835. versions of CompatibleTextRendering
  9836. * X11Structs.cs: Added opacity atom to our atom enumeration
  9837. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  9838. of a form might be set before it's reparented by the WM, and we need
  9839. the opacity value without calling up to Form)
  9840. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  9841. SupportsTransparency() driver methods
  9842. * Application.cs: Now calling StartLoop and EndLoop driver methods
  9843. * XplatUIX11.cs:
  9844. - Added opacity atom registration
  9845. - Added StartLoop()/EndLoop() methods. They're empty right now but
  9846. will need to get implemented when we switch to a per-thread queue
  9847. - Implemented SupportsTransparency() method
  9848. - Implemented SetWindowTransparency() method
  9849. - Added support for setting the opacity value when a window is
  9850. reparented (since the opacity needs to be set on the WM frame)
  9851. * XplatUIOSX.cs, XplatUIWin32.cs:
  9852. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  9853. 2006-01-12 Alexander Olk <[email protected]>
  9854. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  9855. 2006-01-12 Alexander Olk <[email protected]>
  9856. * FileDialog.cs: Added ToolTip for MWFFileView
  9857. * MimeIcon.cs: Rewrote GnomeHandler.
  9858. - Get currently used gnome icon theme from
  9859. ($HOME)/.gconf/%gconf-tree.xml
  9860. - Make use of inherited icon themes
  9861. - Support SVG icon themes like Tango via librsvg
  9862. 2006-01-12 Miguel de Icaza <[email protected]>
  9863. Revert's Jackson's revert which broke 2.0 builds. Fix both
  9864. builds.
  9865. * Application.cs: Move the use_compatible_text_rendering outside
  9866. the NET_2_0 define. If we ever need to use the
  9867. use_compatible_text_rendering on the individual controls they will
  9868. access the variable from the common shared code paths.
  9869. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9870. * XplatUI.cs:
  9871. - Added more granular debug options
  9872. - Added method to print both window text and id
  9873. - Switched debug output to use new Window() debug method
  9874. - Added IsEnabled() driver method
  9875. - Added EnableWindow() driver method
  9876. * Form.cs:
  9877. - Removed end_modal; no longer needed, new loop handles termination
  9878. via 'closing' variable
  9879. - If form is modal, setting DialogResult will now initiate loop
  9880. termination via 'closing' variable
  9881. - Added support for is_enabled/WS_DISABLED to CreateParams
  9882. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  9883. does all the work
  9884. - Removed code that's now in RunLoop from ShowDialog()
  9885. - Added various documented sanity checks to ShowDialog()
  9886. - Added handling of WM_DESTROY message; we set 'closing' on getting
  9887. the message to indicate the message pump to terminate
  9888. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  9889. send by the Application.ExitThread method. (We send the message
  9890. to destroy the window after all other events have been
  9891. processed through the queue, instead of destroying the handle
  9892. directly)
  9893. - Moved code from Close() method to WM_CLOSE handler; added logic
  9894. to only send close-related events if the form is not displayed
  9895. modal
  9896. * Splitter.cs (..ctor): Fixed typo in resource name
  9897. * Control.cs:
  9898. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  9899. brush now
  9900. - set_Cursor: Now only setting calling into XplatUI if the handle for
  9901. the control is already created; this avoids implict handle creation
  9902. or crashes if it's not created
  9903. - set_Enabled: Now setting the enabled state via the new driver method
  9904. instead of just tracking it
  9905. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  9906. - CreateControl: Reordered event firing and method calls to more
  9907. closely fire events in the order MS does. Now setting the
  9908. enabled state in the driver when creating the control.
  9909. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  9910. match MS order
  9911. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  9912. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  9913. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  9914. * Hwnd.cs:
  9915. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  9916. - Added EnabledHwnd property to easily allow a driver to find the
  9917. handle of the first enabled window in the parent chain (this is
  9918. used by drivers to pass up input events of disabled windows)
  9919. * XplatUIDriver.cs: Added IsEnabled() method
  9920. * Application.cs:
  9921. - Removed crude and obsolete exiting tracking variable
  9922. - Removed internal ModalRun(); replaced by RunLoop()
  9923. - Implemented private CloseForms() method to allow closing all
  9924. windows owned by a particular (or all) threads
  9925. - Exit() now properly closes all windows without forcing the message
  9926. pump to quit
  9927. - Removed obsolete InternalExit() method
  9928. - Changed Run() methods to use new RunLoop() message pump
  9929. - Implemented new RunLoop() method for both modal and non-modal forms
  9930. * CommonDialog.cs:
  9931. - get_CreateParams: Added setting of WS_DISABLED
  9932. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  9933. invoked via Form.ShowDialog()
  9934. * NativeWindow.cs: We don't remove the window from the collection when
  9935. the handle is destroyed; there might still be messages for it in the
  9936. queue (mainly the resulting WM_DESTROY); instead it will be removed
  9937. when Control calls InvalidateHandle in the WM_DESTROY handler
  9938. * XplatUIX11.cs:
  9939. - CreateWindow: Added logic to handle the WS_DISABLED window style
  9940. - EnableWindow: Implemented based on Hwnd.Enabled
  9941. - GetMessage: Reset PostQuitState so the method can be called again
  9942. - Implemented support for disabled windows (passing messages to the
  9943. first enabled parent) in handling all input messages
  9944. - Added optimizations for handling Expose events
  9945. - Implemeted new driver method IsEnabled()
  9946. - Now always resetting paint pending tracking vars when we start paint
  9947. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  9948. * XplatUIOSX.cs: Added IsEnabled method stub
  9949. * XplatUIWin32.cs: Implemented new IsEnabled() method
  9950. 2006-01-11 Jackson Harper <[email protected]>
  9951. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  9952. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  9953. variables a little.
  9954. * ColorDialog.cs: Clear out the old form before adding the new
  9955. panel.
  9956. 2006-01-11 Jackson Harper <[email protected]>
  9957. * X11Dnd.cs: Make sure to add all the text formats when adding
  9958. strings to the data object.
  9959. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  9960. do some redrawing too. Also change the UpdateNode to an
  9961. UpdateBelow so the newly added node gets painted.
  9962. 2006-01-11 Miguel de Icaza <[email protected]>
  9963. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  9964. LinkLabel.cs, PropertyGrid.cs: Implement the
  9965. UseCompatibleTextRendering property for 2.x
  9966. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  9967. 2006-01-11 Jackson Harper <[email protected]>
  9968. * TreeView.cs: Use the property for setting the selected node so
  9969. the correct events get raised.
  9970. * TreeNode.cs: Update the tree when the fore/back colours of a
  9971. node are set.
  9972. 2006-01-10 Jackson Harper <[email protected]>
  9973. * TreeView.cs: Allow setting SelectedNode to null.
  9974. 2006-01-9 Jonathan Chambers <[email protected]>
  9975. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  9976. 2006-01-9 Jonathan Chambers <[email protected]>
  9977. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  9978. 2006-01-9 Jonathan Chambers <[email protected]>
  9979. * PrintDialog.cs: Added attributes and set default property values.
  9980. 2006-01-9 Jonathan Chambers <[email protected]>
  9981. * PrintControllerWithStatusDialog.cs:
  9982. Added PrintControllerWithStatusDialog.
  9983. 2006-01-9 Jonathan Chambers <[email protected]>
  9984. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  9985. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  9986. 2006-01-9 Jonathan Chambers <[email protected]>
  9987. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  9988. 2006-01-09 Jonathan Chambers <[email protected]>
  9989. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  9990. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  9991. 2006-01-08 Alexander Olk <[email protected]>
  9992. * MimeIcon.cs: Added internal class SVGUtil.
  9993. 2006-01-08 Alexander Olk <[email protected]>
  9994. * FileDialog.cs: Don't crash if there are two files with the
  9995. same name but different locations.
  9996. 2006-01-08 John BouAntoun <[email protected]>
  9997. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  9998. dates across multiple month grids. Used to not highlight entire
  9999. month, but does now.
  10000. 2006-01-06 Jackson Harper <[email protected]>
  10001. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  10002. message loop. Change timer intervals to numbers that seem more
  10003. natural.
  10004. 2006-01-06 John BouAntoun <[email protected]>
  10005. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  10006. object for location info since screen object is now implemented.
  10007. 2006-01-05 Jackson Harper <[email protected]>
  10008. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  10009. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  10010. AsyncMethodResult, this is because we ALWAYS want the
  10011. ManualResetEvent to get set.
  10012. * Control.cs: When disposing use an async invoke to call shutdown
  10013. code, so that thigns don't block on the finalizer thread. Also
  10014. check if we even have a message loop before trying to send
  10015. messages, if we don't then don't bother sending messages.
  10016. - No more weak references for async methods
  10017. * XplatUIDriver.cs: No more weak references for async methods.
  10018. 2006-01-04 Alexander Olk <[email protected]>
  10019. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  10020. returns two FontFamily with the same name
  10021. 2006-01-04 Peter Dennis Bartok <[email protected]>
  10022. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  10023. drawing disabled text. Instead using the ColorGrayText color
  10024. 2006-01-04 Jackson Harper <[email protected]>
  10025. * TreeNode.cs: redraw the node when its image index is changed.
  10026. 2006-01-04 Peter Dennis Bartok <[email protected]>
  10027. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  10028. time I checked there are no others like it.
  10029. 2006-01-04 Jackson Harper <[email protected]>
  10030. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  10031. this gives the behavoir I was looking for.
  10032. * Control.cs: Special case Invoking EventHandlers, this matches MS
  10033. and fixes part of bug #76326.
  10034. 2006-01-04 Alexander Olk <[email protected]>
  10035. * ThemeClearlooks.cs, FileDialog.cs:
  10036. - Reflect the latest Theme class changes
  10037. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  10038. with DateTime
  10039. 2006-01-04 Alexander Olk <[email protected]>
  10040. * Theme.cs: Cache UI resource images and resize them if needed
  10041. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10042. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  10043. is called. This fixes the crash in Nexxia when setting the font
  10044. attributes in the chat. [However, RTF needs a look-over to make sure
  10045. that all SelectionXXX methods handle the special case that selection
  10046. is empty and therefore the change must be applied to all text starting
  10047. at the cursor/selection start]
  10048. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10049. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10050. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  10051. * X11Keyboard.cs: Switched to new way of calling PostMessage
  10052. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10053. * Theme.cs: Added theme interface for images to allow the theme to
  10054. control what images are used for things like FileDialog, MessageBox
  10055. icons, etc.
  10056. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  10057. 2006-01-03 Alexander Olk <[email protected]>
  10058. * FileDialog.cs:
  10059. - Removed some dead code
  10060. - Opening a recently used file does work now
  10061. - Small UI enhancements
  10062. - Refactoring
  10063. 2006-01-02 Alexander Olk <[email protected]>
  10064. * FileDialog.cs: Forgot too add __MonoCS__
  10065. 2006-01-02 Alexander Olk <[email protected]>
  10066. * FileDialog.cs: We are able to read recently used files now let's
  10067. go on and write them.
  10068. 2006-01-01 Alexander Olk <[email protected]>
  10069. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  10070. button
  10071. * MimeIcon.cs: Do a check for the top level media type also
  10072. 2005-12-31 Alexander Olk <[email protected]>
  10073. * ThemeClearlooks.cs:
  10074. - Added CPDrawStringDisabled
  10075. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  10076. some chars if the text doesn't fit into text_rect
  10077. - DrawListViewItem: If View = View.LargeIcon center the image;
  10078. rewrote the drawing of ListViewItem.Text if View =
  10079. View.LargeIcon
  10080. 2005-12-31 Alexander Olk <[email protected]>
  10081. * MimeIcon.cs: Use default KDE icon theme if there is no
  10082. "48x48" directory for the current icon theme, fixes #77114
  10083. * Mime.cs: Disable not working and actually not used code.
  10084. * ThemeWin32Classic.cs:
  10085. - Replace "new SolidBrush" in GetControlBackBrush and
  10086. GetControlForeBrush with ResPool.GetSolidBrush
  10087. - Changed DrawListViewItem from private to protected virtual
  10088. * FileDialog.cs:
  10089. - Added form.MaximizeBox = true
  10090. - Don't throw an exception if there is a broken symbolic link
  10091. 2005-12-23 Jackson Harper <[email protected]>
  10092. * TabControl.cs: Give the panels focus, keyboard navigation is
  10093. fixed so this works correctly now.
  10094. - We need these key events also.
  10095. * ToolBar.cs: Remove some of the poor mans double buffering.
  10096. 2005-12-24 Alexander Olk <[email protected]>
  10097. * ComboBox.cs: The internal TextBox now returns the focus.
  10098. 2005-12-23 Jackson Harper <[email protected]>
  10099. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  10100. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10101. * Control.cs: Removed debug code
  10102. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  10103. implicit children
  10104. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10105. * Control.cs: When creating the control, update the Z-order after
  10106. all it's children are created, too. (Fixes nexxia not showing
  10107. picturebox bug)
  10108. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10109. * Control.cs: Do not update the anchoring distances if layout is
  10110. suspended, instead do it once layout is resumed
  10111. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10112. * Control.cs:
  10113. - After many hours of debugging, for both Jackson and
  10114. myself, it turns out that it helps to set the parent of a control
  10115. if you want to actually see it onscreen. In the spirit of that
  10116. discovery, we're now setting the parent of the control and
  10117. it's children when the control's handle is created. This fix
  10118. will make Lutz Roeder's Reflector run happily.
  10119. - now just creating the handle instead of the whole control when
  10120. getting a graphics context for the control.
  10121. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10122. * ScrollableControl.cs: When calculating the canvas, don't consider
  10123. the scrollbar widths. Instead, predict if horizontal scrollbar
  10124. will affect canvas when deciding on vertical display and vice versa.
  10125. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10126. * RichTextBox.cs: Set default RTF font for documents that don't
  10127. have a font table (Fixes #77076)
  10128. 2005-12-22 Jackson Harper <[email protected]>
  10129. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  10130. clipboard. This prevents a NullRef in that case.
  10131. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  10132. clipboard. PRIMARY is for the currently selected text only. (We
  10133. should implement PRIMARY at some point.
  10134. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10135. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  10136. a Unicode function with a structure that was defined in Ansi way.
  10137. This fixes #76942.
  10138. 2005-12-21 Jackson Harper <[email protected]>
  10139. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  10140. on. Because thats how it rolls. (and this avoids it using ambient
  10141. colours).
  10142. * ThemeWin32Classic.cs: Use the proper back color for filling.
  10143. * Menu.cs: Use the system menu bar color for drawing menu
  10144. bars. Using the window back color will bring ambient colours into
  10145. the picture.
  10146. 2005-12-21 Alexander Olk <[email protected]>
  10147. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  10148. Bitmaps were created and not disposed.
  10149. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10150. * Control.cs (CreateControl): Don't do anything if the control is
  10151. already created, otherwise we'd fire the OnCreated event more than
  10152. once
  10153. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10154. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  10155. will always match. Instead return -1. Fixes #76464.
  10156. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10157. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  10158. neither the beginning nor the end of the line (Fixes bug #76479)
  10159. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10160. * Control.cs:
  10161. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  10162. where handle is invalid
  10163. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  10164. instead of slower linear search
  10165. * NativeWindow.cs: Don't remove the window from the hashtable until
  10166. after the driver has destroyed it (since the driver might use
  10167. Control.FromHandle to lookup the control object
  10168. * Hwnd.cs: Added DestroyPending property to track if a window is
  10169. already destroyed as far as the driver is concerned and only hasn't
  10170. yet notified the control
  10171. * XplatUIX11.cs:
  10172. - Activate(): Check if the window is still valid before using the
  10173. handle
  10174. - Implemented DestroyChildWindow() method to mark child windows as
  10175. destroyed when a window is destroyed. This prevents situations
  10176. where we might call an X method based on queued events for a
  10177. window that already has been destroyed but we haven't yet pulled
  10178. the destroy method from the queue.
  10179. - Added a call to the new DestroyChildWindow() method to the drivers
  10180. DestroyWindow code. Also now marking the destroyed window itself
  10181. as pending
  10182. 2005-12-20 Jackson Harper <[email protected]>
  10183. * StatusBar.cs:
  10184. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  10185. anymore. Just do them when needed, also track the rects of panels
  10186. so that we can optimize refreshing more in the future.
  10187. 2005-12-20 Alexander Olk <[email protected]>
  10188. * ColorDialog.cs: Fixed focus drawing in small color controls
  10189. 2005-12-19 Jackson Harper <[email protected]>
  10190. * InternalWindowManager.cs:
  10191. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  10192. moving windows works properly.
  10193. 2005-12-19 Peter Dennis Bartok <[email protected]>
  10194. * Control.cs:
  10195. - Removed call to InitLayout() from SetBoundsCore(); doc says
  10196. it's only called when a control is added to a container
  10197. - Split InitLayout logic, moved to separate UpdateDistances() method
  10198. since we need to perform those calculations more often than just
  10199. when adding the control to a container. (Needed to fix #77022)
  10200. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  10201. - Reduced the OnBindingContextChanged events count, don't send them
  10202. unless the control is created, we still aren't totally matching
  10203. MS, but I can't quite figure out some of their rules
  10204. 2005-12-18 Alexander Olk <[email protected]>
  10205. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  10206. stripes
  10207. 2005-12-18 Alexander Olk <[email protected]>
  10208. * ThemeClearlooks.cs:
  10209. - Updated ProgressBar drawing
  10210. - Corrected drawing of ScrollBars and scroll buttons
  10211. - Some temporary fixes for minor pixel artefacts
  10212. 2005-12-18 Peter Dennis Bartok <[email protected]>
  10213. * Control.cs:
  10214. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  10215. cause events to be sent in the same order as MS does.
  10216. - Added ChangeParent() method to trigger various OnXXXChanged events
  10217. that need to be fired when a parent changes (This is a reworking
  10218. of the patch from r54254, with the X11 errors fixed)
  10219. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  10220. since on MS we get OnLayoutChanged events when calling Clear()
  10221. - Changed Enabled property to consider parent state as well, if a
  10222. parent is not enabled, the control will not be either
  10223. - Changed Parent property to simply call Controls.Add() since that
  10224. now does all the work required, this way we avoid code duplication
  10225. - Threw in a few OnBindingsContextChanged calls to try and match
  10226. when MS sends them. We seem to send a few too many, though.
  10227. - Added call to CreateControl when adding the control to a parent.
  10228. We were never calling CreateControl. Still needs some work, in
  10229. some places we treat HandleCreated and ControlCreated as equal,
  10230. which is wrong
  10231. - Removed obsolete commented out code from UpdateZOrder()
  10232. 2005-12-18 Alexander Olk <[email protected]>
  10233. * ThemeClearlooks.cs: Updated TrackBar drawing.
  10234. 2005-12-17 Alexander Olk <[email protected]>
  10235. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  10236. 2005-12-17 Alexander Olk <[email protected]>
  10237. * FileDialog.cs: Add the Help button and the open readonly
  10238. checkbox only if needed
  10239. 2005-12-16 Jackson Harper <[email protected]>
  10240. * Control.cs: Make sure we have an active menu before trying to
  10241. process commands on it. Prevents menu-less forms from crashing
  10242. when Alt is pressed.
  10243. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  10244. Dieter Bremes.
  10245. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  10246. 2.0 build.
  10247. 2005-12-16 Jackson Harper <[email protected]>
  10248. * InternalWindowManager.cs: Don't translate tool windows screen
  10249. coordinates. This fixes windows 'bouncing' around when being moved.
  10250. 2005-12-15 Peter Dennis Bartok <[email protected]>
  10251. * TextBoxBase.cs:
  10252. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  10253. not quite MS compatible, MS uses that number only for single line
  10254. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  10255. the limit at 2GB)
  10256. - Now enforcing the MaxLength limit when entering characters
  10257. - Added argument to internal Paste() method to track if it's called
  10258. from programatically or via keyboard, since keyboard driven pastes
  10259. need to enforce max-length
  10260. - Added logic to Paste to only paste as many chars as MaxLength
  10261. allows
  10262. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  10263. * TextControl.cs:
  10264. - Added Length property to return number of characters in document
  10265. - Added private CharCount property which only tracks actual chars
  10266. in the document (no linefeeds) and fires event when CharCount
  10267. changes
  10268. - Added tracking of character count to all methods that alter it
  10269. - Added LengthChanged event to allow applications to subscribe
  10270. to any changes to the document
  10271. 2005-12-15 Peter Dennis Bartok <[email protected]>
  10272. * TextBox.cs:
  10273. - Removed local password_char field (moved to TextBoxBase)
  10274. - Now setting the document's password var when password is
  10275. set
  10276. * TextBoxBase.cs:
  10277. - Added password_char field (needed here so MultiLine can
  10278. access it)
  10279. - Added logic to MultiLine property setter to set the document's
  10280. variable when password display is allowed
  10281. - Removed debug code and made some debug code conditional
  10282. * TextControl.cs:
  10283. - Added RecalculatePasswordLine() method to handle special password
  10284. char only lines
  10285. - Added PasswordChar property, also added related tracking vars
  10286. - Draw() method now uses local text var for grabbing text to draw,
  10287. this var is set to line.text unless we're doing password display,
  10288. then it is set to the pre-generated all-password-chars line
  10289. - Added calling RecalculatePasswordLine() method for password lines
  10290. 2005-12-14 Peter Dennis Bartok <[email protected]>
  10291. * Hwnd.cs:
  10292. - Added Reparented property to allow tracking of Window Manager
  10293. reparenting actions (which affect X/Y calculations of toplevel
  10294. windows)
  10295. - Made ToString() print window handles in hex
  10296. * XplatUIX11.cs:
  10297. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  10298. determine if X/Y needs offsetting
  10299. - AddConfigureNotify(): Fixed offset calculations
  10300. - Now adds ReparentNotify messages into the queue
  10301. - Now processes ReparentNotify messages and causes a
  10302. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  10303. is reparented (as most likely it's X/Y coordinates are changed
  10304. due to that)
  10305. 2005-12-14 Jackson Harper <[email protected]>
  10306. * XplatUIX11.cs: Tool windows still need to respek focus.
  10307. 2005-12-14 Peter Dennis Bartok <[email protected]>
  10308. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  10309. have a working release
  10310. 2005-12-13 Jackson Harper <[email protected]>
  10311. * Form.cs: Update styles after setting the border style regardless
  10312. of whether or not the window is using a window manager.
  10313. 2005-12-13 Jackson Harper <[email protected]>
  10314. * Form.cs: We now hook into an internal window manager instead of just an
  10315. MDI subsystem, this is so we can have properly behaving tool windows.
  10316. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  10317. * InternalWindowManager.cs: New internal class that acts as a
  10318. window manager for tool windows and as a base for mdi windows.
  10319. * MdiWindowManager.cs: New class that acts as a window manager for
  10320. mdi windows.
  10321. 2005-12-12 Jackson Harper <[email protected]>
  10322. * Control.cs: Updates so we match behavoir for for implicit
  10323. controls. Fixes explosions in MDI.
  10324. 2005-12-12 Jackson Harper <[email protected]>
  10325. * Control.cs: Implement Invalidate (Region).
  10326. 2005-12-12 Peter Dennis Bartok <[email protected]>
  10327. * Control.cs:
  10328. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  10329. the same events as MS does. MS fires events for each property
  10330. except, for unknown reasons, Cursor, when the control is reparented.
  10331. I can't seem to totally match add/remove since MS also fires some
  10332. VisibleChanged events, which makes no sense. Consolidated the
  10333. parenting code into a separate method so it can be called from
  10334. both Add and Remove. set_Parent no longer needs any special logic
  10335. as it calls the parent's add method which implicitly fires
  10336. all events
  10337. - Removed some obsolete code and debug output
  10338. - Enabled state is inherited from parents, if this is enabled
  10339. 2005-12-08 Peter Dennis Bartok <[email protected]>
  10340. * Form.cs: Removed commented out code
  10341. 2005-12-08 Peter Dennis Bartok <[email protected]>
  10342. * Control.cs:
  10343. - Added internal version of Invoke, with additional argument
  10344. indicating if we're calling it from a Dispose() handler. That
  10345. way we can avoid BeginInvoke throwing an exception if we're
  10346. calling for an already destroyed window.
  10347. - Added a dispose argument to BeginInvokeInternal, and made the
  10348. check if a valid window handle chain exists conditional on
  10349. it not being a dispose call
  10350. - Removed code in DestroyHandle to destroy our children. Since we
  10351. now handle the WM_DESTROY message we will catch all our children
  10352. being destroyed.
  10353. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  10354. * Form.cs:
  10355. - Added a field to track the application context of the form.
  10356. - No need to set closing variable as response to WM_CLOSE, instead
  10357. we destroy the window. We also call PostQuitMessage if the form
  10358. has an application context (which makes it the main app form,
  10359. which, when closed terminates the app)
  10360. * XplatUI.cs:
  10361. - Dropped Exit() method, it's naming was confusing
  10362. - Added PostQuitMessage() which causes GetMessage to return false
  10363. once the message queue is empty
  10364. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  10365. PostQuitMessage()
  10366. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  10367. no longer a valid XplatUI method, but left it in since it's used
  10368. internally. Added empty PostQuitMessage() method.
  10369. * MenuAPI.cs: Replaced call to Exit() with call to
  10370. PostQuitMessage, even though this is probably no longer needed.
  10371. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  10372. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  10373. * Application.cs:
  10374. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  10375. - Removed old debug code that would call XplatUI for exception
  10376. display, enabled standard exception handling (Still not enabled
  10377. though, until NativeWindow's ExternalExceptionHandler define
  10378. is removed
  10379. * NativeWindow.cs:
  10380. - Added internal method to allow control to update NativeWindow
  10381. after a window has been destroyed
  10382. - Added handling of already destroyed windows when calling i
  10383. DestroyWindow
  10384. - Added removal of handle from list on ReleaseHandle
  10385. * XplatUIX11.cs:
  10386. - Dropped GetMessageResult var and related code
  10387. - Added PostQuitState to field to track if PostQuitMessage has been
  10388. called
  10389. - Dropped Exit() method
  10390. - Added PostQuitMessage() method
  10391. - GetMessage now will return false if PostQuitState is set and no
  10392. more messages are in the queue.
  10393. - Expose handler will no longer generate WM_PAINT messages if we are
  10394. in PostQuitState since it's very likely any windows have already
  10395. been destroyed, and since Hwnd won't get updated until we have
  10396. processed the DestroyNotify we'd be causing X errors.
  10397. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10398. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  10399. Thanks to Mike for pointing out the err of my ways.
  10400. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10401. * Control.cs(PreProcessMessage): Moved menu handling back, but
  10402. after all other key handling, to match MS (who handles Menu in
  10403. DefWndProc)
  10404. * Menu.cs (WndProc): Removed my brainfart
  10405. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10406. * Control.cs(PreProcessMessage): Removed special menu handling
  10407. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  10408. 2005-12-07 Mike Kestner <[email protected]>
  10409. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  10410. state according in tracker.
  10411. * Menu.cs : promote tracker field to base class and provide a tracker
  10412. lookup capability. Add/Remove shortcuts dynamically if the top menu
  10413. has a tracker. Unparent items that are removed from the collection.
  10414. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  10415. * Theme*.cs: add always_show_hotkeys field to support configurability
  10416. of mnemonic display. win32 doesn't show mnemonics until Alt is
  10417. pressed.
  10418. 2005-12-07 Jackson Harper <[email protected]>
  10419. * MdiChildContext.cs: Use Control.ResetCursor.
  10420. * Control.cs: ResetCursor needs to set the property so that the
  10421. correct XplatUI call gets made.
  10422. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10423. * Control.cs: More fixes to make our key events match MS. We
  10424. were not setting the modifier state on KeyData, and we were
  10425. not generating any events when Alt was pressed with a key
  10426. since handling of WM_SYSxxx was missing for the OnKey methods.
  10427. 2005-12-07 Jackson Harper <[email protected]>
  10428. * MdiChildContext.cs: reenable the sizing code.
  10429. - When the mouse leaves a window reset its cursor.
  10430. 2005-12-07 Alexander Olk <[email protected]>
  10431. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  10432. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10433. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  10434. widths of Fixed3D borders
  10435. 2005-12-07 Jackson Harper <[email protected]>
  10436. * MdiClient.cs: Fix warnings. Earn Mike's love.
  10437. 2005-12-07 Alexander Olk <[email protected]>
  10438. * ThemeClearlooks.cs:
  10439. - Adjusted mouse over button color
  10440. - Added first parts of CheckBox drawing
  10441. - Added correct color for selected text background
  10442. - Fixed ComboBox drawing
  10443. - Added CPDrawBorder3D and CPDrawBorder
  10444. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10445. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  10446. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10447. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10448. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  10449. alert users via sound. We could add an enum arg with different
  10450. types of alerts in the future
  10451. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10452. * Control.cs: Fix behaviour problems pointed out by Mike
  10453. 2005-12-05 Mike Kestner <[email protected]>
  10454. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  10455. prop setters. Calls parent.Refresh for now, but could be maybe be
  10456. optimized with an internal method on StatusBar at some point.
  10457. [Fixes #76513]
  10458. 2005-12-05 Peter Dennis Bartok <[email protected]>
  10459. * RichTextBox.cs: Implemented get_SelectionColor
  10460. 2005-12-05 Alexander Olk <[email protected]>
  10461. * ThemeClearlooks.cs:
  10462. - Removed dead code
  10463. - Draw black button border only if button is Form.AcceptButton
  10464. - Draw correct button color for pressed RadioButton if the mouse
  10465. has entered the button
  10466. - Updated ProgressBar drawing!
  10467. - Updated CPDrawSizeGrip drawing
  10468. - Updated StatusBarPanel drawing
  10469. 2005-12-05 Mike Kestner <[email protected]>
  10470. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  10471. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  10472. 2005-12-04 Alexander Olk <[email protected]>
  10473. * ThemeClearlooks.cs: Initial check-in, activate with
  10474. export MONO_THEME=clearlooks
  10475. * ThemeEngine.cs: Added ThemeClearlooks
  10476. 2005-12-03 Mike Kestner <[email protected]>
  10477. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  10478. [Fixes #76897]
  10479. 2005-12-02 Jackson Harper <[email protected]>
  10480. * Form.cs: If the child form has no menu the default main menu is
  10481. used as the active menu.
  10482. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10483. * ListBox.cs: Check if any items exist before trying to resolve
  10484. coordinates into items
  10485. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10486. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  10487. as the second color for the background hatch
  10488. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10489. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  10490. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  10491. sure that what we pass to FormatText is always 1-based. Fixes #76885
  10492. 2005-11-29 Miguel de Icaza <[email protected]>
  10493. * NumericUpDown.cs (EndInit): When we are done initializing,
  10494. reflect any updates on the UI.
  10495. 2005-12-02 Jackson Harper <[email protected]>
  10496. * ImplicitHScrollBar.cs:
  10497. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  10498. their container controls.
  10499. * TreeView.cs: Use the new implicit scrollbars.
  10500. 2005-12-02 Jackson Harper <[email protected]>
  10501. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  10502. can play with it.
  10503. * TreeNodeCollection.cs: If we remove the topnode we need to
  10504. update topnode to the next node in line.
  10505. - When clearing nodes go through the same process as removing
  10506. them, so they get depareneted and checked if they are top node.
  10507. 2005-12-01 Jackson Harper <[email protected]>
  10508. * TreeView.cs: When imagelists are used the image area is
  10509. selectable as well as the text.
  10510. - If there are no selected nodes select the first one.
  10511. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  10512. so don't do it more then we need to.
  10513. 2005-12-01 Jackson Harper <[email protected]>
  10514. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  10515. that arrows can be scaled.
  10516. 2005-12-01 Jackson Harper <[email protected]>
  10517. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  10518. fail. Patch by Dieter Bremes
  10519. 2005-11-30 Jackson Harper <[email protected]>
  10520. * Form.cs: Property is 2.0 only
  10521. * PrintDialog.cs: Signature fix.
  10522. 2005-11-30 Peter Dennis Bartok <[email protected]>
  10523. * TextControl.cs:
  10524. - No longer artificially moves text 2 pixels down (now that we have
  10525. borders this is no longer needed)
  10526. - Added calcs for left, hanging and right indent
  10527. 2005-11-23 Mike Kestner <[email protected]>
  10528. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  10529. 2005-11-30 Jackson Harper <[email protected]>
  10530. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  10531. get cloned as part of CloneMenu ().
  10532. * Menu.cs: Make sure the parent of the items get set correctly
  10533. when they are added. And the owners are notified of the changes.
  10534. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  10535. we can change the menu being displayed/handled by the form without
  10536. changing the menu assosciated with the form.
  10537. - Don't let Mdi children draw/handle menus.
  10538. 2005-11-30 Jackson Harper <[email protected]>
  10539. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  10540. a MenuChanged event. Just to make the API a little more
  10541. consistent.
  10542. * MainMenu.cs:
  10543. * MenuItem.cs: Use the new OnMenuChanged
  10544. * MdiChildContext.cs: Handle menu merging.
  10545. * Form.cs: Implement MergedMenu.
  10546. 2005-11-30 Jackson Harper <[email protected]>
  10547. * Menu.cs: We were misusing Add. Add goes behind the specified
  10548. index according to the docs, and does not replace the specified
  10549. index. So I added an Insert method.
  10550. 2005-11-30 Peter Dennis Bartok <[email protected]>
  10551. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  10552. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  10553. is for Jackson
  10554. * RichTextBox.cs: Added calls to base for DnD events
  10555. 2005-11-28 Peter Dennis Bartok <[email protected]>
  10556. * TextControl.cs:
  10557. - Fixed drag-selection related crash; style fixes
  10558. - Implemented undo class
  10559. o Implemented method to capture document state for specified
  10560. range in document tree
  10561. o Implemented method to restore captured document state
  10562. o Implemented cursor tracking
  10563. o Implemented basic undo stack
  10564. - Added undo cursor tracking to methods altering cursor location
  10565. - Added undo tracking to selection deletion (still missing
  10566. other text-altering hookups)
  10567. * RichTextBox.cs:
  10568. - Added SelectionLength property
  10569. - Implemented CanPaste()
  10570. - Implemented Paste()
  10571. - Added missing protected methods
  10572. - Fixed RTF->Document conversion; now uses font index 0 and color
  10573. index 0 as the default font for the parsed text
  10574. - Fixed RTF<->Document font size translation
  10575. - Fixed RTF generation, now properly handles cross-tag boundaries
  10576. for single line selection
  10577. - No longer always appends blank line to generated RTF
  10578. - Removed TODOs
  10579. - Added missing attributes
  10580. - Hooked up undo-related methods
  10581. * TextBoxBase.cs:
  10582. - Implemented Copy()
  10583. - Implemented Paste()
  10584. - Implemented Cut()
  10585. - Fixed caret mis-behaviour on backspace across line-boundaries
  10586. 2005-11-29 Jackson Harper <[email protected]>
  10587. * MdiClient.cs: Add a method for activating mdi children. Very
  10588. basic right now. I imagine someday it might need more girth.
  10589. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  10590. children windows names are added to the menu item.
  10591. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  10592. mdilist. This happens regardless of whether or not there are any
  10593. mdi windows to see in the list, and according to my tests happens
  10594. before the items are even added. Also happens if there isn't even
  10595. an mdi client to get windows from.
  10596. 2005-11-29 Alexander Olk <[email protected]>
  10597. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  10598. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  10599. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  10600. * DataGridTableStyle.cs:
  10601. - Create always the styles for the missing columns even if they are
  10602. provided by the user (not default table style)
  10603. * DataGrid.cs:
  10604. - Fixes bug 76770
  10605. - Fixes SetDataBinding (always re-attach source)
  10606. - Fixes SetNewDataSource (only clear styles if they are not for
  10607. this source)
  10608. - Expands OnTableStylesCollectionChanged to handle style refresh
  10609. and remove properly
  10610. 2005-11-29 Jackson Harper <[email protected]>
  10611. * FileDialog.cs: Implement missing bits, remove some dead
  10612. code.
  10613. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  10614. creation of the panel so that the options set on the dialog are
  10615. seen when the panel is created.
  10616. * TreeView.cs: raise a click when items are clicked.
  10617. 2005-11-29 Jackson Harper <[email protected]>
  10618. * MdiClient.cs: Pass some signature methods through to base.
  10619. 2005-11-28 Jackson Harper <[email protected]>
  10620. * ListView.cs: Raise the click event when items are clicked.
  10621. 2005-11-28 Jackson Harper <[email protected]>
  10622. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  10623. a nullref.
  10624. 2005-11-27 Alexander Olk <[email protected]>
  10625. * ThemeNice.cs: - Removed 1 pixel bitmaps
  10626. - Use SmoothingMode.AntiAlias where it makes sense
  10627. (ScrollButton arrow for example)
  10628. - Enhanced Button focus drawing
  10629. - Fixed ComboBox drawing (no artefacts anymore, focus
  10630. rectangle is back again, reduced size of ComboButton, etc.)
  10631. - Fixed RadioButton focus drawing for Appearence.Button
  10632. - Slight ScrollButton redesign
  10633. - Some LinearGradientBrush size fixes
  10634. - GroupBoxes have now rounded edges
  10635. - Fixed StatusBar drawing
  10636. 2005-11-25 Alexander Olk <[email protected]>
  10637. * ThemeNice.cs: - Remove dead code
  10638. - use correct background colors for menus, etc.
  10639. - Fake pixel drawing with 1 pixel bitmaps
  10640. 2005-11-24 Jackson Harper <[email protected]>
  10641. * MdiClient.cs: Size the scrollbars when resizing the window.
  10642. - Resize the maximized windows when the client is resized
  10643. * Form.cs: Make the child context available
  10644. 2005-11-23 Jackson Harper <[email protected]>
  10645. * MdiChildContext.cs: Don't size windows if they are maximized.
  10646. 2005-11-23 Mike Kestner <[email protected]>
  10647. * ContextMenu.cs: use MenuTracker.
  10648. * Control.cs: remove menu handle usage.
  10649. * Form.cs: remove menu handle usage.
  10650. * Hwnd.cs: remove menu handle usage.
  10651. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  10652. motion and clicks to the new Tracker handlers.
  10653. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  10654. and handle usage.
  10655. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  10656. Killed the MENU and MENUITEM data types and associated collections
  10657. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  10658. MenuTracker class that exposes the leftovers from the old MenuAPI
  10659. static methods. Restructured Capture handling so that only one grab is
  10660. done for the entire menu hierarchy instead of handing off grabs to
  10661. submenus. Tracker now has an invisible control to Capture when active.
  10662. * MenuItem.cs: add sizing accessors, kill Create
  10663. and handle usage.
  10664. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  10665. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  10666. MENU(ITEM). remove menu handle usage, use Menu directly.
  10667. * XplatUIDriver.cs: remove menu handle usage.
  10668. * XplatUIOSX.cs: remove menu handle usage.
  10669. * XplatUIWin32.cs: remove menu handle usage.
  10670. * XplatUIX11.cs: remove menu handle usage.
  10671. 2005-11-22 Jackson Harper <[email protected]>
  10672. * Hwnd.cs: Don't compute the menu size for
  10673. DefaultClientRectangle.
  10674. - Reenable menu sizes being computed for GetClienRectangle.
  10675. * Form.cs: Remove comment of trechery
  10676. 2005-11-22 Jackson Harper <[email protected]>
  10677. * Hwnd.cs: The adjustments for the menu bar are made when it is
  10678. attached to the form.
  10679. 2005-11-19 Jackson Harper <[email protected]>
  10680. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  10681. (just like on windows).
  10682. 2005-11-19 Jackson Harper <[email protected]>
  10683. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  10684. use real buttons anymore because they are in non client area. The
  10685. one TODO here is that I need to somehow invalidate a section of
  10686. the non client area.
  10687. 2005-11-18 Jackson Harper <[email protected]>
  10688. * Control.cs: Put the enum check back in now that MDI doesnt have
  10689. to use this to set border styles.
  10690. * Form.cs: Only set mdi child windows borders if the handle has
  10691. been created.
  10692. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  10693. this directly on to the driver.
  10694. - Get the move start position before adjusting for the titlebar
  10695. height, this fixes the windows "skipping" when they are first
  10696. moved.
  10697. 2005-11-18 Jackson Harper <[email protected]>
  10698. * XplatUIX11.cs: Just compute the mdi borders separately as they
  10699. don't totally match up with normal form borders.
  10700. 2005-11-18 Jackson Harper <[email protected]>
  10701. * Control.cs: Set WS_ styles for borders, so that the driver does
  10702. not have to retrieve the control instance to figure out what kind
  10703. of borders it should have.
  10704. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  10705. driver can know its an mdi child easily.
  10706. * XplatUIX11.cs: Get the border styles and whether the window is
  10707. MDI from the Styles and ExStyles params instead of having to get a
  10708. control. This prevents a chicken and egg problem.
  10709. 2005-11-18 Jackson Harper <[email protected]>
  10710. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  10711. 2005-11-18 Jackson Harper <[email protected]>
  10712. * MdiClient.cs: Calculate when to add and remove scrollbars
  10713. correctly.
  10714. * MdiChildContext.cs: Adjust the y position to take the titlebar
  10715. into account.
  10716. - No height for FormBorderStyle.None
  10717. 2005-11-18 Jackson Harper <[email protected]>
  10718. * Control.cs: Allow non enum values to be used for
  10719. InternalBorderStyle. MDI does this to set a special border style.
  10720. - New utility methods for converting points to/from client coords
  10721. - Add the newly created control to the Controls collection before
  10722. updating its style. This way UpdateStyle can walk the control
  10723. heirarchy to find the control if needed.
  10724. so I don't need to create a new Point object all the time.
  10725. * Form.cs: Let MDI windows handle their border styles.
  10726. - Set styles on MDI windows so the correct title style is derived.
  10727. * MdiChildContext.cs: Move all the painting and window handling
  10728. into the non client area.
  10729. - Use correct sizing and put correct buttons on frames based on
  10730. the FormBorderStyle.
  10731. - Notify the mdi client about scrolling
  10732. - Need to handle the buttons ourselves now, because they are all
  10733. in non client areas and we can't add controls there.
  10734. * MdiClient.cs: Halfway to scrolling, this implementation is
  10735. somewhat broken though, we need to check to make sure other
  10736. windows aren't causing scrolling before removing the bars. Also
  10737. the bars need to be drawn on top, maybe I can switch implicit
  10738. controls to be on top.
  10739. * Hwnd.cs: caption_height and tool_caption_height are now
  10740. properties of an hwnd, this way they can be set by the driver
  10741. based on the type of window they are. In X11 the window manager
  10742. handles the decorations so caption_height is zero unless its an
  10743. MDI window.
  10744. - Add 3 pixel borders for MDI windows (0xFFFF).
  10745. - Get rid of some code duplication, have DefaultClientRectanle
  10746. just call GetClientRectangle.
  10747. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  10748. Hwnd now.
  10749. - Set border styles differently for mdi windows.
  10750. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  10751. Hwnd now.
  10752. 2005-11-15 Mike Kestner <[email protected]>
  10753. * Menu.cs: when adding an item to the collection, if item is already
  10754. parented, remove it from the parent.
  10755. 2005-11-13 Alexander Olk <[email protected]>
  10756. * X11DesktopColors.cs: Added KDE support
  10757. 2005-11-11 Peter Dennis Bartok <[email protected]>
  10758. * XplatUIWin32.cs:
  10759. - Clipboard methods now can translate Rtf format
  10760. - No longer removes clipboard contents whenever a new format is added
  10761. to allow placing multiple formats on the clipboard
  10762. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  10763. will place all formats contained in it onto the clipboard. Also
  10764. now cleans the clipboard before placing a new object onto it
  10765. * RichTextBox.cs:
  10766. - Implemented set_Rtf
  10767. - Implemented set_SelectedRtf
  10768. - Created InsertRTFFromStream() method to allow single code base
  10769. for all properties and methods that insert RTF into document
  10770. - Removed debug output
  10771. * TextControl.cs:
  10772. - Fixed Delete(int) to fix up line numbers
  10773. - Fixed ReplaceSelection to combine start and end line
  10774. - Fixed serious DeleteChars bug that would leave the document tree
  10775. broken
  10776. - Improved DumpTree with several logic checks to detect broken
  10777. document trees
  10778. - Removed debug lines
  10779. - Fixed Caret.WordForward/WordBack moving code, now always also
  10780. updates caret.tag (fixes crash when word-selecting across tag
  10781. boundaries via keyboard)
  10782. - Added Insert() method for inserting multiline text into documents
  10783. - Fixed DeleteChars() calculation errors that would cause a broken
  10784. tag chain with multiple tag lines
  10785. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  10786. - Split() no longer moves caret if split is at caret location
  10787. - ReplaceSelection() now updates the cursor and re-displays it
  10788. - ReplaceSelection() now uses new Insert() method to avoid code
  10789. duplication
  10790. - FormatText() can now handle formatting partial lines
  10791. * TextBoxBase.cs:
  10792. - Append now uses new TextControl.Insert() method (this avoids
  10793. duplicate code)
  10794. - Implemented Ctrl-X (Cut) (
  10795. - Implemented Ctrl-C (Copy)
  10796. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  10797. regeneration when pasting text; roundtripping Copy&Paste within
  10798. edit control still fails due to some calculation bugs in GenerateRTF)
  10799. - The Delete key will now remove the current selection if it is visible
  10800. * TextBox.cs: Removed debug lines
  10801. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  10802. driver to be initialized and can't therefore be done via a static ctor)
  10803. 2005-11-10 Peter Dennis Bartok <[email protected]>
  10804. * TextControl.cs: Added backend code for finding char arrays and strings
  10805. * TextBoxBase.cs:
  10806. - Added mouse wheel scroll support
  10807. - Added support for VScroll and HScroll events
  10808. * RichTextBox.cs:
  10809. - Implemented all seven Find() variants
  10810. - Implemented GetCharFromPosition()
  10811. - Implemented GetCharIndexFromPosition()
  10812. - Implemented GetLineFromIndex()
  10813. - Implemented GetPositionFromCharIndex();
  10814. - Implemented SaveFile for PlainText and UnicodeText
  10815. - Fixed set_Font, now setting a new font applies that font to
  10816. the whole document
  10817. - Implemented generic Document to RTF converter
  10818. - Implemented SaveFile for RichText format (still missing unicode
  10819. conversion for non-ansi chars)
  10820. - Implemented get_Rtf
  10821. - Implemented get_SelectedRtf
  10822. 2005-11-09 Peter Dennis Bartok <[email protected]>
  10823. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  10824. to allow any captures to be released before triggering OnClick. This
  10825. way a click handler may capture the mouse without interference.
  10826. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  10827. This way we send them even though X may not allow a grab (if the window
  10828. isn't visible, for example)
  10829. 2005-11-08 Pedro Martinez Julia <[email protected]>
  10830. * DataGridViewRowEventArgs.cs: DataGridView implementation
  10831. * DataGridViewElement.cs: DataGridView implementation
  10832. * DataGridViewComboBoxCell.cs: DataGridView implementation
  10833. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  10834. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  10835. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  10836. * ImageLayout.cs: DataGridView implementation
  10837. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  10838. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  10839. * DataGridViewSelectionMode.cs: DataGridView implementation
  10840. * IDataGridViewEditingControl.cs: DataGridView implementation
  10841. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  10842. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  10843. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  10844. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  10845. * DataGridViewColumnSortMode.cs: DataGridView implementation
  10846. * DataGridView.cs: DataGridView implementation
  10847. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  10848. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  10849. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  10850. * Padding.cs: DataGridView implementation
  10851. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  10852. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  10853. * DataGridViewRowEventHandler.cs: DataGridView implementation
  10854. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  10855. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  10856. * DataGridViewButtonCell.cs: DataGridView implementation
  10857. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  10858. * DataGridViewEditMode.cs: DataGridView implementation
  10859. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  10860. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  10861. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  10862. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  10863. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  10864. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  10865. * DataGridViewCellEventHandler.cs: DataGridView implementation
  10866. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  10867. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  10868. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  10869. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  10870. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  10871. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  10872. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  10873. * QuestionEventArgs.cs: DataGridView implementation
  10874. * IDataGridViewEditingCell.cs: DataGridView implementation
  10875. * DataGridViewTriState.cs: DataGridView implementation
  10876. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  10877. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  10878. * DataGridViewColumnCollection.cs: DataGridView implementation
  10879. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  10880. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  10881. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  10882. * DataGridViewColumn.cs: DataGridView implementation
  10883. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  10884. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  10885. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  10886. * DataGridViewRow.cs: DataGridView implementation
  10887. * DataGridViewImageCellLayout.cs: DataGridView implementation
  10888. * DataGridViewImageCell.cs: DataGridView implementation
  10889. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  10890. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  10891. * DataGridViewHeaderCell.cs: DataGridView implementation
  10892. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  10893. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  10894. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  10895. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  10896. * QuestionEventHandler.cs: DataGridView implementation
  10897. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  10898. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  10899. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  10900. * DataGridViewCell.cs: DataGridView implementation
  10901. * DataGridViewCellEventArgs.cs: DataGridView implementation
  10902. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  10903. * DataGridViewCellStyle.cs: DataGridView implementation
  10904. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  10905. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  10906. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  10907. * TextFormatFlags.cs: DataGridView implementation
  10908. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  10909. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  10910. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  10911. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  10912. * DataGridViewButtonColumn.cs: DataGridView implementation
  10913. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  10914. * HandledMouseEventArgs.cs: DataGridView implementation
  10915. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  10916. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  10917. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  10918. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  10919. * DataGridViewRowCollection.cs: DataGridView implementation
  10920. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  10921. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  10922. * DataGridViewHitTestType.cs: DataGridView implementation
  10923. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  10924. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  10925. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  10926. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  10927. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  10928. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  10929. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  10930. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  10931. * DataGridViewContentAlignment.cs: DataGridView implementation
  10932. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  10933. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  10934. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  10935. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  10936. * DataGridViewPaintParts.cs: DataGridView implementation
  10937. * DataGridViewCellCollection.cs: DataGridView implementation
  10938. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  10939. * DataGridViewImageColumn.cs: DataGridView implementation
  10940. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  10941. * DataGridViewElementStates.cs: DataGridView implementation
  10942. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  10943. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  10944. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  10945. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  10946. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  10947. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  10948. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  10949. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  10950. * DataGridViewTextBoxCell.cs: DataGridView implementation
  10951. * DataGridViewBand.cs: DataGridView implementation
  10952. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  10953. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  10954. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  10955. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  10956. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  10957. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  10958. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  10959. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  10960. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  10961. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  10962. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  10963. 2005-11-08 Peter Dennis Bartok <[email protected]>
  10964. * ThemeWin32Classic.cs:
  10965. - Draw the outside focus rectangle around buttons
  10966. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  10967. doesn't use end caps for every dash of a line anymore. This
  10968. workaround ignores the forecolor.
  10969. 2005-11-08 Kornél Pál <[email protected]>
  10970. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  10971. endian safe.
  10972. 2005-11-07 Jackson Harper <[email protected]>
  10973. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  10974. 2005-11-07 Jackson Harper <[email protected]>
  10975. * ScrollableControl.cs: Calculate the maximum and change vars
  10976. (more) correctly so that scrollbars appear as a sensible size.
  10977. 2005-11-04 Jackson Harper <[email protected]>
  10978. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  10979. collection.
  10980. * TreeView.cs: When the tree is sorted null out the top_node so
  10981. that it is recalculated.
  10982. - Use dotted lines instead of dashed lines to match MS better.
  10983. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  10984. * ListView.cs:
  10985. - Implements key search for items. Useful when browsing files with FileDialog
  10986. - When changing view mode or when clear the items reset scrollbar positions
  10987. 2005-11-04 Jackson Harper <[email protected]>
  10988. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  10989. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  10990. as to what the method may do as there is no real way of creating a
  10991. derived CurrencyManager and calling the method.
  10992. 2005-11-03 Jackson Harper <[email protected]>
  10993. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  10994. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  10995. method which seems to just be used internally to refresh the tabs.
  10996. 2005-11-03 Jackson Harper <[email protected]>
  10997. * TabControl.cs: Implement the remove method. Fix some broken
  10998. comments.
  10999. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11000. * DateTimePicker.cs:
  11001. - Added missing DateTimePickerAccessibleObject class
  11002. - Added missing events
  11003. - Added OnFontChanged method
  11004. * Form.cs: Added missing attributes
  11005. * TreeView.cs: Added missing attributes
  11006. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11007. * GridItemCollection.cs: Fix signatures
  11008. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11009. * XplatUI.cs: Updated build rev/date
  11010. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  11011. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  11012. * Application.cs: Trigger context-specific ExitThread events
  11013. 2005-11-03 Jackson Harper <[email protected]>
  11014. * Menu.cs:
  11015. * MainMenu.cs:
  11016. * GridTableStylesCollection.cs:
  11017. * Timer.cs:
  11018. * TabPage.cs:
  11019. * HelpProvider.cs:
  11020. * StatusBar.cs:
  11021. * MonthCalendar.cs: Signature fixes
  11022. 2005-11-03 Jackson Harper <[email protected]>
  11023. * TreeNodeCollection.cs: Remove should not be virtual.
  11024. * TreeView.cs: Implement the last of the missing methods.
  11025. 2005-11-03 Jackson Harper <[email protected]>
  11026. * TreeNodeConverter.cs: Implement to get off my class-status back.
  11027. 2005-11-03 Jackson Harper <[email protected]>
  11028. * TreeView.cs: Hookup the bits for drag and drop.
  11029. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  11030. that nodes can be moved from tree to tree easily this just causes
  11031. all sorts of problems.
  11032. * TreeNodeCollection: Don't need to give treenodes an index and
  11033. treeview anymore when they are added, these are computed on the
  11034. fly. Also make sure to remove a node before its added.
  11035. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11036. * TextControl.cs:
  11037. - Added CaretSelection enum
  11038. - Added comparison methods to Marker struct, makes selection code
  11039. more readable
  11040. - Added SelectionStart and SelectionEnd as 'moveable' location for
  11041. the CaretDirection enum and handler
  11042. - Added selection_prev variable to track optimized invalidation for
  11043. word and line selection
  11044. - Added SelectionVisible property (returns true if there is a valid
  11045. selection)
  11046. - Switched CaretHasFocus to only display the caret if there is no
  11047. visible selection
  11048. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  11049. using the direct character index; should be much faster
  11050. - Added various conditional debug statements
  11051. - Fixed invalidation calculation for selection ranges
  11052. - Added ExpandSelection() method to support word and line selection
  11053. - Switched SetSelectionToCaret to use new Marker compare overloads
  11054. - Added central IsWordSeparator() method to determine word
  11055. separators/whitespace and FindWordSeparator() to streamline common
  11056. usage of IsWordSeparator()
  11057. * TextBoxBase.cs:
  11058. - Removed unneeded grabbed variable, it was just mirroring
  11059. Control.Capture
  11060. - No longer firing OnTextChanged event when Text setter is called,
  11061. since the base will fire the event for us
  11062. - Added handling of Ctrl-Up/Down selection
  11063. - Added handling of Shift-Cursorkey selection
  11064. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  11065. words
  11066. - Added handling of Shift and Ctrl-Shift-Home/End selection
  11067. - Removed some debug output
  11068. - Added handling for single/double/tripple-click to place caret/
  11069. select word/select line respectively (Fixes bug #76031)
  11070. - Added support for drag expansion of word/line selection
  11071. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  11072. current selection
  11073. 2005-11-02 Jackson Harper <[email protected]>
  11074. * X11Dnd.cs: If the drag is going to and from a MWF window just
  11075. copy the data instead of sending it out through the X Selection
  11076. mechanism.
  11077. 2005-11-02 Jackson Harper <[email protected]>
  11078. * X11Dnd.cs:
  11079. * XplatUIX11.cs: When in a drag we don't want motion notify
  11080. messages to get passed on to the other controls. This prevents
  11081. mouse move messages from showing up in the drag source.
  11082. 2005-11-02 Jackson Harper <[email protected]>
  11083. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  11084. the correct button is release to end a drag.
  11085. * XplatUIX11.cs: Make the button state internal so the drag system
  11086. can access it. Dragging needs to know about all button releases,
  11087. not just left button.
  11088. 2005-11-02 Miguel de Icaza <[email protected]>
  11089. * Form.cs (Icon): If the icon is null, reset the icon to the
  11090. default value.
  11091. * Cursor.cs: When writing the AND-mask bitmap do not include the
  11092. number of colors, but hardcode those to two (black and white),
  11093. fixes the loading of color cursors (Paint Dot Net).
  11094. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  11095. turn off autoscaling.
  11096. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  11097. 2005-11-02 Jackson Harper <[email protected]>
  11098. * X11Dnd.cs: Make sure to send a status message if the pointer
  11099. enters a control that can not accept a drop, otherwise the cursor
  11100. isn't updated correctly. Also tried to compress the lines of code
  11101. a bit.
  11102. 2005-11-02 Jackson Harper <[email protected]>
  11103. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  11104. set actions correctly. This isn't perfect as XDND and win32 have
  11105. some differences on how you allow actions. I'll clear this up by
  11106. adding a path for drag from MWF to MWF windows.
  11107. * XplatUIX11.cs: Hook into the dnd system.
  11108. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  11109. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  11110. previously shown but they are no longer need it. Very obvious when
  11111. browsing files with FileDialog.
  11112. 2005-11-01 Peter Dennis Bartok <[email protected]>
  11113. * Control.cs: We always need to call OnPaintBackground. We pretty much
  11114. ignore AllPaintingInWmPaint and always do the painting there, whether
  11115. it's set or not, since we always ignore the WM_ERASEBKGND message
  11116. (which we don't generate on X11). This fixes #76616.
  11117. * Panel.cs: Removed unneeded background painting. This happens properly
  11118. in Control.cs already
  11119. 2005-10-31 Mike Kestner <[email protected]>
  11120. * Menu.cs: Add items to collection before setting their index.
  11121. * MenuItem.cs : add range checking with ArgumentException like MS.
  11122. [Fixes #76510]
  11123. 2005-10-31 Jackson Harper <[email protected]>
  11124. * ListBox.cs: Invalidate if the area is visible at all not just
  11125. contained in the visible rect. Fixes unselection of semi visible
  11126. items.
  11127. 2005-10-31 Jackson Harper <[email protected]>
  11128. * Control.cs: Consistently name the dnd methods. Make them
  11129. internal so we can override them to match some MS behavoir
  11130. internally.
  11131. * Win32DnD.cs: Use the new consistent names.
  11132. 2005-10-31 Jackson Harper <[email protected]>
  11133. * TreeView.cs: Don't draw the selected node when we lose focus.
  11134. 2005-10-31 Jackson Harper <[email protected]>
  11135. * X11Dnd.cs: We still need to reset the state even though a full
  11136. reset isn't being done, otherwise status's still get sent all over
  11137. the place.
  11138. 2005-10-31 Jackson Harper <[email protected]>
  11139. * Control.cs: Make the dnd_aware flag internal so the dnd
  11140. subsystem can check it. Catch exceptions thrown in dnd handlers to
  11141. match MS behavoir.
  11142. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  11143. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  11144. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  11145. flags to reduce the number of dnd enters/status's sent.
  11146. 2005-10-31 Jackson Harper <[email protected]>
  11147. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  11148. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  11149. * PictureBox.cs: Fixes 76512
  11150. 2005-10-28 Jackson Harper <[email protected]>
  11151. * X11Dnd.cs: Early implementation to support winforms being a drag
  11152. source for data on X11. Also restructured the converters so they
  11153. can go both ways now.
  11154. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  11155. 2005-10-27 Peter Dennis Bartok <[email protected]>
  11156. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  11157. clipboard requests
  11158. 2005-10-27 Jackson Harper <[email protected]>
  11159. * TreeNode.cs: Implement serialization so my DnD examples will work.
  11160. 2005-10-24 Kornél Pál <[email protected]>
  11161. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  11162. TreeView.cs: Don't dispose objects that are not owned.
  11163. 2005-10-24 Peter Dennis Bartok <[email protected]>
  11164. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  11165. should retrieve the current cursor and report that, but XplatUI
  11166. doesn't (yet) have an interface for that (and I'm not sure I even
  11167. can, on X11)
  11168. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  11169. until any message loop processing is done (and the WM_SETCURSOR
  11170. replaces the cursor to the proper one)
  11171. * XplatUIX11.cs:
  11172. - Fixed override behaviour, we can't set the cursor globally on X11,
  11173. just for our windows.
  11174. - Invalidating the System.Drawing X11 display handle when we are
  11175. shutting down
  11176. * Control.cs: Fix to make csc happy
  11177. 2005-10-23 Peter Dennis Bartok <[email protected]>
  11178. * TextBoxBase.cs:
  11179. - get_Text: Add last line (without trailing newline) to returned
  11180. value (Fixes 76212)
  11181. - get_TextLength: Count last line in returned length
  11182. - ToString: Call Text property instead of duplicating code
  11183. 2005-10-23 Kornél Pál <[email protected]>
  11184. * ImageList.cs: Dispose ImageAttributes objects.
  11185. 2005-10-22 Kornél Pál <[email protected]>
  11186. * ImageList.cs: Use attribute constructors with less arguments where
  11187. possible.
  11188. 2005-10-22 Kornél Pál <[email protected]>
  11189. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  11190. Use typeof instead of strings when assembly is referenced. Added
  11191. some more comments.
  11192. 2005-10-21 Jackson Harper <[email protected]>
  11193. * ListView.cs: Raise a double click event. Also tried to somewhat
  11194. fix when the selectedindexchanged event is raised. Its still
  11195. broken though.
  11196. 2005-10-21 Jackson Harper <[email protected]>
  11197. * TreeView.cs: New method to invalidate the plus minus area of a
  11198. node without invalidating the whole node (maybe this can be used
  11199. in some more places).
  11200. * TreeNodeCollection.cs: When adding to an empty node we need to
  11201. invalidate its plus minus area so the little block shows up.
  11202. 2005-10-21 Jackson Harper <[email protected]>
  11203. * TreeView.cs: Make sure that when we invalidate a node the bounds
  11204. are big enough to cover the selected box and the focus
  11205. rectangle. Use a different colour for the lines connecting nodes
  11206. so they show up with all themes.
  11207. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11208. * NativeWindow.cs: Don't call anything that could call into the driver,
  11209. we might be on a different thread.
  11210. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11211. * Control.cs(Dispose): Since Dispose might run on a different thread,
  11212. make sure that we call methods that could call into the driver via
  11213. invoke, to avoid thread issues
  11214. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11215. * XplatUI.cs: Removed finalizer
  11216. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  11217. not allowing to be called on the finalizer thread.
  11218. 2005-10-21 Kornél Pál <[email protected]>
  11219. * ImageList.cs:
  11220. - Reverted r51889 and r51891.
  11221. - Added ImageListItem class that stores unmodified image items and image
  11222. properties required to create list images until handle is created.
  11223. - Added AddItem and moved image creation logic to AddItemInternal.
  11224. - Added CreateHandle method that creates images based on unmodified items.
  11225. - Added DestroyHandle that changes state to store unmodified items.
  11226. - Add and AddStrip methods no more create handle.
  11227. - ReduceColorDepth has no return value.
  11228. - Dispose destroys handle.
  11229. - Modified other methods to reflect the above changes.
  11230. - Implemented key support.
  11231. - Added profile 2.0 members and attributes.
  11232. - Added private Reset and ShouldSerialize methods that provide the same
  11233. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  11234. them as they are private.
  11235. - Added some more comments about implementation details.
  11236. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11237. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  11238. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11239. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  11240. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11241. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  11242. * DataGridColumnStyle.cs: Remove debug message
  11243. 2005-10-20 Jackson Harper <[email protected]>
  11244. * TreeView.cs: We can always get input keys regardless of whether
  11245. or not editing is enabled. They are used for navigation.
  11246. 2005-10-20 Jackson Harper <[email protected]>
  11247. * TreeNode.cs: Use the viewport rect for determining if a node
  11248. needs to be moved for visibility. Don't use Begin/End edit. This
  11249. calls a full refresh when its done.
  11250. * TreeView.cs: New SetBottom works correctly. Make the viewport
  11251. rect property internal so the treenodes can see it. When clicking
  11252. on a node we need to ensure that its visible because it might just
  11253. be partly visible when clicked.
  11254. 2005-10-20 Jackson Harper <[email protected]>
  11255. * TreeNodeCollection.cs: Remove debug code.
  11256. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  11257. * Datagrid.cs: Implements column sorting in Datagrid
  11258. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  11259. 2005-10-20 Jackson Harper <[email protected]>
  11260. * TreeNodeCollection.cs: Remove items properly. Update the correct
  11261. area after removing them.
  11262. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  11263. * Datagrid.cs: Should not call base.OnPaintBackground
  11264. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11265. * XplatUIX11.cs (GetMessage):
  11266. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  11267. window instead of client window
  11268. - Now properly calculates NC_xBUTTONUP message coordinates
  11269. - ScreenToMenu now properly calculates it's coordinates of whole
  11270. window, since menus are in the whole window, not in the client
  11271. window
  11272. - Added WholeToScreen coordinate translation method
  11273. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11274. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  11275. want to return a message, loop back to the beginning of the function
  11276. and grab the next real message to process instead.
  11277. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11278. * Splitter.cs: Properly set limits if no filler control is used
  11279. 2005-10-19 Jackson Harper <[email protected]>
  11280. * ColorDialog.cs: Don't show the help button if it is not enabled
  11281. instead of disabling it (this is what MS does). Don't create the
  11282. panel until the dialog is run, otherwise the vars (such as
  11283. ShowHelp) are not set yet.
  11284. 2005-10-19 Jackson Harper <[email protected]>
  11285. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  11286. are reduced when adding nodes.
  11287. * TreeNode.cs:
  11288. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  11289. tree.
  11290. 2005-10-19 Jackson Harper <[email protected]>
  11291. * FolderBrowserDialog.cs: End editing our treeview so the window
  11292. actually gets refreshed.
  11293. 2005-10-18 Peter Dennis Bartok <[email protected]>
  11294. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  11295. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  11296. inside of WM_PAINT
  11297. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11298. * MenuAPI.cs: Returns after Hidding window
  11299. * XplatUIX11.cs: Added TODO found while debugging menu issues
  11300. 2005-10-18 Peter Dennis Bartok <[email protected]>
  11301. * XplatUIX11.cs: Do not re-map the whole window when it's size
  11302. becomes non-zero unless it's supposed to be actually visible
  11303. 2005-10-18 Jackson Harper <[email protected]>
  11304. * TreeView.cs: We don't need to keep a count anymore.
  11305. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  11306. use the Grow method.
  11307. 2005-10-18 Jackson Harper <[email protected]>
  11308. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  11309. implement it manually here.
  11310. 2005-10-18 Jackson Harper <[email protected]>
  11311. * ImageList.cs: Dont kill the list when the colour depth is
  11312. changed, just change the colour depth of all the images.
  11313. - Same goes for setting the image size. Just resize them all
  11314. instead of killing the list softly.
  11315. 2005-10-18 Jackson Harper <[email protected]>
  11316. * Control.cs: Don't invalidate empty rectangles.
  11317. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11318. * ListViewItem.cs:
  11319. - Adds checked item to the Checked/Item lists (where empty before)
  11320. - Do not add items to the Selected lists if they are already present
  11321. * ListView.cs:
  11322. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  11323. - When deleting items make sure that we delete them for the Selected
  11324. and Checked list also.
  11325. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11326. * Label.cs: Dispose objects no longer used
  11327. * ThemeWin32Classic.cs: Dispose objects no longer used
  11328. 2005-10-18 Jackson Harper <[email protected]>
  11329. * TabControl.cs: Don't refresh the whole control when the tabs are
  11330. scrolled, we just need to refresh the tab area.
  11331. 2005-10-17 Jackson Harper <[email protected]>
  11332. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  11333. after handle when we need it.
  11334. 2005-10-17 Peter Dennis Bartok <[email protected]>
  11335. * Control.cs: When the parent size changes, recalculate anchor
  11336. positions. Partial fix for #76462
  11337. 2005-10-17 Peter Dennis Bartok <[email protected]>
  11338. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  11339. drawn. Fixes #76462
  11340. 2005-10-17 Jackson Harper <[email protected]>
  11341. * MonthCalendar.cs: Don't create the numeric up down until our
  11342. handle is created. Otherwise our handle is created in the
  11343. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  11344. yet.
  11345. 2005-10-17 Jackson Harper <[email protected]>
  11346. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  11347. correctly.
  11348. 2005-10-17 Rafael Teixeira <[email protected]>
  11349. * TreeNode.cs : small logical fix (was using local var instead of field)
  11350. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  11351. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  11352. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  11353. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  11354. 2005-10-16 Peter Dennis Bartok <[email protected]>
  11355. * Control.cs:
  11356. - Re-implemented anchoring code. My first version was really broken.
  11357. This fixes bug #76033. Unlike the previous implementation we will
  11358. no longer have round errors since all numbers are calculated from
  11359. scratch every time. Removed various anchor-related obsolete vars.
  11360. - InitLayout no longer causes layout event firing and layout to be
  11361. performed
  11362. 2005-10-16 Jackson Harper <[email protected]>
  11363. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  11364. which was broken).
  11365. 2005-10-16 Jackson Harper <[email protected]>
  11366. * TabControl.cs: Remove debug code.
  11367. 2005-10-16 Jackson Harper <[email protected]>
  11368. * XEventQueue.cs: Increase the default queue size (very simple
  11369. apps needed to grow the queue).
  11370. * Hwnd.cs: No finalizer so we don't need to suppress
  11371. finalization. Compute the invalid area manually so a new rectangle
  11372. does not newto be created.
  11373. * ScrollableControl.cs: Don't set any params (otherwise visibility
  11374. isn't set correctly).
  11375. * MdiChildContext.cs: New constructor takes the mdi parent so it
  11376. doesn't have to be computed and avoids a crash on windows. Draw
  11377. the window icon properly, and allow the text to be seen.
  11378. * Form.cs: Use new MdiChildContext constructor. Make sure the
  11379. child context isn't null in wndproc.
  11380. * TabControl.cs: Don't set focus, this is muddling keyboard
  11381. behavoir. Expand the tab rows when a window size increase will
  11382. allow extra tabs to be seen. Don't allow tabs smaller than the
  11383. width of a window to be scrolled out of view.
  11384. * TreeNode.cs:
  11385. * TreeView.cs: Use measure string to calculate a nodes width, the
  11386. width is cached and only updated when the text or the font is
  11387. changed. Don't check for expand/collapse clicks on the first level
  11388. nodes if root lines are disabled.
  11389. 2005-10-16 Ritvik Mayank <[email protected]>
  11390. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  11391. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  11392. * DataGridBoolColumn.cs: fixes warning
  11393. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  11394. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  11395. to match more to match more precisely the MS Net behavior
  11396. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11397. * Hwnd.cs: Added field to track if window is mapped
  11398. * XplatUIX11.cs:
  11399. - Unmap windows if they become 0-size, re-map when
  11400. they are >0 again; fixes #76035
  11401. - Re-set our error handler after initializing X11Desktop
  11402. to override any error handlers Gtk or whatever was called
  11403. may have set.
  11404. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11405. * CheckedListBox.cs: Removed unused vars
  11406. * ListView.cs: Fixed signatures
  11407. * RichTextBox.cs: Removed unused vars
  11408. * TextBoxBase.cs: Removed unused vars
  11409. * XplatUIWin32.cs: Removed unused vars
  11410. * XplatUIX11.cs: Removed unused vars
  11411. * XplatUI.cs: Updated version and date to latest published
  11412. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11413. * Cursor.cs: Added private .ctor to work around a bug in
  11414. resourceset (Thanks to Geoff Norton for the help on this)
  11415. * SplitterEventArgs.cs: Made fields accessible so we don't
  11416. waste boatloads of objects and can reuse the same one
  11417. in Splitter
  11418. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  11419. any captions and borders when generating screen coordinates
  11420. * Splitter.cs: Reimplemented control, now fully complete, uses
  11421. rubberband drawing, supports and obeys all properties, has
  11422. proper cursors
  11423. 2005-10-13 Miguel de Icaza <[email protected]>
  11424. * Form.cs (Form): Setup default values for autoscale and
  11425. autoscale_base_size; Make these instance variables, not static
  11426. variables.
  11427. (OnLoad): on the first load, adjust the size of the form.
  11428. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11429. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  11430. width argument to DrawReversibleRectangle()
  11431. * XplatUIWin32.cs, XplatUIX11.cs:
  11432. - Implemented width for DrawReversibleRectangle()
  11433. - Added logic to DrawReversibleRectangle that recognizes a zero
  11434. width or height and only draws a line in that situation
  11435. 2005-10-12 Peter Dennis Bartok <[email protected]>
  11436. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  11437. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  11438. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  11439. method (it uses our FosterParent window to get a graphics context)
  11440. 2005-10-12 Peter Dennis Bartok <[email protected]>
  11441. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  11442. and SetWindowBackground methods
  11443. * Control.cs:
  11444. - Setting proper ControlStyles
  11445. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  11446. EraseWindowBackground, instead we draw the window background
  11447. ourselves in PaintControlBackground. This behaviour is
  11448. required to match MS, where, when OnPaintBackground is not
  11449. called, the background is not drawn.
  11450. - Removed unneeded Refresh() in set_Text
  11451. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  11452. * XplatUIX11.cs:
  11453. - Created DeriveStyles method to translate from CreateParams to
  11454. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  11455. matches FormBorderStyle enum values)
  11456. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  11457. style calculations into single DeriveStyles method
  11458. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  11459. from redrawing the whole window on any resize or expose.
  11460. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  11461. all styles were applied to our whole/client window appropriately
  11462. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11463. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  11464. no longer clear/redraw the background through X
  11465. - Removed handling of erase_pending bit, we have no use for it (or
  11466. so it seems)
  11467. * XplatUIOSX.cs:
  11468. - Removed generation and handling of WM_ERASEBKGND message
  11469. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11470. - Removed handling of hwnd.ErasePending flag
  11471. * XplatUIWin32.cs:
  11472. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11473. - We no longer call EraseWindowBackground on PaintEventStart, we
  11474. ignore the fErase flag, erasing is handled in Control in the
  11475. background handler
  11476. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  11477. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  11478. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  11479. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  11480. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  11481. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  11482. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  11483. 2005-10-12 Jonathan Chambers <[email protected]>
  11484. * PropertyGrids.cs: Get sub properties
  11485. * PropertyGridView.cs: Fix drawing code
  11486. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11487. * ListBox.cs: Fixes 76383
  11488. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11489. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  11490. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  11491. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  11492. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11493. * ComboBox.cs: Fixes border drawing
  11494. 2005-10-10 Miguel de Icaza <[email protected]>
  11495. * MimeIcon.cs: Ignore errors if the file can not be read.
  11496. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11497. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  11498. - Fixed border calculations
  11499. - Fixed horizontal scrolling in single column listboxes
  11500. - Fixed drawing issues
  11501. 2005-10-10 Peter Dennis Bartok <[email protected]>
  11502. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  11503. FormBorderStyle enum
  11504. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  11505. code to determine FormBorderStyles from CreateParams
  11506. * Form.cs:
  11507. - Fixed bug where we'd set the wrong window styles if we were
  11508. not creating an MDI window
  11509. - Added call to XplatUI.SetBorderStyle when form borders are set
  11510. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  11511. * Hwnd.cs:
  11512. - Removed obsolete edge style
  11513. - Switched from BorderStyle to FormBorderStyle
  11514. 2005-10-10 Jackson Harper <[email protected]>
  11515. * Form.cs: Use the property to get the window handle instead of
  11516. accessing it directly. Prevents a null reference exception.
  11517. 2005-10-10 Jackson Harper <[email protected]>
  11518. * TreeView.cs: Don't adjust the rect given to DrawString now that
  11519. our libgdiplus draws correctly.
  11520. 2005-10-08 Jackson Harper <[email protected]>
  11521. * TreeView.cs: Don't try to find the clicked on node if there are
  11522. no nodes in the tree.
  11523. 2005-10-08 Alexander Olk <[email protected]>
  11524. * RichTextBox.cs:
  11525. restore
  11526. 2005-10-08 Alexander Olk <[email protected]>
  11527. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  11528. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  11529. ErrorProvider.cs:
  11530. Use ResPool for brushes and dispose System.Drawing objects that
  11531. are not used anymore.
  11532. 2005-10-07 Jackson Harper <[email protected]>
  11533. * MdiChildContext.cs: Use the new borders instead of drawing them
  11534. ourselves.
  11535. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  11536. * Calling UpdateBounds after changing the window's BorderStyle
  11537. since the style can change the ClientSize
  11538. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11539. * Control.cs: Made PaintControlBackground virtual
  11540. * Panel.cs: Overriding PaintControlBackground instead of using paint
  11541. event; paint event method was interfering with 'real' users of the
  11542. event.
  11543. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  11544. * ThemeWin32Classic.cs: remove border drawing since it is handled
  11545. by the base control class now and was causing double border drawing.
  11546. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11547. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  11548. but it does seem to match MS behaviour. This fixes bug #75324
  11549. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11550. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  11551. somewhat hackish looking
  11552. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11553. * TextBoxBase.cs:
  11554. - We now accept Enter even if AcceptEnter is false, if the containing
  11555. form does not have an AcceptButton configured (fixes bug #76355)
  11556. - Calculations are now fixed to no longer use Width/Height, but
  11557. ClientSize.Width/Height, since we now support borders (this was
  11558. a result of fixing borders and therefore bug #76166)
  11559. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  11560. true (fixes bug #76354)
  11561. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11562. * Control.cs:
  11563. - Defaulting BorderStyle and setting it in XplatUI when our window
  11564. is created
  11565. - Added enum check to InternalBorderStyle setter
  11566. * XplatUIX11.cs:
  11567. - Added drawing of window borders
  11568. - Now properly calculates WM decorations offset for toplevel
  11569. windows (fixes bug #74763)
  11570. * XplatUIWin32.cs:
  11571. - Implemented BorderStyles for windows (we're letting win32 draw
  11572. the border for us)
  11573. - Fixed the signature for SetWindowLong
  11574. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  11575. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  11576. setting borders
  11577. * UpDownBase.cs: Remove drawing of borders, this is handled by
  11578. the driver, outside the client area
  11579. * ListView.cs: Removed bogus border calculations. The control should
  11580. be oblivious to borders, since those are not part of the client
  11581. area.
  11582. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  11583. * ThemeWin32Classic.cs: Removed border calculations from ListView
  11584. drawing code
  11585. 2005-10-06 Jackson Harper <[email protected]>
  11586. * MdiChildContext.cs: Clear out the old virtual position remove
  11587. all the unneeded calls to CreateGraphics.
  11588. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11589. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  11590. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11591. * Form.cs:
  11592. - Added loading and setting of our new default icon
  11593. - Only set icon if window is already created
  11594. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11595. * Label.cs:
  11596. - Do not explicitly set the foreground and background colors, to
  11597. allow inheriting from parents (fixes #76302)
  11598. - Use Control's InternalBorderStyle property to deal with borders
  11599. 2005-10-06 Jackson Harper <[email protected]>
  11600. * MdiChildContext.cs: Use the new xplatui function to draw a
  11601. reversible rect.
  11602. 2005-10-06 Jackson Harper <[email protected]>
  11603. * Form.cs: Add the parent before creating the child context cause
  11604. we need the parent when setting up the child.
  11605. 2005-10-06 Jackson Harper <[email protected]>
  11606. * FolderBrowserDialog.cs: redo the tree population code so a
  11607. second thread isn't used. Should be a lot faster and more stable
  11608. now.
  11609. 2005-10-05 Jackson Harper <[email protected]>
  11610. * TreeView.cs: There are no expand/collapse boxes if the node has
  11611. no children.
  11612. 2005-10-05 Jackson Harper <[email protected]>
  11613. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  11614. 2005-10-05 Alexander Olk <[email protected]>
  11615. * FileDialog.cs: Fix InitialDirectory
  11616. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  11617. * ComboBox.cs:
  11618. - Fixes changing between styles
  11619. - Fixes simple mode
  11620. - Fixes last item crashing when navigating with keyboard
  11621. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  11622. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  11623. 2005-10-05 Jackson Harper <[email protected]>
  11624. * TreeView.cs: If updating the root node do a full refresh.
  11625. * TreeNode.cs: The root node should be expanded by default. Also
  11626. added a utility prop to tell if we are the root node.
  11627. * TreeNodeCollection.cs: Only refresh if the node we are being
  11628. added to is expanded. Also added a comment on a potential
  11629. optimization.
  11630. 2005-10-04 Peter Dennis Bartok <[email protected]>
  11631. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  11632. in dispose method. Fixes #76330
  11633. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  11634. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  11635. - Implements vertical and horizontal scrolling using XplatUI
  11636. - Fixes keyboard navagation
  11637. - Fixes EnsureVisible
  11638. - Drawing fixes
  11639. - Handles and draws focus properly
  11640. 2005-10-04 Kornél Pál <[email protected]>
  11641. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  11642. Create handle. NET_2_0: Destroy handle when value is null.
  11643. 2005-10-03 Jackson Harper <[email protected]>
  11644. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  11645. revert and a new patch to prevent the thumb from refreshing so
  11646. much.
  11647. 2005-10-02 Jackson Harper <[email protected]>
  11648. * ScrollBar.cs: Don't update position if it hasn't actually
  11649. changed. This occurs when you hold down the increment/decrement
  11650. buttons and the thumb gets to the max/min.
  11651. 2005-10-01 Jackson Harper <[email protected]>
  11652. * Form.cs:
  11653. * MdiChildContext.cs:
  11654. * MdiClient.cs: Implement ActiveMdiChild in Form.
  11655. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  11656. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  11657. 2005-10-01 Peter Dennis Bartok <[email protected]>
  11658. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  11659. be found
  11660. 2005-09-30 Jackson Harper <[email protected]>
  11661. * ListBox.cs: Don't do a full refresh unless some data has
  11662. actually changed.
  11663. 2005-09-30 Jackson Harper <[email protected]>
  11664. * TreeView.cs: Make sure that the checkboxes size is factored in
  11665. even when not visible.
  11666. 2005-09-30 Peter Dennis Bartok <[email protected]>
  11667. * FileDialog.cs: Fix Jordi's build break
  11668. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  11669. * FileDialog.cs:
  11670. - Use standard the Windows colours for the combobox as espected
  11671. - Dispose objects that use resouces when no longer need them
  11672. 2005-09-30 Peter Dennis Bartok <[email protected]>
  11673. * X11DesktopColors.cs: Initial incomplete implementation
  11674. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  11675. 2005-09-30 Peter Dennis Bartok <[email protected]>
  11676. * Theme.cs:
  11677. - Switched Theme color names to match the names defined in
  11678. System.Drawing.KnownColors. Life's hard enough, no need to make
  11679. it harder.
  11680. - Added setters to all theme color properties so themes can set
  11681. their color schemes. The setters also propagate the color changes
  11682. to System.Drawing.KnownColors via reflection
  11683. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  11684. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  11685. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  11686. use the new, more logical theme color names
  11687. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  11688. post-NT colors
  11689. * ThemeWin32Classic.cs:
  11690. - Removed code to set the old classic Windows colors. Instead it
  11691. now relies on the colors returned by System.Drawing.KnownColors
  11692. which will be either modern static colors (Unix) or colors
  11693. read from the user's configuration (Win32)
  11694. - Updated to use the new, more logical theme color names
  11695. - Switched DataGrid drawing code to use only Theme colors instead of
  11696. a mix of System.Drawing.KnownColors and Theme colors
  11697. - DrawFrameControl(): Removed code that fills the button area, the
  11698. fill would overwrite any previous fill done by a control. This
  11699. fixes bug #75338
  11700. - Added DrawReversibleRectangle() stub
  11701. * ScrollableControl.cs: Set visible state to false when scrollbars
  11702. are removed (pdn fix)
  11703. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  11704. DrawReversibleRectangle() method to allow drawing primitive
  11705. 'rubber bands'
  11706. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  11707. 2005-09-30 Kornél Pál <[email protected]>
  11708. * ImageList.cs: Add(Icon): Create handle.
  11709. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  11710. * ListView.cs:
  11711. * ThemeWin32Classic.cs:
  11712. - Fixes detail mode
  11713. - Sets clippings
  11714. - Issues with drawing
  11715. 2005-09-30 Kornél Pál <[email protected]>
  11716. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  11717. source has to be the ImageList.
  11718. 2005-09-30 Kornél Pál <[email protected]>
  11719. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  11720. 2005-09-30 Kornél Pál <[email protected]>
  11721. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  11722. 2005-09-30 Kornél Pál <[email protected]>
  11723. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  11724. 2005-09-29 Jonathan Chambers <[email protected]>
  11725. * GridItem.cs: Fixed TODOs
  11726. * GridItemCollection.cs: Added ICollection interface
  11727. 2005-09-30 Kornél Pál <[email protected]>
  11728. * ImageList.cs: Resize icons when needed.
  11729. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  11730. * ListViewItem.cs
  11731. - Fixes GetBounds and returns on screen rects
  11732. * ListView.cs:
  11733. - Fixes vertical and horzintal scrolling of items
  11734. * ThemeWin32Classic.cs:
  11735. - Fixes drawing
  11736. 2005-09-29 Raja R Harinath <[email protected]>
  11737. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  11738. 2005-09-29 Kornél Pál <[email protected]>
  11739. * ImageList.cs: Added comments about handle creation. Moved Handle,
  11740. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  11741. Handle is created in Add methods.
  11742. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  11743. * DataGridDrawingLogic.cs:
  11744. - Takes rows into account on Colum calculations
  11745. - Returns the column when clickig
  11746. * DataGrid.cs:
  11747. - Fixes default HitTestInfo values
  11748. - Fixes HitTestInfo.ToString
  11749. - Fixes ResetBackColor
  11750. 2005-09-28 Jackson Harper <[email protected]>
  11751. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  11752. sizing or cursor changes). Also added some temp code to draw the
  11753. titlebars text (Makes dev a little easier).
  11754. 2005-09-28 Kornél Pál <[email protected]>
  11755. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  11756. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  11757. * ListBox.cs: Fixes bug 76253
  11758. 2005-09-28 Kornél Pál <[email protected]>
  11759. * ImageList.cs: Added comments about the current implementation. Added
  11760. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  11761. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  11762. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  11763. with Bitmap.LockBits for better performance. Revised the whole file to
  11764. match MS.NET behaviour and provide better performance. Non-public
  11765. interface members are calling public members even when they throw
  11766. NotSupportedException for better maintainability. Moved ColorDepth,
  11767. ImageSize, ImageStream and TransparentColor implementations to
  11768. ImageCollection for better performance as these properties are not used
  11769. by ImageList.
  11770. * ImageListStreamer.cs: Added a new internal constructor that takes an
  11771. ImageList.ImageCollection and serializes Images based on
  11772. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  11773. match ImageList property name.
  11774. 2005-09-28 Kazuki Oikawa <[email protected]>
  11775. * ListBox.cs: Fixes IndexFromPoint for last item
  11776. 2005-09-27 Jackson Harper <[email protected]>
  11777. * Form.cs: Set the position of new mdi children correctly.
  11778. 2005-09-27 Jackson Harper <[email protected]>
  11779. * MdiClient.cs: New mdi children need to be added to the back of
  11780. the controls collection so the zorder is set correctly. Also add a
  11781. count of all the child windows that have been created.
  11782. 2005-09-27 Jackson Harper <[email protected]>
  11783. * Form.cs (CreateParams): Setup MDI forms correctly.
  11784. 2005-09-27 Jackson Harper <[email protected]>
  11785. * MdiChildContext.cs:
  11786. * MonthCalendar.cs:
  11787. * UpDownBase.cs:
  11788. * ListBox.cs:
  11789. * ListView.cs:
  11790. * TextBoxBase.cs:
  11791. * TreeView.cs:
  11792. * ScrollableControl.cs:
  11793. * ComboBox.cs: Add implicit controls using the new implict control
  11794. functionality in ControlCollection. Also try to block multiple
  11795. control add in a suspend/resume layout to save some cycles.
  11796. 2005-09-27 Jackson Harper <[email protected]>
  11797. * Control.cs: Add functionality to the controls collection to add
  11798. 'implicit controls' these are controls that are created by the
  11799. containing control but should not be exposed to the user. Such as
  11800. scrollbars in the treeview.
  11801. * Form.cs: The list var of the ControlsCollection is no longer
  11802. available because of the potential of implicit controls getting
  11803. ignored by someone accessing the list directly.
  11804. 2005-09-26 Peter Dennis Bartok <[email protected]>
  11805. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  11806. loose it's parent. (Fixed bug introduced in r49103 when we added
  11807. setting the child parent to null on Remove)
  11808. 2005-09-26 Gert Driesen <[email protected]>
  11809. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  11810. * Splitter.cs: Added missing attributes for BorderStyle property.
  11811. * TextBoxBase.cs: Marked Calculate* methods internal.
  11812. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  11813. MS.NET.
  11814. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  11815. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  11816. 2005-09-25 Jackson Harper <[email protected]>
  11817. * TreeView.cs: Update the node bounds correctly regardless of
  11818. whether the node is visible.
  11819. 2005-09-25 Jackson Harper <[email protected]>
  11820. * ImageList.cs: Don't dispose the image after it is added to the
  11821. image list. Only reformat images that need to be resized.
  11822. 2005-09-25 Jackson Harper <[email protected]>
  11823. * ImageList.cs: Don't set the format when changing the image.
  11824. 2005-09-25 Jackson Harper <[email protected]>
  11825. * TreeView.cs: We can't just assume the node has a font. Use the
  11826. treeviews font if no node font is available.
  11827. 2005-09-25 Jackson Harper <[email protected]>
  11828. * TreeView.cs: Allow the scrollbars to be reset with negative
  11829. values.
  11830. - Don't add scrollbars to negative sized windows.
  11831. 2005-09-23 Jackson Harper <[email protected]>
  11832. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  11833. old Mono.Posix. Also remove some stray code that shouldn't have
  11834. been committed.
  11835. 2005-09-23 Jackson Harper <[email protected]>
  11836. * TreeView.cs: Attempt at proper sizing of the horizontal
  11837. scrollbar. Also don't resize the scrollbars unless they are
  11838. visible.
  11839. 2005-09-23 Jackson Harper <[email protected]>
  11840. * TreeView.cs: We don't need to expand the invalid area when the
  11841. selection changes, as this is all drawn in the node's bounding
  11842. box. The area needs to be expanded (previous typo was contracting
  11843. it) when the focus rect moves.
  11844. 2005-09-23 Jackson Harper <[email protected]>
  11845. * TreeView.cs: Display the selection box under the correct
  11846. circumstances. We were rendering white text with no selection box
  11847. before.
  11848. 2005-09-23 Peter Dennis Bartok <[email protected]>
  11849. * TextControl.cs(Split): Now updates selection start/end if it points
  11850. into a line that's being split. Fixes a FIXME and bug #75258
  11851. 2005-09-23 Jackson Harper <[email protected]>
  11852. * Binding.cs:
  11853. * ListControl.cs: Don't use the path when retrieving binding
  11854. managers from the binding context. My bat sense tells me that the
  11855. path is only used on insertion.
  11856. 2005-09-22 Jackson Harper <[email protected]>
  11857. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  11858. 2005-09-22 Jackson Harper <[email protected]>
  11859. * Splitter.cs: There are special cursors used for splitting.
  11860. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  11861. 2005-09-22 Jackson Harper <[email protected]>
  11862. * Splitter.cs: Change the cursor appropriately when the splitter
  11863. is moused over, so the user actually knows there is a splitter
  11864. there.
  11865. 2005-09-22 Hisham Mardam Bey <[email protected]>
  11866. * Label.cs : Fix ToString method to give same output as MS.NET
  11867. 2005-09-22 Jackson Harper <[email protected]>
  11868. * TreeView.cs: Create the scrollbars when the handle is created
  11869. and add them right away, just make them invisble. Also account for
  11870. the window being shrunk vertically to the point that the vert
  11871. scrollbar needs to be added.
  11872. - Remove some 0.5 adjustments to get around anti aliasing issues.
  11873. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  11874. * MainMenu.cs: Fixes default value
  11875. * MenuItem.cs: Fixes default value
  11876. 2005-09-22 Kazuki Oikawa <[email protected]>
  11877. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  11878. 2005-09-21 Jackson Harper <[email protected]>
  11879. * Control.cs: Don't try to set the border style on the window if
  11880. it hasn't been created. When the window is created the border
  11881. style will be used.
  11882. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11883. * Control.cs (Update): Don't call XplatUI if we don't have a
  11884. window handle yet
  11885. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11886. * ContainerControl.cs: Instead of throwing an exception, print
  11887. a one-time warning about Validate not being implemented
  11888. * XplatUIWin32.cs: Removed debug output
  11889. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11890. * Control.cs: Only set XplatUI background if we expect the windowing
  11891. system to handle the background. This stops controls that draw their
  11892. own background from flickering
  11893. * XplatUIX11.cs: Support custom visuals and colormaps for window
  11894. creation. This allows, amongst other things, using MWF X11 windows
  11895. with OpenGL.
  11896. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11897. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  11898. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  11899. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  11900. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  11901. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  11902. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  11903. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  11904. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  11905. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  11906. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  11907. GridColumnStylesCollection.cs,
  11908. IDataGridColumnStyleEditingNotificationService.cs,
  11909. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  11910. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  11911. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  11912. TreeNodeCollection.cs, AmbientProperties.cs,
  11913. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  11914. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  11915. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  11916. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  11917. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  11918. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  11919. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  11920. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  11921. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  11922. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  11923. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  11924. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  11925. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  11926. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  11927. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  11928. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  11929. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  11930. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  11931. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  11932. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  11933. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  11934. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  11935. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  11936. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  11937. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  11938. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  11939. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  11940. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  11941. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  11942. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  11943. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  11944. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  11945. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  11946. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  11947. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  11948. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  11949. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  11950. 2005-09-21 Jackson Harper <[email protected]>
  11951. * TreeNode.cs: Call Before/After Expand not Collapse when
  11952. expanding.
  11953. 2005-09-20 Jackson Harper <[email protected]>
  11954. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  11955. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  11956. * ListViewItem.cs:
  11957. - Fixes bug 76120
  11958. - Fixes proper storing of subitems
  11959. - Fixes not updated items
  11960. 2005-09-20 Peter Dennis Bartok <[email protected]>
  11961. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  11962. things if our window handle isn't created yet. Also disabled
  11963. debug for TextBoxBase
  11964. 2005-09-20 Peter Dennis Bartok <[email protected]>
  11965. * MenuAPI.cs: Remove filtering of events to allow menu usage
  11966. 2005-09-20 Miguel de Icaza <[email protected]>
  11967. * Cursor.cs: Allow null to be passed to Cursor.Current.
  11968. 2005-09-20 Alexander Olk <[email protected]>
  11969. * ThemeWin32Classic.cs:
  11970. - Change some private methods/fields to protected virtual so that
  11971. they can be accessed and overriden in derived classes
  11972. - First refactoring of some methods. Derived themes now don't
  11973. need to duplicate the complete code from ThemeWin32Classic
  11974. * ThemeNice.cs:
  11975. - Added nice StatusBar
  11976. - Derive from ThemeWin32Classic and not Theme
  11977. - Removed duplicate ThemeWin32Classic code
  11978. 2005-09-20 Miguel de Icaza <[email protected]>
  11979. * Control.cs (ControlCollection.Add): If the value null is passed
  11980. the control is ignored.
  11981. Optimize this loop.
  11982. 2005-09-19 Peter Dennis Bartok <[email protected]>
  11983. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  11984. PostQuitMessage state.
  11985. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  11986. 2005-09-19 Peter Dennis Bartok <[email protected]>
  11987. * Application.cs: Our constructor will never get called, move
  11988. initialization to fields; fixes bug #75933
  11989. 2005-09-19 Hisham Mardam Bey <[email protected]>
  11990. * FileDialog.cs :
  11991. - Allow files to be selected properly using file name
  11992. combo box.
  11993. - Add ability to change diretory (absolute / relative)
  11994. using file name combo box.
  11995. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  11996. * ListBox.cs:
  11997. - Fixes Multicolumn listboxes item wrong calculations
  11998. - Allows to click when only one item is in the listbox
  11999. - Fixes crash when no items using keyboard navigation
  12000. 2005-09-16 Alexander Olk <[email protected]>
  12001. * ComboBox.cs: Reverted almost everything from the latest patch which
  12002. broke ComboBox
  12003. 2005-09-16 Kazuki Oikawa <[email protected]>
  12004. * ToolTip.cs:
  12005. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  12006. * ComboBox.cs:
  12007. - When DropDownStyle is Simple, it does not show scrollbar
  12008. to the last item of the list.
  12009. - When DropDownStyle is Simple, it crashed when the list was
  12010. scrolled down with the down cursor key.
  12011. - Fixed a bug that when DropDownStyle is DropDownList, the
  12012. selected item was not shown.
  12013. - The position of the selected item was not preserved when
  12014. the next dropdown happened.
  12015. * ThemeWin32Classic.cs:
  12016. - Items were wrapped at the right end.
  12017. * CheckedListBox.cs:
  12018. - Fixed Add method
  12019. * ListBox.cs:
  12020. - Items should be fully shown.
  12021. - When resizing and vertical scrollbar disappeared, the item
  12022. of index 0 should be on the top of the list.
  12023. - GetItemRectangle should consider the size of ver. scrollbar
  12024. * StatusBar.cs:
  12025. - SizingGrip area should not be allocated when it is not
  12026. displayed.
  12027. - Now it reflects MinWidth of the containing panel and
  12028. fixed a crash that happens when its width becomes so small.
  12029. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  12030. * CheckedListBox.cs: Fixes bug 76028
  12031. * ListBox.cs: Fixes bug 76028
  12032. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  12033. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  12034. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  12035. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  12036. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  12037. 2005-09-09 Jonathan Chambers <[email protected]>
  12038. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  12039. 2005-09-09 Jonathan Chambers <[email protected]>
  12040. * IRootGridEntry.cs: Added
  12041. * PropertyGridCommands.cs: Added
  12042. * PropertiesTab.cs: Added missing methods and property
  12043. * PropertyGridView.cs: Made class internal
  12044. * PropertyGridTextBox.cs: Made class internal
  12045. 2005-09-09 Alexander Olk <[email protected]>
  12046. * MimeIcon.cs: Try to check some other environment variables
  12047. if "DESKTOP_SESSION" returns "default"
  12048. 2005-09-09 Alexander Olk <[email protected]>
  12049. * ThemeNice.cs: Corrected background colors (e.g. menus)
  12050. * ColorDialog.cs: Use correct background colors for controls
  12051. 2005-09-09 Alexander Olk <[email protected]>
  12052. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  12053. 2005-09-08 Peter Dennis Bartok <[email protected]>
  12054. * RichTextBox.cs: Added initial implementation
  12055. * lang.cs: Removed. Was accidentally checked in long time ago
  12056. * TODO: Removed. Contents were obsolete
  12057. 2005-09-06 Jonathan Chambers <[email protected]>
  12058. * PropertiesTab.cs : Added
  12059. 2005-09-06 Jonathan Chambers <[email protected]>
  12060. * PropertyGrid.cs : Update
  12061. * PropertyGridView.cs : Update
  12062. * System.Windows.Forms.resx : Added images and strings
  12063. 2005-09-06 Peter Dennis Bartok <[email protected]>
  12064. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  12065. 2005-09-06 Peter Dennis Bartok <[email protected]>
  12066. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  12067. a busy loop right after the Ungrab the X11 display is otherwise
  12068. blocked
  12069. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  12070. * ThemeWin32Classic.cs: Optimise the use of clipping
  12071. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  12072. * DataGrid.cs: fixes recursion bug
  12073. 2005-09-03 Alexander Olk <[email protected]>
  12074. * ThemeNice.cs:
  12075. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  12076. - Cleanup
  12077. 2005-09-02 Alexander Olk <[email protected]>
  12078. * ThemeNice.cs: Draw nice ProgressBars
  12079. 2005-09-01 Miguel de Icaza <[email protected]>
  12080. * VScrollBar.cs: Another buglet found by Aaron's tool.
  12081. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  12082. bug finder.
  12083. 2005-08-30 Alexander Olk <[email protected]>
  12084. * ThemeNice.cs:
  12085. - Added nicer menu drawing
  12086. - Updated DrawTab
  12087. - some refactoring
  12088. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12089. * CreateParams.cs (ToString): Made output match MS
  12090. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  12091. handle is already created (to avoid forcing window creation)
  12092. * XplatUIX11.cs: Set window text to caption after creating window,
  12093. in case Text was set before window was created
  12094. * Form.cs: Use this.Text instead of a static string as caption
  12095. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12096. * NotifyIcon.cs: Don't set the window to visible; this screws
  12097. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  12098. OnPaint without a bitmap)
  12099. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  12100. happen very often anyway; we could add the check to the WM_PAINT
  12101. event generation code
  12102. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12103. * NotifyIcon.cs: Fill the icon area with a background color, to
  12104. avoid 'residue' when transparent icons are drawn
  12105. * XplatUIX11.cs:
  12106. - Handle whole_window == client_window when destroying windows
  12107. - SystrayAdd(): Set client_window to whole_window value to
  12108. get mouse and other events passed to NotifyIcon
  12109. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12110. * Form.cs: Set proper default for Opacity property
  12111. * NotifyIcon.cs:
  12112. - ShowSystray(): Don't bother creating telling the OS
  12113. about the systray item if no icon is provided
  12114. - Now handles WM_NCPAINT message to deal with whole/client window
  12115. split
  12116. - Create window as visible to not get caught by Expose optimization
  12117. * Hwnd.cs: Removed debug message
  12118. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  12119. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  12120. PaintEventStart/End to use new client argument
  12121. * TextBoxBase.cs:
  12122. - Commented out debug messages
  12123. - Switched PaintEventStart/End to use new client argument
  12124. * XplatUI.cs: Added client window bool to PaintEventStart()/
  12125. PaintEventEnd() calls, to support drawing in non-client areas
  12126. * XplatUIDriver.cs:
  12127. - Added client window bool to PaintEventStart()/PaintEventEnd()
  12128. calls, to support drawing in non-client areas
  12129. - Added conditional compile to allow using MWF BeginInvoke
  12130. on MS runtime
  12131. * XplatUIX11.cs:
  12132. - Added some conditional debug output
  12133. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  12134. whole/client window split
  12135. - Implemented handling of client argument to PaintEventStart()/End()
  12136. * Control.cs:
  12137. - Throw exception if BeginInvoke() is called and the window handle
  12138. or one of the window's parent handles is not created
  12139. - Added conditional compile to allow using MWF BeginInvoke on
  12140. MS runtime
  12141. - get_Parent(): Only sets parent if handle is created. This avoids
  12142. forcing window handle creation when parent is set.
  12143. - Now fires Layout and Parent changed events in proper order
  12144. - Switched to use Handle instead of window.Handle for Z-Order setting,
  12145. the get_Parent() patch above causes us to possibly get null for 'window'
  12146. - Implemented handling of client argument to PaintEventStart()/End()
  12147. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  12148. default handling)
  12149. - Now sends a Refresh() to all child windows when Refresh() is called
  12150. 2005-08-29 Peter Dennis Bartok <[email protected]>
  12151. * Form.cs: Added (non-functional) Opacity property
  12152. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  12153. 2005-08-29 Alexander Olk <[email protected]>
  12154. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  12155. use export MONO_THEME=nice to activate it.
  12156. Currently supported controls:
  12157. - Button
  12158. - ComboBox
  12159. - ScrollBar
  12160. - TabControl (TabAlignment.Top only, other will follow)
  12161. * ThemeEngine.cs: Add theme nice
  12162. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  12163. if enabled
  12164. 2005-08-25 Jonathan Chambers <[email protected]>
  12165. * Splitter.cs: Resize docked control and its neighbor.
  12166. 2005-08-24 Rafael Teixeira <[email protected]>
  12167. -- Making Windows with Menus layout correctly --
  12168. * Form.cs : The first leg of the fix
  12169. Menu setter - adjust Client Size as needed to make space for the menu
  12170. SetClientSizeCore - doesn't call base version to be able to pass the
  12171. menu handle to XplatUI.CalculateWindowRect
  12172. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  12173. * XplatUIX11.cs: The critical second leg of the fix
  12174. GetWindowPos needs to use a recalculated client_rect
  12175. so that resizing the window doesn't break layout of child controls.
  12176. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  12177. Lots of \t\n killed
  12178. 2005-08-23 Peter Dennis Bartok <[email protected]>
  12179. * Label.cs: Now properly recalculates width and height on Font and Text
  12180. changes if AutoSize is set
  12181. 2005-08-19 Rafael Teixeira <[email protected]>
  12182. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  12183. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  12184. * ImageList.cs: Makes ToString method compatible with MS
  12185. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  12186. * MenuAPI.cs: fixes bug 75716
  12187. 2005-08-11 Umadevi S <[email protected]>
  12188. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  12189. 2005-08-11 Umadevi S <[email protected]>
  12190. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  12191. 2005-08-10 Umadevi S <[email protected]>
  12192. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  12193. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  12194. * Menu.cs: fixes bug 75700
  12195. * MenuAPI.cs: fixes navigation issues
  12196. 2005-08-09 Umadevi S <[email protected]>
  12197. * CheckedListBox.cs - simple fix for GetItemChecked.
  12198. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  12199. * ComboBox.cs: Serveral fixes
  12200. * ListBox.cs: Serveral fixes
  12201. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  12202. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  12203. * ListBox.cs: Fixes FindString methods
  12204. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  12205. * DataGrid.cs: fixes bugs exposed by new tests
  12206. 2005-08-04 Peter Dennis Bartok <[email protected]>
  12207. * Mime.cs: Compile Mono assembly references only if compiling
  12208. with Mono (Allows to build with VS.Net again)
  12209. 2005-07-28 Marek Safar <[email protected]>
  12210. * Control.cs (PaintControlBackground): Draw background image
  12211. corrrectly.
  12212. (CheckForIllegalCrossThreadCalls): Stubbed.
  12213. * Form.cs (OnCreateControl): Center when should be centered.
  12214. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  12215. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  12216. * Binding.cs: Binding to properties should be case unsensitive
  12217. 2005-07-18 [email protected]
  12218. * DataGrid.cs: fixes setmember order
  12219. 2005-07-07 Alexander Olk <[email protected]>
  12220. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  12221. * FileDialog.cs: FileDialog is now resizable and uses the new
  12222. MimeIconEngine
  12223. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  12224. * DataGridTextBoxColumn.cs: default value
  12225. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  12226. * GridTableStylesCollection.cs: fixes checking MappingName
  12227. * DataGridDrawingLogic.cs: fixes drawing logic issues
  12228. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  12229. * DataGrid.cs: fixes
  12230. 2005-07-06 Alexander Olk <[email protected]>
  12231. * MimeGenerated.cs: Use case sensitive comparer for
  12232. NameValueCollections
  12233. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  12234. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  12235. * ThemeWin32Classic.cs: bug fixes, code refactoring
  12236. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  12237. * DataGrid.cs: bug fixes, code refactoring
  12238. * DataGridTextBox.cs: bug fixes, code refactoring
  12239. * DataGridColumnStyle.cs: bug fixes, code refactoring
  12240. * Theme.cs: bug fixes, code refactoring
  12241. 2005-07-01 Peter Bartok <[email protected]>
  12242. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  12243. and other text box usage
  12244. 2005-07-01 Jackson Harper <[email protected]>
  12245. * TabControl.cs: Make sure the bottom of the tab covers the pages
  12246. border.
  12247. 2005-06-30 Peter Bartok <[email protected]>
  12248. * Form.cs (ShowDialog): Assign owner of the dialog
  12249. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  12250. might have been moved to a tag with different height
  12251. 2005-06-30 Jackson Harper <[email protected]>
  12252. * Form.cs: Don't create an infinite loop when setting focus
  12253. * MenuItem.cs: Don't dirty the parents if we don't have any
  12254. 2005-06-29 Ben Maurer <[email protected]>
  12255. * LibSupport.cs: Rename
  12256. 2005-06-29 Peter Bartok <[email protected]>
  12257. * TextBoxBase.cs: Re-align caret after deleting a character
  12258. * TextControl.cs:
  12259. - DeleteChars(): Ensure that tag covers the provided position
  12260. - StreamLine(): Drop reference for dropped tag
  12261. 2005-06-29 Peter Bartok <[email protected]>
  12262. * TextControl.cs:
  12263. - Selections now work properly, anchoring at the initial location
  12264. and properly extending in either direction (SetSelectionToCaret(),
  12265. SetSelectionStart() and SetSelectionEnd())
  12266. - No longer redraws the whole control on selection change, now
  12267. calculates delta between previous and new selection and only
  12268. invalidates/redraws that area
  12269. - Fixed FindPos() math off-by-one errors
  12270. - Changed DeleteChars() to verify the provided tag covers the
  12271. provided position, selections may have a tag that doesn't cover
  12272. the position if the selection is at a tag border
  12273. - Fixed off-by-one errors in DeleteChars()
  12274. - Added missing streamlining check in DeleteChars() to remove
  12275. zero-length tags
  12276. - Implemented Invalidate() method, now properly calculates exposures
  12277. between two given lines/positions
  12278. - Implemented SetSelection()
  12279. - Obsoleted and removed FixupSelection()
  12280. - Improved RecalculateDocument() logic, removing code duplication
  12281. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  12282. * LibSupport.cs: changes to match different input/output arguments.
  12283. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  12284. * LibSupport.cs: added libsupport.so init routine.
  12285. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  12286. * ControlBindingsCollection.cs
  12287. - Throws an exception on null datasource when adding
  12288. - Checks for duplicated bindings when adding
  12289. 2005-06-28 Jackson Harper <[email protected]>
  12290. * TreeView.cs (OnKeyDown): Support left and right properly
  12291. (navigates as well as expanding and collapsing.
  12292. - Add support for Multiply, this expands all the selected nodes
  12293. children.
  12294. - Fix some tabbing.
  12295. 2005-06-28 Jackson Harper <[email protected]>
  12296. * TreeView.cs: Implement keyboard navigation, currently supports,
  12297. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  12298. support for toggling checkboxes with the space bar.
  12299. 2005-06-28 Jackson Harper <[email protected]>
  12300. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  12301. tree.
  12302. 2005-06-28 Jackson Harper <[email protected]>
  12303. * TreeView.cs: Add missing event.
  12304. 2005-06-27 Peter Bartok <[email protected]>
  12305. * TextControl.cs:
  12306. - Made line ending size configurable (now allows for counting
  12307. lineendings as \n or \r\n)
  12308. - Added margin to viewport to keep caret visible on right side
  12309. - Fixed translation routines for line/pos to documentpos to consider
  12310. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  12311. - Fixed some line-endings to be unix style
  12312. - Fixed Document.FormatText to perform it's calculations 1-based
  12313. - Added descriptions for a few methods that might otherwise get
  12314. used wrong
  12315. - Added NOTE section with some basic conventions to remember at
  12316. the top of the file
  12317. - Major fixup for RichTextBox selection drawing:
  12318. * Fixed crashes when multiple tags on a single line were selected
  12319. * fixed selection box drawing not overlaying text
  12320. * fixed bogus offset calculation for tags not starting at index 1
  12321. * Switched behaviour from using multiple Substrings of a
  12322. StringBuilder.ToString() to using multiple
  12323. StringBuilder.ToString(start, length) statements, hoping this is
  12324. faster (kept original version commented out in the code, in case
  12325. original version was faster)
  12326. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  12327. alignment != Left
  12328. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  12329. call it as well
  12330. 2005-06-27 Jackson Harper <[email protected]>
  12331. * TabControl.cs: Move to the left and right with the arrow
  12332. keys. These keys don't cycle beyond first and last like
  12333. tab. Refresh all the tabs when scrolling them to the left or
  12334. right.
  12335. 2005-06-27 Jackson Harper <[email protected]>
  12336. * TabControl.cs:
  12337. - ToString: Added method
  12338. - CreateParams: Remove TODO and comment
  12339. - OnKeyDown: Cycle through bounds properly.
  12340. - SelectedIndex: Scroll to the right or left if we need to
  12341. display the newly selected tab.
  12342. 2005-06-23 Jackson Harper <[email protected]>
  12343. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  12344. set.
  12345. 2005-06-23 Jackson Harper <[email protected]>
  12346. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  12347. CTRL-SHIFT-TAB, and HOME, END are there any others?
  12348. 2005-06-23 Jackson Harper <[email protected]>
  12349. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  12350. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  12351. * DataGridTextBoxColumn.cs: fixes and enhancements
  12352. * ThemeWin32Classic.cs: fixes and enhancements
  12353. * DataGridBoolColumn.cs: fixes and enhancements
  12354. * DataGridDrawingLogic.cs: fixes and enhancements
  12355. * CurrencyManager.cs: fixes and enhancements
  12356. * DataGrid.cs: fixes and enhancements
  12357. * DataGridColumnStyle.cs: fixes and enhancements
  12358. 2005-06-22 Jackson Harper <[email protected]>
  12359. * TabControl.cs: Add some missing methods that just call into the
  12360. base. Make the TabPageCollection's IList interface behave in the
  12361. same manner as the MS implementation.
  12362. 2005-06-22 Peter Bartok <[email protected]>
  12363. * TextControl.cs: Added sanity check
  12364. * TextBoxBase.cs:
  12365. - Fixed wrapping behaviour, don't set wrap on single line controls
  12366. (this fixes the breakage of colordialog introduced in an earlier
  12367. checkin)
  12368. - Added rudimentary support for autoscrolling right-aligned controls
  12369. (still needs fixing, also, center alignment scroll is missing)
  12370. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  12371. * ScrollBar.cs: Fixes thumbpos on Maximum values
  12372. 2005-06-21 Jonathan Chambers <[email protected]>
  12373. * PropertyGridView.cs: Pass context information to UITypeEditors
  12374. 2005-06-21 Peter Bartok <[email protected]>
  12375. * TextBoxBase.cs:
  12376. - Now calling PositionCaret with absolute space coordinates
  12377. - Enabled vertical scrolling
  12378. - Better tracking of scrollbar changes, tied into WidthChange
  12379. event
  12380. - Improved cursor tracking
  12381. - Removed debug output
  12382. * TextControl.cs:
  12383. - PositionCaret coordinates are now works in absolute space, not
  12384. the canvas
  12385. - Improved tracking of document size
  12386. - Added events for width and height changes
  12387. 2005-06-21 Peter Bartok <[email protected]>
  12388. * Form.cs: Set focus to active control when form is activated
  12389. * TextControl.cs:
  12390. - Added word-wrap functionality to RecalculateLine()
  12391. - Added some short function descriptions for VS.Net to aid in
  12392. writing dependent controls
  12393. - Added Caret property, returning the current coords of the caret
  12394. - Added ViewPortWidth and ViewPortHeight properties
  12395. - Added Wrap property
  12396. - Added CaretMoved event
  12397. - Removed some old debug code
  12398. - Split() can now create soft splits
  12399. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  12400. - Added method to format existing text
  12401. - Fixed size/alignment calculations to use viewport
  12402. - RecalculateDocument now can handle changing line-numbers while
  12403. calculating lines
  12404. * TextBox.cs:
  12405. - Added some wrap logic, we don't wrap if alignment is not left
  12406. - Added casts for scrollbar var, base class switched types to
  12407. also support RichTextBoxA
  12408. - Implemented handling of scrollbar visibility flags
  12409. * TextBoxBase.cs:
  12410. - Switched scrollbars type to RichTextBoxScrollBars to support
  12411. RichTextBox
  12412. - Added tracking of canvas width/height
  12413. - Switched scrollbars to be not selectable (to keep focus on text)
  12414. - Added central CalculateDocument() method to handle all redraw
  12415. requirements
  12416. - Added ReadOnly support
  12417. - Added WordWrap support
  12418. - Fixed handling of Enter key (we now treat it as a DialogKey)
  12419. - Fixed caret positioning when h or v scroll is not zero
  12420. - Fixed placing/generation of vertical scrollbar
  12421. - Added CalculateScrollBars() method to allow updating scrollbar
  12422. limits and visibility
  12423. - Fixed handling of horizontal scroll
  12424. - Added handling of vertical scroll
  12425. - Implemented auto-'jump' when caret moves to close to a left or
  12426. right border and there is text to be scrolled into view (currently
  12427. there's the potential for a stack overflow, until a bug in
  12428. scrollbar is fixed)
  12429. 2005-06-21 Geoff Norton <[email protected]>
  12430. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  12431. 2005-06-19 Alexander Olk <[email protected]>
  12432. * Mime.cs:
  12433. - added inodes.
  12434. - return application/x-zerosize for files with size zero
  12435. (if no extension pattern matches).
  12436. - check matches collection for strings too.
  12437. - return only the first mime type if the name value
  12438. collection has more than one mime type.
  12439. 2005-06-18 Jonathan Chambers <[email protected]>
  12440. * PropertyGrid.cs: Cleaned up some TODOs
  12441. * PropertyGridView.cs: Added support for UITypeEditors
  12442. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  12443. * DataGrid.cs: clears cached value
  12444. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  12445. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  12446. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  12447. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  12448. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  12449. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  12450. * ThemeWin32Classic.cs: fixes colour
  12451. 2005-06-15 Peter Bartok <[email protected]>
  12452. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  12453. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  12454. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  12455. * Control.cs: Added some MWFCategory and MWFDescription attributes
  12456. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  12457. 2005-06-15 Alexander Olk <[email protected]>
  12458. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  12459. usage
  12460. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  12461. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  12462. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  12463. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  12464. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  12465. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  12466. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  12467. 2005-06-13 Jackson Harper <[email protected]>
  12468. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  12469. isn't printed when the user enables dropping. (X11 does accept
  12470. drops).
  12471. 2005-06-13 Jackson Harper <[email protected]>
  12472. * TreeView.cs: Remove some TODOS.
  12473. 2005-06-13 Jackson Harper <[email protected]>
  12474. * Form.cs: Hook into the mdi framework.
  12475. * MdiClient.cs: Use the base control collections add method so
  12476. parents get setup correctly. Set the default back colour and dock
  12477. style.
  12478. * MdiChildContext.cs: New class, this bad actor handles an
  12479. instance of an MDI window. Right now there is only basic
  12480. support. You can drag, close, and resize windows. Minimize and
  12481. Maximize are partially implemented.
  12482. 2005-06-13 Jackson Harper <[email protected]>
  12483. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  12484. freaky when both vals are negative. NOTE: There are probably other
  12485. places in XplatUIX11 that this needs to be done.
  12486. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  12487. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  12488. * DataGridColumnStyle.cs: fixes signature
  12489. 2005-06-12 Jackson Harper <[email protected]>
  12490. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  12491. windows.
  12492. 2005-06-11 Jackson Harper <[email protected]>
  12493. * StatusBarPanel.cs: Signature cleanups. Implement
  12494. BeginInit/EndInit.
  12495. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  12496. * DataGridTextBoxColumn.cs: Honors aligment
  12497. * GridColumnStylesCollection.cs: Contains is case unsensitive
  12498. * GridTableStylesCollection.cs: several fixes
  12499. * DataGridTableStyle.cs: default column creation
  12500. * DataGridDrawingLogic.cs: fixes
  12501. * CurrencyManager.cs: ListName property
  12502. * DataGrid.cs: multiple styles support
  12503. * DataGridColumnStyle.cs: fixes
  12504. 2005-06-10 Peter Bartok <[email protected]>
  12505. * Control.cs(Select): Moved SetFocus call to avoid potential
  12506. loops if controls change the active control when getting focus
  12507. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  12508. the up/down buttons
  12509. 2005-06-10 Matthias Felgner <[email protected]>
  12510. * ImageListConverter.cs: Implemented
  12511. 2005-06-10 John BouAntoun <[email protected]>
  12512. * MonthCalendar.cs: Wired in NumericUpDown control for year
  12513. 2005-06-10 John BouAntoun <[email protected]>
  12514. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  12515. DoubleClick events, since they are not meant to be fired.
  12516. 2005-06-09 Peter Bartok <[email protected]>
  12517. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  12518. Jonathan's standalone controls into MWF, implemented missing
  12519. events, attributes and methods; added xxxAccessible classes
  12520. * AccessibleObject.cs: Made fields internal so other classes
  12521. can change them if needed
  12522. 2005-06-09 Jonathan Gilbert <[email protected]>
  12523. * UpDownBase.cs: Complete implementation
  12524. * NumericUpDown.cs: Complete implementation
  12525. * DomainUpDown.cs: Complete implementation
  12526. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  12527. * DataGridTextBoxColumn.cs: drawing fixes
  12528. * DataGridCell.cs: fixes ToString method to match MSNet
  12529. * DataGridTableStyle.cs: fixes
  12530. * DataGridBoolColumn.cs: fixes, drawing
  12531. * DataGridDrawingLogic.cs: fixes, new methods
  12532. * DataGridTextBox.cs: Keyboard and fixes
  12533. * DataGrid.cs:
  12534. - Keyboard navigation
  12535. - Scrolling fixes
  12536. - Row selection (single, multiple, deletion, etc)
  12537. - Lots of fixes
  12538. 2005-06-07 Jackson Harper <[email protected]>
  12539. * ThemeWin32Classic.cs: Clear the background area when drawing
  12540. buttons.
  12541. 2005-06-06 Peter Bartok <[email protected]>
  12542. * ImageListStreamer.cs: Fixed signature for GetData
  12543. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  12544. * ComboBox.cs:
  12545. - Added missing ChildAccessibleObject class
  12546. - Added missing OnXXXFocus overrides, switched to using those
  12547. instead of the event handler
  12548. * Control.cs:
  12549. - Added Parent property for ControlAccessibleObject
  12550. - Fixed signatures
  12551. - Fixed attributes
  12552. - Added ResetBindings()
  12553. * ListBindingConverter.cs: Implemented some methods
  12554. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  12555. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  12556. * ContainerControl.cs: Fixed signature, now subscribing to the
  12557. ControlRemoved event instead of overriding the handler, LAMESPEC
  12558. * CurrencyManager.cs: Added missing attribute
  12559. * MonthCalendar.cs: Added missing properties
  12560. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  12561. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  12562. 2005-06-06 Gaurav Vaish and Ankit Jain
  12563. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  12564. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  12565. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  12566. * Control.cs: fixes CreateParams Width / Height.
  12567. 2005-06-05 Peter Bartok <[email protected]>
  12568. * Win32DnD.cs: Removed compilation warnings
  12569. 2005-06-05 Peter Bartok <[email protected]>
  12570. * Control.cs (CreateParams): Since we don't know if one of the
  12571. properties we use is overridden, lets make sure if we fail accessing
  12572. we continue with a backup plan
  12573. 2005-06-05 Peter Bartok <[email protected]>
  12574. * Win32DnD.cs:
  12575. - Removed debug output
  12576. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  12577. struct
  12578. - Plugged resource leak
  12579. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  12580. MS size
  12581. 2005-06-05 Peter Bartok <[email protected]>
  12582. * XplatUIWin32.cs: Removed DnD code
  12583. * Win32DnD.cs: Implemented drop source and drop target functionality
  12584. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  12585. * UpDownBase.cs: remove duplicate addition of event, enable some code
  12586. that was commented out.
  12587. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  12588. Validate input when a key is pressed. It works fine now for every
  12589. combination of Hexadecimal. Only missing some drawing love when sharing
  12590. space with other controls.
  12591. 2005-06-04 Peter Bartok <[email protected]>
  12592. * Control.cs:
  12593. - We need to pass a window for DragDrop, so enable callback events
  12594. - Added DnD callback events when being a DragSource
  12595. * XplatUI.cs (StartDrag): Added window handle argument
  12596. * XplatUIDriver.cs (StartDrag): Added window handle argument
  12597. * QueryContinueDragEventArgs: Made fields internally accessible so
  12598. drivers can set them
  12599. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  12600. can set them
  12601. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  12602. * DataGridTextBoxColumn.cs: column text editing
  12603. * DataGridTableStyle.cs: Respect columns styles created by the user
  12604. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  12605. * DataGridBoolColumn.cs: bool column editing
  12606. * DataGrid.cs: fixes to scrolling, properties, etc
  12607. * DataGridTextBox.cs: handle keyboard
  12608. * DataGridColumnStyle.cs: fixes
  12609. 2005-06-02 Jackson Harper <[email protected]>
  12610. * ImageListStreamer.cs: Somewhat broken implementation of
  12611. GetObjectData. The RLE needs some work to match MS properly.
  12612. 2005-06-02 Jackson Harper <[email protected]>
  12613. * X11Dnd.cs: Attempting to keep at least one file in MWF
  12614. monostyled.
  12615. 2005-06-02 Peter Bartok <[email protected]>
  12616. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  12617. that way
  12618. 2005-06-02 Peter Bartok <[email protected]>
  12619. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  12620. * XplatUI.cs: Added DoDragDrop() method
  12621. * XplatUIDriver.cs: Added DoDragDrop() method
  12622. 2005-06-02 Jackson Harper <[email protected]>
  12623. * Splitter.cs: Implement BorderStyle.
  12624. 2005-06-02 Jackson Harper <[email protected]>
  12625. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  12626. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  12627. X11 using XDND.
  12628. 2005-06-02 Peter Bartok <[email protected]>
  12629. * DataObject.cs:
  12630. - Added Data setter
  12631. - Fixed broken insertion code for SetData, now also
  12632. overwrites any existing entry of the same format name
  12633. * Hwnd.cs: Added list of pointers that automatically gets
  12634. freed when the window is disposed
  12635. * XplatUI.cs: Call driver initialization method when loading
  12636. a driver
  12637. * Control.cs:
  12638. - OnDragLeave takes EventArgs, not DragEventArgs
  12639. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  12640. supported
  12641. - Forces style update when drop state changes
  12642. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  12643. not perfect since we cannot (yet) call the IDataObject.GetData()
  12644. method, we keep getting 0x80004005 error, dunno why)
  12645. 2005-06-02 Peter Bartok <[email protected]>
  12646. * DragEventArgs.cs: Make fields internal so we can cache the
  12647. object and re-set the fields from XplatUI
  12648. 2005-06-02 Jackson Harper <[email protected]>
  12649. * Control.cs: Add some internal methods so the DnD subsystem can
  12650. raise DnD events. Also call into the driver when AllowDrop is set.
  12651. * XplatUI.cs:
  12652. * XplatUIDriver.cs: New method for setting whether or not a window
  12653. is allowed to accept drag and drop messages.
  12654. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  12655. * ScrollBar.cs: Make sure that values sent in Scroll events
  12656. are always between Maximum and Minimum.
  12657. 2005-06-01 Marek Safar <[email protected]>
  12658. * Menu.cs: Call MenuChanged when menuitem visibility has been
  12659. changed.
  12660. * MenuItem.cs: Rebuild menu when item is (not) visible.
  12661. * MainMenu.cs: MainMenu has special MenuChanged.
  12662. * Theme.cs: Caption and FrameBorderSize are not fixed.
  12663. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  12664. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  12665. * XplatUIX11.cs,
  12666. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  12667. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  12668. 2005-05-30 Jackson Harper <[email protected]>
  12669. * DataFormat.cs: We can't statically initialize this stuff because
  12670. it calls into the xplatui and could create a loop. So we lazy init
  12671. it.
  12672. 2005-05-28 Jackson Harper <[email protected]>
  12673. * Control.cs: Proper implementation of Product(Name/Version).
  12674. 2005-05-27 Jackson Harper <[email protected]>
  12675. * DataObject.cs: Dont crash if no data is found.
  12676. 2005-05-26 Rafael Teixeira <[email protected]>
  12677. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  12678. as per status page, guessing it should be set to true
  12679. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  12680. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  12681. * DataGridTableStyle.cs: set proper formatting text, def header text
  12682. * ThemeWin32Classic.cs: new themable paramaters
  12683. * DataGridBoolColumn.cs: paint check box, get data, fixes
  12684. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  12685. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  12686. * DataGridColumnStyle.cs: fixes
  12687. * Theme.cs: new themable paramaters
  12688. 2005-05-26 Peter Bartok <[email protected]>
  12689. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  12690. 2005-05-24 Jonathan S. Chambers <[email protected]>
  12691. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  12692. 2005-05-24 Peter Bartok <[email protected]>
  12693. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  12694. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  12695. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  12696. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  12697. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  12698. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  12699. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  12700. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  12701. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  12702. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  12703. missing attributes, etc
  12704. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  12705. 2005-05-24 Peter Bartok <[email protected]>
  12706. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  12707. when user tries to get help
  12708. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  12709. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  12710. to suppress warnings
  12711. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  12712. avoid unreachable code warning
  12713. 2005-05-20 Peter Bartok <[email protected]>
  12714. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  12715. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  12716. * DataGridTextBoxColumn.cs: Basic painting methods
  12717. * DataGridTableStyle.cs: Set table style in the column
  12718. * ThemeWin32Classic.cs: Use Theme for colors
  12719. * DataGridDrawingLogic.cs: Implement more drawing
  12720. * DataGrid.cs: drawing, theming, enhacements, fixes
  12721. * DataGridColumnStyle.cs: fixes, drawing
  12722. * Theme.cs: theming for Datagrid
  12723. 2005-05-20 Peter Bartok <[email protected]>
  12724. * Cursor.cs: Implemented GetObjectData() method
  12725. 2005-05-20 Peter Bartok <[email protected]>
  12726. * Cursors.cs: Added setting of cursor name
  12727. * Cursor.cs:
  12728. - Implemented constructors
  12729. - Implemented Draw and DrawStretched
  12730. - Implemented Current property
  12731. - Implemented == and != operators
  12732. - Implemented Dispose()
  12733. - Implemented ToString
  12734. - Added missing attributes
  12735. * XplatUIX11.cs:
  12736. - Added missing reset for OverrideCursor when DoEvents is called
  12737. - Fixed creation of cursor, logic was wrong
  12738. * XplatUIWin32.cs:
  12739. - Added missing reset for OverrideCursor when DoEvents is called
  12740. - Fixed creation of cursor, bit arrays were swapped
  12741. * Clipboard.cs: Removed obsolete MonoTODO attribute
  12742. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  12743. * ComboBox.cs: fixes OnSelectedItemChanged
  12744. * ControlBindingsCollection.cs: fixes item range check
  12745. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  12746. * UpDownBase.cs:
  12747. - Calc preferred height properly
  12748. - Implement missing properties
  12749. * NumericUpDown.cs: Implement missing events
  12750. 2005-05-19 Jackson Harper <[email protected]>
  12751. * TabControl.cs: New method that resizes the tab pages before
  12752. redrawing them. This as needed as the control is double buffered
  12753. and sizing will not be recalculated unless ResizeTabPages is
  12754. called.
  12755. * TabPage.cs: Set base.Text instead of Text in the constructor so
  12756. that UpdateOwner does not get called. Use the new Redraw method of
  12757. TabControl instead of Refresh so the sizing is recalculated.
  12758. * ThemeWin32Classic.cs: Draw the text for button tabs.
  12759. 2005-05-19 Jackson Harper <[email protected]>
  12760. * Control.cs: Paint control background images. Fix typo where
  12761. PaintControlBackground was not getting called correctly.
  12762. 2005-05-19 Peter Bartok <[email protected]>
  12763. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  12764. I can investigate, apparently I broke FileDialog
  12765. 2005-05-19 Marek Safar <[email protected]>
  12766. * AxHost.cs: Some simple properties.
  12767. * Control.cs: window must be accessible after ctor.
  12768. * Form.cs: Added TransparencyKey property.
  12769. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  12770. * XplatUIWin32.cs: SetBorderStyle implemented.
  12771. 2005-05-18 Peter Bartok <[email protected]>
  12772. * DataObject.cs: Entries are not global but particular to the
  12773. DataObject, now it behaves that way
  12774. * XplatUIWin32.cs: Implemented Clipboard methods
  12775. * Clipboard.cs: Implemented
  12776. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  12777. * XplatUIOSX.cs: Updated to final clipboard prototypes
  12778. * XplatUIX11.cs: Implemented Clipboard methods
  12779. * XplatUIDriver.cs: Updated to final clipboard prototypes
  12780. * XplatUIStructs.cs:
  12781. - Added BITMAPINFOHEADER struct
  12782. - Added ClipboardFormats enum
  12783. * X11Structs.cs:
  12784. - Added ClipboardStruct
  12785. - Added Atom enum items for clipboard types
  12786. - Fixed atom types for Selection event structures
  12787. * DataFormats.cs:
  12788. - Added internal properties and methods for drivers to enumerate
  12789. all known formats
  12790. - Switched initialization method to allow drivers to assign their
  12791. own IDs even for the MS predefined clipboard IDs
  12792. * XplatUI.cs: Updated to final clipboard interface
  12793. 2005-05-18 Jonathan S. Chambers <[email protected]>
  12794. * PropertyGridView.cs: Fixed compiler warnings.
  12795. 2005-05-18 Jonathan S. Chambers <[email protected]>
  12796. * PropertyGrid.cs: Added some event calls
  12797. * PropertyGridView.cs: Change drawing code to use double buffering
  12798. * PropertyGridTextBox.cs: Changed Text property name
  12799. * GridItem.cs: Added Bounds property.
  12800. * GridEntry.cs: Added Bounds property.
  12801. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  12802. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  12803. since GetType() may not return the correct type if the object is
  12804. a remoting proxy.
  12805. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  12806. * TreeNodeCollection.cs: fixes get/set item ranges
  12807. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  12808. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  12809. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  12810. * ComboBox.cs: Fix item range comparation
  12811. * ListView.cs: Fix item range comparation
  12812. 2005-05-03 Alexander Olk <[email protected]>
  12813. * FontDialog.cs:
  12814. - Clear example panel when OnPaint is called
  12815. - Better solution for displaying the example panel text
  12816. - Select default indexes in the ListBoxes
  12817. 2005-05-11 Geoff Norton <[email protected]>
  12818. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  12819. 2005-05-11 Peter Bartok <[email protected]>
  12820. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  12821. * SelectionRangeConverter.cs: Implemented
  12822. * PropertyGrid.cs: Fixed attribute value
  12823. * Control.cs:
  12824. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  12825. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  12826. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  12827. that's common to all drivers. First methods to go there are
  12828. Sebastien Pouliot's CAS Stack Propagation helper methods
  12829. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  12830. Sebastien Pouliot for CAS Stack Propagation
  12831. 2005-05-11 Geoff Norton <[email protected]>
  12832. * OSXStructs.cs:
  12833. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  12834. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  12835. * DataGridTextBoxColumn.cs: fixed some members
  12836. * GridColumnStylesCollection.cs: indexed column is case insensitive
  12837. * DataGridTableStyle.cs: fixes
  12838. * ThemeWin32Classic.cs: add new theme parameter
  12839. * Theme.cs: add new theme parameter
  12840. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  12841. * DataGrid.cs: fixes, new internal properties, etc.
  12842. * DataGridColumnStyle.cs: allows to set grid value
  12843. *
  12844. 2005-05-10 Peter Bartok <[email protected]>
  12845. * AccessibleObject.cs:
  12846. - Removed MonoTODO attribute on help, method is correct
  12847. - Fixed Bounds property
  12848. * AxHost.cs: Moved MonoTODO
  12849. * ButtonBase.cs: Now setting AccessibleObject properties
  12850. * RadioButton.cs: Setting proper AccessibleObject role
  12851. * CheckBox.cs: Setting proper AccessibleObject role
  12852. * ControlBindingsCollection.cs: Added properties, methods and attributes
  12853. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  12854. userdefined DataFormats.Format items as well
  12855. * ListControl.cs: Removed data_member from the public eye
  12856. * OpenFileDialog.cs:
  12857. - Made class sealed
  12858. - Added missing attributes
  12859. * SaveFileDialog.cs: Added missing attributes
  12860. * ImageListStreamer.cs: Fixed code that caused warnings
  12861. * LinkLabel.cs: Removed unreachable code
  12862. * TreeView.cs: Fixed code that caused warnings
  12863. * PropertyGridView.cs: Fixed code that caused warnings
  12864. * GridColumnStylesCollection.cs: Added missing attributes
  12865. * GridTableStylesCollection: Added missing attribute
  12866. * PropertyManager: Added .ctor
  12867. * SecurityIDType: Added
  12868. * DataObject.cs: Implemented class
  12869. * LinkArea.cs: Added missing attribute
  12870. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  12871. * RadioButton.cs: call base method to allow to fire OnClick event
  12872. * UpDownBase.cs: OnMouseUp call base method
  12873. * CheckedListBox.cs: call base method before returning
  12874. * TrackBar.cs: call base method before returning
  12875. 2005-05-10 Peter Bartok <[email protected]>
  12876. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  12877. for messages
  12878. 2005-05-10 Peter Bartok <[email protected]>
  12879. * DataFormats.cs: Implemented
  12880. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  12881. XplatUIX11.cs: Added Clipboard APIs
  12882. * XplatUIWin32.cs: Implemented Clipboard APIs
  12883. * FolderBrowserDialog.cs: Added missing event, attributes
  12884. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  12885. * CheckBox.cs: call base method to allow to fire OnClick event
  12886. 2005-05-09 Sebastien Pouliot <[email protected]>
  12887. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  12888. 2005-05-06 Peter Bartok <[email protected]>
  12889. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  12890. * Screen.cs: Implemented
  12891. * HelpNavigator.cs: Added
  12892. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  12893. property
  12894. * HelpProvider.cs: Implemented all we can do until we have a CHM
  12895. help library (which means that "What's This" does work now)
  12896. 2005-05-06 Jackson Harper <[email protected]>
  12897. * XplatUIX11.cs: Fix waking up the main loop.
  12898. 2005-05-05 Peter Bartok <[email protected]>
  12899. * XplatUI.cs: Updated revision
  12900. * Form.cs: Removed enless loop
  12901. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  12902. * Label.cs (OnPaint): Added call to base.OnPaint()
  12903. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  12904. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  12905. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  12906. * AxHost.cs: Added
  12907. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  12908. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  12909. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  12910. reuse of ToolTipWindow by other controls
  12911. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  12912. * XplatUIX11.cs: Now clipping drawing area (experimental)
  12913. * PictureBox.cs: Moved base.OnPaint() call to end of method
  12914. * Theme.cs: Fixed ToolTip abstracts to match new format
  12915. * ErrorProvider.cs: Implemented
  12916. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  12917. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  12918. * LinkLabel.cs:
  12919. - Adds cursors
  12920. - Handles focus
  12921. - Implements LinkBehavior
  12922. - Fixes many issues
  12923. 2005-05-03 Jackson Harper <[email protected]>
  12924. * ListView.cs: Calculate the scrollbar positioning on resize and
  12925. paint, so they get put in the correct place.
  12926. 2005-05-03 Alexander Olk <[email protected]>
  12927. * ColorDialogs.cs: The small color panels are now handled by
  12928. SmallColorControl. This fixes drawing of the focus rectangle
  12929. and adds a 3D border.
  12930. 2005-05-03 Peter Bartok <[email protected]>
  12931. * Control.cs: Modified version of Jonathan Chamber's fix for
  12932. double-buffering
  12933. 2005-05-03 Jackson Harper <[email protected]>
  12934. * ListView.cs: Remove redraw variable. Control now handles whether
  12935. or not a redraw needs to be done, and will only raise the paint
  12936. event if redrawing is needed.
  12937. 2005-05-03 Jackson Harper <[email protected]>
  12938. * Splitter.cs: No decorations for the splitter form. Cache the
  12939. hatch brush.
  12940. 2005-05-03 Jackson Harper <[email protected]>
  12941. * TreeView.cs: Use dashed lines to connect nodes. Use the
  12942. ControlPaint method for drawing the focus rect instead of doing
  12943. that in treeview.
  12944. 2005-05-02 Peter Bartok <[email protected]>
  12945. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  12946. 2005-04-29 Jackson Harper <[email protected]>
  12947. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  12948. entire image buffer. Just clear the clipping rectangle.
  12949. 2005-04-29 Jackson Harper <[email protected]>
  12950. * ThemeWin32Classic.cs: Don't draw list view items that are
  12951. outside the clipping rectangle.
  12952. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  12953. * ListBox.cs: added horizontal item scroll
  12954. 2005-04-29 Jackson Harper <[email protected]>
  12955. * ThemeWin32Classic.cs: Remove some old debug code that was
  12956. causing flicker with the new double buffering code.
  12957. 2005-04-29 John BouAntoun <[email protected]>
  12958. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  12959. behave like combobox and comboboxlist (still not sure if this is
  12960. correct though).
  12961. 2005-04-28 Jackson Harper <[email protected]>
  12962. * ThemeWin32Classic.cs: Don't fill the middle of progress
  12963. bars. This fills areas outside of the clip bounds that don't need
  12964. to be filled.
  12965. 2005-04-28 Jackson Harper <[email protected]>
  12966. * Control.cs: Don't expose functionality to touch the image buffers.
  12967. * ProgressBar.cs:
  12968. * ListView.cs: We do not need to (and no longer can) manipulate
  12969. the image buffers directly. All of this is handled by Control.
  12970. 2005-04-28 Peter Bartok <[email protected]>
  12971. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  12972. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  12973. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  12974. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  12975. * Combobox:
  12976. - Adjust control's height for non-simple comboboxes (bug fix)
  12977. - Remove dead code
  12978. * MenuAPI.cs: remove unused var
  12979. * ScrollBar.cs: remove unsed var
  12980. * ListBox.cs: unselect items when clearing
  12981. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  12982. * ListControl.cs: honors OnPositionChanged and default Selected Item
  12983. * ListBox.cs: unselect items when clearing
  12984. 2005-04-27 Jackson Harper <[email protected]>
  12985. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  12986. if a "correct" keyboard is not found. This will make us not crash,
  12987. but might give some users bad keyboard layouts...seems to be the
  12988. same thing rewind does.
  12989. 2005-04-27 Jackson Harper <[email protected]>
  12990. * BindingManagerBase.cs: Attach the current/position changed
  12991. handlers to their respective events.
  12992. 2005-04-27 Jackson Harper <[email protected]>
  12993. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  12994. not just a blit.
  12995. * ThemeWin32Classic.cs: Don't fill the background for picture
  12996. boxes. This could overright user drawing.
  12997. * ComboBox.cs: Just fill the clipping rect not the entire client
  12998. rect when drawing the background. This prevents pieces of the
  12999. image buffer from getting overwritten and is theoretically faster.
  13000. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  13001. * ComboBox.cs: Databinding support fixes, fire missing events
  13002. * ListControl.cs: implement missing methods and properties, fixes
  13003. * ThemeWin32Classic.cs: Databiding support on Drawing
  13004. * CheckedListBox.cs: Databinding support fixes, fire missing events
  13005. * ListBox.cs: Databinding support fixes, fire missing events
  13006. 2005-04-25 Peter Bartok <[email protected]>
  13007. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  13008. 2005-04-25 Jackson Harper <[email protected]>
  13009. * TreeView.cs: Use the horizontal scrollbars height not width when
  13010. determining how much of the client area is available.
  13011. 2005-04-25 Jackson Harper <[email protected]>
  13012. * Control.cs: Double buffering is handled differently now. As per
  13013. the spec, the extra buffer is created in the WM_PAINT message and
  13014. passed down to the control's drawing code.
  13015. * GroupBox.cs:
  13016. * Label.cs:
  13017. * CheckBox.cs:
  13018. * ProgressBar.cs:
  13019. * RadioButton.cs:
  13020. * ColorDialog.cs:
  13021. * ComboBox.cs:
  13022. * PropertyGridView.cs:
  13023. * UpDownBase.cs:
  13024. * MessageBox.cs:
  13025. * MenuAPI.cs:
  13026. * ListView.cs:
  13027. * ButtonBase.cs:
  13028. * SizeGrip.cs:
  13029. * ScrollBar.cs:
  13030. * ListBox.cs:
  13031. * TrackBar.cs:
  13032. * ToolBar.cs:
  13033. * PictureBox.cs:
  13034. * DateTimePicker.cs:
  13035. * StatusBar.cs:
  13036. * TreeView.cs: Update to new double buffering system.
  13037. * MonthCalendar.cs: Uncomment block, as Capture is now
  13038. working. Update to new double buffering
  13039. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  13040. * PaintEventArgs.cs: New internal method allows us to set the
  13041. graphics object. This is used for double buffering.
  13042. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  13043. rectangle. The internal paint_area var has been removed from
  13044. StatusBar. The clipping rect should be used instead.
  13045. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  13046. * TabPage.cs: The RefreshTabs method was removed, so just call the
  13047. tab controls Refresh method now.
  13048. * TabControl.cs: Update to new double buffering. Make sure the
  13049. handle is created before sizing the tab pages, otherwise we will
  13050. get stuck in a loop.
  13051. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  13052. * LinkLabel.cs: Fix typo, bug #74719; patch
  13053. from Borja Sanchez Zamorano
  13054. 2005-04-22 Jackson Harper <[email protected]>
  13055. * TreeNode.cs: Implement Handle stuff.
  13056. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  13057. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  13058. * DataGridTextBoxColumn.cs: call base constructors, fixes
  13059. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  13060. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  13061. * DataGridTableStyle.cs: implements create default column styles
  13062. * DataGridBoolColumn.cs: which types can handle
  13063. * DataGrid.cs: missing methods, fixes, new functionality
  13064. * DataGridColumnStyle.cs: fixes
  13065. 2005-04-20 Alexander Olk <[email protected]>
  13066. * FolderBrowserDialog.cs:
  13067. - Use a thread to fill the TreeView
  13068. - Adjusted some sizes
  13069. 2005-04-19 Peter Bartok <[email protected]>
  13070. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  13071. property. Fixes #74360.
  13072. 2005-04-19 Jackson Harper <[email protected]>
  13073. * XEventQueue.cs: Lock when getting the lockqueue size.
  13074. * PictureBox.cs: Call base OnPaint
  13075. 2005-04-19 Peter Bartok <[email protected]>
  13076. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  13077. messages were no longer being processed (this broke BeginInvoke)
  13078. 2005-04-18 Jackson Harper <[email protected]>
  13079. * TreeView.cs: buglet that caused node images to get drawn
  13080. regardless of whether or not they were in the clipping rectangle.
  13081. 2005-04-18 Jackson Harper <[email protected]>
  13082. * CurrencyManager.cs: There are four rules for GetItemProperties:
  13083. - If the type is an array use the element type of the array
  13084. - If the type is a typed list, use the type
  13085. - If the list contains an Item property that is not an object, use
  13086. that property
  13087. - use the first element of the list if there are any elements in
  13088. the list.
  13089. 2005-04-17 Jackson Harper <[email protected]>
  13090. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  13091. click. This handles offsets for scrolling properly and reduces
  13092. memory. Also fixed GetNode to not offset now that TopNode works
  13093. properly.
  13094. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  13095. 2005-04-17 Jackson Harper <[email protected]>
  13096. * CursorConverter.cs: Initial implementation.
  13097. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  13098. * ListControl.cs: work towards complex data binding support on ListControl
  13099. * CurrencyManager.cs: work towards complex data binding support on ListControl
  13100. * ListBox.cs: work towards complex data binding support on ListControl
  13101. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  13102. * GridTableStylesCollection.cs: fixes name and constructor
  13103. * DataGridTableStyle.cs: fixes
  13104. * DataGridBoolColumn.cs: fixes names and constructors
  13105. * DataGrid.cs: define methods and properties. Some init implementations
  13106. * DataGridCell.cs: define methods and properties. Some init implementations
  13107. * GridTablesFactory.cs: Define methods and properties
  13108. 2005-04-15 Geoff Norton <[email protected]>
  13109. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  13110. graphics port changes. We still want the coordinates in global screen
  13111. coordinates.
  13112. 2005-04-14 Jackson Harper <[email protected]>
  13113. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  13114. check plus minus or checkbox clicks unless those features are enabled.
  13115. 2005-04-14 Jackson Harper <[email protected]>
  13116. * TreeView.cs: Add methods for setting the top and bottom visible
  13117. nodes. TreeNode::EnsureVisible uses these methods.
  13118. * TreeNode.cs: Implement EnsureVisible
  13119. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  13120. * Form.cs: Pospone menu assignation if the window has not been created yet
  13121. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  13122. size and position
  13123. 2005-04-12 Jackson Harper <[email protected]>
  13124. * TreeView.cs: Set the TopNode properly when scrolling
  13125. occurs. This has the added benifit of reducing the amount of
  13126. walking that needs to be done when drawing. Also removed an old
  13127. misleading TODO.
  13128. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  13129. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  13130. * Timer.cs: fixes interval setting when the timer is already enabled
  13131. 2005-04-10 Alexander Olk <[email protected]>
  13132. * FolderBrowserDialog.cs: First approach
  13133. 2005-04-09 Peter Bartok <[email protected]>
  13134. * FolderBrowserDialog: Added
  13135. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  13136. * LinkLabel.cs: move drawing code into the theme
  13137. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  13138. * Theme.cs: define DrawLinkLabel method
  13139. 2005-04-05 Jackson Harper <[email protected]>
  13140. * BindingContext.cs: Use weak references so these bad actors don't
  13141. stay alive longer then they need to.
  13142. 2005-04-05 Jackson Harper <[email protected]>
  13143. * ListControl.cs: Basic implementation of complex databinding.
  13144. * ComboBox.cs:
  13145. * ListBox.cs: Add calls to ListControl databinding methods.
  13146. 2005-04-05 Alexander Olk <[email protected]>
  13147. * FileDialog.cs:
  13148. - Don't change PopupButtonState to Normal when the
  13149. PopupButton gets pressed several times.
  13150. - Renamed ButtonPanel to PopupButtonPanel
  13151. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  13152. * ColorDialog.cs: Use cached objects instead of creating them
  13153. * LinkLabel.cs: Use cached objects instead of creating them
  13154. * Splitter.cs: Use cached objects instead of creating them
  13155. * FontDialog.cs: Use cached objects instead of creating them
  13156. * PropertyGridView.cs: Use cached objects instead of creating them
  13157. * MessageBox.cs: Use cached objects instead of creating them
  13158. * FileDialog.cs: Use cached objects instead of creating them
  13159. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  13160. * TreeView.cs: Use cached objects instead of creating them
  13161. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  13162. * Control.cs: use Equals to compare the font since no == op
  13163. * ScrollBar.cs: use Equals to compare the font since no == op
  13164. 2005-04-04 Alexander Olk <[email protected]>
  13165. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  13166. 2005-04-01 Jackson Harper <[email protected]>
  13167. * Binding.cs: Implement IsBinding.
  13168. * BindingManagerBase.cs:
  13169. * PropertyManager.cs:
  13170. * CurrencyManager.cs: Add IsSuspended property.
  13171. 2005-04-01 Jackson Harper <[email protected]>
  13172. * Binding.cs: Had some IsAssignableFrom calls backwards.
  13173. 2005-04-01 Jackson Harper <[email protected]>
  13174. * Binding.cs: Handle null data members when pulling data.
  13175. * PropertyManager.cs: Handle the data member being a property that
  13176. does not exist.
  13177. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  13178. * DataGridTextBoxColumn.cs: fixes signature
  13179. * DataGrid.cs: calls right constructor
  13180. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  13181. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  13182. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  13183. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  13184. * DataGridTableStyle.cs: implements DataGridTableStyle
  13185. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  13186. * DataGridTextBox.cs: implements DataGridTextBox
  13187. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  13188. 2005-03-31 Alexander Olk <[email protected]>
  13189. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  13190. 2005-03-29 Peter Bartok <[email protected]>
  13191. * Application.cs:
  13192. - Properly implemented CompanyName property
  13193. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  13194. returns a path that includes CompanyName, ProductName and
  13195. Version (fixes bug #70330)
  13196. 2005-03-29 Stefan Buehler <[email protected]>
  13197. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  13198. fixes bug #72588.
  13199. 2005-03-28 Alexander Olk <[email protected]>
  13200. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  13201. - Added ReadOnly CheckBox
  13202. - Further refactoring: moved some code from Open-/SaveFileDialog
  13203. to FileDialog
  13204. 2005-03-28 Alexander Olk <[email protected]>
  13205. * OpenFileDialog.cs: Fixed CheckFileExists
  13206. * FileDialog.cs:
  13207. Moved FileView and DirComboBox outside FileDialog class.
  13208. They can now be used outside FileDialog
  13209. 2005-03-27 Alexander Olk <[email protected]>
  13210. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  13211. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  13212. 2005-03-27 Alexander Olk <[email protected]>
  13213. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  13214. - Added missing CreatePrompt property in SaveDialog
  13215. - Overall SaveDialog handling should be better now
  13216. - Added non standard ShowHiddenFiles property
  13217. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  13218. - Added InitialDirectory and RestoreDirectory support
  13219. 2005-03-26 Alexander Olk <[email protected]>
  13220. * FileDialog.cs: Made dirComboBox usable
  13221. 2005-03-24 Alexander Olk <[email protected]>
  13222. * FileDialog.cs: Added Filter support (case sensitiv)
  13223. 2005-03-24 Jackson Harper <[email protected]>
  13224. * TabControl.cs: Need a couple more pixels for the lines.
  13225. 2005-03-23 Jackson Harper <[email protected]>
  13226. * TabControl.cs: Give the tab page focus when it is selected.
  13227. 2005-03-23 Jackson Harper <[email protected]>
  13228. * TabControl.cs: Account for the drawing of tabs borders when
  13229. invalidating. If the slider was clicked dont do click detection on
  13230. the tabs.
  13231. 2005-03-23 Jackson Harper <[email protected]>
  13232. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  13233. 2005-03-22 Jonathan Chambers <[email protected]>
  13234. * CategoryGridEntry.cs: Added
  13235. * GridItem.cs: Added helper properties
  13236. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  13237. * GridEntry.cs: Updated code for collection
  13238. * PropertyGrid.cs: Cleaned up some formatting
  13239. * PropertyGridView.cs: Added drop down functionality for enums.
  13240. * GridItemCollection.cs: Added enumerator logic
  13241. * PropertyGridEntry.cs: Added
  13242. 2005-03-19 Alexander Olk <[email protected]>
  13243. * FileDialog.cs:
  13244. - Removed unnecessary commented code
  13245. - Fixed handling for entering the filename manually in the combobox
  13246. 2005-03-19 Alexander Olk <[email protected]>
  13247. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  13248. 2005-03-18 Peter Bartok <[email protected]>
  13249. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  13250. them being touching the border
  13251. 2005-03-18 Peter Bartok <[email protected]>
  13252. * TextControl.cs: Quick hack to center text better
  13253. 2005-03-18 Peter Bartok <[email protected]>
  13254. * ControlPaint.cs:
  13255. - Don't throw NotImplemented exceptions, just print a notice once
  13256. instead (requested by Miguel). This makes running existing SWF
  13257. apps a bit easier
  13258. * Control.cs:
  13259. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  13260. - Added context menu trigger on right click
  13261. * Panel.cs: Trigger invalidate on resize
  13262. * StatusBar.cs:
  13263. - Removed old double-buffer drawing
  13264. - Added ResizeRedraw style to force proper update of statusbar
  13265. * ListView.cs:
  13266. - Removed debug output
  13267. * ThemeWin32Classic.cs:
  13268. - Fixed drawing of status bar, now draws Text property if there
  13269. are no defined panels
  13270. 2005-03-18 Jackson Harper <[email protected]>
  13271. * ImageList.cs: When the image stream is set pull all the images
  13272. from it.
  13273. * ImageListStreamer.cs: Implement reading image list streams.
  13274. 2005-03-18 Peter Bartok <[email protected]>
  13275. * ThemeWin32Classic.cs (DrawPictureBox):
  13276. - Fixed calculations for centered drawing
  13277. - Fixed drawing for normal mode, not scaling the image on normal
  13278. 2005-03-18 Peter Bartok <[email protected]>
  13279. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  13280. textbox
  13281. * FileDialog.cs:
  13282. - Made Open/Save button the accept button for FileDialog
  13283. - Tied the cancel button to the IButtonControl cancel button
  13284. - Save/Open now properly builds the pathname
  13285. - Now handles user-entered text
  13286. - Preventing crash on right-click if no item is selected
  13287. - Fixed Text property, now uses contents of textbox
  13288. - Fixed SelectedText property, now just returns the text part that
  13289. is selected in the text box
  13290. 2005-03-18 Jackson Harper <[email protected]>
  13291. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  13292. rect, make sure to de-adjust the interior rect after drawing the
  13293. tab text.
  13294. 2005-03-18 Peter Bartok <[email protected]>
  13295. * MenuAPI.cs: Remove menu *before* executing selected action to
  13296. prevent the menu from 'hanging around'
  13297. 2005-03-17 Geoff Norton <[email protected]>
  13298. * XplatUIOSX.cs: Implemented WorkingArea property
  13299. 2005-03-17 Peter Bartok <[email protected]>
  13300. * XplatUIX11.cs: Fixed menu coord calculations
  13301. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  13302. for calculating offsets
  13303. 2005-03-17 Peter Bartok <[email protected]>
  13304. * Hwnd.cs: Do not consider menu presence for default client
  13305. rectangle location/size
  13306. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  13307. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  13308. translation functions
  13309. * FileDialog.cs: Fixed (what I presume is a) typo
  13310. 2005-03-17 Jonathan Gilbert <[email protected]>
  13311. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  13312. X access (avoids X-Async errors)
  13313. 2005-03-16 Jackson Harper <[email protected]>
  13314. * TabControl.cs: Raise the SelectedIndexChanged event.
  13315. 2005-03-16 Alexander Olk <[email protected]>
  13316. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  13317. - Removed vertical ToolBar and replaced it with a custom panel
  13318. (desktop and home button already work)
  13319. - Added Help button (some controls get resized or relocated then)
  13320. - Draw correct text depending on Open or Save.
  13321. - Fixed some typos...
  13322. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  13323. * ScrollBar.cs:
  13324. - Only change Maximum and Minimum when need it (bug fix)
  13325. 2005-03-15 Peter Bartok <[email protected]>
  13326. * Form.cs: Use Handle for icon, to trigger creation if
  13327. the window does not yet exist
  13328. * Control.cs:
  13329. - CanSelect: Slight performance improvement
  13330. - Focus(): Preventing possible recursion
  13331. - Invalidate(): Removed ControlStyle based clear flag setting
  13332. - WM_PAINT: fixed logic for calling OnPaintBackground
  13333. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  13334. EraseWindowBackground if the control doesn't paint background
  13335. * XplatUIWin32.cs:
  13336. - Moved EraseWindowBackground() method to internal methods
  13337. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  13338. is sent via SendMessage on BeginPaint call on Win32
  13339. * XplatUIX11.cs:
  13340. - Added EraseWindowBackground() method
  13341. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  13342. PaintEventStart, which more closely matches Win32 behaviour
  13343. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  13344. - Fixed SetFocus() to properly deal with client and whole windows
  13345. * Hwnd.cs: Added ErasePending property
  13346. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  13347. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  13348. 2005-03-12 Geoff Norton <[email protected]>
  13349. * XplatUIOSX.cs:
  13350. - Fix hard loop when timers exist.
  13351. - Fix bugs with middle and right click for 3 button mice.
  13352. 2005-03-11 Peter Bartok <[email protected]>
  13353. * XplatUIX11.cs:
  13354. - get_WorkingArea: Need to call X directly, GetWindowPos only
  13355. returns cached data now
  13356. - Added sanity check to GetWindowPos hwnd usage
  13357. 2005-03-11 Jackson Harper <[email protected]>
  13358. * BindingManagerBase.cs: This method isn't used anymore as
  13359. PullData now updates the data in the control.
  13360. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  13361. * Form.cs: fixes menu drawing on X11
  13362. * MenuAPI.cs: fixes menu drawing on X11
  13363. 2005-03-11 Peter Bartok <[email protected]>
  13364. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  13365. from Jonathan Gilbert; should fix bug #73606
  13366. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  13367. in Screen coordinates. Thanks, Jordi.
  13368. * Form.cs: Added missing attribute
  13369. 2005-03-11 Peter Bartok <[email protected]>
  13370. * Form.cs:
  13371. - Rudimentary Mdi support
  13372. - Removed outdated FormParent code
  13373. - Implemented lots of missing properties and methods, still missing
  13374. transparency support
  13375. - Added missing attributes
  13376. - Implemented support for MaximumBounds
  13377. - Added firing of various events
  13378. * XplatUI.cs: Added SetIcon() method
  13379. * XplatUIDriver.cs: Added SetIcon() abstract
  13380. * XplatUIOSX.cs: Stubbed out SetIcon() method
  13381. * XplatUIX11.cs:
  13382. - Implemented SetIcon() support
  13383. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  13384. - Switched to unix line endings
  13385. * XplatUIWin32.cs:
  13386. - Made POINT internal so for can access it as part of MINMAX
  13387. - Implemented SetIcon() support
  13388. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  13389. native Mdi support again, might have to go managed)
  13390. * Control.cs: Now fires the StyleChanged event
  13391. * MdiClient.cs: Added; still mostly empty
  13392. 2005-03-10 Peter Bartok <[email protected]>
  13393. * SaveFileDialog.cs: Added emtpy file
  13394. 2005-03-08 Peter Bartok <[email protected]>
  13395. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  13396. in turn triggers OnCreateContro) when creating a handle for the
  13397. first time.
  13398. * TextControl.cs: Fixed endless loop in certain cases when
  13399. replacing the current selection
  13400. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  13401. * ScrollBar.cs:
  13402. - Honors NewValue changes in Scroll events allowing apps to change it
  13403. - Adds First and Last Scroll events
  13404. - Fixes Thumb events
  13405. 2005-03-07 Peter Bartok <[email protected]>
  13406. * Hwnd.cs: Added DefaultClientRectangle property
  13407. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  13408. more detailed debug information
  13409. * XplatUIX11.cs:
  13410. - Fixed size-change feedback loop, where we would pull an old size
  13411. off the queue and mistakenly change our window's size to an
  13412. earlier value
  13413. - Now compressing ConfigureNotify events, to reduce looping and
  13414. redraw issues
  13415. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  13416. is called
  13417. 2005-03-07 Jackson Harper <[email protected]>
  13418. * Binding.cs: Push data pushes from data -> property. Check if the
  13419. property is readonly when attempting to set it.
  13420. 2005-03-07 Jackson Harper <[email protected]>
  13421. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  13422. instead of IsSubclassOf. Pulling data now sets the value on the
  13423. control.
  13424. * PropertyManager.cs:
  13425. * CurrencyManager.cs: Just need to pull data when updating now,
  13426. because PullData will set the value on the control.
  13427. 2005-03-04 Jackson Harper <[email protected]>
  13428. * Binding.cs: Implement data type parsing and converting on pulled
  13429. data. TODO: Are there more ways the data can be converted?
  13430. 2005-03-04 Jackson Harper <[email protected]>
  13431. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  13432. controls Validating method so we can repull the data when the
  13433. control loses focus.
  13434. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  13435. * ColumnHeader.cs:
  13436. - Fixes null string format
  13437. * ListView.cs:
  13438. - Adds enum type checks
  13439. - Fixes redrawing and recalc need after changing some properties
  13440. - Fixes on focus_item set after the event
  13441. - Fixes adding columns after the control has been created
  13442. * ThemeWin32Classic.cs:
  13443. - Fixes CheckBox focus rectangle
  13444. - Fixes ColumnHeader drawing
  13445. 2005-03-03 Jackson Harper <[email protected]>
  13446. * Binding.cs: Bind to <Property>Changed events so we can detect
  13447. when properties are changed and update the data.
  13448. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  13449. * ImageList.cs:
  13450. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  13451. - Fixes ImageList constructor with ImageList container
  13452. - Fixes image scaling (wrong parameters at DrawImage)
  13453. 2005-02-02 Jackson Harper <[email protected]>
  13454. * Binding.cs: Make property searches case-insensitive. Eliminate
  13455. some duplicated code.
  13456. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  13457. * ComboBox.cs:
  13458. - Handle focus event
  13459. - Fix scrollbar events
  13460. - Discard highlighted item if remove it
  13461. - Fixes SelectedItem with strings
  13462. 2005-03-01 Peter Bartok <[email protected]>
  13463. * Control.cs:
  13464. - Fixed Visible property, now follows (once again) parent chain
  13465. to return false if any control in the chain is visible=false
  13466. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  13467. - Fixed several places where is_visible instead of Visible was used
  13468. - Implemented FIXME related to focus selection when setting focused
  13469. control to be invisible
  13470. * XplatUIWin32.cs: Now using proper method to find out if window is
  13471. visible. Thanks to Jordi for pointing it out
  13472. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  13473. * ComboBox.cs: show/hide scrollbar instead of creating it
  13474. 2005-02-27 Jackson Harper <[email protected]>
  13475. * CurrencyManager.cs: Add PositionChanged stuff.
  13476. 2005-02-27 Peter Bartok <[email protected]>
  13477. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  13478. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  13479. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  13480. * XplatUIX11.cs:
  13481. - Implemented GetMenuDC()
  13482. - Implemented GetMenuOrigin()
  13483. - Implemented ReleaseMenuDC()
  13484. - Implemented generation of WM_NCPAINT message
  13485. - Implemented generation and handling of WM_NCCALCSIZE message
  13486. * Form.cs: Added debug helper message for Jordi's menu work
  13487. * Hwnd.cs:
  13488. - Modified ClientRect property; added setter, fixed getter to handle
  13489. setting of ClientRect
  13490. - Added MenuOrigin property
  13491. 2005-02-26 Peter Bartok <[email protected]>
  13492. * XplatUIX11.cs:
  13493. - Destroys the caret if a window that's being destroyed contains it
  13494. - Ignores expose events coming from the X11 queue for windows that
  13495. already are destroyed
  13496. - Now uses the proper variable for handling DestroyNotify, before we
  13497. marked the wrong window as destroyed
  13498. - Improved/added some debug output
  13499. 2005-02-26 Peter Bartok <[email protected]>
  13500. * X11Keyboard.cs: Fixes to work on 64bit systems
  13501. 2005-02-26 Peter Bartok <[email protected]>
  13502. * Control.cs:
  13503. - Now calling OnHandleDestroyed from DestroyHandle()
  13504. instead of Dispose()
  13505. - Removed bogus call to controls.Remove() from DestroyHandle()
  13506. 2005-02-26 Peter Bartok <[email protected]>
  13507. * Control.cs: Properly destroy child windows when our handle is
  13508. destroyed
  13509. 2005-02-25 Peter Bartok <[email protected]>
  13510. * XplatUI.cs:
  13511. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  13512. - Alphabetized Static Methods and Subclasses
  13513. * XplatUIX11.cs:
  13514. - Added XException class to allow custom handling of X11 exceptions
  13515. - Created custom X11 error handler, tied into XException class
  13516. - Added support for MONO_XEXCEPTIONS env var to allow the user
  13517. to either throw an exception on X errors or continue running
  13518. after displaying the error
  13519. - Added handling of DestroyNotify message
  13520. - Added handler for CreateNotify message (still disabled)
  13521. - Improved (tried to at least) Where method to provide file and lineno
  13522. * X11Structs.cs:
  13523. - Added XErrorHandler delegate
  13524. - Added XRequest enumeration (to suppor translation of errors)
  13525. 2005-02-25 Jackson Harper <[email protected]>
  13526. * PropertyManager.cs: Implement editing features
  13527. * CurrencyManager.cs:
  13528. * Binding.cs: First attempt at UpdateIsBinding
  13529. * BindingManagerBase.cs: Call UpdateIsBinding before
  13530. pushing/pulling data.
  13531. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  13532. * MenuAPI.cs: Respect disabled items
  13533. * ThemeWin32Classic.cs
  13534. - Caches ImageAttributes creation for DrawImageDisabled
  13535. - Fixes vertical menu line drawing
  13536. - Draws disabled arrows in disable menu items
  13537. 2005-02-24 Peter Bartok <[email protected]>
  13538. * Hwnd.cs:
  13539. - Added UserData property to allow associating arbitrary objects
  13540. with the handle
  13541. - Fixed leak; now removing Hwnd references from static windows array
  13542. * XplatUIWin32.cs:
  13543. - Fixed Graphics leak in PaintEventEnd
  13544. - Removed usage of HandleData, switched over to Hwnd class
  13545. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  13546. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  13547. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  13548. * ScrollBar.cs: Fixes bug
  13549. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  13550. keyboard navigation enhancements
  13551. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  13552. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  13553. * GroupBox.cs: Add control styles
  13554. * Label.cs: Add control styles
  13555. * UpDownBase.cs: Add control styles
  13556. * ListBox.cs: Add control styles
  13557. * XplatUIWin32.cs: Fixes wrong parameter order
  13558. 2005-02-23 Chris Bacon <[email protected]>
  13559. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  13560. 2005-02-23 Jackson Harper <[email protected]>
  13561. * PropertyManager.cs: Implement property binding. This doesn't
  13562. seem to work yet though as (I think) there are some bugs in
  13563. System.ComponentModel.PropertyDescriptor.
  13564. * BindingContext.cs: Use new PropertyManager constructor.
  13565. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  13566. * ProgressBar.cs: use clip region in ProgressBar
  13567. * ThemeWin32Classic.cs: use clip region in ProgressBar
  13568. 2004-02-22 Jackson Harper <[email protected]>
  13569. * BindingsCollection.cs: Remove some debug code.
  13570. 2005-02-22 Jackson Harper <[email protected]>
  13571. * BindingContext.cs:
  13572. * ControlBindingsCollection.cs:
  13573. * CurrencyManager.cs:
  13574. * Binding.cs:
  13575. * BindingManagerBase.cs: Initial implementation
  13576. * BindingsCollection.cs: Add an internal contains method that the
  13577. BindingManagerBase uses to ensure bindings aren't added twice to
  13578. the collection.
  13579. * PropertyManager.cs: Stubbed out.
  13580. * Control.cs:
  13581. * ContainerControl.cs: Hook up databinding
  13582. 2005-02-22 Geoff Norton <[email protected]>
  13583. * XplatUIOSX.cs:
  13584. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  13585. Fixed Invalidate/Update chain.
  13586. Fixed tons of other minor bugs (this is almost a complete rewrite).
  13587. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  13588. * ComboBox.cs: do subcontrol creation when the control is created
  13589. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  13590. * Label.cs: fixes image drawing (image and imagelist)
  13591. * ThemeWin32Classic.cs: cache brushes
  13592. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  13593. * Form.cs: Move menu drawing code to Theme class
  13594. * ComboBox.cs: Move ComboBox drawing code to Theme class
  13595. * MenuItem.cs: Move menu drawing code to Theme class
  13596. * MenuAPI.cs: Move menu drawing code to Theme class
  13597. * ThemeWin32Classic.cs: New methods
  13598. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  13599. * ListBox.cs: Move Listbox drawing code to Theme class
  13600. * Theme.cs: New methods
  13601. 2005-02-20 Peter Bartok <[email protected]>
  13602. * Control.cs:
  13603. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  13604. only process mnemonics on those)
  13605. - Fixed event sequence for key handling; first calling
  13606. ProcessKeyEventArgs now
  13607. * TextBoxBase.cs:
  13608. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  13609. for processing non-character keys
  13610. - Fixed WM_CHAR to generate proper event sequence before processing
  13611. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  13612. generation
  13613. 2005-02-19 Peter Bartok <[email protected]>
  13614. * UserControl.cs: Added TextChanged event; added attributes
  13615. * SizeGrip.cs: Implemented resizing and optional display of grip
  13616. * Form.cs: Fixed attribute
  13617. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  13618. Changed meaning of ScrollWindow bool argument; instead of the
  13619. clear attribute (which will be true usually anyway), it gives the
  13620. option of moving child controls as well.
  13621. * XplatUIX11.cs:
  13622. - Changed to match new ScrollWindow argument
  13623. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  13624. now handles the implicit parent window a WM puts around us
  13625. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  13626. to work)
  13627. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  13628. * TreeView.cs: Adjusted to new ScrollWindow arguments
  13629. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  13630. * Form.cs: Menu integration with non-client area
  13631. * MenuItem.cs: Menu integration with non-client area
  13632. * MenuAPI.cs: Menu integration with non-client area
  13633. 2005-02-18 Peter Bartok <[email protected]>
  13634. * MethodInvoker.cs: Added
  13635. * MdiLayout.cs: Added
  13636. * SendKeys.cs: Started implementation
  13637. * ErrorIconAlignment.cs: Added
  13638. 2005-02-18 Peter Bartok <[email protected]>
  13639. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  13640. * Form.cs: Added handling for Menu-related Non-client messages
  13641. 2005-02-17 Peter Bartok <[email protected]>
  13642. * UpDownBase.cs: Fixed typo, compilation errors
  13643. * DomainUpDown.cs: Fixed attribute value
  13644. 2005-02-16 Miguel de Icaza <[email protected]>
  13645. * UpDownBase.cs: Attach entry events.
  13646. Propagate events.
  13647. Add ForeColor property, Focused, InterceptArrowKeys (interception
  13648. does not work yet).
  13649. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  13650. * Form.cs:
  13651. - Redraw non client are on Setmenu
  13652. - Calc proper menu starting point
  13653. 2005-02-17 Peter Bartok <[email protected]>
  13654. * Application.cs: Fixed message_filter check
  13655. 2005-02-17 Peter Bartok <[email protected]>
  13656. * Application.cs: Now calls registered message filters
  13657. * DockStyle.cs: Fixed attribute
  13658. * Form.cs: Fixed attribute
  13659. * Menu.cs: Fixed attribute
  13660. * ToolTip.cs: Fixed attribute
  13661. * TreeNode.cs: Added missing attributes and arranged in regions
  13662. * PropertyGrid.cs: Fixed signatures
  13663. * TreeNodeCollection.cs: Added attributes
  13664. * Splitter.cs: Added missing attributes; arranged into regions
  13665. * TabPage.cs: Added missing attributes; arranged into regions
  13666. * TextBoxBase.cs: Added missing attributes
  13667. * TextBox.cs: Added missing attributes
  13668. * ArrangeDirection.cs: Added missing attributes
  13669. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  13670. * ToolBarButton.cs: Fixed attributes
  13671. * AnchorStyles.cs: Fixed attribute
  13672. * TrackBar.cs: Fixed attributes
  13673. * TabControl.cs: Added missing attributes and arranged into regions
  13674. * ToolBar.cs: Fixed attribute
  13675. * StatusBar.cs: Fixed signature, organized into regions and added
  13676. attributes
  13677. * StatusBarPanel.cs: Fixed attributes
  13678. * ContentsResizedEventArgs.cs: Implemented
  13679. * ContentsResizedEventHandler.cs: Implemented
  13680. * DateBoldEventArgs.cs: Implemented
  13681. * DateBoldEventHandler.cs: Implemented
  13682. * UpDownEventArgs.cs: Implemented
  13683. * UpDownEventHandler.cs: Implemented
  13684. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  13685. * Form.cs: first Menu NC refactoring
  13686. * MenuAPI.cs: first Menu NC refactoring
  13687. 2005-02-16 Peter Bartok <[email protected]>
  13688. * ImeMode.cs: Added missing attributes
  13689. * Menu.cs: Fixed attribute
  13690. * GroupBox.cs: Fixed attribute
  13691. * Label.cs: Fixed attribute
  13692. * ColorDialog.cs (RunDialog): Removed TODO attribute
  13693. * ComboBox.cs: Fixed attributes
  13694. * ListControl.cs: Added missing attributes
  13695. * PropertyGrid.cs: Fixed attributes
  13696. * Control.cs: Fixed attributes
  13697. * ListViewItem.cs: Added TypeConverter attribute
  13698. * NotifyIcon.cs: Fixed attributes
  13699. * ListView.cs: Fixed attributes
  13700. * ButtonBase.cs: Fixed attribute
  13701. * ImageList.cs: Added missing attributes
  13702. * ContainerControl.cs: Fixed signature
  13703. * CheckedListBox.cs: Fixed attribute; added missing attributes
  13704. * Panel.cs: Fixed attributes
  13705. * PropertyTabChangedEventArgs.cs: Added missing attribute
  13706. * PropertyValueChangedEventArgs.cs: Added missing attribute
  13707. * Binding.cs: Fixed attribute
  13708. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  13709. * ListBox.cs: Fixed attribute; added missing attributes;
  13710. * ScrollableControl.cs: Added missing attributes
  13711. * PictureBox.cs: Added missing attributes; implemented missing property
  13712. * DateTimePicker.cs: Added missing attributes
  13713. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  13714. * MonthCalendar.cs: Fixed attributes
  13715. * StatusBarPanel.cs: Added missing attributes
  13716. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  13717. 2005-02-16 Peter Bartok <[email protected]>
  13718. * TextBoxBase.cs: The previous method to enforce height yet remember
  13719. the requested high was less than ideal, this is an attempt to do
  13720. it better.
  13721. * Control.cs: Added comment about possible problem
  13722. * Copyright: Updated format
  13723. * GridItemType.cs: Fixed swapped values
  13724. 2005-02-15 Jackson Harper <[email protected]>
  13725. * BaseCollection.cs: Use property so we never access an
  13726. uninitialized list. Also initialize the list in the property.
  13727. 2005-02-15 Peter Bartok <[email protected]>
  13728. * GroupBox.cs (ProcessMnemonic): Implemented
  13729. * Label.cs (ProcessMnemonic): Implemented
  13730. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  13731. hotkeys
  13732. 2005-02-15 Peter Bartok <[email protected]>
  13733. * RadioButton.cs (ProcessMnemonic): Implemented
  13734. * CheckBox.cs (ProcessMnemonic): Implemented
  13735. * Control.cs:
  13736. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  13737. handling
  13738. - Added internal method to allow calling ProcessMnemonic from other
  13739. controls
  13740. * ContainerControl.cs:
  13741. - Started support for handling validation chain handling
  13742. - Implemented ProcessMnemonic support
  13743. - Added Select() call to Active, to make sure the active control
  13744. receives focus
  13745. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  13746. FormParent rewrite)
  13747. * ThemeWin32Classic.cs:
  13748. - DrawCheckBox(): Fixed stringformat to show hotkeys
  13749. - DrawRadioButton(): Fixed stringformat to show hotkeys
  13750. * CommonDialog.cs: Removed WndProc override, not needed
  13751. 2005-02-14 Peter Bartok <[email protected]>
  13752. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  13753. missed those in the rewrite
  13754. 2005-02-14 Miguel de Icaza <[email protected]>
  13755. * NumericUpDown.cs (Increment, ToString): Add.
  13756. (DecimalPlaces): implement.
  13757. Add attributes.
  13758. * UpDownBase.cs: Add the designer attributes.
  13759. 2005-02-13 Peter Bartok <[email protected]>
  13760. * Panel.cs: Removed border_style, now in Control
  13761. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  13762. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  13763. 2005-02-13 Peter Bartok <[email protected]>
  13764. * MouseButtons.cs: Added missing attributes
  13765. * XplatUIStructs.cs: Added enumeration for title styles
  13766. * LeftRightAlignment.cs: Added missing attributes
  13767. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  13768. it compatible with Graphics.FromHwnd()
  13769. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  13770. * Keys.cs: Added missing attributes
  13771. * SelectionRange.cs: Added missing attributes
  13772. * SelectionRangeConverter.cs: Added
  13773. * XplatUI.cs:
  13774. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  13775. ReleaseMenuDC methods
  13776. - Renamed ReleaseWindow to UngrabWindow
  13777. - Added proper startup notice to allow version identification
  13778. * Form.cs:
  13779. - Added missing attributes
  13780. - Removed FormParent concept
  13781. * Label.cs: Removed border_style field, now in Control
  13782. * RadioButton.cs: Now properly selects RadioButton when focus is
  13783. received
  13784. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  13785. * Control.cs:
  13786. - Added missing attributes
  13787. - Added borderstyle handling
  13788. - Removed FormParent concept support
  13789. - Fixed calls to XplatUI to match changed APIs
  13790. - Fixed bug that would case us to use disposed Graphics objects
  13791. - Removed unneeded internal methods
  13792. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  13793. - SelectNextControl(): Fixed to properly check common parents
  13794. * TextBoxBase.cs: Removed border_style field (now in Control)
  13795. * MessageBox.cs:
  13796. - Patch by Robert Thompson ([email protected]): Added icon support,
  13797. fixed calculations for form size
  13798. - Added support for localized strings and icons
  13799. - Improved form size calculations, added border
  13800. * ListView.cs: Removed border_style field (now in Control)
  13801. * X11Structs.cs: Moved several structs from X11 driver here
  13802. * X11Keyboard.cs: Changed debug message
  13803. * Application.cs: Removed FormParent concept support
  13804. * CommonDialog.cs:
  13805. - Resetting end_modal flag
  13806. - Removed FormParent concept support
  13807. * NativeWindow.cs: Removed FormParent concept support
  13808. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  13809. Client area and Non-Client whole window to allow support for WM_NC
  13810. messages
  13811. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  13812. prevent using it until it supports Hwnd as per Geoff Norton's request
  13813. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  13814. * PictureBox.cs: Removed border_style field, now in Control
  13815. * XplatUIWin32.cs: Added new driver methods
  13816. 2005-02-12 Peter Bartok <[email protected]>
  13817. * OpacityConverter.cs: Implemented
  13818. * Hwnd.cs: Internal class to support drivers that need to emulate
  13819. client area/non-client area window behaviour
  13820. 2005-02-11 Peter Bartok <[email protected]>
  13821. * KeysConverter.cs: Implemented
  13822. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  13823. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  13824. * LinkLabel: Added missing attributes
  13825. * MainMenu.cs: fixes ToString
  13826. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  13827. * ListBox.cs: fixes event position
  13828. * TrackBar.cs: adds missing attributes and events
  13829. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  13830. * MenuItem.cs: Use SystemInformation and bug fixes
  13831. * MenuAPI.cs: Use SystemInformation and bug fixes
  13832. 2005-02-09 Jackson Harper <[email protected]>
  13833. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  13834. their keystate otherwise things like VK_MENU get stuck "on".
  13835. 2005-02-09 Kazuki Oikawa <[email protected]>
  13836. * ListBox.cs: Fixes AddRange bug
  13837. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  13838. * ProgressBar.cs
  13839. - Add missing attributes
  13840. - Add missing method
  13841. * CheckedListBox.cs: Added missing attributes
  13842. - Add missing attributes
  13843. - Remove extra method
  13844. * ComboBox.cs: Added missing attributes
  13845. * VScrollBar.cs: Added missing attributes
  13846. * ScrollBar.cs: Added missing attributes
  13847. * ListBox.cs: Fixes signature, add missing consts
  13848. * LinkArea.cs: Added missing attributes
  13849. 2005-02-08 Peter Bartok <[email protected]>
  13850. * Menu.cs: Added missing attributes
  13851. * MainMenu.cs: Added missing attributes
  13852. * GroupBox.cs: Added missing attributes
  13853. * Label.cs: Added missing attributes
  13854. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  13855. * ColorDialog.cs:
  13856. - Added Instance and Options properties
  13857. - Added missing attributes
  13858. * Cursor.cs: Made Serializable
  13859. * NotifyIcon: Added missing attributes
  13860. * MenuItem.cs: Added missing attributes
  13861. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  13862. * Panel.cs: Added Missing attributes
  13863. * MonthCalendar.cs: Fixed CreateParams
  13864. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  13865. * LinkLabel.cs:
  13866. - Fixes signature
  13867. - Fixes issues with links
  13868. - Adds the class attributes
  13869. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  13870. * ComboBox.cs:
  13871. - Fixes button when no items available in dropdown
  13872. - Fixes repainting problems
  13873. - Adds the class attributes
  13874. 2005-02-07 Geoff Norton <[email protected]>
  13875. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  13876. the current theme. Cache these on startup.
  13877. 2005-02-07 Jackson Harper <[email protected]>
  13878. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  13879. the scrollbar buttons when they are depressed.
  13880. 2005-02-07 Geoff Norton <[email protected]>
  13881. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  13882. Get the display size from the main displayid. We currently dont
  13883. support multiple display configurations.
  13884. 2005-02-07 Geoff Norton <[email protected]>
  13885. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  13886. 2005-02-07 Miguel de Icaza <[email protected]>
  13887. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  13888. 2005-02-05 Jonathan Chambers <[email protected]>
  13889. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  13890. 2005-02-04 Jackson Harper <[email protected]>
  13891. * ThemeWin32Classic.cs: Respect the clipping rect when
  13892. drawing. Only fill the intersection of clips and rects so there
  13893. isn't a lot of large fills.
  13894. * ScrollBar.cs: Pass the correct clipping rect to the theme
  13895. engine. Remove some debug code.
  13896. 2005-02-05 John BouAntoun <[email protected]>
  13897. * DateTimePicker.cs:
  13898. - Fixed crash on DateTime.Parse, use Constructor instead
  13899. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  13900. * MenuItem.cs:
  13901. * MenuAPI.cs:
  13902. - Owner draw support (MeasureItem and DrawItem)
  13903. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  13904. * Menu.cs:
  13905. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  13906. - Fixes MenuItems.Add range
  13907. * MenuItem.cs:
  13908. - MergeMenu and Clone and CloneMenu functions
  13909. 2005-02-03 Jackson Harper <[email protected]>
  13910. * ScrollBar.cs: Make abstract
  13911. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  13912. is abstract.
  13913. 2005-02-03 Jackson Harper <[email protected]>
  13914. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  13915. all the unneeded refreshes and uses invalidates with properly
  13916. computed rects.
  13917. 2005-02-03 Peter Bartok <[email protected]>
  13918. * ComponentModel.cs: Added
  13919. * IDataGridEditingService.cs: Added
  13920. * Timer.cs: Added missing attributes
  13921. * ToolTip.cs: Added missing attributes
  13922. 2005-02-03 Jonathan Chambers <[email protected]>
  13923. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  13924. 2005-02-03 Peter Bartok <[email protected]>
  13925. * ListBox.cs: Added missing attributes
  13926. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  13927. * ListBox.cs:
  13928. - Fixes font height after font change
  13929. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  13930. 2005-02-02 Peter Bartok <[email protected]>
  13931. * HandleData.cs: Introduced static methods to allow class
  13932. to be more self-contained and track it's own HandleData objects
  13933. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  13934. HandleData to use new static methods
  13935. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  13936. * Combobox.cs:
  13937. - Fixes default size and PreferredHeight
  13938. - Missing events
  13939. - ObjectCollection.Insert implementation
  13940. * ListControl.cs
  13941. - Fixes signature
  13942. * ListBox.cs:
  13943. - Several fixes
  13944. - ObjectCollection.Insert implementation
  13945. - No selection after clean
  13946. - Small fixes
  13947. 2005-01-31 John BouAntoun <[email protected]>
  13948. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  13949. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  13950. * Combobox.cs:
  13951. - Caches ItemHeight calculation for OwnerDrawVariable
  13952. - Handles dropdown properly
  13953. - Fixes several minor bugs
  13954. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  13955. * ListBox.cs:
  13956. - Fixes 71946 and 71950
  13957. - Fixes changing Multicolumn on the fly
  13958. - Fixes keyboard navigation on Multicolumn listboxes
  13959. 2005-01-31 Geoff Norton <[email protected]>
  13960. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  13961. crash reporter log.
  13962. 2005-01-31 Geoff Norton <[email protected]>
  13963. * XplatUIOSX.cs: Allow applications to actually exit.
  13964. 2005-01-31 Geoff Norton <[email protected]>
  13965. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  13966. their parent at creation time rather than lazily later. Fixes a major
  13967. regression we were experiencing.
  13968. 2005-01-31 John BouAntoun <[email protected]>
  13969. * ThemeWin32Classic.cs: more date time picker painting fixes
  13970. * DateTimePicker.cs: more monthcalendar drop down fixes
  13971. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  13972. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  13973. * ScrollBar.cs:
  13974. - When moving the thumb going outside the control should stop the moving
  13975. - Adds the firing of missing events
  13976. - Fixes no button show if Size is not specified
  13977. - End / Home keys for keyboard navigation
  13978. 2005-01-30 Peter Bartok <[email protected]>
  13979. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  13980. sanity check to prevent theoretical loop
  13981. * XplatUIWin32.cs (SetVisible): Removed debug output
  13982. * XplatUIX11.cs (SystrayChange): Added sanity check
  13983. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  13984. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  13985. behaviour, valid until the X11 client window rewrite is done
  13986. * TextBox.cs (ctor): Setting proper default foreground and background
  13987. colors
  13988. 2005-01-30 John BouAntoun <[email protected]>
  13989. * Theme: Added DrawDateTimePicker to interface
  13990. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  13991. * DateTimePicker.cs: Created (still needs keys and painting code)
  13992. * DateTimePickerFormat.cs: added
  13993. * MonthCalendar.cs: fixed CreateParams for popup window mode
  13994. 2005-01-29 Peter Bartok <[email protected]>
  13995. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  13996. this should also the calculations for ligher/darker
  13997. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  13998. 2005-01-29 Peter Bartok <[email protected]>
  13999. * ArrangeDirection.cs: Added
  14000. * ArrangeStartingPositon.cs: Added
  14001. * SystemInformation.cs: Implemented
  14002. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  14003. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  14004. used by SystemInformation class
  14005. * X11Strucs.cs: Added XSizeHints structure
  14006. * MenuAPI.cs:
  14007. - Fixed CreateParams to make sure the menu window is always visible
  14008. - TrackPopupMenu: Added check to make sure we don't draw the
  14009. menu offscreen
  14010. 2005-01-29 Peter Bartok <[email protected]>
  14011. * HandleData.cs: Added method for altering invalid area
  14012. * TextBoxBase.cs: Implemented TextLength
  14013. 2005-01-28 Peter Bartok <[email protected]>
  14014. * XplatUIX11.cs: Improvement over last patch, not sending
  14015. the WM_PAINT directly anymore, instead we scroll any pending
  14016. exposed areas and let the system pick out the WM_PAINT later
  14017. 2005-01-28 Peter Bartok <[email protected]>
  14018. * SWF.csproj: Deleted, no longer used. Instead,
  14019. Managed.Windows.Forms/SWF.csproj should be used
  14020. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  14021. directly, to avoid a potential race condition with the next
  14022. scroll
  14023. 2005-01-28 Peter Bartok <[email protected]>
  14024. * XplatUI.cs: Made class internal
  14025. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  14026. * CheckedListBox.cs:
  14027. - Draw focus
  14028. - Fixed Drawing
  14029. - Missing methods and events
  14030. 2005-01-27 Peter Bartok <[email protected]>
  14031. * Application.cs (Run): Don't use form if we don't have one
  14032. 2005-01-27 Peter Bartok <[email protected]>
  14033. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  14034. 2005-01-27 Peter Bartok <[email protected]>
  14035. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  14036. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  14037. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  14038. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  14039. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  14040. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  14041. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14042. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  14043. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14044. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14045. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14046. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  14047. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  14048. * Combobox.cs:
  14049. - Draw focus on Simple Combobox
  14050. - Fixes drawing issues
  14051. - fixes 71834
  14052. 2005-01-27 Peter Bartok <[email protected]>
  14053. * Form.cs:
  14054. - Place window in default location, instead of hardcoded 0/0
  14055. - Send initial LocationChanged event
  14056. * Control.cs:
  14057. - UpdateBounds after creation to find out where the WM placed us
  14058. - Make sure that if the ParentForm changes location the Form
  14059. is notified
  14060. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  14061. to the root, but to whatever the WM placed around us.
  14062. Translate to root coordinates before returning toplevel
  14063. coordinates
  14064. * XplatUIWin32.cs: Removed debug output
  14065. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  14066. flag to GetWindowPos, to allow translation of coordinates on X11
  14067. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  14068. * ListBox.cs: connect LostFocus Event
  14069. 2005-01-27 Peter Bartok <[email protected]>
  14070. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  14071. XplatUIX11.cs: Extended the Systray API
  14072. * Form.cs: Removed debug output
  14073. * Application.cs: Fixed focus assignment, always need to call
  14074. XplatUI.Activate() since Form.Activate() has rules that may
  14075. prevent activation
  14076. * NotifyIcon.cs: Should be complete now
  14077. * ToolTip.cs: Worked around possible timer bug
  14078. 2005-01-27 Jackson Harper <[email protected]>
  14079. * TabControl.cs:
  14080. - Only invalidate the effected tabs when the
  14081. selected index changes. This reduces drawing and gets rid of some
  14082. flicker.
  14083. - Only refresh if the tabs need to be shifted, otherwise only
  14084. invalidate the slider button.
  14085. - On windows the tabs are not filled to right if the slider is
  14086. visible.
  14087. 2005-01-27 Jackson Harper <[email protected]>
  14088. * TabControl.cs: Only refresh on mouseup if we are showing the
  14089. slider. Also only invalidate the button whose state has changed.
  14090. 2005-01-26 Peter Bartok <[email protected]>
  14091. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  14092. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  14093. and SystrayRemove() methods
  14094. * XplatUIOSX.cs: Stubbed Systray methods
  14095. * XplatUIX11.cs:
  14096. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  14097. methods
  14098. - Fixed broken XChangeProperty calls (marshalling messed up things)
  14099. * X11Structs.cs: Added enums and structs required for Size hinting
  14100. * NotifyIcon.cs: Added & implemented
  14101. 2005-01-26 Jackson Harper <[email protected]>
  14102. * TabControl.cs: Space vertically layed out tabs properly.
  14103. 2005-01-26 Peter Bartok <[email protected]>
  14104. * Form.cs (CreateClientParams): Always set the location to 0,0
  14105. since we're a child window.
  14106. * Control.cs (SetVisibleCore): Always explicitly setting the location
  14107. of a toplevel window, apparently X11 doesn't like to move windows
  14108. while they're not mapped.
  14109. 2005-01-26 Jackson Harper <[email protected]>
  14110. * TabControl.cs: Implement FillToRight size mode with vertically
  14111. rendered tabs.
  14112. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  14113. * ControlPaint.cs, ThemeWin32Classic.cs
  14114. - Fixes DrawFocusRectangle
  14115. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  14116. * MenuAPI.cs:
  14117. - MenuBar tracking only starts when item is first clicked
  14118. - Fixes menu hidding for multiple subitems
  14119. - Unselect item in MenuBar when item Executed
  14120. - Fixes bug 71495
  14121. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  14122. * ListControl.cs:
  14123. - IsInputKey for ListBox
  14124. * ListBox.cs:
  14125. - Focus item
  14126. - Shift and Control item selection
  14127. - Implement SelectionMode.MultiExtended
  14128. - Fixes RightToLeft
  14129. * ComboBox.cs:
  14130. - IsInputKey implemented
  14131. - Do not generate OnTextChangedEdit on internal txt changes
  14132. 2005-01-23 Peter Bartok <[email protected]>
  14133. * AccessibleObject.cs: Partially implemented Select()
  14134. * MonthCalendar.cs: Added missing attributes and events
  14135. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  14136. form can properly override CreateParams.
  14137. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  14138. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  14139. Control performs Invalidate & Update
  14140. * NativeWindow (CreateHandle): Added special handling for Form
  14141. and Form.FormParent classes to allow overriding of From.CreateParams
  14142. * Control.cs:
  14143. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  14144. name 'owner'
  14145. - ControlNativeWindow: Added Owner property
  14146. - Removed usage of Refresh() on property changes, changed into
  14147. Invalidate(), we need to wait until the queue is processed for
  14148. updates, direct calls might cause problems if not all vars for
  14149. Paint are initialized
  14150. - Added call to UpdateStyles() when creating the window, to set any
  14151. styles that CreateWindow might have ignored.
  14152. - Added support for Form CreateParent overrides to UpdateStyles()
  14153. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  14154. CreateParams are now properly overridable
  14155. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  14156. CreateParams are now properly overridable
  14157. 2005-01-23 Miguel de Icaza <[email protected]>
  14158. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  14159. OnTextBoxChanged.
  14160. Capture LostFocus and OnTextBoxChanged. The later introduces a
  14161. recursive invocation that I have not figured out yet.
  14162. Reset the timer when not using (it was accumulating).
  14163. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  14164. user has made changes that require validation.
  14165. Reset changing to avoid loops.
  14166. 2005-01-22 Miguel de Icaza <[email protected]>
  14167. * NumericUpDown.cs: Display value at startup.
  14168. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  14169. ValidateEditText.
  14170. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  14171. filled in. Added some basic parsing of text.
  14172. Still missing the OnXXX method overrides, and figuring out the
  14173. events that must be emitted.
  14174. * UpDownBase.cs: Handle UserEdit on the Text property.
  14175. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  14176. * ComboBox.cs:
  14177. - Fixes IntegralHeight
  14178. - ToString method
  14179. 2005-01-21 Jackson Harper <[email protected]>
  14180. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  14181. is set so that the page visibility is updated and the tabs are
  14182. sized correctly.
  14183. 2005-01-21 Jackson Harper <[email protected]>
  14184. * TabControl.cs: Use cliping rectangle for blitting. Give the
  14185. theme the clipping rect so we can do clipping while
  14186. drawing. Remove some debug code.
  14187. 2005-01-21 Jackson Harper <[email protected]>
  14188. * TabPage.cs: Add a new method so tab pages can force the tab
  14189. control to recalculate the tab page sizes.
  14190. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  14191. sizes.
  14192. 2005-01-20 Jackson Harper <[email protected]>
  14193. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  14194. 2005-01-20 Jackson Harper <[email protected]>
  14195. * TreeView.cs: Set the bounds for nodes properly. They were
  14196. getting screwed up when checkboxes were not enabled, but images
  14197. were.
  14198. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  14199. * ListBox.cs:
  14200. - Owner draw support
  14201. - Fixes
  14202. 2005-01-20 Jackson Harper <[email protected]>
  14203. * XplatUIStructs.cs: More misc keys
  14204. * X11Keyboard.cs: Ignore some control keys.
  14205. 2005-01-20 Jackson Harper <[email protected]>
  14206. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  14207. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  14208. 2005-01-19 Peter Bartok <[email protected]>
  14209. * Control.cs: Un-selecting the control when it is loosing focus
  14210. 2005-01-19 Jackson Harper <[email protected]>
  14211. * TreeView.cs: Hook up to the text controls leave event so we can
  14212. end editing when the users clicks outside the text box.
  14213. 2005-01-19 Jackson Harper <[email protected]>
  14214. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  14215. get set in the conversion array.
  14216. 2005-01-19 Peter Bartok <[email protected]>
  14217. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  14218. focus is properly set
  14219. * Button.cs:
  14220. - Added missing attributes
  14221. - removed styles, those are already set in the base class
  14222. * ButtonBase.cs:
  14223. - Added missing attributes
  14224. - Added clip window styles
  14225. * CheckBox.cs: Added missing attributes
  14226. * CommonDialog.cs:
  14227. - FormParentWindow.CreateParams: Added required clip styles
  14228. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  14229. also filters modifier keys
  14230. * MessageBox.cs:
  14231. - Added assignment of Accept and Cancel button to enable Enter
  14232. and Esc keys in MessageBox dialogs
  14233. - FormParentWindow.CreateParams: Added required clip styles
  14234. * RadioButton.cs: Added missing attributes
  14235. * TextControl.cs: No longer draws selection if control does not
  14236. have focus
  14237. * TextBoxBase.cs:
  14238. - Now draws simple rectangle around test area to make it obvious
  14239. there's a control. This is a hack until we properly support borders
  14240. - A few simple fixes to support selections better, now erases selected
  14241. text when typing, and resets selection when using movement keys
  14242. 2005-01-19 Miguel de Icaza <[email protected]>
  14243. * UpDownBase.cs: Added some new properties.
  14244. * DomainUpDown.cs: Implement a lot to get my test working.
  14245. 2005-01-19 Geoff Norton <[email protected]>
  14246. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  14247. 2005-01-19 Geoff Norton <[email protected]>
  14248. * OSXStructs (WindowAttributes): Fixed csc complaints
  14249. 2005-01-19 Geoff Norton <[email protected]>
  14250. * XplayUIOSX.cs:
  14251. OSXStructs.cs: Initial refactor to move enums and consts into
  14252. OSXStructs and use them in the driver for greater readability.
  14253. 2005-01-19 Geoff Norton <[email protected]>
  14254. * XplatUIOSX.cs: Initial support for Standard Cursors.
  14255. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  14256. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  14257. * ComboBox.cs: ability to change style when the ctrl is already
  14258. created, missing methods and events, bug fixes, signature fixes
  14259. 2005-01-19 Peter Bartok <[email protected]>
  14260. * Cursors.cs (ctor): Added ctor to fix signature
  14261. 2005-01-18 Peter Bartok <[email protected]>
  14262. * Button.cs: Implemented DoubleClick event
  14263. * ButtonBase.cs:
  14264. - Fixed keyboard handling to behave like MS, where the press of
  14265. Spacebar is equivalent to a mousedown, and the key release is
  14266. equivalent to mouseup. Now a spacebar push will give the same
  14267. visual feedback like a mouse click.
  14268. - Added missing attributes
  14269. - Added ImeModeChanged event
  14270. - Added support for generating DoubleClick event for derived classes
  14271. * CheckBox.cs:
  14272. - Implemented DoubleClick event
  14273. - Added missing attributes
  14274. * CommonDialog.cs: Added missing attribute
  14275. * ContextMenu.cs: Added missing attributes
  14276. * RadioButton.cs:
  14277. - AutoChecked buttons do not allow to be unselected when clicked
  14278. (otherwise we might end up with no selected buttons in a group)
  14279. - Added missing attributes
  14280. - Implemented DoubleClickEvent
  14281. * ThreadExceptionDialog.cs: Enabled TextBox code
  14282. 2005-01-18 Peter Bartok <[email protected]>
  14283. * Form.cs: Removed debug output
  14284. * Button.cs: Added support for DoubleClick method
  14285. 2005-01-18 Peter Bartok <[email protected]>
  14286. * Form.cs:
  14287. - Added method to parent window that allows triggering size
  14288. calculations when a menu is added/removed
  14289. - set_Menu: Cleaned up mess from early days of Form and Control,
  14290. now properly triggers a recalc when a menu is added/removed
  14291. - Added case to select form itself as focused form if no child
  14292. controls exist
  14293. - Added PerformLayout call when showing dialog, to ensure properly
  14294. placed controls
  14295. * Control.cs:
  14296. - Select(): Made internal so Form can access it
  14297. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  14298. status
  14299. * Application.cs (Run): Removed hack and calls PerformLayout instead
  14300. to trigger calculation when Form becomes visible
  14301. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  14302. * ComboBox.cs: fixes for ownerdraw
  14303. 2005-01-18 Peter Bartok <[email protected]>
  14304. * TextControl.cs:
  14305. - Sentinel is no longer static, each Document gets it's own, this
  14306. avoids locking or alternatively overwrite problems when more
  14307. than one text control is used simultaneously.
  14308. - Switched to use Hilight and HilightText brushes for text selection
  14309. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  14310. 2005-01-18 Peter Bartok <[email protected]>
  14311. * Control.cs:
  14312. - Hooked up the following events:
  14313. o ControlAdded
  14314. o ControlRemoved
  14315. o HandleDestroyed
  14316. o ImeModeChanged
  14317. o ParentChanged
  14318. o TabStopChanged
  14319. o Invalidated
  14320. o SystemColorsChanged
  14321. o ParentFontChanged
  14322. o Move
  14323. - Removed debug output
  14324. - Added a call to the current theme's ResetDefaults when a color change
  14325. is detected
  14326. * Form.cs: Now setting the proper ImeMode
  14327. * Theme.cs: Defined a method to force recreation of cached resources
  14328. and rereading of system defaults (ResetDefaults())
  14329. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  14330. 2005-01-17 Peter Bartok <[email protected]>
  14331. * Control.cs: Added missing attributes
  14332. 2005-01-17 Jackson Harper <[email protected]>
  14333. * TreeNode.cs: Implement editing. Add missing properties selected
  14334. and visible.
  14335. * TreeView.cs: Implement node editing. Also some fixes to use
  14336. Invalidate (invalid area) instead of Refresh when selecting.
  14337. 2005-01-17 Peter Bartok <[email protected]>
  14338. * Control.cs:
  14339. - Implemented InvokeGotFocus() method
  14340. - Implemented InvokeLostFocus() method
  14341. - Implemented InvokePaint() method
  14342. - Implemented InvokePaintBackground() method
  14343. - Implemented InvokeClick() method
  14344. - Implemented FindForm() method
  14345. - Implemented RectangleToClient() method
  14346. - Implemented ClientToRectangle() method
  14347. - Implemented ResetBackColor() method
  14348. - Implemented ResetCursor() method
  14349. - Implemented ResetFont() method
  14350. - Implemented ResteForeColor() method
  14351. - Implemented ResetImeMode() method
  14352. - Implemented ResetLeftToRight() method
  14353. - Implemented ResetText() method
  14354. - Implemented Scale() methods
  14355. - Implemented ScaleCore() method
  14356. - Implemented Update() method
  14357. - Removed unused variables
  14358. - Stubbed AccessibilityNotifyClients and
  14359. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  14360. with those yet)
  14361. - Now setting proper default for RightToLeft property
  14362. - Fixed bug in SetClientSizeCore that would cause windows to get
  14363. really big
  14364. - Now sending Click/DoubleClick events
  14365. - Now selecting controls when left mouse button is clicked on
  14366. selectable control
  14367. * AccessibleEvents.cs: Added
  14368. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  14369. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  14370. * XplatUIWin32.cs: Implemented UpdateWindow() method
  14371. * XplatUIX11.cs: Implemented UpdateWindow() method
  14372. * Form.cs: Removed stray semicolon causing CS0162 warning
  14373. * ThemeWin32Classic.cs: Fixed unused variable warnings
  14374. * ScrollableControl.cs: Now calls base method for ScaleCore
  14375. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  14376. style to avoid interference with internal click handler (which is
  14377. different than standard Control click handling)
  14378. * RadioButton.cs:
  14379. - Now unchecks all sibling radio buttons when control is
  14380. selected (Fixes #68756)
  14381. - Removed internal tabstop variable, using the one inherited from
  14382. Control
  14383. 2005-01-17 Jackson Harper <[email protected]>
  14384. * NavigateEventArgs.cs: Fix base type.
  14385. * LinkLabel.cs: Sig fix
  14386. 2005-01-17 Jackson Harper <[email protected]>
  14387. * TreeView.cs: Only invalidate the effected nodes bounds when
  14388. selecting nodes.
  14389. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14390. * XplatUIWin32.cs: fixes Win32 marshaling
  14391. * XplatUIX11.cs: fixes method signature
  14392. 2005-01-17 Peter Bartok <[email protected]>
  14393. * XplatUIX11.cs: Clean up resources when we no longer need them
  14394. 2005-01-17 Peter Bartok <[email protected]>
  14395. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  14396. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  14397. and DestroyCursor() methods.
  14398. * Cursor.cs: Partially implemented, now supports standard cursors;
  14399. still contains some debug code
  14400. * Cursors.cs: Implemented class
  14401. * Control.cs:
  14402. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  14403. appropriate cursor
  14404. - Implemented Cursor property
  14405. - Replaced break; with return; more straightforwar and possibly
  14406. faster
  14407. - Now properly setting the result for WM_HELP
  14408. * X11Structs.cs: Added CursorFontShape enum
  14409. * XplatUIStructs.cs:
  14410. - Added StdCursor enum (to support DefineStdCursor() method)
  14411. - Added HitTest enum (to support sending WM_SETCURSOR message)
  14412. * XplatUIX11.cs:
  14413. - Now sends the WM_SETCURSOR message
  14414. - Implemented new cursor methods
  14415. * XplatUIOSX.cs: Stubbed new cursor methods
  14416. * XplatUIWin32.cs:
  14417. - Implemented new cursor methods
  14418. - Added GetSystemMetrics function and associated enumeration
  14419. 2005-01-15 Peter Bartok <[email protected]>
  14420. * Control.cs:
  14421. - WndProc(): Now handles EnableNotifyMessage
  14422. - SelectNextControl(): Fixed bug where if no child or sibling
  14423. controls exist we looped endlessly
  14424. 2005-01-14 Jackson Harper <[email protected]>
  14425. * TreeView.cs: Recalculate the tab pages when a new one is added
  14426. so that the proper bounding rects are created.
  14427. 2005-01-14 Jackson Harper <[email protected]>
  14428. * TreeView.cs: Draw a gray box instead of a grip in the lower
  14429. right hand corner when there are both horizontal and vertical
  14430. scroll bars.
  14431. 2005-01-14 Jackson Harper <[email protected]>
  14432. * Control.cs: When erasing backgrounds use FromHwnd instead of
  14433. FromHdc when there is a NULL wparam. This occurs on the X driver.
  14434. * XplatUIX11.cs: Set the wparam to NULL.
  14435. 2005-01-13 Jackson Harper <[email protected]>
  14436. * PictureBox.cs: Implement missing methods (except ToString, need
  14437. to test that on windows) and events. When visibility is changed we
  14438. need to redraw the image because the buffers are killed. When size
  14439. is changed refresh if the sizemode needs it.
  14440. 2005-01-13 Peter Bartok <[email protected]>
  14441. * Control.cs (SelectNextControl): Was using wrong method to select
  14442. a control
  14443. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14444. * ComboBox.cs: fixes dropstyle
  14445. 2005-01-13 Peter Bartok <[email protected]>
  14446. * Form.cs:
  14447. - Implemented Select() override
  14448. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  14449. - Now sets keyboard focus on startup
  14450. * Control.cs (SelectNextControl): Now properly handles directed=true
  14451. * TextBoxBase.cs:
  14452. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  14453. - Added (really bad) focus rectangle (mostly for testing)
  14454. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  14455. to enforce redraw on focus changes
  14456. * ContainerControl.cs:
  14457. - Fixed detection of Shift-Tab key presses
  14458. - Fixed traversal with arrow keys
  14459. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  14460. gonna keep this or if it's complete yet
  14461. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14462. * ComboBox.cs: missing properties, fixes
  14463. 2005-01-13 Peter Bartok <[email protected]>
  14464. * Panel.cs (ctor): Setting Selectable window style to off
  14465. * Splitter.cs (ctor): Setting Selectable window style to off
  14466. * GroupBox.cs (ctor): Setting Selectable window style to off
  14467. * Label.cs (ctor): Setting Selectable window style to off
  14468. 2005-01-12 Miguel de Icaza <[email protected]>
  14469. * UpDownBase.cs (InitTimer): If the timer has been already
  14470. created, enable it.
  14471. Use a TextBox instead of a Label.
  14472. 2005-01-12 Jackson Harper <[email protected]>
  14473. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  14474. draw the connecting node lines (when ShowLines is true).
  14475. * TreeNode.cs: The nodes index can now be updated. This is used
  14476. when a node collection is sorted.
  14477. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  14478. insert or an existing unsorted node collection can be sorted.
  14479. 2005-01-12 Peter Bartok <[email protected]>
  14480. * ContainerControl.cs: Implemented ProcessDialogKeys()
  14481. 2005-01-12 Peter Bartok <[email protected]>
  14482. * Control.cs:
  14483. - Implemented SelectNextControl() method
  14484. - Several focus related bug fixes
  14485. - Fixed Docking calculations to match MS documentation and
  14486. behaviour
  14487. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  14488. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  14489. bug fixes
  14490. 2005-01-12 Peter Bartok <[email protected]>
  14491. * Control.cs:
  14492. - Fixed broken Contains() method
  14493. - Implemented GetNextControl() method. Finally. This is the pre-
  14494. requisite for focus handling.
  14495. 2005-01-12 Peter Bartok <[email protected]>
  14496. * OSXStrucs.cs: Added
  14497. 2005-01-12 Peter Bartok <[email protected]>
  14498. * XplatUIWin32.cs:
  14499. - Removed PeekMessageFlags
  14500. - Implemented SetWindowStyle() method
  14501. * XplatUIStructs.cs: Added PeekMessageFlags
  14502. * X11Structs: Added missing border_width field to XWindowChanges struct
  14503. * XplatUIX11.cs:
  14504. - PeekMessage: Now throws exception if flags which are not yet
  14505. supported are passed
  14506. - Implemented SetWindowStyle() method
  14507. - Fixed SetZOrder to handle AfterHwnd properly
  14508. * XplatUI.cs: Added SetWindowStyle() method
  14509. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  14510. * Control.cs:
  14511. - Implemented UpdateStyles() method
  14512. - Implemented UpdateZOrder() method
  14513. * XplatUIOSX.cs: Added SetWindowStyle() stub
  14514. 2005-01-12 Geoff Norton <[email protected]>
  14515. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  14516. button mouse).
  14517. 2005-01-11 Jackson Harper <[email protected]>
  14518. * TreeView.cs: Still need to draw lines to siblings even if out of
  14519. the current node is out of the clip.
  14520. 2005-01-11 Jackson Harper <[email protected]>
  14521. * TreeView.cs: When setting the hbar/vbar/grip position use
  14522. SetBounds so that perform layout is only called once. Also suspend
  14523. and resume layout so layout is only done once for all controls.
  14524. - Removed some debug fluff
  14525. * SizeGrip.cs: Call base implmentation in overriding methods.
  14526. - When visibility is changed the drawing buffers are killed so we
  14527. need to redraw.
  14528. 2005-01-11 Jackson Harper <[email protected]>
  14529. * TreeView.cs: Calculate the open node count while drawing. This
  14530. saves us an entire tree traversal for every paint operation. Use
  14531. a member var for the open node count so less vars are passed around.
  14532. 2005-01-11 John BouAntoun <[email protected]>
  14533. * MonthCalendar.cs:
  14534. - fixed selection to use mousemove, not mouse polling on timer
  14535. * ThemeWin32Classic.cs
  14536. - removed redundant unused variable "no_more_content"
  14537. 2005-01-11 Peter Bartok <[email protected]>
  14538. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  14539. are pending, so it now calls PeekMessage instead of GetMessage;
  14540. implemented a incomplete version of PeekMessage
  14541. 2005-01-11 Peter Bartok <[email protected]>
  14542. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  14543. I18n issues
  14544. * TextBoxBase.cs: Added sending of TextChanged event
  14545. 2005-01-10 Jackson Harper <[email protected]>
  14546. * TreeView.cs: Try not to draw outside the clipping rectangle on
  14547. each node element.
  14548. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  14549. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  14550. 2005-01-10 Jackson Harper <[email protected]>
  14551. * TreeView.cs:
  14552. - Implement fast scrolling. Now only the newly
  14553. exposed nodes are drawn and the old image is moved using the
  14554. XplatUI::ScrollWindow method.
  14555. - Factor in height of nodes when calculating whether or not the
  14556. node is in the clipping rect.
  14557. 2005-01-10 Jackson Harper <[email protected]>
  14558. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  14559. 2005-01-10 Peter Bartok <[email protected]>
  14560. * Application.cs: Added temporary hack to resolve all our resize
  14561. required issues on startup. This will get fixed properly at
  14562. some point in the future
  14563. 2005-01-10 Jackson Harper <[email protected]>
  14564. * SizeGrip.cs: New internal class that is used as a sizing
  14565. grip control...hence the name.
  14566. 2005-01-10 Peter Bartok <[email protected]>
  14567. * Control.cs: Implemented proper TabIndex handling, now assigning
  14568. a tabindex when a control is added to a container
  14569. * GroupBox.cs (ctor): Now sets the Container style bit, required
  14570. for Control.GetNextControl()
  14571. 2005-01-09 Jackson Harper <[email protected]>
  14572. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  14573. 2005-01-09 Peter Bartok <[email protected]>
  14574. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  14575. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  14576. an overload for ScrollWindow to allow only scrolling a rectangle
  14577. 2005-01-09 Peter Bartok <[email protected]>
  14578. * Form.cs:
  14579. - Implemented SetDesktopBounds method
  14580. - Implemented SetDesktopLocation method
  14581. 2005-01-08 Jackson Harper <[email protected]>
  14582. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  14583. the node count has changed, this removes to VScroll::Refresh calls
  14584. when drawing.
  14585. 2005-01-08 Geoff Norton <[email protected]>
  14586. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  14587. 2005-01-07 Jackson Harper <[email protected]>
  14588. * TreeNode.cs: Just update the single node when it is
  14589. checked. Don't refresh after toggling, the Expand/Collapse already
  14590. handles this.
  14591. * TreeView.cs: Respect clipping a little more when drawing. Try
  14592. not to redraw things that don't need to be redrawn. Just hide the
  14593. scrollbars when they are no longer needed instead of removing
  14594. them, so they don't have to be created again and again.
  14595. 2005-01-07 Geoff Norton <[email protected]>
  14596. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  14597. coordinates to window space to place the caret properly, FIXED.
  14598. Implement GetWindowState & SetWindowState
  14599. 2005-01-06 Peter Bartok <[email protected]>
  14600. * Form.cs:
  14601. - Implemented ClientSize property
  14602. - Implemented DesktopBounds property
  14603. - Implemented DesktopLocation property
  14604. - Implemented IsRestrictedWindow property
  14605. - Implemented Size property
  14606. - Implemented TopLevel property
  14607. - Implemented FormWindowState property
  14608. * Control.cs:
  14609. - Implemented GetTopLevel() method
  14610. - Implemented SetTopLevel() method
  14611. * X11Structs.cs (Atom):
  14612. - Added AnyPropertyType definition
  14613. - Added MapState definiton and updated XWindowAttribute struct
  14614. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  14615. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  14616. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  14617. * XplatUIWin32.cs:
  14618. - Implemented GetWindowState() and SetWindowState() methods
  14619. - Fixed Win32GetWindowLong return type
  14620. * XplatUIX11.cs:
  14621. - Introduced central function for sending NET_WM messages
  14622. - Implemented GetWindowState() and SetWindowState() methods
  14623. * TextBoxBase.cs (set_Lines):
  14624. - Now uses Foreground color for text added via Text property (Duh!)
  14625. - Added code to remember programmatically requested size (fixes
  14626. behaviour when Multiline is set after Size)
  14627. - Added AutoSize logic
  14628. 2005-01-06 Jackson Harper <[email protected]>
  14629. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  14630. 2005-01-06 Jackson Harper <[email protected]>
  14631. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  14632. set to less then 0.
  14633. 2005-01-06 Jackson Harper <[email protected]>
  14634. * ScrollableControl.cs: Lazy init the scrollbars.
  14635. 2005-01-06 Jackson Harper <[email protected]>
  14636. * Theme.cs: Speed up getting pens and solid brushes, by using
  14637. their ARGB as a hash instead of tostring and not calling Contains.
  14638. 2005-01-06 Peter Bartok <[email protected]>
  14639. * Form.cs:
  14640. - Implemented OnActivated and OnDeactivate event trigger
  14641. - Implemented Activate() method
  14642. - Fixed ShowDialog() to activate the form that was active before
  14643. the dialog was shown
  14644. * XplatUIX11.cs:
  14645. - Added global active_window var that tracks the currently active
  14646. X11 window
  14647. - Now always grabs Property changes from the root window to always
  14648. catch changes on the active window property
  14649. - Added code to PropertyNotify handler to send Active/Inactive
  14650. messages when state changes. This puts X11 and Win32 en par on
  14651. WM_ACTIVATE notifications (except for double notifications when
  14652. the user clicks away from our modal window to another one of our
  14653. windows)
  14654. 2005-01-05 Jackson Harper <[email protected]>
  14655. * ImageList.cs: Implment ctor
  14656. 2005-01-05 Geoff Norton <[email protected]>
  14657. * XplatUIOSX.cs: Implement Activate/SetTopmost
  14658. 2005-01-05 Geoff Norton <[email protected]>
  14659. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  14660. 2005-01-05 Geoff Norton <[email protected]>
  14661. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  14662. 2005-01-05 Peter Bartok <[email protected]>
  14663. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  14664. XplatUIOSX.cs: Added GetActive method to return the currently
  14665. active window for the application (or null, if none is active)
  14666. * Form.cs:
  14667. - Implemented ActiveForm
  14668. - Commented out owner assignment for modal dialogs (causes problems
  14669. on Win32, since the owner will be disabled)
  14670. - Reworked some Active/Focus handling (still incomplete)
  14671. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  14672. (causes problems on Win32, since the owner will be disabled)
  14673. * IWin32Window: Added ComVisible attribute
  14674. 2005-01-05 Peter Bartok <[email protected]>
  14675. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  14676. required XplatUI functions.
  14677. 2005-01-05 Peter Bartok <[email protected]>
  14678. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  14679. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  14680. to implement focus and activation handling; still incomplete and
  14681. with debug output
  14682. 2005-01-04 Peter Bartok <[email protected]>
  14683. * TextBoxBase.cs: Changed access level for Document property to
  14684. match switch to internal for TextControl
  14685. 2005-01-04 Peter Bartok <[email protected]>
  14686. * AccessibleObject: Added ComVisible attribute
  14687. 2005-01-04 Jackson Harper <[email protected]>
  14688. * X11Keyboard.cs: Remove unneeded var.
  14689. 2005-01-04 Jackson Harper <[email protected]>
  14690. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  14691. but PAINT.
  14692. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  14693. ClientMessage. This makes apps exit cleanly (more often).
  14694. 2005-01-04 Jackson Harper <[email protected]>
  14695. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  14696. handling focus, return correct colors and fonts,
  14697. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  14698. handle selection, horizontal scrolling, and mouse interaction.
  14699. 2005-01-04 Peter Bartok <[email protected]>
  14700. * ICommandExecutor.cs: Added
  14701. * IDataGridColumnStyleEditingNotificationService.cs: Added
  14702. * IFeatureSupport.cs: Added
  14703. * IFileReaderService.cs: Added
  14704. * IDataObject.cs: Added ComVisible attribute
  14705. * AmbientProperties.cs: Added
  14706. * BaseCollection.cs: Added missing attributes
  14707. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  14708. * BaseCollection.cs: Added missing attributes
  14709. * Binding.cs: Added TypeConverter attribute
  14710. * BindingContext.cs: Added DefaultEvent attribute
  14711. * BindingsCollection.cs: Added DefaultEvent attribute
  14712. * Button.cs: Added DefaultValue attribute
  14713. * DragEventArgs.cs: Added ComVisible attribute
  14714. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  14715. * KeyEventArgs.cs: Added ComVisible attribute
  14716. * KeyPressEventArgs.cs: Added ComVisible attribute
  14717. * MouseEventArgs.cs: Added ComVisible attribute
  14718. * NavigateEventArgs.cs: Added
  14719. * NavigateEventHandler.cs: Added
  14720. * FeatureSupport.cs: Added
  14721. * OSFeature.cs: Added
  14722. * Theme.cs: Added abstract Version property to support OSFeature
  14723. * ThemeWin32Classic.cs: Added Version property to
  14724. support OSFeature.Themes
  14725. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  14726. the proper styles to avoid background drawing are set, also doesn't
  14727. match MS signature
  14728. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  14729. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  14730. * ScrollEventArgs.cs: Added ComVisible attribute
  14731. * SplitterEventArgs.cs: Added ComVisible attribute
  14732. * AccessibleSelection.cs: Added Flags attribute
  14733. * Appearance.cs: Added ComVisible attribute
  14734. * Border3DSide.cs: Added ComVisible attribute
  14735. * Border3DStyle.cs: Added ComVisible attribute
  14736. * BorderStyle.cs: Added ComVisible attribute
  14737. * DragAction.cs: Added ComVisible attribute
  14738. * ErrorBlinkStyle.cs: Added
  14739. * ScrollEventType.cs: Added ComVisible attribute
  14740. * AnchorStyles.cs: Added Editor attribute
  14741. * DockStyle.cs: Added Editor attribute
  14742. * HorizontalAlignment.cs: Added ComVisible attribute
  14743. * HelpEventArgs.cs: Added ComVisible attribute
  14744. * PaintEventArgs.cs: Added IDisposable
  14745. 2005-01-04 Peter Bartok <[email protected]>
  14746. * TextControl.cs: Switched Line, LineTag and Document classes to
  14747. internal
  14748. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  14749. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  14750. Simple mode, fixes, IntegralHeight, etc.
  14751. 2005-01-04 Peter Bartok <[email protected]>
  14752. * TextBoxBase.cs: Using proper font variable now
  14753. 2005-01-04 Peter Bartok <[email protected]>
  14754. * Form.cs (ShowDialog): Set parent to owner, if provided
  14755. * GroupBox.cs: Removed unused vars
  14756. * TextControl.cs:
  14757. - Added GetHashCode() for Document and LineTag classes
  14758. - Removed unused variables
  14759. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  14760. to allow translation between continuous char position and line/pos
  14761. * CheckBox.cs: Removed vars that are provided by base class
  14762. * RadioButton.cs: Removed vars that are provided by base class, added
  14763. new keyword where required
  14764. * LinkLabel.cs: Added new keyword where required
  14765. * Control.cs (WndProc): Removed unused variable
  14766. * TextBoxBase.cs:
  14767. - Finished SelectionLength property
  14768. - Implemented SelectionStart property
  14769. - Implemented Text property
  14770. - Removed unused vars
  14771. * MessageBox.cs: Added new keyword where required
  14772. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  14773. WndProc signature
  14774. * MenuAPI.cs: Added new keyword where required
  14775. * ButtonBase.cs: Removed vars that are provided by base class, added
  14776. new keyword where required
  14777. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  14778. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  14779. into this)
  14780. * Application.cs (Run): Now triggers the ThreadExit event
  14781. * CommonDialog.cs: Added new keyword where required; now properly sets
  14782. parent (owner) for dialog
  14783. * XplatUIX11.cs: Commented out unused vars
  14784. * StatusBar.cs: Fixed signature for Text property
  14785. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  14786. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  14787. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  14788. TrackBar.cs, MonthCalendar.cs: remove unused vars
  14789. 2005-01-03 Jackson Harper <[email protected]>
  14790. * ThemeWin32Classic.cs:
  14791. * X11Keyboard.cs: Remove unused vars.
  14792. 2005-01-03 Peter Bartok <[email protected]>
  14793. * TextBox.cs:
  14794. - set_Text: Tied into TextControl
  14795. - set_TextAlignment: Tied into TextControl
  14796. * TextControl.cs:
  14797. - Added alignment properties and implemented alignment handling
  14798. and drawing (still has a bug, not generating proper expose events)
  14799. - Added new Line() constructor to allow passing the line alignment
  14800. - Fixed selection setting, properly handling end<start now
  14801. - Added aligment considerations to RecalculateDocument()
  14802. * TextBoxBase.cs:
  14803. - Now properly enforces control height for single line controls
  14804. - Added support for CharacterCasing
  14805. - Added IsInputKey override
  14806. - Fixed Keys.Enter logic
  14807. - Added SetBoundsCore override
  14808. - Fixed mouse selection handling
  14809. 2005-01-03 Jackson Harper <[email protected]>
  14810. * TreeView.cs:
  14811. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  14812. - Checkboxes are always aligned to the bottom of the node,
  14813. regardless of item height.
  14814. - Use the node bounds to draw the text so we can center it when
  14815. the item height is greater then the font height.
  14816. - Node::Bounds are only the text part of the node.
  14817. * TreeNode.cs: New method to combine collapsing and unchecking all
  14818. nodes recursively.
  14819. 2005-01-02 Jackson Harper <[email protected]>
  14820. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  14821. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  14822. tree when a check is changed. TODO: Only refresh the checked node.
  14823. 2004-12-30 Jackson Harper <[email protected]>
  14824. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  14825. * TreeNode.cs: When collapsing make sure to never collapse the
  14826. root node.
  14827. 2004-12-29 Jackson Harper <[email protected]>
  14828. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  14829. 2004-12-28 Zoltan Varga <[email protected]>
  14830. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  14831. 2004-12-28 Peter Bartok <[email protected]>
  14832. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  14833. not yet assigned
  14834. 2004-12-28 Peter Bartok <[email protected]>
  14835. * Control.cs (WndProc): Added WM_HELP handler, now generates
  14836. HelpRequested event
  14837. * Form.cs: Added HelpButton property and required support code
  14838. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  14839. 2004-12-28 Peter Bartok <[email protected]>
  14840. * CommonDialog.cs:
  14841. - Made DialogForm.owner variable internal
  14842. - Added check to ensure owner form is set before setting
  14843. owner properties in CreateParams
  14844. 2004-12-28 Geoff Norton <[email protected]>
  14845. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  14846. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  14847. GetCursorPos. Fix major visibility issues. Rework the windowing
  14848. system to support borderless/titleless windows (implements menus).
  14849. Fix GetWindowPos. Implement initial background color support for
  14850. views.
  14851. 2004-12-28 Peter Bartok <[email protected]>
  14852. * Form.cs (get_CreateParams): Make sure we have an owner before using
  14853. the owner variable. Implement proper default if no owner exists
  14854. 2004-12-28 Peter Bartok <[email protected]>
  14855. * In preparation for making Managed.Windows.Forms the default build target
  14856. for System.Windows.Forms, the following stubbed files were added.
  14857. Dialogs are currently being implemented by contributors and are only
  14858. short-term place holders.
  14859. * ColorDialog.cs: Initial check-in (minmal stub)
  14860. * DataGrid.cs: Initial check-in (minimal stub)
  14861. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  14862. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  14863. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  14864. * FontDialog.cs: Initial check-in (minimal stub)
  14865. * FileDialog.cs: Initial check-in (minimal stub)
  14866. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  14867. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  14868. * OpenFileDialog: Initial check-in (minimal stub)
  14869. * IComponentEditorPageSite.cs: Initial check-in
  14870. * Splitter.cs: Initial check-in (for Jackson)
  14871. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  14872. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  14873. * TextBox.cs: Initial check-in; still needs some wiring to
  14874. TextControl backend
  14875. * Form.cs: Implemented ControlBox property
  14876. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  14877. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  14878. * TextControl.cs: Added selection functionality; added todo header
  14879. * TextBoxBase.cs:
  14880. - Implemented Lines property
  14881. - Implemented TextHeight property
  14882. - Implemented SelectedText property
  14883. - Implemented SelectionLength property
  14884. - Implemented SelectAll method
  14885. - Implemented ToString method
  14886. - Removed and cleaned up some debug code
  14887. - Implemented (still buggy) mouse text selection
  14888. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  14889. * ComboBox.cs: Complete DropDownList implementation, fixes.
  14890. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  14891. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  14892. * ComboBoxStyle.cs: ComboBoxStyle enum
  14893. * ComboBox.cs: Initial work on ComboBox control
  14894. 2004-12-21 Peter Bartok <[email protected]>
  14895. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  14896. forward so that anything that creates a window gets the default,
  14897. also no longer uses Visible property in CreateParams to avoid
  14898. walking up the parent chain and possibly get the wrong visible
  14899. status. Fixed IsVisible to no longer walk up to the parent.
  14900. 2004-12-21 Peter Bartok <[email protected]>
  14901. * Form.cs (ShowDialog): Unset modality for the proper window
  14902. 2004-12-20 Peter Bartok <[email protected]>
  14903. * CommonDialog.cs: Initial check-in
  14904. 2004-12-20 Peter Bartok <[email protected]>
  14905. * Control.cs (Visible): Now uses the parent window instead of the
  14906. client area window for the property
  14907. * Form.cs
  14908. - ShowDialog(): Now uses the proper window for modality
  14909. - The default visibility state for the form parent is now false. This
  14910. will prevent the user from seeing all the changes to the form and
  14911. its controls before the application hits Application.Run()
  14912. - Removed some stale commented out code
  14913. * NativeWindow.cs:
  14914. - Added FindWindow() method to have a method to check for existence
  14915. of a window handle
  14916. - Added ability to override default exception handling (for example
  14917. when debugging with VS.Net; to do this the ExternalExceptionHandler
  14918. define must be set
  14919. - Removed some useless debug output
  14920. * XplatUIX11.cs:
  14921. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  14922. not working as expected
  14923. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  14924. property to allow switching back to the modal window if focus is
  14925. given to another one of our windows (Application Modal)
  14926. - Now only sets override_redirect if we create a window
  14927. without WS_CAPTION
  14928. - Moved EventMask selection before mapping of newly created window
  14929. so we can catch the map event as well
  14930. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  14931. - Added various Atom related DllImports
  14932. - Implemented Exit() method
  14933. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  14934. in the CreateParams
  14935. * MessageBox.cs: Now properly deals with the FormParent window by
  14936. providing an override the FormParent CreateParams property to
  14937. set as POPUP instead of OVERLAPPED window.
  14938. 2004-12-19 Geoff Norton <[email protected]>
  14939. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  14940. Minor code cleanup.
  14941. 2004-12-19 Geoff Norton <[email protected]>
  14942. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  14943. 2004-12-18 Peter Bartok <[email protected]>
  14944. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  14945. implementing SetModal() method
  14946. 2004-12-18 Peter Bartok <[email protected]>
  14947. * X11Structs.cs (XGCValues): Fixed type of function element
  14948. * XplatUI.cs: Added ScrollWindow() method
  14949. * XplatUIDriver.cs: Added ScrollWindow() abstract
  14950. * XplatUIWin32.cs: Implemented ScrollWindow() method
  14951. * XplatUIX11.cs: Implemented ScrollWindow() method
  14952. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  14953. 2004-12-17 Geoff Norton <[email protected]>
  14954. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  14955. Some more keyboard support (INCOMPLETE)
  14956. 2004-12-17 Peter Bartok <[email protected]>
  14957. * TextControl.cs:
  14958. - Added color attribute to line tags.
  14959. - Added color argument to all functions dealing with tags
  14960. - Added color argument support to various functions
  14961. - Fixed miss-calculation of baseline/shift in certain circumstances
  14962. * TextBoxBase.cs: Added new color option to test code
  14963. 2004-12-17 Jackson Harper <[email protected]>
  14964. * TreeNode.cs:
  14965. * MonthCalendar.cs: Signature fixes
  14966. 2004-12-17 Geoff Norton <[email protected]>
  14967. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  14968. keyboard event moved it. Create a new graphics context for each paint resolves this
  14969. 2004-12-17 Geoff Norton <[email protected]>
  14970. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  14971. Make caret exist and go blink blink. Initial keyboard support.
  14972. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  14973. works.
  14974. 2004-12-17 Jackson Harper <[email protected]>
  14975. * XplatUIStructs.cs: Updated set of virtual keycodes.
  14976. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  14977. 2004-12-17 Jackson Harper <[email protected]>
  14978. * XplatUIX11.cs: Prune old keyboard code.
  14979. 2004-12-17 Jackson Harper <[email protected]>
  14980. * XplatUIX11.cs: When generating mouse wparams get the modifier
  14981. keys from the ModifierKeys property.
  14982. 2004-12-17 Jackson Harper <[email protected]>
  14983. * X11Keyboard.cs: Send up/down input when generating
  14984. messages. Remove some unused vars.
  14985. 2004-12-17 Jackson Harper <[email protected]>
  14986. * TabControl.cs:
  14987. * TreeView.cs: get rid of warnings.
  14988. 2004-12-17 Jackson Harper <[email protected]>
  14989. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  14990. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  14991. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  14992. CheckedListBox.cs: Implementation
  14993. 2004-12-17 Peter Bartok <[email protected]>
  14994. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  14995. 2004-12-16 Peter Bartok <[email protected]>
  14996. * TextControl.cs:
  14997. - InsertCharAtCaret(): Fixed start pos fixup
  14998. - CaretLine_get: No longer derives the line from the tag, the tag
  14999. could be stale if lines in the document have been added or deleted
  15000. - RebalanceAfterDelete(): Fixed bug in balancing code
  15001. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  15002. - Line.Streamline(): Now can also elminate leading empty tags
  15003. - DumpTree(): Added a few more tests and prevented exception on
  15004. uninitialized data
  15005. - Added Debug section for Combining lines
  15006. - Delete(): Now copies all remaining properties of a line
  15007. * TextBoxBase.cs:
  15008. - Left mousebutton now sets the caret (and middle button still acts
  15009. as formatting tester, which must go away soon)
  15010. - Added Debug section for Deleting/Combining lines
  15011. - Fixed calculations for UpdateView after Combining lines
  15012. 2004-12-16 Peter Bartok <[email protected]>
  15013. * TextControl.cs: Now properly aligns text on a baseline, using the
  15014. new XplatUI.GetFontMetrics() method. Simplified several calculations
  15015. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  15016. defined
  15017. 2004-12-16 Peter Bartok <[email protected]>
  15018. * XplatUI.cs: Added GetFontMetrics() method
  15019. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  15020. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  15021. into libgdiplus, our private GetFontMetrics function
  15022. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  15023. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  15024. 2004-12-16 Jackson Harper <[email protected]>
  15025. * XplatUIStruct.cs: Add enum for dead keys
  15026. * X11Keyboard.cs: Map and unmap dead keys.
  15027. 2004-12-16 Jackson Harper <[email protected]>
  15028. * X11Keyboard.cs: Detect and use the num lock mask.
  15029. 2004-12-16 Peter Bartok <[email protected]>
  15030. * Control.cs (CreateGraphics): Added check to make sure the
  15031. handle of the window exists before calling Graphics.FromHwnd()
  15032. 2004-12-16 Peter Bartok <[email protected]>
  15033. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  15034. contains a lot of code that's not supposed to be there for the
  15035. real thing, but required for developing/testing the textbox
  15036. backend.
  15037. 2004-12-16 Peter Bartok <[email protected]>
  15038. * TextControl.cs:
  15039. - Fixed Streamline method
  15040. - Added FindTag method to Line
  15041. - Added DumpTree method for debugging
  15042. - Added DecrementLines() method for deleting lines
  15043. - Fixed UpdateView to update the cursor to end-of-line on single-line
  15044. updates
  15045. - Added PositionCaret() method
  15046. - Fixed MoveCaret(LineDown) to move into the last line, too
  15047. - Added InsertChar overload
  15048. - Fixed InsertChar tag offset calculations
  15049. - Added DeleteChar() method
  15050. - Added Combine() method for folding lines
  15051. - Fixed Delete() method, no longer allocates wasted Line object and
  15052. now copies all properties when swapping nodes
  15053. - Delete() method now updates document line counter
  15054. 2004-12-15 Jackson Harper <[email protected]>
  15055. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  15056. * X11Keyboard.cs: Expose the currently selected modifier keys
  15057. through a property.
  15058. 2004-12-15 Peter Bartok <[email protected]>
  15059. * TextControl.cs: Initial check-in. Still incomplete
  15060. 2004-12-15 Jackson Harper <[email protected]>
  15061. * TreeNode.cs:
  15062. * TreeView.cs: Fix build on csc (second time today ;-))
  15063. 2004-12-15 Jackson Harper <[email protected]>
  15064. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  15065. is calculated and use this for click testing.
  15066. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  15067. 2004-12-15 Jackson Harper <[email protected]>
  15068. * TreeView.cs: Pass the nodes image index to the image list when
  15069. drawing that image.
  15070. 2004-12-15 Jackson Harper <[email protected]>
  15071. * X11Keyboard.cs: Set messages hwnd.
  15072. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  15073. post_message calls.
  15074. 2004-12-15 Jackson Harper <[email protected]>
  15075. * X11Keyboard.cs: Fix to compile with csc.
  15076. 2004-12-15 Jackson Harper <[email protected]>
  15077. * X11Structs.cs: Add key mask values
  15078. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  15079. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  15080. down/up foo into WM_CHAR foo
  15081. * KeyboardLayouts.cs: Common keyboard layouts
  15082. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  15083. post messages into the main queue.
  15084. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  15085. * Button.cs: implement ProcessMnemonic
  15086. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  15087. brushes everytime
  15088. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  15089. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  15090. 2004-12-12 John BouAntoun <[email protected]>
  15091. * MonthCalendar.cs: Implemented click-hold for next/previous month
  15092. and date selection
  15093. 2004-12-11 Peter Bartok <[email protected]>
  15094. * X11Structs.cs:
  15095. - Added XKeyboardState (moved from XplatUIX11.cs)
  15096. - Added XCreateGC related enums and structures
  15097. - Added GXFunction for XSetFunction
  15098. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  15099. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  15100. CaretVisible() calls
  15101. * ToolTip.cs: Added code to prevent stealing focus from app windows
  15102. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  15103. DestroyCaret, SetCaretPos and CaretVisible)
  15104. * XplatUIX11.cs:
  15105. - Added implementation for caret functions
  15106. - Moved hover variables into a struct, to make it a bit easier
  15107. on the eyes and to debug
  15108. - Removed XKeyboardState (moved to XplatUIX11.cs)
  15109. - Moved Keyboard properties into the properties region
  15110. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  15111. call to get a graphics context for our control
  15112. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  15113. * TreeView.cs: Fixed bug. No matter what color was set it would always
  15114. return SystemColors.Window
  15115. * XplatUIWin32.cs: Implemented caret overrides
  15116. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  15117. * ListBox.cs: fire events, implement missing methods and properties,
  15118. sorting.
  15119. 2004-12-10 John BouAntoun <[email protected]>
  15120. * MonthCalendar.cs: invalidation bug fixing
  15121. * ThemeWin32Classic.cs: paint fixing
  15122. 2004-12-09 Geoff Norton <[email protected]>
  15123. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  15124. prepare the CGContextRef there now.
  15125. 2004-12-09 John BouAntoun <[email protected]>
  15126. * MonthCalendar.cs:
  15127. - optimisationL only invalidate areas that have changed
  15128. * ThemeWin32Classic.cs:
  15129. - only paint parts that intersect with clip_area
  15130. 2004-12-09 Peter Bartok <[email protected]>
  15131. * Application.cs: Undid changes from r37004 which cause problems
  15132. on X11
  15133. 2004-12-09 Ravindra <[email protected]>
  15134. * ToolBar.cs: Added support for displaying ContextMenu
  15135. attached to a button on ToolBar.
  15136. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  15137. property.
  15138. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  15139. * Label.cs: autosize works in text change and removes unnecessary
  15140. invalidate
  15141. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  15142. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  15143. remove warnings
  15144. 2004-12-08 Geoff Norton <[email protected]>
  15145. * XplatUIOSX.cs: Added mouse move/click/grab support
  15146. Remove some debugging WriteLines not needed anymore.
  15147. Add window resizing/positioning.
  15148. Fix visibility on reparenting.
  15149. 2004-12-08 Peter Bartok <[email protected]>
  15150. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  15151. 2004-12-07 Geoff Norton <[email protected]>
  15152. * XplatUIOSX.cs: Initial checkin
  15153. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  15154. 2004-12-03 Ravindra <[email protected]>
  15155. * ListView.cs: Added some keybindings and fixed scrolling.
  15156. ScrollBars listen to ValueChanged event instead of Scroll
  15157. Event. This would let us take care of all changes being
  15158. done in the scrollbars' values programmatically or manually.
  15159. * ListView.cs (CanMultiselect): Added a check for shift key.
  15160. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  15161. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  15162. of ListViewSubItemCollection as well.
  15163. 2004-12-06 Peter Bartok <[email protected]>
  15164. * Control.cs (Parent): Added check and exception to prevent
  15165. circular parenting
  15166. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  15167. * ListBox.cs: implemented clipping, selection single and multiple,
  15168. bug fixing
  15169. 2004-12-03 Ravindra <[email protected]>
  15170. * ListView.cs (ListView_KeyDown):
  15171. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  15172. when CTRL key is pressed.
  15173. * ListViewItem.cs (Selected): Fixed setting the property.
  15174. 2004-12-03 Marek Safar <[email protected]>
  15175. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  15176. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  15177. MinimizeBox, ShowInTaskbar, TopMost properties.
  15178. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  15179. will be implemented).
  15180. 2004-12-03 Marek Safar <[email protected]>
  15181. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  15182. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  15183. tests.
  15184. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  15185. * TreeView.cs: BackColor is Colors.Window.
  15186. 2004-12-01 Jackson Harper <[email protected]>
  15187. * TreeView.cs: When resizing the tree if the user is making it
  15188. smaller we don't get expose events, so we need to handle adding
  15189. the horizontal scrollbar in the size changed handler as well as
  15190. the expose handler.
  15191. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  15192. * DrawItemState.cs: fixes wrong enum values
  15193. 2004-12-01 Jackson Harper <[email protected]>
  15194. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  15195. 2004-12-01 Jackson Harper <[email protected]>
  15196. * NodeLabelEditEventArgs.cs:
  15197. * NodeLabelEditEventHandler.cs:
  15198. * OpenTreeNodeEnumerator.cs:
  15199. * TreeNode.cs:
  15200. * TreeNodeCollection.cs:
  15201. * TreeView.cs:
  15202. * TreeViewAction.cs:
  15203. * TreeViewCancelEventArgs.cs:
  15204. * TreeViewCancelEventHandler.cs:
  15205. * TreeViewEventArgs.cs:
  15206. * TreeViewEventHandler.cs: Initial implementation.
  15207. 2004-12-01 Ravindra <[email protected]>
  15208. * ListView.cs (CalculateListView): Fixed scrolling related
  15209. calculations. Also, removed some debug statements from other
  15210. places.
  15211. * ListViewItem.cs: Changed access to 'selected' instance variable
  15212. from private to internal.
  15213. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  15214. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  15215. * ThemeWin32Classic.cs: remove cache of brush and pens for
  15216. specific controls and use the global system, fixes scrollbutton
  15217. bugs (for small sizes, disabled, etc)
  15218. * ScrollBar.cs: does not show the thumb for very small controls
  15219. (as MS) and allow smaller buttons that the regular size
  15220. 2004-12-01 Miguel de Icaza <[email protected]>
  15221. * UpDownBase.cs: Add abstract methods for the interface.
  15222. Add new virtual methods (need to be hooked up to TextEntry when it
  15223. exists).
  15224. Add override methods for most features.
  15225. Computes the size, forces the height of the text entry.
  15226. * NumericUpDown.cs: Put here the current testing code.
  15227. * Set eol-style property on all files that do not have mixed line
  15228. endings, to minimize the future problems. There are still a few
  15229. files with mixed endings, and someone should choose whether they
  15230. want to move it or not.
  15231. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  15232. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  15233. System.Colors
  15234. 2004-11-30 Ravindra <[email protected]>
  15235. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  15236. drawing and replaced use of SystemColors by theme colors.
  15237. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  15238. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  15239. same ListViewItem is being added more than once.
  15240. 2004-11-30 John BouAntoun <[email protected]>
  15241. * MonthCalendar.cs:
  15242. - ControlStyles love to make the control not flicker
  15243. 2004-11-30 Peter Bartok <[email protected]>
  15244. * CharacterCasing.cs: Added
  15245. 2004-11-29 Peter Bartok <[email protected]>
  15246. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  15247. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  15248. I am removing these files as they conflict with already completed
  15249. work. While it is fantastic to get contributions to MWF, I
  15250. respectfully ask that everyone please coordinate their contributions
  15251. through mono-winforms-list or #mono-winforms at this time. We're
  15252. explicitly avoiding stubbing and don't want controls that don't have
  15253. their basic functionality implemented in svn. Please also see
  15254. http://www.mono-project.com/contributing/winforms.html
  15255. 2004-11-29 Marek Safar <[email protected]>
  15256. * Application.cs (ModalRun): Don't hang after exit.
  15257. * Theme.cs: New TreeViewDefaultSize property.
  15258. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  15259. with less hardcoded SystemColors constant.
  15260. Implemented TreeViewDefaultSize.
  15261. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  15262. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  15263. 2004-11-29 John BouAntoun <[email protected]>
  15264. * MonthCalendar.cs:
  15265. - Fix NextMonthDate and PrevMonthDate click moving calendar
  15266. 2004-11-26 John BouAntoun <[email protected]>
  15267. * MonthCalendar.cs:
  15268. - Fix usage of ScrollChange Property when scrolling months
  15269. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  15270. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  15271. - Fixes menu destroying
  15272. - Support adding and removing items on already created menus
  15273. 2004-11-26 John BouAntoun <[email protected]>
  15274. * MonthCalendar.cs:
  15275. - Re-worked all bolded dates handling to match win32
  15276. * ThemeWin32Classic.cs:
  15277. - Fixed rendering with bolded dates
  15278. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  15279. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  15280. - Horizontal scroolbar
  15281. - Multicolumn
  15282. - Fixes
  15283. 2004-11-25 John BouAntoun <[email protected]>
  15284. * MonthCalendar.cs:
  15285. - Fix Usage of MaxSelectionCount from SelectionRange
  15286. - Fixed Shift + Cursor Selection
  15287. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  15288. - Fixed normal cursor selection to be compat with win32
  15289. - Fixed Shift + Mouse Click selection
  15290. 2004-11-24 Peter Bartok <[email protected]>
  15291. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  15292. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  15293. * XplatUIX11.cs:
  15294. - CreatedKeyBoardMsg now updates keystate with Alt key
  15295. - Added workaround for timer crash to CheckTimers, Jackson will
  15296. develop a proper fix and check in later
  15297. - Implemented DispatchMessage
  15298. - Removed calling the native window proc from GetMessage (call
  15299. now moved to DispatchMessage)
  15300. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  15301. the keydata (Fixes bug #69831)
  15302. * XplatUIWin32.cs:
  15303. - (DispatchMessage): Switched to return IntPtr
  15304. - Added DllImport for SetFocus
  15305. 2004-11-24 Ravindra <[email protected]>
  15306. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  15307. background drawing.
  15308. * ListViewItem.cs: Fixed various properties, calculations
  15309. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  15310. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  15311. and some internal properties. Fixed MouseDown handler and Paint
  15312. method.
  15313. 2004-11-24 John BouAntoun <[email protected]>
  15314. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  15315. 2004-11-24 John BouAntoun <[email protected]>
  15316. * ContainerControl.cs: correct accidental check in of local changes
  15317. 2004-11-24 John BouAntoun <[email protected]>
  15318. * ThemeWin32Classic.cs:
  15319. - Fixed Drawing Last month in grid (sometimes not showing)
  15320. * MonthCalendar.cs:
  15321. - Fixed title width calculation bug (makeing title small)
  15322. 2004-11-23 Peter Bartok <[email protected]>
  15323. * XplatUIX11.cs:
  15324. - Added generation of WM_MOUSEHOVER event
  15325. - Added missing assignment of async_method atom
  15326. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  15327. 2004-11-23 John BouAntoun <[email protected]>
  15328. * ThemeWin32Classic.cs:
  15329. - Fixed Drawing of today circle when showtodaycircle not set
  15330. - fixed drawing of first and last month in the grid (gay dates)
  15331. * MonthCalendar.cs:
  15332. - Fixed Drawing of today circle
  15333. - Fixed drawing of grady dates
  15334. - Fixed HitTest for today link when ShowToday set to false
  15335. - Fixed DefaultSize to obey ShowToday
  15336. 2004-11-23 John BouAntoun <[email protected]>
  15337. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  15338. * System.Windows.Forms/Theme.cs
  15339. * MonthCalendar.cs: added for MonthCalendar
  15340. * SelectionRange.cs: added for MonthCalendar
  15341. * Day.cs: added for MonthCalendar: added for MonthCalendar
  15342. * DateRangeEventArgs.cs: added for MonthCalendar
  15343. * DateRangeEventHandler.cs: added for MonthCalendar
  15344. 2004-11-22 Ravindra <[email protected]>
  15345. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  15346. property.
  15347. 2004-11-22 Miguel de Icaza <[email protected]>
  15348. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  15349. event handler.
  15350. * NumericUpDown.cs: Added new implementation.
  15351. * UpDownBase.cs: Added new implementation.
  15352. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  15353. implementations.
  15354. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  15355. implementations.
  15356. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  15357. methods.
  15358. 2004-11-21 Miguel de Icaza <[email protected]>
  15359. * Timer.cs (Dispose): Should call the base dispose when
  15360. overriding.
  15361. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  15362. * ScrollBar.cs: updates thumb position when max, min or increment
  15363. is changed
  15364. 2004-11-21 Ravindra <[email protected]>
  15365. * ListView.cs: Implemented item selection, activation and
  15366. column header style. Fixed properties to do a redraw, if
  15367. required. Added support for MouseHover, DoubleClick, KeyDown
  15368. and KeyUp event handling and some minor fixes.
  15369. * ListViewItem.cs: Fixed constructor.
  15370. * ThemeWin32Classic.cs: Improved drawing for ListView.
  15371. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  15372. * ThemeWin32Classic.cs: initial listbox drawing code
  15373. * DrawMode.cs: new enumerator
  15374. * ListControl.cs: stubbed class
  15375. * ListBox.cs: initial implementation
  15376. * Theme.cs: new methods definitions
  15377. * SelectionMode.cs: new enumerator
  15378. 2004-11-17 Peter Bartok <[email protected]>
  15379. * XplatUIWin32.cs: Added double-click events to the class style
  15380. * Control.cs (WndProc):
  15381. - Added handling of click-count to MouseDown/ MouseUp events.
  15382. - Added handling of middle and right mouse buttons
  15383. - Removed old debug code
  15384. 2004-11-17 Jackson Harper <[email protected]>
  15385. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  15386. 2004-11-17 Ravindra <[email protected]>
  15387. * ListView.cs: Added event handling for MouseMove/Up/Down.
  15388. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  15389. * ThemeWin32Classic.cs: We need to clear the graphics context and
  15390. draw column header in a proper state.
  15391. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  15392. * Menu.cs: fixes signature
  15393. 2004-11-16 Peter Bartok <[email protected]>
  15394. * XplatUIX11.cs (GetMessage): Implemented generation of
  15395. double click mouse messages
  15396. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  15397. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  15398. not by menu
  15399. 2004-11-11 Peter Bartok <[email protected]>
  15400. * HandleData.cs: Added Visible property
  15401. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  15402. HandleData
  15403. * XplatUIX11.cs: Removed old debug leftovers
  15404. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  15405. * Control.cs (WndProc): Removed old debug leftovers,
  15406. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  15407. needed WM_SIZE handling
  15408. 2004-11-11 Jackson Harper <[email protected]>
  15409. * OwnerDrawPropertyBag.cs:
  15410. * TreeViewImageIndexConverter.cs: Initial implementation
  15411. 2004-11-10 Jackson Harper <[email protected]>
  15412. * ThemeWin32Classic.cs:
  15413. * TabControl.cs: instead of moving tabs by the slider pos just
  15414. start drawing at the tab that is offset by the slider. This way
  15415. scrolling always moves by exactly one tab.
  15416. 2004-11-10 Jackson Harper <[email protected]>
  15417. * TabControl.cs: You can only scroll left when the slider has
  15418. already ben moved right.
  15419. 2004-11-10 Jackson Harper <[email protected]>
  15420. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  15421. the clip area.
  15422. 2004-11-10 Jackson Harper <[email protected]>
  15423. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  15424. clip area.
  15425. 2004-11-09 Jackson Harper <[email protected]>
  15426. * TabControl.cs (CalcXPos): New helper method so we can determine
  15427. the proper place to start drawing vertical tabs.
  15428. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  15429. 2004-11-09 Jackson Harper <[email protected]>
  15430. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  15431. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  15432. and Bottom, left and right are illegal values for this and
  15433. multiline is enabled when the alignment is set to left or right.
  15434. (DrawTab): Each alignment block should draw the text itself now
  15435. because Left requires special love. Also add rendering for Left
  15436. aligned tabs.
  15437. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  15438. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  15439. does not destroy the windows, removes debugging messages
  15440. 2004-11-09 jba <[email protected]>
  15441. * ThemeWin32Classic.cs
  15442. (DrawButtonBase): Fix verticle text rect clipping in windows
  15443. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  15444. rendering and incorrect text rect clipping
  15445. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  15446. rendering and incorrect text rect clipping
  15447. 2004-11-08 Jackson Harper <[email protected]>
  15448. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  15449. bottom when they are bottom aligned so the bottoms of the tabs get
  15450. displayed.
  15451. * TabControl.cs (DropRow): Move rows up instead of down when the
  15452. tab control is bottom aligned.
  15453. 2004-11-08 13:59 pbartok
  15454. * XplatUIX11.cs:
  15455. - Added handling for various window styles
  15456. - Added handling for popup windows
  15457. - Added SetTopmost handling
  15458. 2004-11-08 13:55 pbartok
  15459. * XplatUIWin32.cs:
  15460. - Added argument to SetTopmost method
  15461. - Fixed broken ClientToScreen function
  15462. 2004-11-08 13:53 pbartok
  15463. * XplatUIStructs.cs:
  15464. - Added missing WS_EX styles
  15465. 2004-11-08 13:53 pbartok
  15466. * XplatUI.cs, XplatUIDriver.cs:
  15467. - Added argument to SetTopmost
  15468. 2004-11-08 13:52 pbartok
  15469. * X11Structs.cs:
  15470. - Added XSetWindowAttributes structure
  15471. - Improved XWindowAttributes structure
  15472. - Added SetWindowValuemask enum
  15473. - Added window creation arguments enum
  15474. - Added gravity enum
  15475. - Added Motif hints structure
  15476. - Added various Motif flags and enums
  15477. - Added PropertyMode enum for property functions
  15478. 2004-11-08 13:50 pbartok
  15479. * Form.cs:
  15480. - Fixed arguments for updated SetTopmost method
  15481. 2004-11-08 13:49 pbartok
  15482. * ToolTip.cs:
  15483. - Fixed arguments for updated SetTopmost function
  15484. - Fixed usage of PointToClient
  15485. 2004-11-08 13:44 pbartok
  15486. * MenuAPI.cs:
  15487. - Added Clipping of children and siblings
  15488. 2004-11-08 13:41 pbartok
  15489. * MainMenu.cs:
  15490. - Removed SetMenuBarWindow call. We do this in Form.cs
  15491. 2004-11-08 13:40 jackson
  15492. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  15493. scrolling jimmi in the correct location with bottom aligned tabs
  15494. 2004-11-08 13:36 pbartok
  15495. * ContainerControl.cs:
  15496. - Implemented BindingContext
  15497. - Implemented ParentForm
  15498. 2004-11-08 12:46 jackson
  15499. * TabControl.cs: Put bottom rendered tabs in the right location
  15500. 2004-11-08 07:15 jordi
  15501. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  15502. removes dead code
  15503. 2004-11-05 17:30 jackson
  15504. * TabControl.cs: When selected tabs are expanded make sure they
  15505. don't go beyond the edges of the tab control
  15506. 2004-11-05 14:57 jackson
  15507. * TabControl.cs: Reset show_slider so if the control is resized to
  15508. a size where it is no longer needed it's not displayed anymore
  15509. 2004-11-05 13:16 jackson
  15510. * TabControl.cs: Make tab pages non visible when added to the
  15511. control
  15512. 2004-11-05 12:42 jackson
  15513. * TabControl.cs: Implement SizeMode.FillToRight
  15514. 2004-11-05 12:16 jackson
  15515. * Control.cs: Do not call CreateHandle if the handle is already
  15516. created
  15517. 2004-11-05 11:46 jackson
  15518. * TabControl.cs: Remove superflous call to CalcTabRows
  15519. 2004-11-05 09:07 jackson
  15520. * XplatUIX11.cs: Update for Mono.Posix changes
  15521. 2004-11-05 07:00 ravindra
  15522. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  15523. scrolling.
  15524. 2004-11-04 22:47 jba
  15525. * ThemeWin32Classic.cs:
  15526. - Fix Button rendering for FlatStyle = Flat or Popup
  15527. - Fix RadioButton and CheckBox rendering when Appearance = Button
  15528. (normal and flatstyle).
  15529. - Correct outer rectangle color when drawing focus rectangle
  15530. - Adjust button bounds to be 1 px smaller when focused
  15531. - Make button not draw sunken 3d border when pushed (windows compat)
  15532. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  15533. - Offset the text in RadioButton and Checkbox when being rendered as
  15534. a button.
  15535. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  15536. radiobuttons
  15537. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  15538. - Fixed disabled text rendering for normally rendered radiobuttons
  15539. 2004-11-04 10:26 jackson
  15540. * TabControl.cs: Recalculate tab rows when resizing
  15541. 2004-11-04 07:47 jordi
  15542. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  15543. collection completion, drawing issues, missing features
  15544. 2004-11-04 05:03 ravindra
  15545. * ScrollBar.cs:
  15546. - We need to recalculate the Thumb area when
  15547. LargeChange/maximum/minimum values are changed.
  15548. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  15549. than minimum. This is required to handle the case if large_change is
  15550. more than max, and use LargeChange property instead of large_change
  15551. variable.
  15552. - We return max+1 when large_change is more than max, like MS does.
  15553. 2004-11-04 04:29 ravindra
  15554. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  15555. - Changed default value signatures (prefixed all with ListView).
  15556. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  15557. ListView.
  15558. - Fixed calculations for ListViewItem and implemented Clone()
  15559. method.
  15560. 2004-11-04 04:26 ravindra
  15561. * Theme.cs, ThemeWin32Classic.cs:
  15562. - Changed default ListView values signatures (prefixed all with
  15563. ListView).
  15564. - Fixed default size values for VScrollBar and HScrollBar.
  15565. - Fixed DrawListViewItem method.
  15566. 2004-11-04 04:05 ravindra
  15567. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  15568. 2004-11-04 04:04 ravindra
  15569. * ImageList.cs: Implemented the missing overload for Draw method.
  15570. 2004-11-03 19:29 jackson
  15571. * TabControl.cs: Handle dropping rows on selection properly
  15572. 2004-11-03 11:59 jackson
  15573. * TabControl.cs: remove debug code
  15574. 2004-11-03 11:52 jackson
  15575. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  15576. the scrolly widgerywoo
  15577. 2004-11-02 13:52 jackson
  15578. * TabControl.cs: Resize the tab pages and tabs when the tab control
  15579. is resized
  15580. 2004-11-02 13:40 jackson
  15581. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  15582. selected tab to the bottom
  15583. 2004-11-02 13:39 jackson
  15584. * TabPage.cs: Store the tab pages row
  15585. 2004-11-02 12:33 jordi
  15586. * MenuItem.cs: fixes handle creation
  15587. 2004-11-02 11:42 jackson
  15588. * TabControl.cs: signature fix
  15589. 2004-11-02 08:56 jackson
  15590. * TabControl.cs: Calculate whether the tab is on an edge properly.
  15591. Remove top secret debugging code
  15592. 2004-11-01 19:57 jackson
  15593. * TabControl.cs: Add click handling, and proper sizing
  15594. 2004-11-01 19:47 jackson
  15595. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  15596. tab controls
  15597. 2004-11-01 19:39 jackson
  15598. * TabPage.cs: add internal property to store the bounds of a tab
  15599. page
  15600. 2004-10-30 04:23 ravindra
  15601. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  15602. values.
  15603. 2004-10-30 04:21 ravindra
  15604. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  15605. fixed calculations.
  15606. 2004-10-30 03:06 pbartok
  15607. * XplatUIX11.cs:
  15608. - Removed extension of DllImported libs
  15609. 2004-10-29 09:55 jordi
  15610. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  15611. navigation, itemcollection completion, menu fixes
  15612. 2004-10-27 22:58 pbartok
  15613. * XplatUIX11.cs:
  15614. - Now throws a nice error message when no X display could be opened
  15615. 2004-10-26 13:51 jordi
  15616. * ListView.cs: removes warning
  15617. 2004-10-26 03:55 ravindra
  15618. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  15619. ThemeWin32Classic.cs: Some formatting for my last checkins.
  15620. 2004-10-26 03:36 ravindra
  15621. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  15622. control and default values.
  15623. 2004-10-26 03:35 ravindra
  15624. * Theme.cs: Added some default values for ListView control.
  15625. 2004-10-26 03:33 ravindra
  15626. * ToolBar.cs: ToolBar should use the user specified button size, if
  15627. there is any. Added a size_specified flag for the same.
  15628. 2004-10-26 03:33 ravindra
  15629. * ColumnHeader.cs: Added some internal members and calculations for
  15630. ColumnHeader.
  15631. 2004-10-26 03:32 ravindra
  15632. * ListViewItem.cs: Calculations for ListViewItem.
  15633. 2004-10-26 03:31 ravindra
  15634. * ListView.cs: Added some internal members and calculations for
  15635. ListView.
  15636. 2004-10-22 13:31 jordi
  15637. * MenuAPI.cs: speedup menus drawing
  15638. 2004-10-22 13:16 jackson
  15639. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  15640. expose event
  15641. 2004-10-22 11:49 jackson
  15642. * Control.cs: oops
  15643. 2004-10-22 11:41 jackson
  15644. * Control.cs: Check to see if the window should have its background
  15645. repainted by X when drawing.
  15646. 2004-10-22 11:31 jackson
  15647. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  15648. clear is true, this way we do not get flicker from X repainting the
  15649. background
  15650. 2004-10-22 11:28 jackson
  15651. * XEventQueue.cs: Queue properly
  15652. 2004-10-21 09:38 jackson
  15653. * XEventQueue.cs: Fix access modifier
  15654. 2004-10-21 09:36 jackson
  15655. * XEventQueue.cs: Don't loose messages
  15656. 2004-10-21 09:22 jackson
  15657. * XEventQueue.cs: Don't loose messages
  15658. 2004-10-20 04:15 jordi
  15659. * BootMode.cs: enum need it by SystemInfo
  15660. 2004-10-19 21:58 pbartok
  15661. * XplatUIWin32.cs:
  15662. - Small sanity check
  15663. 2004-10-19 21:56 pbartok
  15664. * Form.cs:
  15665. - Added private FormParentWindow class which acts as the container
  15666. for our form and as the non-client area where menus are drawn
  15667. - Added/Moved required tie-ins to Jordi's menus
  15668. - Fixed/Implemented the FormStartPosition functionality
  15669. 2004-10-19 21:52 pbartok
  15670. * Control.cs:
  15671. - Removed unneeded locals
  15672. - Added code to all size and location properties to understand and
  15673. deal with the parent container of Form
  15674. 2004-10-19 21:33 pbartok
  15675. * Application.cs:
  15676. - Fixed to deal with new Form subclasses for menus
  15677. 2004-10-19 17:48 jackson
  15678. * XEventQueue.cs: commit correct version of file
  15679. 2004-10-19 16:50 jackson
  15680. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  15681. 2004-10-19 16:15 jordi
  15682. * MenuAPI.cs: MenuBarCalcSize returns the height
  15683. 2004-10-19 08:31 pbartok
  15684. * Control.cs:
  15685. - Added missing call to PreProcessMessage before calling OnXXXKey
  15686. methods
  15687. 2004-10-19 00:04 ravindra
  15688. * ToolTip.cs: Fixed constructor.
  15689. 2004-10-18 09:31 jordi
  15690. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  15691. 2004-10-18 09:26 jordi
  15692. * MenuItem.cs: fixes MenuItem class signature
  15693. 2004-10-18 08:56 jordi
  15694. * MenuAPI.cs: prevents windows from showing in the taskbar
  15695. 2004-10-18 00:28 ravindra
  15696. * ToolTip.cs: Suppressed a warning message.
  15697. 2004-10-18 00:27 ravindra
  15698. * Control.cs: Default value of visible property must be true.
  15699. 2004-10-17 23:19 pbartok
  15700. * ToolTip.cs:
  15701. - Complete implementation
  15702. 2004-10-17 23:19 pbartok
  15703. * XplatUIX11.cs:
  15704. - Added EnableWindow method
  15705. - Added SetModal stub
  15706. - Added generation of WM_ACTIVATE message (still needs testing)
  15707. - Added SetTopMost stub
  15708. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  15709. 2004-10-17 23:17 pbartok
  15710. * XplatUIWin32.cs:
  15711. - Removed VirtualKeys to XplatUIStructs
  15712. - Implemented SetTopMost method
  15713. - Implemented EnableWindow method
  15714. - Bugfix in ScreenToClient()
  15715. - Bugfixes in ClientToScreen()
  15716. 2004-10-17 22:51 pbartok
  15717. * XplatUIStructs.cs:
  15718. - Added WS_EX styles to WindowStyles enumeration
  15719. 2004-10-17 22:50 pbartok
  15720. * XplatUI.cs, XplatUIDriver.cs:
  15721. - Added method for enabling/disabling windows
  15722. - Added method for setting window modality
  15723. - Added method for setting topmost window
  15724. 2004-10-17 22:49 pbartok
  15725. * ThemeWin32Classic.cs:
  15726. - Added ToolTip drawing code
  15727. 2004-10-17 22:49 pbartok
  15728. * Theme.cs:
  15729. - Added ToolTip abstracts
  15730. 2004-10-17 22:47 pbartok
  15731. * Form.cs:
  15732. - Fixed Form.ControlCollection to handle owner relations
  15733. - Added Owner/OwnedForms handling
  15734. - Implemented Z-Ordering for owned forms
  15735. - Removed unneeded private overload of ShowDialog
  15736. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  15737. so I hope)
  15738. - Fixed Close(), had wrong default
  15739. - Added firing of OnLoad event
  15740. - Added some commented out debug code for Ownership handling
  15741. 2004-10-17 22:16 pbartok
  15742. * Control.cs:
  15743. - Fixed/implemented flat list of controls
  15744. 2004-10-17 22:14 pbartok
  15745. * Application.cs:
  15746. - Added code to simulate modal dialogs on Win32
  15747. 2004-10-17 16:11 jordi
  15748. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  15749. mouse event
  15750. 2004-10-17 13:39 jordi
  15751. * MenuAPI.cs: menu drawing fixes
  15752. 2004-10-15 09:10 ravindra
  15753. * StructFormat.cs: General Enum.
  15754. 2004-10-15 09:09 ravindra
  15755. * SizeGripStyle.cs: Enum for Form.
  15756. 2004-10-15 09:08 ravindra
  15757. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  15758. in Theme for ListView.
  15759. 2004-10-15 09:06 ravindra
  15760. * ColumnHeader.cs: Flushing some formatting changes.
  15761. 2004-10-15 09:05 ravindra
  15762. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  15763. style.
  15764. 2004-10-15 09:03 ravindra
  15765. * ListView.cs: Implemented Paint method and fixed coding style.
  15766. 2004-10-15 07:34 jordi
  15767. * MenuAPI.cs: fix for X11
  15768. 2004-10-15 07:32 ravindra
  15769. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  15770. - Renamed Paint() method to Draw() for clarity. Also, moved
  15771. DrawImage() to OnPaint().
  15772. 2004-10-15 07:25 ravindra
  15773. * CheckBox.cs, RadioButton.cs:
  15774. - Removed Redraw (), we get it from ButtonBase.
  15775. - Implemented Paint (), to do class specific painting.
  15776. 2004-10-15 07:16 ravindra
  15777. * ButtonBase.cs:
  15778. - Redraw () is not virtual now.
  15779. - Added an internal virtual method Paint (), so that
  15780. derived classes can do their painting on their own.
  15781. - Modified OnPaint () to call Paint ().
  15782. 2004-10-15 06:43 jordi
  15783. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  15784. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  15785. 2004-10-15 00:30 ravindra
  15786. * MessageBox.cs:
  15787. - MessageBox on windows does not have min/max buttons.
  15788. This change in CreateParams fixes this on Windows. We
  15789. still need to implement this windowstyle behavior in
  15790. our X11 driver.
  15791. 2004-10-14 05:14 ravindra
  15792. * ToolBar.cs:
  15793. - Changed Redraw () to do a Refresh () always.
  15794. - Fixed the MouseMove event handling when mouse is pressed,
  15795. ie drag event handling.
  15796. - Replaced the usage of ToolBarButton.Pressed property to
  15797. ToolBarButton.pressed internal variable.
  15798. 2004-10-14 05:10 ravindra
  15799. * ToolBarButton.cs:
  15800. - Added an internal member 'inside' to handle mouse move
  15801. with mouse pressed ie mouse drag event.
  15802. - Changed 'Pressed' property to return true only when
  15803. 'inside' and 'pressed' are both true.
  15804. - Some coding style love.
  15805. 2004-10-14 00:17 ravindra
  15806. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  15807. public method.
  15808. 2004-10-14 00:15 ravindra
  15809. * ButtonBase.cs: Redraw () related improvements.
  15810. 2004-10-14 00:14 ravindra
  15811. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  15812. removed unnecessary calls to Button.Show () method.
  15813. 2004-10-13 17:50 pbartok
  15814. * XplatUIX11.cs:
  15815. - Formatting fix
  15816. - Removed destroying of window until we solve the problem of X
  15817. destroying the window before us on shutdown
  15818. 2004-10-13 16:32 pbartok
  15819. * ButtonBase.cs:
  15820. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  15821. 2004-10-13 14:18 pbartok
  15822. * XplatUIX11.cs:
  15823. - Added code to destroy the X window
  15824. 2004-10-13 14:18 pbartok
  15825. * XplatUIWin32.cs:
  15826. - Added code to destroy a window
  15827. 2004-10-13 14:12 pbartok
  15828. * ButtonBase.cs:
  15829. - Added the Redraw on Resize that got dropped in the last rev
  15830. 2004-10-13 09:06 pbartok
  15831. * ThemeWin32Classic.cs:
  15832. - Path from John BouAntoun:
  15833. * Fix check rendering (centre correctly for normal style, offset
  15834. correctly for FlatStyle).
  15835. * Fix border color usage (use backcolor) for FlatStyle.Popup
  15836. * Use checkbox.Capture instead of checkbox.is_pressed when
  15837. rendering flatstyle states.
  15838. 2004-10-12 21:48 pbartok
  15839. * ThemeWin32Classic.cs:
  15840. - Removed all occurences of SystemColors and replaced them with the
  15841. matching theme color
  15842. 2004-10-12 21:41 pbartok
  15843. * ThemeWin32Classic.cs:
  15844. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  15845. him using the function for flatstyle drawing
  15846. - Changed functions to use the new version of CPDrawBorder3D
  15847. 2004-10-12 21:15 pbartok
  15848. * ControlPaint.cs:
  15849. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  15850. match MS documentation. They need to return defined colors if the
  15851. passed color matches the configured control color. Thanks to John
  15852. BouAntoun for pointing this out.
  15853. 2004-10-12 20:57 pbartok
  15854. * Control.cs:
  15855. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  15856. color is changed
  15857. 2004-10-12 20:46 pbartok
  15858. * CheckBox.cs:
  15859. - Fix from John BouAntoun: Now properly sets the Appearance property
  15860. 2004-10-12 20:45 pbartok
  15861. * ThemeWin32Classic.cs:
  15862. - Fixes from John BouAntoun: now handles forecolors and backcolors
  15863. for flatstyle rendered controls much better; It also fixes normal
  15864. checkbox rendering when pushed or disabled.
  15865. 2004-10-08 02:50 jordi
  15866. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  15867. work
  15868. 2004-10-07 08:56 jordi
  15869. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  15870. 2004-10-06 03:59 jordi
  15871. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  15872. XplatUIWin32.cs: removes warnings from compilation
  15873. 2004-10-05 12:23 jackson
  15874. * RadioButton.cs: Fix ctor
  15875. 2004-10-05 11:10 pbartok
  15876. * MessageBox.cs:
  15877. - Partial implementation by Benjamin Dasnois
  15878. 2004-10-05 10:15 jackson
  15879. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  15880. by John BouAntoun
  15881. 2004-10-05 03:07 ravindra
  15882. * ToolBar.cs:
  15883. - Removed a private method, Draw ().
  15884. - Fixed the ButtonDropDown event handling.
  15885. - Fixed MouseMove event handling.
  15886. 2004-10-05 03:04 ravindra
  15887. * ThemeWin32Classic.cs:
  15888. - Added DrawListView method and ListViewDefaultSize property.
  15889. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  15890. - Changed DOS style CRLF to Unix format (dos2unix).
  15891. 2004-10-05 03:03 ravindra
  15892. * Theme.cs:
  15893. - Added DrawListView method and ListViewDefaultSize property.
  15894. 2004-10-05 02:42 ravindra
  15895. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  15896. clicks on DropDown arrow.
  15897. 2004-10-04 22:56 jackson
  15898. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  15899. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  15900. Control handle the buffers, derived classes should not have to
  15901. CreateBuffers themselves.
  15902. 2004-10-04 21:20 jackson
  15903. * StatusBar.cs: The control handles resizing the buffers now.
  15904. 2004-10-04 21:18 jackson
  15905. * Control.cs: When resizing the buffers should be invalidated. This
  15906. should be handled in Control not in derived classes.
  15907. 2004-10-04 14:45 jackson
  15908. * TabPage.cs: oops
  15909. 2004-10-04 02:14 pbartok
  15910. * LeftRightAlignment.cs:
  15911. - Initial check-in
  15912. 2004-10-04 01:09 jordi
  15913. * ThemeWin32Classic.cs: fixes right button position causing right
  15914. button not showing on horizontal scrollbars
  15915. 2004-10-02 13:12 pbartok
  15916. * XplatUIX11.cs:
  15917. - Simplified the Invalidate method by using an X call instead of
  15918. generating the expose ourselves
  15919. - Added an expose when the window background is changed
  15920. - Implemented ClientToScreen method
  15921. 2004-10-02 13:08 pbartok
  15922. * XplatUIWin32.cs:
  15923. - Added Win32EnableWindow method (test for implementing modal
  15924. dialogs)
  15925. - Added ClientToScreen method and imports
  15926. 2004-10-02 13:07 pbartok
  15927. * XplatUI.cs, XplatUIDriver.cs:
  15928. - Added ClientToScreen coordinate translation method
  15929. 2004-10-02 13:06 pbartok
  15930. * KeyPressEventArgs.cs:
  15931. - Fixed access level for constructor
  15932. 2004-10-02 13:06 pbartok
  15933. * NativeWindow.cs:
  15934. - Changed access level for the window_collection hash table
  15935. 2004-10-02 13:05 pbartok
  15936. * Form.cs:
  15937. - Added KeyPreview property
  15938. - Added Menu property (still incomplete, pending Jordi's menu work)
  15939. - Implemented ProcessCmdKey
  15940. - Implemented ProcessDialogKey
  15941. - Implemented ProcessKeyPreview
  15942. 2004-10-02 13:02 pbartok
  15943. * Control.cs:
  15944. - Added private method to get the Control object from the window
  15945. handle
  15946. - Implemented ContextMenu property
  15947. - Implemented PointToScreen
  15948. - Implemented PreProcessMessage
  15949. - Implemented IsInputChar
  15950. - Implemented IsInputKey
  15951. - Implemented ProcessCmdKey
  15952. - Completed ProcessKeyEventArgs
  15953. - Fixed message loop to call the proper chain of functions on key
  15954. events
  15955. - Implemented ProcessDialogChar
  15956. - Implemented ProcessDialogKey
  15957. - Implemented ProcessKeyMessage
  15958. - Implemented ProcessKeyPreview
  15959. - Added RaiseDragEvent stub (MS internal method)
  15960. - Added RaiseKeyEvent stub (MS internal method)
  15961. - Added RaiseMouseEvent stub (MS Internal method)
  15962. - Added RaisePaintEvent stub (MS Internal method)
  15963. - Added ResetMouseEventArgs stub (MS Internal method)
  15964. - Implemented RtlTranslateAlignment
  15965. - Implemented RtlTranslateContent
  15966. - Implemented RtlTranslateHorizontal
  15967. - Implemented RtlTranslateLeftRight
  15968. - Added generation of KeyPress event
  15969. 2004-10-02 05:57 ravindra
  15970. * ListViewItem.cs: Added attributes.
  15971. 2004-10-02 05:32 ravindra
  15972. * ListView.cs: Added attributes.
  15973. 2004-10-01 11:53 jackson
  15974. * Form.cs: Implement the Close method so work on MessageBox can
  15975. continue.
  15976. 2004-09-30 14:06 pbartok
  15977. * XplatUIX11.cs:
  15978. - Bug fixes
  15979. 2004-09-30 11:34 jackson
  15980. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  15981. 2004-09-30 07:26 ravindra
  15982. * ListViewItemConverter.cs: Converter for ListViewItem.
  15983. 2004-09-30 07:26 ravindra
  15984. * SortOrder.cs: Enum for ListView control.
  15985. 2004-09-30 07:25 ravindra
  15986. * ColumnHeader.cs: Supporting class for ListView control.
  15987. 2004-09-30 07:24 ravindra
  15988. * ListView.cs, ListViewItem.cs: Initial implementation.
  15989. 2004-09-30 07:20 ravindra
  15990. * ItemActivation.cs: Enum for ListView Control.
  15991. 2004-09-29 20:29 pbartok
  15992. * XplatUIX11.cs:
  15993. - Added lookup of pixel value for background color; tries to get a
  15994. color 'close' to the requested color, it avoids having to create a
  15995. colormap. Depending on the display this could mean the used color
  15996. is slightly off the desired color. Might have to change it to a more
  15997. resource intensive colormap approach, but it will work as a
  15998. workaround to avoid red screens.
  15999. 2004-09-29 14:27 jackson
  16000. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  16001. 2004-09-28 12:44 pbartok
  16002. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  16003. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  16004. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  16005. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  16006. TrackBar.cs, VScrollBar.cs:
  16007. - Streamlined Theme interfaces:
  16008. * Each DrawXXX method for a control now is passed the object for
  16009. the control to be drawn in order to allow accessing any state the
  16010. theme might require
  16011. * ControlPaint methods for the theme now have a CP prefix to avoid
  16012. name clashes with the Draw methods for controls
  16013. * Every control now retrieves it's DefaultSize from the current
  16014. theme
  16015. 2004-09-28 12:17 jackson
  16016. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  16017. drawing
  16018. 2004-09-24 14:57 jackson
  16019. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  16020. Gives us a nice little performance boost.
  16021. 2004-09-24 12:02 jackson
  16022. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  16023. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  16024. Control and supporting classes. Initial checkin
  16025. 2004-09-23 13:08 jackson
  16026. * Form.cs: Temp build fixage
  16027. 2004-09-23 01:39 ravindra
  16028. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  16029. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  16030. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  16031. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  16032. EventHandlers needed by ListView Control.
  16033. 2004-09-22 14:12 pbartok
  16034. * ScrollableControl.cs:
  16035. - Implemented DockPadding property
  16036. - Implemented AutoScroll property
  16037. - Implemented AutoScrollMargin property
  16038. - Implemented AutoScrollMinSize property
  16039. - Implemented AutoScrollPosition property
  16040. - Implemented DisplayRectangle property (still incomplete)
  16041. - Implemented CreateParams property
  16042. - Implemented HScroll property
  16043. - Implemented VScroll property
  16044. - Implemented OnVisibleChanged property
  16045. 2004-09-22 14:09 pbartok
  16046. * Form.cs:
  16047. - Added Form.ControllCollection class
  16048. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  16049. RemoveOwnedForm (still incomplete, missing on-top and common
  16050. minimize/maximize behaviour)
  16051. - Added StartPosition property (still incomplete, does not use when
  16052. creating the form)
  16053. - Added ShowDialog() methods (still incomplete, missing forcing the
  16054. dialog modal)
  16055. 2004-09-22 14:05 pbartok
  16056. * Application.cs:
  16057. - Added message loop for modal dialogs
  16058. 2004-09-22 14:02 pbartok
  16059. * GroupBox.cs:
  16060. - Fixed wrong types for events
  16061. 2004-09-22 14:00 pbartok
  16062. * Shortcut.cs, FormWindowState.cs:
  16063. - Fixed wrong values
  16064. 2004-09-22 12:01 jackson
  16065. * Control.cs: Text is never null
  16066. 2004-09-20 22:14 pbartok
  16067. * XplatUIWin32.cs:
  16068. - Fixed accessibility level for Idle handler
  16069. 2004-09-20 18:54 jackson
  16070. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16071. XplatUIX11.cs: New message loop that uses poll so we don't get a
  16072. busy loop
  16073. 2004-09-17 10:43 pbartok
  16074. * ScrollBar.cs:
  16075. - Fixed behaviour of arrow buttons. Now properly behaves like
  16076. Buttons (and like Microsoft's scrollbar arrow buttons)
  16077. 2004-09-17 10:14 pbartok
  16078. * ScrollBar.cs:
  16079. - Added missing release of keyboard/mouse capture
  16080. 2004-09-17 06:18 jordi
  16081. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  16082. Theme.cs: Very early menu support
  16083. 2004-09-16 17:45 pbartok
  16084. * XplatUIWin32.cs:
  16085. - Fixed sending a window to the front
  16086. - Added overload for SetWindowPos to avoid casting
  16087. 2004-09-16 17:44 pbartok
  16088. * Control.cs:
  16089. - Added SendToBack and BringToFront methods
  16090. 2004-09-16 07:00 ravindra
  16091. * Copyright: Added Novell URL.
  16092. 2004-09-16 07:00 ravindra
  16093. * ToolBar.cs: Invalidate should be done before redrawing.
  16094. 2004-09-15 21:19 ravindra
  16095. * ColumnHeaderStyle.cs: Enum for ListView Control.
  16096. 2004-09-15 21:18 ravindra
  16097. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  16098. ListView Control.
  16099. 2004-09-13 18:26 jackson
  16100. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  16101. properly
  16102. 2004-09-13 18:13 jackson
  16103. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  16104. a second thread and post messages into the main threads message
  16105. queue. This makes timing much more consistent. Both win2K and XP
  16106. have a minimum timer value of 15 milliseconds, so we now do this
  16107. too.
  16108. 2004-09-13 15:18 pbartok
  16109. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16110. XplatUIX11.cs:
  16111. - Added Z-Ordering methods
  16112. 2004-09-13 10:56 pbartok
  16113. * Form.cs:
  16114. - Fixed #region names
  16115. - Moved properties and methods into their proper #regions
  16116. 2004-09-13 10:51 pbartok
  16117. * Form.cs:
  16118. - Added Accept and CancelButton properties
  16119. - Added ProcessDialogKey() method
  16120. 2004-09-13 08:18 pbartok
  16121. * IWindowTarget.cs:
  16122. - Initial check-in
  16123. 2004-09-10 21:50 pbartok
  16124. * Control.cs:
  16125. - Added DoDragDrop() [incomplete]
  16126. - Properly implemented 'Visible' handling
  16127. - Added SetVisibleCore()
  16128. - Implemented FindChildAtPoint()
  16129. - Implemented GetContainerControl()
  16130. - Implemented Hide()
  16131. 2004-09-10 19:28 pbartok
  16132. * Control.cs:
  16133. - Moved methods into their appropriate #regions
  16134. - Reordered methods within regions alphabetically
  16135. 2004-09-10 18:57 pbartok
  16136. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16137. - Added method to retrieve text from window
  16138. 2004-09-10 18:56 pbartok
  16139. * Control.cs:
  16140. - Moved some internal functions into the internal region
  16141. - Implemented FontHeight
  16142. - Implemented RenderRightToLeft
  16143. - Implemented ResizeRedraw
  16144. - Implemented ShowFocusCues
  16145. - Implemented ShowKeyboardCues
  16146. - Implemented FromChildHandle
  16147. - Implemented FromHandle
  16148. - Implemented IsMnemonic
  16149. - Implemented ReflectMessage
  16150. - All public and protected Static Methods are now complete
  16151. 2004-09-10 16:54 pbartok
  16152. * Control.cs:
  16153. - Implemented remaining missing public instance properties
  16154. - Alphabetized some out of order properties
  16155. 2004-09-10 05:51 ravindra
  16156. * PictureBox.cs: Added a check for null image.
  16157. 2004-09-10 00:59 jordi
  16158. * GroupBox.cs: remove cvs tag
  16159. 2004-09-09 05:25 ravindra
  16160. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  16161. 2004-09-09 05:23 ravindra
  16162. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  16163. parent redraw.
  16164. 2004-09-09 02:28 pbartok
  16165. * ThemeWin32Classic.cs:
  16166. - Improve disabled string look
  16167. 2004-09-09 01:15 jordi
  16168. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  16169. args and handler
  16170. 2004-09-08 23:56 ravindra
  16171. * ItemBoundsPortion.cs: It's enum, not a class!
  16172. 2004-09-08 23:47 ravindra
  16173. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  16174. Enums for Form.
  16175. 2004-09-08 21:13 ravindra
  16176. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  16177. ListView control.
  16178. 2004-09-08 21:03 ravindra
  16179. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  16180. avoid crash.
  16181. 2004-09-08 21:01 ravindra
  16182. * ScrollableControl.cs: Removed unreachable code.
  16183. 2004-09-08 06:45 jordi
  16184. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  16185. 2004-09-08 01:00 jackson
  16186. * XplatUIX11.cs: Only run the timers when updating the message
  16187. queue. This effectively gives X messages a higher priority then
  16188. timer messages. Timers still need love though
  16189. 2004-09-07 14:01 jackson
  16190. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  16191. this for us and the handle is no longer valid.
  16192. 2004-09-07 13:59 jackson
  16193. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  16194. loop that manages to not crash. TODO: Add poll and cleanup timers
  16195. 2004-09-07 11:12 jordi
  16196. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  16197. 2004-09-07 03:40 jordi
  16198. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  16199. fixes, methods, multiple links
  16200. 2004-09-06 06:55 jordi
  16201. * Control.cs: Caches ClientRectangle rectangle value
  16202. 2004-09-05 02:03 jordi
  16203. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  16204. certain situations
  16205. 2004-09-04 11:10 jordi
  16206. * Label.cs: Refresh when font changed
  16207. 2004-09-02 16:24 pbartok
  16208. * Control.cs:
  16209. - Added sanity check to creation of double buffer bitmap
  16210. 2004-09-02 16:24 pbartok
  16211. * ButtonBase.cs:
  16212. - Fixed selection of text color
  16213. - Fixed handling of resize event; now properly recreates double
  16214. buffering bitmap
  16215. - Added missing assignment of TextAlignment
  16216. - Added proper default for TextAlignment
  16217. 2004-09-02 14:26 pbartok
  16218. * RadioButton.cs:
  16219. - Added missing RadioButton.RadioButtonAccessibleObject class
  16220. 2004-09-02 14:26 pbartok
  16221. * Control.cs:
  16222. - Added missing Control.ControlAccessibleObject class
  16223. - Started to implement Select()ion mechanisms, still very incomplete
  16224. 2004-09-02 14:25 pbartok
  16225. * AccessibleObject.cs:
  16226. - Added missing methods
  16227. 2004-09-02 14:23 pbartok
  16228. * AccessibleNavigation.cs, AccessibleSelection.cs:
  16229. - Initial check-in
  16230. 2004-09-02 10:32 jordi
  16231. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  16232. pool for pens, brushes, and hatchbruses
  16233. 2004-09-01 15:30 jackson
  16234. * StatusBar.cs: Fix typo
  16235. 2004-09-01 14:44 pbartok
  16236. * RadioButton.cs:
  16237. - Fixed state
  16238. 2004-09-01 14:39 pbartok
  16239. * Button.cs, RadioButton.cs:
  16240. - Functional initial check-in
  16241. 2004-09-01 14:01 pbartok
  16242. * CheckBox.cs:
  16243. - Added missing default
  16244. - Added missing region mark
  16245. 2004-09-01 09:10 jordi
  16246. * Label.cs: fixes method signatures, new methods, events, fixes
  16247. autosize
  16248. 2004-09-01 07:19 jordi
  16249. * Control.cs: Init string variables with an empty object
  16250. 2004-09-01 04:20 jordi
  16251. * Control.cs: fires OnFontChanged event
  16252. 2004-08-31 20:07 pbartok
  16253. * ButtonBase.cs:
  16254. - Enabled display of strings
  16255. 2004-08-31 20:05 pbartok
  16256. * Form.cs:
  16257. - Added (partial) implementation of DialogResult; rest needs to be
  16258. implemented when the modal loop code is done
  16259. 2004-08-31 19:55 pbartok
  16260. * CheckBox.cs:
  16261. - Fixed to match the removal of the needs_redraw concept
  16262. 2004-08-31 19:55 pbartok
  16263. * ButtonBase.cs:
  16264. - Removed the rather odd split between 'needs redraw' and redrawing
  16265. - Now handles the events that require regeneration (ambient
  16266. properties and size)
  16267. 2004-08-31 19:41 pbartok
  16268. * Control.cs:
  16269. - Added firing of BackColorChanged event
  16270. - Added TopLevelControl property
  16271. - Fixed handling of WM_ERASEBKGRND message
  16272. 2004-08-31 12:49 pbartok
  16273. * ButtonBase.cs:
  16274. - Removed debug
  16275. - Minor fixes
  16276. 2004-08-31 12:48 pbartok
  16277. * CheckBox.cs:
  16278. - Finished (famous last words)
  16279. 2004-08-31 04:35 jordi
  16280. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  16281. scrolling bugs, adds new methods
  16282. 2004-08-30 14:42 pbartok
  16283. * CheckBox.cs:
  16284. - Implemented CheckBox drawing code
  16285. 2004-08-30 14:42 pbartok
  16286. * ButtonBase.cs:
  16287. - Made Redraw() and CheckRedraw() virtual
  16288. - Improved mouse up/down/move logic to properly track buttons
  16289. 2004-08-30 09:44 pbartok
  16290. * CheckBox.cs:
  16291. - Updated to fix broken build. Not complete yet.
  16292. 2004-08-30 09:28 pbartok
  16293. * CheckState.cs:
  16294. - Initial checkin
  16295. 2004-08-30 09:17 pbartok
  16296. * Appearance.cs:
  16297. - Initial check-in
  16298. 2004-08-27 16:12 ravindra
  16299. * ToolBarButton.cs: Added TypeConverter attribute.
  16300. 2004-08-27 16:07 ravindra
  16301. * ImageIndexConverter.cs: Implemented.
  16302. 2004-08-27 14:17 pbartok
  16303. * Control.cs:
  16304. - Removed unneeded stack vars
  16305. - First attempt to fix sizing issues when layout is suspended
  16306. 2004-08-25 15:35 jordi
  16307. * ScrollBar.cs: more fixes to scrollbar
  16308. 2004-08-25 14:04 ravindra
  16309. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  16310. Added the missing divider code and grip for ToolBar Control.
  16311. 2004-08-25 13:20 pbartok
  16312. * Control.cs:
  16313. - Control now properly passes the ambient background color to child
  16314. controls
  16315. 2004-08-25 13:20 jordi
  16316. * ScrollBar.cs: small bug fix regarding bar position
  16317. 2004-08-25 12:33 pbartok
  16318. * Timer.cs:
  16319. - Now only calls SetTimer or KillTimer if the enabled state has
  16320. changed
  16321. 2004-08-25 12:33 pbartok
  16322. * XplatUIWin32.cs:
  16323. - Fixed timer handling, now seems to work
  16324. - Improved error message for window creation
  16325. 2004-08-25 12:32 pbartok
  16326. * Control.cs:
  16327. - Fixed generation of MouseUp message
  16328. 2004-08-25 12:29 jordi
  16329. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  16330. and fixes for progressbar
  16331. 2004-08-24 18:43 ravindra
  16332. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  16333. in ToolBar control.
  16334. 2004-08-24 17:15 pbartok
  16335. * Panel.cs:
  16336. - Added #region
  16337. - Added missing events
  16338. - Alphabetized
  16339. 2004-08-24 17:14 pbartok
  16340. * StatusBar.cs, PictureBox.cs:
  16341. - Now uses Control's CreateParams
  16342. 2004-08-24 16:36 pbartok
  16343. * XplatUIX11.cs:
  16344. - Fixed background color handling
  16345. - Fixed sending of enter/leave events on a grab
  16346. 2004-08-24 16:35 pbartok
  16347. * X11Structs.cs:
  16348. - Refined definitions for CrossingEvent
  16349. 2004-08-24 12:37 jordi
  16350. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  16351. formmating, methods signature, and adds missing events
  16352. 2004-08-24 12:24 jordi
  16353. * Control.cs: fire OnEnabledChanged event
  16354. 2004-08-24 11:17 pbartok
  16355. * XplatUIWin32.cs:
  16356. - Implemented SetTimer() and KillTimer()
  16357. 2004-08-24 11:16 pbartok
  16358. * XplatUIX11.cs:
  16359. - Now uses Remove instead of Add to kill the timer
  16360. 2004-08-24 10:16 jackson
  16361. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  16362. picture boxes in the theme now. Draw picture box borders and obey
  16363. sizing modes
  16364. 2004-08-24 05:49 jackson
  16365. * Timer.cs: Remove top secret debugging code
  16366. 2004-08-24 05:34 jackson
  16367. * PictureBox.cs: Temp hack to make picture boxes draw their full
  16368. image
  16369. 2004-08-24 05:29 jackson
  16370. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16371. XplatUIX11.cs: Move timers to the driver level. On X they are
  16372. queued by the driver and checked on idle.
  16373. 2004-08-24 01:07 jackson
  16374. * XplatUIX11.cs: Use a queue for async messages instead of passing
  16375. them as ClientMessages since that was totally broken. Also simply
  16376. check for events and return an idle message if none are found. This
  16377. gives us an idle handler, and prevents deadlocking when no messages
  16378. are in the queue.
  16379. 2004-08-23 18:19 ravindra
  16380. * XplatUIWin32.cs: Removed the unwanted destructor.
  16381. 2004-08-23 17:27 pbartok
  16382. * ButtonBase.cs:
  16383. - Finishing touches. Works now, just needs some optimizations.
  16384. 2004-08-23 16:53 jordi
  16385. * ScrollBar.cs: small fix
  16386. 2004-08-23 16:45 pbartok
  16387. * Application.cs:
  16388. - Removed debug output
  16389. - Simplifications
  16390. 2004-08-23 16:43 jordi
  16391. * ScrollBar.cs: [no log message]
  16392. 2004-08-23 16:10 pbartok
  16393. * Form.cs:
  16394. - Fixed handling of WM_CLOSE message
  16395. - Removed debug output
  16396. 2004-08-23 16:09 pbartok
  16397. * Application.cs:
  16398. - Added handling of Idle event
  16399. - Added handling of form closing
  16400. - Fixed reporting of MessageLoop property
  16401. - Removed some unneeded code, should provide a bit of a speedup
  16402. 2004-08-23 15:22 pbartok
  16403. * Control.cs:
  16404. - Added InitLayout() method
  16405. - Added code to properly perform layout when Anchor or Dock property
  16406. is changed
  16407. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  16408. LAMESPEC, tried to do it in a way that makes sense
  16409. 2004-08-23 14:10 jordi
  16410. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  16411. properties and methods
  16412. 2004-08-23 13:55 pbartok
  16413. * Control.cs:
  16414. - Properly fixed Jordi's last fix
  16415. - Now uses Cursor's Position property instead of calling XplatUI
  16416. directly
  16417. 2004-08-23 13:44 jordi
  16418. * PaintEventHandler.cs: Adding missing attribute
  16419. 2004-08-23 13:39 pbartok
  16420. * Cursor.cs:
  16421. - Implemented Position property
  16422. 2004-08-23 13:39 pbartok
  16423. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16424. - Added method to move mouse cursor
  16425. 2004-08-23 13:39 pbartok
  16426. * XplatUIX11.cs:
  16427. - Fixed setting of background color
  16428. - Added method to move mouse cursor
  16429. 2004-08-23 13:16 jordi
  16430. * Control.cs: avoids null exception
  16431. 2004-08-22 17:46 jackson
  16432. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  16433. PictureBox
  16434. 2004-08-22 17:40 jackson
  16435. * XplatUIX11.cs: Add some missing locks
  16436. 2004-08-22 15:10 pbartok
  16437. * Control.cs, Form.cs:
  16438. - Removed OverlappedWindow style from Control, instead it's default
  16439. now is child
  16440. - Made form windows OverlappedWindow by default
  16441. 2004-08-22 13:34 jackson
  16442. * ScrollBar.cs: Update the position through the Value property so
  16443. the OnValueChanged event is raised.
  16444. 2004-08-22 12:04 pbartok
  16445. * SWF.csproj:
  16446. - Added Cursor.cs and UserControl.cs
  16447. 2004-08-22 12:03 pbartok
  16448. * Cursor.cs:
  16449. - Started implementation, not usable yet
  16450. 2004-08-22 12:00 pbartok
  16451. * UserControl.cs:
  16452. - Implemented UserControl (complete)
  16453. 2004-08-21 19:20 ravindra
  16454. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  16455. 2004-08-21 18:49 ravindra
  16456. * ToolBar.cs: Probably this completes the missing attributes in
  16457. toolbar control.
  16458. 2004-08-21 18:03 ravindra
  16459. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  16460. Fixed toolbar control signatures.
  16461. 2004-08-21 16:32 pbartok
  16462. * LinkLabel.cs:
  16463. - Signature Fixes
  16464. 2004-08-21 16:30 pbartok
  16465. * Label.cs:
  16466. - Signature fixes
  16467. 2004-08-21 16:19 pbartok
  16468. * Control.cs, Label.cs:
  16469. - Signature fixes
  16470. 2004-08-21 15:57 pbartok
  16471. * ButtonBase.cs:
  16472. - Added loads of debug output for development
  16473. - Fixed typo in method name
  16474. 2004-08-21 15:52 pbartok
  16475. * ToolBarButtonClickEventArgs.cs:
  16476. - Added missing base class
  16477. 2004-08-21 14:53 pbartok
  16478. * Control.cs:
  16479. - Updated to match new GrabWindow signature
  16480. 2004-08-21 14:51 pbartok
  16481. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16482. - Added method to get default display size
  16483. 2004-08-21 14:23 pbartok
  16484. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16485. - Added method to query current grab state
  16486. - Added argument to allow confining a grab to a window
  16487. 2004-08-21 14:22 pbartok
  16488. * Keys.cs:
  16489. - Added [Flags] attribute so that modifiers can be used in bitwise
  16490. ops
  16491. 2004-08-21 14:21 pbartok
  16492. * TrackBar.cs, ScrollBar.cs:
  16493. - Replaced direct XplatUI calls with their Control counterpart
  16494. 2004-08-21 13:32 pbartok
  16495. * Control.cs:
  16496. - Implemented Created property
  16497. 2004-08-21 13:28 pbartok
  16498. * Control.cs:
  16499. - Implemented ContainsFocus
  16500. 2004-08-21 13:26 pbartok
  16501. * Control.cs:
  16502. - Implemented CausesValidation
  16503. 2004-08-21 13:21 pbartok
  16504. * Control.cs:
  16505. - Implemented CanFocus
  16506. - Implemented CanSelect
  16507. - Implemented Capture
  16508. 2004-08-21 12:35 pbartok
  16509. * XplatUIWin32.cs:
  16510. - Fixed bug with Async message handling
  16511. - Implemented getting the ModifierKeys
  16512. 2004-08-21 12:32 jackson
  16513. * AsyncMethodResult.cs: Make sure we have the mutex before we
  16514. release it. Fixes BeginInvoke on windows
  16515. 2004-08-21 11:31 pbartok
  16516. * XplatUIWin32.cs, XplatUIX11.cs:
  16517. - Drivers now return proper mouse state
  16518. 2004-08-21 10:54 jackson
  16519. * Control.cs: Implement EndInvoke
  16520. 2004-08-21 10:48 jackson
  16521. * Timer.cs: Remove unneeded finalizer
  16522. 2004-08-20 19:52 ravindra
  16523. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  16524. in mouse event handling in the ToolBar control.
  16525. 2004-08-20 19:50 ravindra
  16526. * ImageList.cs: Changed draw method to use the arguments passed in
  16527. to draw the image.
  16528. 2004-08-20 18:58 pbartok
  16529. * XplatUIStructs.cs:
  16530. - Added private message for async communication
  16531. 2004-08-20 17:38 ravindra
  16532. * Control.cs: Made RightToLeft property virtual and removed a
  16533. Console.WriteLine.
  16534. 2004-08-20 14:39 jordi
  16535. * ThemeGtk.cs: use style_attach
  16536. 2004-08-20 14:39 pbartok
  16537. * XplatUIWin32.cs:
  16538. - Added jackson's Async code from X11 to Win32
  16539. 2004-08-20 14:09 pbartok
  16540. * SWF.csproj:
  16541. - Added all new files
  16542. 2004-08-20 14:09 pbartok
  16543. * Control.cs:
  16544. - Added call to set window background color
  16545. 2004-08-20 14:03 pbartok
  16546. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  16547. - Added method for setting the window background
  16548. 2004-08-20 14:02 pbartok
  16549. * XplatUIWin32.cs:
  16550. - Added method for setting the background color
  16551. - Added handling for erasing the window background
  16552. 2004-08-20 13:45 jordi
  16553. * TrackBar.cs: fixes timer, new properties and methods
  16554. 2004-08-20 13:34 jackson
  16555. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  16556. correct thread
  16557. 2004-08-20 13:22 jackson
  16558. * Timer.cs: Timer Tick events are now handed through Controls Async
  16559. mechanism so the callbacks are executed in the same thread as X
  16560. 2004-08-20 13:19 jackson
  16561. * XplatUIDriver.cs: Expose functionality to send async messages
  16562. through the driver
  16563. 2004-08-20 13:18 jackson
  16564. * Control.cs: Implement Begininvoke
  16565. 2004-08-20 13:14 jackson
  16566. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  16567. messages through the driver
  16568. 2004-08-20 13:12 jackson
  16569. * XplatUIX11.cs: Lock before all X operations. Also added Async
  16570. method functionality through XSendEvent
  16571. 2004-08-20 13:11 jackson
  16572. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  16573. This will screw up on 64 bit systems)
  16574. 2004-08-20 13:10 jackson
  16575. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  16576. Async messages through X/Win32
  16577. 2004-08-19 19:39 pbartok
  16578. * XplatUIX11.cs:
  16579. - Updated code to match new HandleData.DeviceContext type
  16580. 2004-08-19 19:38 pbartok
  16581. * HandleData.cs:
  16582. - Made DeviceContext a generic object to allow usage from various
  16583. drivers
  16584. - Added support for queueing Windows messages
  16585. 2004-08-19 19:37 pbartok
  16586. * XplatUIWin32.cs:
  16587. - Added generation of MouseEnter, MouseLeave and MouseHover events
  16588. - Added cleanup on EndPaint
  16589. 2004-08-19 19:17 pbartok
  16590. * Control.cs:
  16591. - Added handling of WM_MOUSEHOVER
  16592. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  16593. code
  16594. 2004-08-19 18:55 jordi
  16595. * ThemeGtk.cs: fixes button order
  16596. 2004-08-19 18:12 jordi
  16597. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  16598. 2004-08-19 17:09 pbartok
  16599. * Control.cs:
  16600. - Added Right property
  16601. - Added RightToLeft property
  16602. 2004-08-19 16:27 jordi
  16603. * ThemeGtk.cs: experimental GTK theme support
  16604. 2004-08-19 16:26 jordi
  16605. * ITheme.cs, Theme.cs: move themes from an interface to a class
  16606. 2004-08-19 16:25 jordi
  16607. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  16608. theme enhancaments
  16609. 2004-08-19 16:04 pbartok
  16610. * XplatUIX11.cs:
  16611. - Added colormap basics
  16612. - Added a way to re-initialize with a different display handle
  16613. - Fixed setting of the window background color
  16614. - Added various X11 imports related to colors and colormaps
  16615. 2004-08-19 15:51 pbartok
  16616. * X11Structs.cs:
  16617. - Removed packing hints (Paolo suggested this a while back)
  16618. - fixed colormap type
  16619. - Added default Atom types
  16620. - Added Screen and color structs and enums
  16621. 2004-08-19 15:39 pbartok
  16622. * ImageList.cs:
  16623. - Added missing Draw() method
  16624. - Added missing RecreateHandle event
  16625. 2004-08-19 15:30 pbartok
  16626. * Form.cs:
  16627. - Added handling of WM_CLOSE
  16628. 2004-08-18 13:16 jordi
  16629. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  16630. a table
  16631. 2004-08-18 09:56 jordi
  16632. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  16633. 2004-08-17 15:31 ravindra
  16634. * SWF.csproj: Updated project.
  16635. 2004-08-17 15:25 pbartok
  16636. * Control.cs:
  16637. - Drawing improvement; don't call UpdateBounds if we are not visible
  16638. (or have been minimized)
  16639. 2004-08-17 15:24 pbartok
  16640. * XplatUIWin32.cs:
  16641. - Finished IsVisible
  16642. - Added Win32GetWindowPlacement
  16643. 2004-08-17 15:08 jackson
  16644. * Panel.cs: Initial checkin of the Panel
  16645. 2004-08-17 14:25 pbartok
  16646. * Control.cs:
  16647. - Fixed broken handling of default window sizes
  16648. 2004-08-17 13:29 jackson
  16649. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  16650. has a large startup time.
  16651. 2004-08-17 10:25 jackson
  16652. * HandleData.cs: union areas properly
  16653. 2004-08-17 10:12 jackson
  16654. * HandleData.cs: union areas properly
  16655. 2004-08-16 20:00 ravindra
  16656. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  16657. 2004-08-16 18:48 ravindra
  16658. * ToolBar.cs: Added attributes.
  16659. 2004-08-16 17:17 ravindra
  16660. * SWF.csproj: Updated project.
  16661. 2004-08-16 17:16 jackson
  16662. * XplatUIX11.cs: Check for more expose events before sending a
  16663. WM_PAINT so they can all be grouped together. This makes dragging a
  16664. window across another window redraw in a sane way.
  16665. 2004-08-16 15:47 pbartok
  16666. * Control.cs:
  16667. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  16668. support OnMouseEnter/Leave()
  16669. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  16670. exposure handling
  16671. 2004-08-16 15:46 pbartok
  16672. * XplatUIStructs.cs, XplatUIX11.cs:
  16673. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  16674. OnMouseEnter/Leave()
  16675. 2004-08-16 15:34 jackson
  16676. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  16677. sure messages get the message field set to WM_NULL if they are not
  16678. handled.
  16679. 2004-08-16 15:24 jackson
  16680. * HandleData.cs: HandleData is used for storing message information
  16681. for window handles
  16682. 2004-08-15 17:23 ravindra
  16683. * ColorDepth.cs: Added attribute.
  16684. 2004-08-15 17:23 ravindra
  16685. * SWF.csproj: Updated project for ToolBar Control.
  16686. 2004-08-15 17:20 ravindra
  16687. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  16688. control and also dos2unix format.
  16689. 2004-08-15 17:13 ravindra
  16690. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  16691. ToolBarButtonClickEventArgs.cs,
  16692. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  16693. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  16694. 2004-08-15 15:31 pbartok
  16695. * ButtonBase.cs:
  16696. - First (mostly) working version
  16697. 2004-08-13 16:15 pbartok
  16698. * Control.cs:
  16699. - Fixed Anchor default
  16700. 2004-08-13 15:43 pbartok
  16701. * Control.cs:
  16702. - Changed GetCursorPos signature
  16703. 2004-08-13 15:42 pbartok
  16704. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16705. - Changed signature for GetCursorPos
  16706. 2004-08-13 15:25 pbartok
  16707. * XplatUIX11.cs:
  16708. - Cleanup
  16709. - Fixed resizing/exposure handling
  16710. 2004-08-13 15:22 jordi
  16711. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  16712. with tickposition
  16713. 2004-08-13 14:55 jordi
  16714. * TrackBar.cs: change from wndproc to events
  16715. 2004-08-13 13:00 jordi
  16716. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16717. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  16718. 2004-08-13 12:53 pbartok
  16719. * XplatUIWin32.cs:
  16720. - Changed GetWindowPos to also provide client area size
  16721. - Fixed broken prototypes for several win32 functions
  16722. 2004-08-13 12:53 pbartok
  16723. * XplatUI.cs, XplatUIDriver.cs:
  16724. - Changed GetWindowPos to also provide client area size
  16725. 2004-08-13 12:52 pbartok
  16726. * XplatUIX11.cs:
  16727. - Added generation of WM_POSCHANGED
  16728. - Changed GetWindowPos to also provide client area size
  16729. 2004-08-13 12:52 pbartok
  16730. * Control.cs:
  16731. - Added Dispose() and destructor
  16732. - Fixed resizing and bounds calculation
  16733. - Fixed Layout
  16734. - Added memory savings for invisible windows
  16735. 2004-08-13 12:46 jordi
  16736. * TrackBar.cs: adds timer and grap window
  16737. 2004-08-13 10:25 jackson
  16738. * Timer.cs: SWF Timer
  16739. 2004-08-12 16:59 pbartok
  16740. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16741. - Implemented method to get current mouse position
  16742. 2004-08-12 14:29 jordi
  16743. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  16744. enhancement, fix mouse problems, highli thumb, etc
  16745. 2004-08-12 13:31 pbartok
  16746. * Control.cs:
  16747. - Fixed Anchoring bugs
  16748. 2004-08-12 13:01 jackson
  16749. * StatusBar.cs: Don't forget things
  16750. 2004-08-12 12:54 jackson
  16751. * ThemeWin32Classic.cs: Handle owner draw status bars
  16752. 2004-08-12 12:54 jackson
  16753. * StatusBar.cs: Implement missing properties, events, and methods.
  16754. Handle mouse clicking
  16755. 2004-08-12 10:19 jackson
  16756. * StatusBarPanelClickEventArgs.cs,
  16757. StatusBarPanelClickEventHandler.cs: Classes for handling status
  16758. bar panel click events
  16759. 2004-08-12 10:10 jackson
  16760. * Control.cs: Add missing properties
  16761. 2004-08-12 09:46 pbartok
  16762. * BindingsManagerBase.cs:
  16763. - Name changed to BindingManagerBase.cs
  16764. 2004-08-12 09:25 jordi
  16765. * ScrollableControl.cs: calls ctrlbase instead of exeception
  16766. 2004-08-11 16:28 pbartok
  16767. * InputLanguageChangingEventArgs.cs:
  16768. - Never check in before compiling. Fixes the last check-in
  16769. 2004-08-11 16:26 pbartok
  16770. * InputLanguageChangingEventArgs.cs:
  16771. - More signature fixes
  16772. 2004-08-11 16:20 pbartok
  16773. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  16774. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  16775. ImageListStreamer.cs, InputLanguage.cs,
  16776. InputLanguageChangedEventArgs.cs,
  16777. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  16778. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  16779. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  16780. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16781. - Signature fixes
  16782. 2004-08-11 16:16 pbartok
  16783. * Application.cs:
  16784. - Fixed Signature
  16785. - Added .Net 1.1 method
  16786. 2004-08-11 15:25 pbartok
  16787. * SWF.csproj:
  16788. - Fixed BindingManagerBase.cs filename
  16789. 2004-08-11 15:22 pbartok
  16790. * BindingManagerBase.cs:
  16791. - Was checked in with wrong filename
  16792. 2004-08-11 14:50 pbartok
  16793. * SWF.csproj:
  16794. - Updated
  16795. 2004-08-11 13:41 jordi
  16796. * XplatUIWin32.cs: Fixes ClientRect
  16797. 2004-08-11 13:19 pbartok
  16798. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16799. XplatUIX11.cs:
  16800. - We had SetWindowPos and MoveWindow to set window positions and
  16801. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  16802. keep SetWindowPos as matching counterpart
  16803. - Added some X11 sanity checking
  16804. 2004-08-11 12:59 pbartok
  16805. * Control.cs:
  16806. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  16807. (It seems that SetBounds is just a front for SetBoundsCore and
  16808. SetBoundsCore updates the underlying window system and
  16809. UpdateBounds is responsible for updating the variables associated
  16810. with the Control and sending the events)
  16811. - Major cleanup of Size handling; we now have two sizes, client_size
  16812. and bounds. Bounds defines the window with decorations, client_size
  16813. without them.
  16814. 2004-08-11 12:55 pbartok
  16815. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16816. - Added method to calculate difference between decorated window and
  16817. raw client area
  16818. 2004-08-11 12:54 pbartok
  16819. * Label.cs:
  16820. - Forcing redraw on resize
  16821. 2004-08-11 11:43 pbartok
  16822. * ImageList.cs:
  16823. - Removed disposing of the actual images when the list is disposed
  16824. 2004-08-11 09:13 pbartok
  16825. * Control.cs:
  16826. - Now properly reparents windows
  16827. 2004-08-11 08:37 pbartok
  16828. * Control.cs:
  16829. - Duh!
  16830. 2004-08-11 07:47 pbartok
  16831. * Control.cs:
  16832. - Rewrote the collection stuff. Might not be as fast now, not
  16833. keeping the number of children around and accessible directly, but
  16834. it's more straightforward
  16835. 2004-08-11 07:44 pbartok
  16836. * AccessibleObject.cs:
  16837. - Fixed to match ControlCollection rewrite
  16838. 2004-08-11 07:43 pbartok
  16839. * ImageList.cs:
  16840. - Added missing creation of the collection list
  16841. 2004-08-10 20:08 jackson
  16842. * StatusBar.cs: Get the paint message from WndProc
  16843. 2004-08-10 19:31 jackson
  16844. * ThemeWin32Classic.cs: Create Brushes as little as possible
  16845. 2004-08-10 19:20 jackson
  16846. * UICues.cs: Add Flags attribute
  16847. 2004-08-10 19:19 jackson
  16848. * StatusBarPanel.cs: Signature cleanup
  16849. 2004-08-10 19:10 jackson
  16850. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  16851. Initial implementation of status bar item drawing
  16852. 2004-08-10 17:27 jordi
  16853. * TrackBar.cs: add missing methods, properties, and restructure to
  16854. hide extra ones
  16855. 2004-08-10 16:24 jackson
  16856. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  16857. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  16858. attribute
  16859. 2004-08-10 13:21 jordi
  16860. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  16861. enhancements and standarize on win colors defaults
  16862. 2004-08-10 12:52 jackson
  16863. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  16864. ThemeWin32Classic.cs: Implement DrawItem functionality
  16865. 2004-08-10 12:47 jordi
  16866. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  16867. 2004-08-10 12:32 jordi
  16868. * Control.cs: throw ontextchange event
  16869. 2004-08-10 11:43 pbartok
  16870. * Control.cs:
  16871. - Added more to the still unfinished Dock/Anchor layout code
  16872. 2004-08-10 11:39 pbartok
  16873. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  16874. - Added GetWindowPos method
  16875. 2004-08-10 11:36 pbartok
  16876. * XplatUIWin32.cs:
  16877. - Implemented several methods
  16878. 2004-08-10 09:47 jackson
  16879. * TrackBar.cs: Allow control to handle buffering
  16880. 2004-08-10 09:41 jackson
  16881. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  16882. 2004-08-10 09:24 jackson
  16883. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  16884. 2004-08-10 09:09 jackson
  16885. * StatusBar.cs: Let Control handle all the buffering.
  16886. 2004-08-10 09:08 jackson
  16887. * Control.cs: Control will now handle the buffering code, so each
  16888. control does not have to implement this.
  16889. 2004-08-10 08:34 jackson
  16890. * XplatUIDriver.cs: Use default colors from the theme
  16891. 2004-08-09 17:12 pbartok
  16892. * ImageList.cs:
  16893. - Fixed several bugs Ravindra pointed out
  16894. 2004-08-09 16:11 pbartok
  16895. * Control.cs:
  16896. - Added incomplete dock layout code
  16897. - Added support for mouse wheel
  16898. 2004-08-09 16:09 pbartok
  16899. * XplatUIX11.cs:
  16900. - Added handling for middle and right mousebutton
  16901. - Added handling for mouse wheel
  16902. - Added handling for key state and mouse state and position
  16903. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  16904. messages
  16905. 2004-08-09 15:40 jackson
  16906. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  16907. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  16908. checkin
  16909. 2004-08-09 15:37 jackson
  16910. * StatusBar.cs: Initial implementation of StatusBar
  16911. 2004-08-09 15:36 jackson
  16912. * ITheme.cs: Add support for drawing status bar and getting status
  16913. bar item sizes
  16914. 2004-08-09 15:35 pbartok
  16915. * MouseButtons.cs:
  16916. - Fixed values
  16917. 2004-08-09 15:34 jackson
  16918. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  16919. status bar item sizes
  16920. 2004-08-09 15:21 jackson
  16921. * ThemeWin32Classic.cs: Use known colors for default control
  16922. colours
  16923. 2004-08-09 15:12 jackson
  16924. * ThemeWin32Classic.cs: Make the default font static, it is static
  16925. in control so this doesn't change functionality and creating fonts
  16926. is sloooooow.
  16927. 2004-08-09 14:56 pbartok
  16928. * X11Structs.cs:
  16929. - Added GrabMode enum
  16930. 2004-08-09 14:55 pbartok
  16931. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16932. - Removed Run method, was only required for initial development
  16933. 2004-08-09 14:51 pbartok
  16934. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16935. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  16936. capture
  16937. 2004-08-09 13:48 pbartok
  16938. * XplatUIX11.cs:
  16939. - Fixed default sizing for child windows
  16940. 2004-08-09 12:56 pbartok
  16941. * XplatUIX11.cs:
  16942. - Added generation of WM_DESTROY message
  16943. - Added handling of window manager induced shutdown
  16944. 2004-08-09 11:31 jackson
  16945. * ThemeWin32Classic.cs: New names for control properties
  16946. 2004-08-09 11:25 jackson
  16947. * Control.cs: Use new color names
  16948. 2004-08-09 11:02 jackson
  16949. * XplatUI.cs: Get default window properties from the theme
  16950. 2004-08-09 11:01 jackson
  16951. * ITheme.cs: The theme engine now controls default window
  16952. properties
  16953. 2004-08-09 11:00 jackson
  16954. * ThemeWin32Classic.cs: Add default window color properties
  16955. 2004-08-09 10:17 jackson
  16956. * ThemeWin32Classic.cs: Use correct default back color
  16957. 2004-08-09 10:05 jackson
  16958. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  16959. the theme now.
  16960. 2004-08-09 09:56 jackson
  16961. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  16962. 2004-08-09 09:54 jackson
  16963. * Control.cs: Get default properties from the theme.
  16964. 2004-08-09 09:53 jackson
  16965. * ITheme.cs: Themes now handle default control properties
  16966. 2004-08-09 09:53 jackson
  16967. * ThemeWin32Classic.cs: Themes now handle default control
  16968. properties so coloring will be consistent
  16969. 2004-08-08 16:54 jordi
  16970. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  16971. 2004-08-08 15:08 jordi
  16972. * XplatUIX11.cs: fixes keyboard crash
  16973. 2004-08-08 13:47 jordi
  16974. * Label.cs: add cvs header info
  16975. 2004-08-08 12:09 jackson
  16976. * ThemeWin32Classic.cs: Add pen_buttonface
  16977. 2004-08-08 11:52 jordi
  16978. * Label.cs, LinkLabel.cs: [no log message]
  16979. 2004-08-08 11:34 jordi
  16980. * ThemeWin32Classic.cs: Use Windows Standard Colours
  16981. 2004-08-07 17:32 jordi
  16982. * TrackBar.cs: throw exceptions of invalid enums values
  16983. 2004-08-07 17:31 jordi
  16984. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  16985. draw method name
  16986. 2004-08-07 16:56 jackson
  16987. * HorizontalAlignment.cs: Initial checkin
  16988. 2004-08-07 13:16 jordi
  16989. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  16990. methods
  16991. 2004-08-07 13:05 jordi
  16992. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  16993. GetSysColor defines
  16994. 2004-08-06 18:01 pbartok
  16995. * ThemeWin32Classic.cs:
  16996. - Fixed some rounding issues with float/int
  16997. 2004-08-06 18:00 jackson
  16998. * DockStyle.cs, AnchorStyles.cs:
  16999. Add flags and serializable attributes.
  17000. 2004-08-06 17:46 pbartok
  17001. * XplatUIX11.cs:
  17002. - Implemented GetParent
  17003. 2004-08-06 17:18 pbartok
  17004. * TrackBar.cs:
  17005. - Fixed some rounding issues with float/int
  17006. 2004-08-06 17:17 pbartok
  17007. * X11Structs.cs, XplatUIX11.cs:
  17008. - Fixed Refresh and Invalidate
  17009. 2004-08-06 15:30 pbartok
  17010. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  17011. - Fixed recursive loop when resizing
  17012. - Improved/fixed redrawing on expose messages
  17013. 2004-08-06 09:53 jordi
  17014. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  17015. keyboard navigation
  17016. 2004-08-06 08:02 pbartok
  17017. * X11Structs.cs, XplatUIX11.cs:
  17018. - Fixed reparenting
  17019. - Fixed window border creation
  17020. 2004-08-05 15:38 pbartok
  17021. * XplatUIX11.cs:
  17022. - Attempted fix for reparenting problems
  17023. 2004-08-04 15:14 pbartok
  17024. * Control.cs:
  17025. - Fixed Invalidation bug (calculated wrong client area)
  17026. - Added ClientSize setter
  17027. 2004-08-04 15:13 pbartok
  17028. * Form.cs:
  17029. - Added AutoScale properties
  17030. 2004-08-04 15:13 pbartok
  17031. * SWF.csproj:
  17032. - Added latest files
  17033. 2004-08-04 14:11 pbartok
  17034. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17035. XplatUIX11.cs:
  17036. - Added Invalidate handling
  17037. 2004-08-03 17:09 jordi
  17038. * XplatUIDriver.cs: fixes spelling mistake
  17039. 2004-07-27 09:53 jordi
  17040. * TrackBar.cs: fixes trackbar events, def classname, methods
  17041. signature
  17042. 2004-07-27 09:29 jordi
  17043. * ScrollBar.cs: fixes scrollbar events
  17044. 2004-07-27 04:38 jordi
  17045. * Control.cs: changes to be able to run winforms samples
  17046. 2004-07-26 11:42 jordi
  17047. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  17048. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  17049. 2004-07-26 05:41 jordi
  17050. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  17051. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  17052. implementation
  17053. 2004-07-22 09:22 jordi
  17054. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  17055. check link overlapping, implement events, and fixes
  17056. 2004-07-21 10:28 jordi
  17057. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  17058. 2004-07-21 10:19 jordi
  17059. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  17060. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  17061. LinkLabelLinkClickedEventArgs.cs,
  17062. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  17063. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  17064. implementation
  17065. 2004-07-19 13:09 jordi
  17066. * Control.cs, Label.cs: label control re-written: added missing
  17067. functionlity, events, and properties
  17068. 2004-07-19 10:49 jordi
  17069. * Control.cs: fixes SetBounds logic
  17070. 2004-07-19 01:29 jordi
  17071. * Control.cs: Call RefreshWindow only if the window has created
  17072. 2004-07-15 14:05 pbartok
  17073. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  17074. - Implemented ImageList and ImageList.ImageCollection classes
  17075. - Added ColorDepth enumeration
  17076. - Updated SWF VS.Net project
  17077. 2004-07-15 11:06 jordi
  17078. * XplatUIStructs.cs: added MsgButons enum
  17079. 2004-07-15 11:03 jordi
  17080. * Control.cs: added basic mouse handeling events
  17081. 2004-07-15 03:38 jordi
  17082. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  17083. Vertical TrackBar control implementation
  17084. 2004-07-13 09:33 jordi
  17085. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  17086. 2004-07-13 09:31 jordi
  17087. * Control.cs, Form.cs: commit: new properties and fixes form size
  17088. problems
  17089. 2004-07-09 14:13 miguel
  17090. * ProgressBar.cs: Spelling
  17091. 2004-07-09 11:25 pbartok
  17092. * ProgressBar.cs:
  17093. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  17094. faster
  17095. 2004-07-09 11:17 miguel
  17096. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  17097. * ProgressBar.cs: Fixed spelling for `block'
  17098. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  17099. style guidelines.
  17100. Avoid using the += on rect.X, that exposed a bug in the compiler.
  17101. 2004-07-08 23:21 pbartok
  17102. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  17103. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  17104. BaseCollection.cs, Binding.cs, BindingContext.cs,
  17105. BindingMemberInfo.cs, BindingsCollection.cs,
  17106. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  17107. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  17108. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  17109. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  17110. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  17111. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  17112. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  17113. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  17114. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  17115. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  17116. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  17117. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  17118. InputLanguageChangedEventArgs.cs,
  17119. InputLanguageChangedEventHandler.cs,
  17120. InputLanguageChangingEventArgs.cs,
  17121. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  17122. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  17123. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  17124. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  17125. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  17126. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  17127. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  17128. QueryAccessibilityHelpEventArgs.cs,
  17129. QueryAccessibilityHelpEventHandler.cs,
  17130. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  17131. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  17132. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  17133. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  17134. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  17135. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  17136. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  17137. XplatUIX11.cs, lang.cs:
  17138. - Initial check-in