ChangeLog 744 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386
  1. 2006-12-25 Chris Toshok <[email protected]>
  2. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  3. since they're nothing more than X/Left and Y/Top, respectively.
  4. Also, move back to a per-control Bitmap/Graphics for
  5. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  6. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  7. Height.
  8. 2006-12-25 Miguel de Icaza <[email protected]>
  9. * ListView.cs: Add support ColumnWidthChanged and
  10. ColumnWidthChanging.
  11. Add support for ColumnReordered event.
  12. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  13. reorder.
  14. Very nice codebase!
  15. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  16. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  17. 2006-12-24 Chris Toshok <[email protected]>
  18. * GridTablesFactory.cs: 2.0 corcompare work.
  19. * ToolStripContainer.cs: add "override" to
  20. ContextMenuStripChanged, and remove the local event object.
  21. * ToolStripDropDown.cs: same with a couple properties.
  22. * ToolStripPanel.cs: same with AutoSizeChanged event.
  23. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  24. * Form.cs: add the remaining 2.0 events, and do some corcompare
  25. attribute work.
  26. * DateTimePicker.cs: add "new" to padding.
  27. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  28. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  29. * DataGridView.cs: PaddingChanged is overridden.
  30. 2006-12-24 Chris Toshok <[email protected]>
  31. * Control.cs: corecompare work here too.
  32. * DataGridViewElement.cs, DataGridView.cs,
  33. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  34. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  35. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  36. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  37. work.
  38. 2006-12-24 Miguel de Icaza <[email protected]>
  39. * Control.cs: Switched the error message on the console for a
  40. todo. A review of the code will have to cope with this anyways
  41. (since its a large feature, it is in our radar) and it was
  42. producing too much output when running PDN.
  43. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  44. changes. Applications depend on this (PDN 2.72)
  45. 2006-12-23 Chris Toshok <[email protected]>
  46. * TableLayoutSettings.cs: finish up the corcompare work for this
  47. class.
  48. 2006-12-23 Chris Toshok <[email protected]>
  49. * Control.cs: make SetImplicitBounds internal, do some futzing
  50. with LayoutEngine so that it's available in 1.1, and remove the
  51. entire duplicated code mess from PerformLayout. Use
  52. System.Windows.Forms.Layout.DefaultLayout instead.
  53. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  54. 2006-12-23 Jonathan Pobst <[email protected]>
  55. * Form.cs: Add MainMenuStrip property.
  56. 2006-12-23 Jonathan Pobst <[email protected]>
  57. * Control.cs: Add ContextMenuStrip property and implementation.
  58. Fix ContextMenu implementation to show menu centered on control when
  59. activated using the keyboard instead of showing at screen (0,0).
  60. * ToolStripDropDown.cs: Fix needed overload of Show ().
  61. 2006-12-23 Everaldo Canuto <[email protected]>
  62. * Menu.cs: Name property added for 2.0 profile.
  63. 2006-12-23 Everaldo Canuto <[email protected]>
  64. * Menu.cs: Update information about FindMenuItem, method to be
  65. implemented soon.
  66. 2006-12-23 Everaldo Canuto <[email protected]>
  67. * MenuAPI.cs: When deselect items deselect also selected subitems.
  68. 2006-12-23 Everaldo Canuto <[email protected]>
  69. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  70. FindSubItemByCoord to found itens that is not active, also an
  71. cheking added to FindSubItemByCoord to search for items only
  72. in visible popup windows. Fixes #80274.
  73. 2006-12-22 Everaldo Canuto <[email protected]>
  74. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  75. internal property, it be care about change ExStyle.
  76. 2006-12-22 Andreia Gaita <[email protected]>
  77. * ContainerControl.cs: set activeControl for parent forms up the
  78. tree when the new activecontrol is a container.
  79. When validating the active control, if it is a container, also
  80. raise up the validation for it's active control. Fixes #80280
  81. * Control.cs: Add internal property flag and check to prevent
  82. Focus events from getting raised when Select() is called for
  83. a ContainerControl. There are still too many focus events being
  84. raised at the moment though.
  85. Cleaned up the code a bit.
  86. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  87. * Control.cs: Added all missing 2.0 events.and
  88. fixed a couple of corcompare issues.
  89. * TrackBar.cs: Implemented missing 2.0 bits.
  90. * MonthCalendar.cs,
  91. * DateTimePicker.cs,
  92. * MdiClient.cs: Fixed some corcompare issues.
  93. 2006-12-21 Jonathan Pobst <[email protected]>
  94. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  95. SplitterPanel.cs: corecompare work.
  96. 2006-12-21 Jonathan Pobst <[email protected]>
  97. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  98. Clean up warnings for BackgroundImageChanged and PaddingChanged
  99. events now that they are implemented in Control.cs.
  100. 2006-12-21 Jonathan Pobst <[email protected]>
  101. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  102. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  103. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  104. of TableLayoutPanel and supporting cast.
  105. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  106. * XplatUIWin32.cs:
  107. - GrabWindow now confines the mouse pointer to the confine window.
  108. - Added Win32ClipCursor and Win32GetClipCursor.
  109. * Control.cs:
  110. - Added CaptureWithConfine to be able to capture and confine
  111. mouse pointer.
  112. * InternalWindowManager.cs:
  113. - Call CaptureWithConfine instead of Capture if we're an
  114. MdiChild (fixes #79982).
  115. 2006-12-21 Chris Toshok <[email protected]>
  116. * DataGrid.cs: guard against the initial state of selection, where
  117. selection_start == -1. make sure we only select from index >= 0.
  118. Fixes bug #80291.
  119. 2006-12-21 Chris Toshok <[email protected]>
  120. * Control.cs: we don't need to be so draconian with
  121. UpdateDistances, and we thusly don't need to call it before
  122. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  123. 2006-12-21 Daniel Nauck <[email protected]>
  124. * ComboBox.cs,
  125. TextBox.cs: Implemented AutoComplete properties.
  126. 2006-12-20 Chris Toshok <[email protected]>
  127. * DataGridView*.cs: some corecompare work.
  128. 2006-12-20 Jackson Harper <[email protected]>
  129. * XplatUIX11.cs: We need to hide the caret when deleting it,
  130. otherwise you get carets left lying around everywhere.
  131. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  132. prevents getting some weird half drawn caret tracers when
  133. scrolling.
  134. * TextControl.cs: Attempt to reduce the number of times we need to
  135. recreate the caret.
  136. 2006-12-20 Gert Driesen <[email protected]>
  137. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  138. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  139. * DateTimePicker.cs:
  140. - Implemented missing 2.0 bits.
  141. - Changed some default values to match MS.
  142. 2006-12-20 Jackson Harper <[email protected]>
  143. * TextBoxBase.cs: When changing the font across the document we
  144. can't recalculate after changing each line, since that will cahnge
  145. the line count.
  146. - PreferredHeight is a little different than i thought.
  147. - When backspacing, move the caret before we do the actual char
  148. delete, because when that delete crosses a wrap boundary the
  149. positional information will change.
  150. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  151. * Control.cs: Added some missing 2.0 bits:
  152. BackgroundImageLayout, BackgroundImageLayoutChanged,
  153. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  154. add IBindableComponent and IDropTarget implementation.
  155. * MonthCalendar.cs:
  156. - Added all missing 2.0 features:
  157. BackgroundImageLayout, RightToLeftLayout,
  158. OnHandleDestroyed, RightToLeftLayoutChanged,
  159. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  160. PaddingChanged.
  161. - Rewrote all the BoldDate code, it was completely broken.
  162. - Fixed all the tests (the tests can now be re-enabled, the
  163. problems were not with the tests, but with the control, it was
  164. mostly broken).
  165. * DateTimePicker.cs: Changed the location where the
  166. MonthCalendar is shown.
  167. 2006-12-19 Chris Toshok <[email protected]>
  168. * DataGridView.cs: add IDropTarget implementation.
  169. * ToolStripPanel.cs: add IDropTarget implementation.
  170. 2006-12-19 Jackson Harper <[email protected]>
  171. * TextControl.cs: soft now means something different than what it
  172. used to mean, we want to move the caret regardless of whether or
  173. not this break was soft (would we really have wanted the caret
  174. to not move with the break in the old context?)
  175. * TreeView.cs: Make sure we factor in the vert scrollbar when
  176. calculating the horizontal scrollbar's maximum.
  177. 2006-12-19 Andreia Gaita <[email protected]>
  178. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  179. check for keywords in alternate casing, close bug #80049.
  180. 2006-12-19 Chris Toshok <[email protected]>
  181. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  182. methods (which all do nothing).
  183. * IDropTarget.cs: add the 4 missing methods.
  184. 2006-12-19 Chris Toshok <[email protected]>
  185. * TableLayoutRowStyleCollection.cs: corcompare work.
  186. * TableLayoutSettings.cs: same.
  187. * TableLayoutStyle.cs: same.
  188. * TableLayoutColumnStyleCollection.cs: same.
  189. 2006-12-19 Jonathan Pobst <[email protected]>
  190. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  191. TableLayoutPanel I've had in my local tree for way too long.
  192. 2006-12-19 Miguel de Icaza <[email protected]>
  193. * TableLayoutSettings.cs: Finish the public API (still needs all
  194. the logic to update on changes).
  195. * TableLayoutPanelCellPosition.cs: new file.
  196. * TableLayoutRowStyleCollection.cs,
  197. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  198. TableLayoutSettings.cs: Track the final 2.0 table api.
  199. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  200. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  201. and Image List 2.0 members for ColummnHeader.
  202. * ListView.cs: Add key-related 2.0 methods for
  203. ColumnHeaderCollection.
  204. 2006-12-19 Gert Driesen <[email protected]>
  205. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  206. ArgumentNullException if items argument is null. Ignore null item in
  207. arrays. Removed extra tabs.
  208. 2006-12-19 Gert Driesen <[email protected]>
  209. * MonthCalendar.cs: Fixed InvalidCastException.
  210. 2006-12-19 Jackson Harper <[email protected]>
  211. * TextControl.cs: Don't increment the position here.
  212. - When calculating char positions only add in the line break size
  213. for hard line breaks.
  214. 2006-12-19 Andreia Gaita <[email protected]>
  215. * SendKeys.cs: Changed some things to match ms.net behaviour
  216. when parsing shifted capital letters.
  217. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  218. Add window handle as parameter to SendInput. X11 needs the
  219. window handle, and the handle being passed to it in the keys
  220. queue is the active control handle (which windows needs), not
  221. the window handle.
  222. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  223. to support SendKeys on X.
  224. * X11Keyboard: Implement helper method to lookup a linux keycode
  225. given the virtual keycode. Added table of keycode-2-virtualkey
  226. values to support this.
  227. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  228. * ListView.cs: Add support for SelectedIndexCollection
  229. and SelectedItemCollection 2.0 methods. Implement support
  230. for ImageKey too.
  231. * ListViewItem.cs: Add support for ListViewSubItemCollection
  232. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  233. (it shouldn't call Clear).
  234. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  235. 2006-12-19 Jackson Harper <[email protected]>
  236. * RichTextBox.cs:
  237. * TextBoxBase.cs: New args for FormatText
  238. * TextControl.cs: Rewrote the main drawing method, this version
  239. feels a little easier to understand and debug to me. Hopefully it
  240. does to others also
  241. - Fix FormatText to OR in the new formating values. Added
  242. FormatSpecified param, basically this works in the same way as
  243. BoundsSpecified in Control.
  244. - Set the caret properties when the caret is positioned.
  245. - When wrapping text make sure that we calculate the width of the
  246. last character
  247. - when calculating alignments we might have wrapped down to the
  248. next line, so don't search for an individual tag, search for the
  249. end of the line
  250. - We need to invalidate the selection area when we replace the
  251. selection.
  252. 2006-12-19 Daniel Nauck <[email protected]>
  253. * Application.cs: add Restart () 2.0 support
  254. 2006-12-18 Everaldo Canuto <[email protected]>
  255. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  256. property. Fixes #80268.
  257. 2006-12-18 Everaldo Canuto <[email protected]>
  258. * MenuAPI.cs: Dont trigger select event when closes top menu
  259. item. Fixes #80270.
  260. 2006-12-18 Everaldo Canuto <[email protected]>
  261. * MenuAPI.cs: When you click on menuitem only trigger onselect
  262. event for top menu itens. Fixes #80271.
  263. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  264. * MdiWindowManager.cs: Make IconicBounds depend on
  265. the bottom of MdiClient, not the top (fixes #80267)
  266. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  267. * MdiClient.cs: Added missing 2.0 attribute
  268. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  269. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  270. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  271. 2006-12-18 Everaldo Canuto <[email protected]>
  272. * MenuAPI.cs: Fix click when menuitem is not popup,
  273. this regression was caused by last commit (#80272).
  274. 2006-12-17 Everaldo Canuto <[email protected]>
  275. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  276. fire click event or close menu. Fixes #80272.
  277. 2006-12-17 Daniel Nauck <[email protected]>
  278. * ListViewHitTestInfo.cs: add
  279. 2006-12-17 Daniel Nauck <[email protected]>
  280. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  281. * FlatButtonAppearance.cs: add
  282. * DockingAttribute.cs: add
  283. 2006-12-17 Chris Toshok <[email protected]>
  284. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  285. and rebind our columns when it does - this way, if you make
  286. changes to the DataTable (or set the Table attribute on a DataView
  287. after setting it as the DataGrid's DataSource, the changes are
  288. made visible.) Fixes bug #80107.
  289. 2006-12-17 Daniel Nauck <[email protected]>
  290. * ListViewGroup.cs: add internal Location property for layouting.
  291. * Theme.cs: add abstract ListViewGroupHeight function.
  292. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  293. 2006-12-16 Andreia Gaita <[email protected]>
  294. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  295. Added reset of selected index to 0 when adding first tab page.
  296. Fixes #80264
  297. * NumericUpDown.cs: Fix NET_2_0 check
  298. 2006-12-16 Daniel Nauck <[email protected]>
  299. * ListViewGroup.cs: fixed DefaultValueAttribute value
  300. 2006-12-16 Daniel Nauck <[email protected]>
  301. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  302. 2006-12-15 Miguel de Icaza <[email protected]>
  303. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  304. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  305. ScrollableControl.cs: Add a handful of methods that are
  306. overwritten in 2.0
  307. 2006-12-15 Chris Toshok <[email protected]>
  308. * XplatUIWin32.cs: initial implementation of the Reversible
  309. drawing functions. there are some problems. DrawReversibleFrame
  310. doesn't seem to work at all for Dashed FrameStyle, and in the
  311. Thick case there are drawing errors at the corners (we probably
  312. need to bind Rectangle instead of doing moveto/lineto's.)
  313. 2006-12-16 Andreia Gaita <[email protected]>
  314. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  315. to send blocks of key messages. Send accumulates keys to send with Flush,
  316. while SendWait sends all keys immediately.
  317. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  318. XplatUIX11.cs, XplatUIX11-new.cs:
  319. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  320. to Win32 SendInput.
  321. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  322. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  323. testing for ms.net on this class is very tricky, as the tests run too fast
  324. to allow the hook to release, essentially freezing the keyboard and the
  325. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  326. category :p
  327. 2006-12-16 Daniel Nauck <[email protected]>
  328. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  329. added missing attributes.
  330. 2006-12-15 Daniel Nauck <[email protected]>
  331. * ListViewGroup.cs: Added missing attributes.
  332. * ListViewGroupCollection.cs: Added missing attributes.
  333. 2006-12-15 Daniel Nauck <[email protected]>
  334. * ListViewItem.cs: fixed ListViewSubItem text property.
  335. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  336. * Control.cs: Added missing 2.0 attributes
  337. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  338. * MdiClient.cs: Added missing 2.0 attribute.
  339. * MonthCalendar.cs: Added some missing 2.0 attributes
  340. and properties.
  341. 2006-12-15 Daniel Nauck <[email protected]>
  342. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  343. 2006-12-15 Jonathan Pobst <[email protected]>
  344. * MainMenu.cs: Add the new 2.0 constructor to help out people
  345. using the MainMenu in VS2005.
  346. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  347. * MdiChildContext.cs: Removed it, no longer used.
  348. * MdiClient.cs: Added missing 2.0 attributes.
  349. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  350. * InternalWindowManager.cs: Fix a NullRef with previous
  351. changes for toolwindows.
  352. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  353. * Control.cs:
  354. - Added AfterTopMostControl to allow for certain controls
  355. to always stay on top when normal controls are brought to
  356. front.
  357. * XplatUIWin32.cs:
  358. - (DrawInversibleRectangle): Get window rectangle from Win32
  359. in stead of from control, since Win32 doesn't calculate
  360. screen coords correctly from control's Location if it
  361. have docked siblings.
  362. * MdiWindowManager.cs:
  363. - Correct the control menu popup location when clicked on
  364. the maximized form icon. (fixes #80223.1)
  365. - Don't show moving rectangle if mouse hasn't moved from
  366. the original clicked point.
  367. - Removed FormGotFocus handler (not used).
  368. - Calculate the control buttons location from the main
  369. window's size and not client size (fixes #79770).
  370. - Form is now closed when the form icon is double-clicked
  371. (fixes #79775).
  372. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  373. * InternalWindowManager.cs:
  374. - Moved some MDI-only methods to MdiWindowManager.
  375. - Removed unused properties and methods.
  376. - Unified method naming for methods handling wm messages.
  377. - Moved all message handling to seperate methods for
  378. each message.
  379. * ThemeWin32Classic.cs:
  380. - DrawManagedWindowDecorations now draws the title bar
  381. with a gradient brush.
  382. - Add a CPDrawButtonInternal that allows us to specify
  383. light, normal and dark colors for the buttons (control
  384. buttons for MDI children were drawn with the same light
  385. color as the background, therefore loosing the 3D effect).
  386. * SizeGrip.cs:
  387. - Add a CapturedControl property that is used to
  388. determine the control to resize (defaults to parent).
  389. Needed for MdiClient, since its SizeGrip's parent is
  390. MdiClient, but the control to resize is the main form.
  391. * MdiClient.cs:
  392. - Set SizeGrip's CapturedControl to the main form in order
  393. to resize the main form and not the MdiClient.
  394. - Override AfterTopMostControl to leave the scrollbars
  395. always on top.
  396. 2006-12-15 Daniel Nauck <[email protected]>
  397. * ListView.cs: fixed ListViewItemCollection AddRange and
  398. implemented ListViewItemCollection AddRange 2.0 support.
  399. 2006-12-15 Daniel Nauck <[email protected]>
  400. * ListViewGroup.cs: Add.
  401. * ListViewGroupCollection.cs: Add
  402. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  403. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  404. stub for ImageKey 2.0 support.
  405. 2006-12-14 Mike Kestner <[email protected]>
  406. * ListView.cs: add text padding to the autocalculation for columns
  407. of width -2. Fixes #80207.
  408. 2006-12-14 Mike Kestner <[email protected]>
  409. * ListView.cs: add some index guarding for partial row navigation
  410. logic. Fixes #80250.
  411. 2006-12-14 Mike Kestner <[email protected]>
  412. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  413. are added or inserted to the collection. Fixes #81099.
  414. 2006-12-13 Everaldo Canuto <[email protected]>
  415. * MenuAPI.cs: Closes menu when right click out side of popup
  416. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  417. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  418. * ListViewItem.cs: Fix dumb error.
  419. * ListView.cs: Add Find and ContainsKey methods in
  420. ListViewItemCollection, and also return true for IsReadOnly
  421. and IsFixedSize (changes for 2.0).
  422. 2006-12-13 Gert Driesen <[email protected]>
  423. * Control.cs: Allow Region to be set to null.
  424. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  425. * MdiWindowManager.cs: Remove unused (commented out) code.
  426. * Form.cs: When the MdiChild is maximized, the form needs
  427. WM_NCMOUSELEAVE, so request it.
  428. * InternalWindowManager.cs:
  429. - Added tooltips to control buttons.
  430. - Removed duplicated control button handling code.
  431. - Removed unused (commented out) code.
  432. 2006-12-12 Everaldo Canuto <[email protected]>
  433. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  434. was used because we must set cursor without trigger ChangeCursor event
  435. and without change Cursor control property. Fixes #79963.
  436. 2006-12-12 Andreia Gaita <[email protected]>
  437. * Control.cs: Check if Region setter value is null, and ignore
  438. 2006-12-12 Jackson Harper <[email protected]>
  439. * TextControl.cs: We were almost always drawing one more line then
  440. needed, since the GetLineByPixel will return the last line found
  441. at that pixel. In most cases though, we were invalidating up to
  442. the junction between two lines.
  443. - Improve debug code.
  444. 2006-12-12 Chris Toshok <[email protected]>
  445. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  446. and FillReversibleRectangle.
  447. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  448. and FillReversibleRectangle.
  449. * XplatUIWin32.cs: add stubs which do nothing for
  450. DrawReversibleFrame, DrawReversibleLine, and
  451. FillReversibleRectangle.
  452. * XplatUIOSX.cs: add stubs which raise NIE for
  453. DrawReversibleFrame, DrawReversibleLine, and
  454. FillReversibleRectangle.
  455. * XplatUIX11.cs: add working implementation for
  456. DrawReversibleFrame, DrawReversibleLine, and
  457. FillReversibleRectangle.
  458. * ControlPaint.cs: implement DrawReversibleFrame,
  459. DrawReversibleLine, and FillReversibleRectangle, by calling into
  460. the appropriate XplatUI method.
  461. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  462. * Form.cs: Make MdiClient have the focus even if it's
  463. not selectable, since it should receive WM_KEY* and WM_MOUSE
  464. messages. Fixes #79907.
  465. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  466. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  467. queried after the window is created.
  468. * XplatUIX11.cs: Added SendParentNotify to implement
  469. WM_PARENTNOTIFY logic. Fixes #79965.
  470. * Control.cs: Added MakeParam.
  471. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  472. * MdiClient.cs: Resume Layout before setting window
  473. states (fixes #80201).
  474. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  475. * MenuAPI.cs: Deselect a menu item after performing
  476. the click (fixes #80197).
  477. 2006-12-11 Jackson Harper <[email protected]>
  478. * TextBoxBase.cs: We need to cap this value, since Maximum -
  479. ViewPortHeight can be less than zero.
  480. - Only do selection with the left mouse button.
  481. * TextBox.cs: Don't tell the world that we have a context menu.
  482. * Control.cs: New method so that we can control whether or not the
  483. context menu is visible outside MWF.
  484. 2006-12-11 Everaldo Canuto <[email protected]>
  485. * ToolBarButton.cs: Fix text positon.
  486. 2006-12-11 Miguel de Icaza <[email protected]>
  487. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  488. * Control.cs (DoubleBuffered): Add implementation.
  489. * Application.cs (OpenForms): Add.
  490. 2006-12-11 Jonathan Pobst <[email protected]>
  491. * Form.cs: Use opacity instead of Opactiy to determine if we need
  492. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  493. 2006-12-11 Jonathan Pobst <[email protected]>
  494. * Control.cs: Fix NRE if Control.Site was set to null.
  495. 2006-12-11 Chris Toshok <[email protected]>
  496. * Control.cs: ControlCollection.Remove should return if the arg is
  497. null, and ControlCollection.SetChildIndex should raise a ANE.
  498. 2006-12-11 Gert Driesen <[email protected]>
  499. * Control.cs: Verify value set for Dock property. Code formatting
  500. updates.
  501. 2006-12-11 Jackson Harper <[email protected]>
  502. * TextControl.cs: Draw the caret and the selection when a flag is
  503. set on the owner.
  504. * TextBoxBase.cs: We want to draw the caret and the selection for
  505. TextBox but not for TextBoxBase.
  506. - If the window is resized and scrolling is no longer needed (the
  507. whole doc is visible) set the scroll position to zero.
  508. - The default SelectWord (the one TextBox uses) should move the
  509. caret to the end of the word.
  510. - SelectAll moves the caret to the end of the selection.
  511. * TextBox.cs: We don't selectall on focus, we just do it when the
  512. control is created.
  513. 2006-12-11 Mike Kestner <[email protected]>
  514. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  515. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  516. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  517. 2.0 support.
  518. * ListViewItem.cs: Add Name 2.0 property.
  519. 2006-12-11 Andreia Gaita <[email protected]>
  520. * TabControl.cs: Set visibility on selected or default tab
  521. when tabcontrol handle is created, so that it's contents
  522. actually show up (duh). Fixes #80193
  523. Don't redraw the control if there is no handle created, as
  524. the selected index might be completely invalid. Added some tests
  525. to check for this.
  526. 2006-12-11 Everaldo Canuto <[email protected]>
  527. * ToolBar.cs: Uses maximun width and height of all buttons as
  528. button rectangle when ButtonSize specified, it looks strange but
  529. is what happens in Win32. Fixes #80189.
  530. 2006-12-11 Jackson Harper <[email protected]>
  531. * TextControl.cs: Need to track undo levels ourself, since
  532. compound actions will mess them up.
  533. 2006-12-10 Andreia Gaita <[email protected]>
  534. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  535. SelectedIndex value is changed (even if it's not valid).
  536. Reset SelectedIndex to 0 when the handle is created and if
  537. the current index is invalid.
  538. Fixes SelectdeIndex unit tests and #80128
  539. 2006-12-08 Chris Toshok <[email protected]>
  540. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  541. calls EndEdit, it needs to be called before we set current_cell to
  542. its new value. Otherwise, we end up committing the value in the
  543. textbox to the new cell as well. Fixes bug #80160.
  544. 2006-12-08 Chris Toshok <[email protected]>
  545. * Form.cs (set_CancelButton): if the button's DialogResult is
  546. None, set it to Cancel. Fixes bug 80180.
  547. 2006-12-08 Jackson Harper <[email protected]>
  548. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  549. to watch ourselves when setting the canvas size and setting the
  550. scrollbar values.
  551. 2006-12-08 Chris Toshok <[email protected]>
  552. * DataGrid.cs: comment out the two MakeTransparent calls for the
  553. time being so people using trunk (and not 1.2.2) on windows can
  554. actually use the datagrid. This deals with bug #80151.
  555. 2006-12-08 Jonathan Pobst <[email protected]>
  556. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  557. Graphics.DrawImage (image, int, int, int, int) overload instead
  558. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  559. the dpi difference and was blurring images it drew.
  560. [Fixes bug #79960]
  561. 2006-12-08 Chris Toshok <[email protected]>
  562. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  563. rowcnt is 0 (such as with an empty datasource), and make sure we
  564. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  565. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  566. 2006-12-08 Chris Toshok <[email protected]>
  567. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  568. grid.
  569. 2006-12-08 Chris Toshok <[email protected]>
  570. [ Fixes bug #80167 ]
  571. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  572. style is FlatStyle.System.
  573. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  574. ButtonBase.flat_style private, and switch uses of it to the public
  575. property.
  576. 2006-12-08 Chris Toshok <[email protected]>
  577. [ Fixes bug #80121 ]
  578. * ThemeWin32Classic.cs: center the caption text in the datagrid
  579. when we draw it.
  580. * DataGrid.cs: lessen the amount we add to the caption height from
  581. 6 to 2. 6 was making it huge.
  582. 2006-12-08 Andreia Gaita <[email protected]>
  583. * UpDownBase: Handle MouseWheel call directly instead of capturing
  584. the inner textbox's OnMouseWheel. Fixes #80166
  585. 2006-12-08 Jackson Harper <[email protected]>
  586. * TextControl.cs: We need to invalidate the textbox when we empty
  587. it (how had this not been discovered before?)
  588. 2006-12-08 Jackson Harper <[email protected]>
  589. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  590. to behave like MS, we now ignore the eventargs.Click and just
  591. track state ourself, which we were already doing anyways.
  592. - Constrain the double click handler to the double click size.
  593. 2006-12-08 Chris Toshok <[email protected]>
  594. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  595. direction if that scrollbar isn't shown. fixes bug #80158.
  596. 2006-12-08 Andreia Gaita <[email protected]>
  597. * NumericUpDown.cs: Update value on getter. Fixes #79950
  598. 2006-12-08 Chris Toshok <[email protected]>
  599. * MenuItem.cs: add back in the event cloning code. I didn't know
  600. how to do it in the face of the EventHandlerList work i'd done
  601. last week. Fixes bug #80183.
  602. 2006-12-08 Jonathan Pobst <[email protected]>
  603. * Control.cs: Add an invalidate to the BackgroundImage setter.
  604. [Fixes 80184]
  605. 2006-12-07 Jonathan Pobst <[email protected]>
  606. * ToolStrip*: Add some small properties reported by MoMA, fix event
  607. firing and default properties based off of unit tests, and add some
  608. attributes based off of the class status page.
  609. 2006-12-07 Jackson Harper <[email protected]>
  610. * TextBoxBase.cs: Take HideSelection into account when determining
  611. whether or not to show the selection.
  612. * RichTextBox.cs: After inserting the RTF into the document move
  613. the cursor to the beginning of the document.
  614. 2006-12-07 Jonathan Pobst <[email protected]>
  615. * Control.cs: Remove static ArrayList "controls" which maintained
  616. a reference to every control created.
  617. * Application.cs: Create a static FormCollection to maintain a reference
  618. to every form created. Use it in places that formerly enumerated through
  619. the controls one looking for forms.
  620. * Form.cs: Add and remove self from above FormCollection.
  621. 2006-12-07 Alexander Olk <[email protected]>
  622. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  623. not libgdk (though it makes me wonder why I didn't have any
  624. problems)
  625. 2006-12-07 Chris Toshok <[email protected]>
  626. [ you had to know this was coming after that last commit...]
  627. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  628. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  629. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  630. XCopyArea).
  631. 2006-12-07 Chris Toshok <[email protected]>
  632. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  633. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  634. all the behavior we need for double buffering.
  635. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  636. client side Bitmap, just like the old Control-based double buffer
  637. code did. The methods are virtual, so each XplatUI driver
  638. subclass can replace the implementation to use a faster, platform
  639. specific approach.
  640. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  641. double buffer code, and clean things up a bit in the process.
  642. 2006-12-06 Chris Toshok <[email protected]>
  643. * Control.cs: reindent WndProc.
  644. 2006-12-06 Chris Toshok <[email protected]>
  645. [ I wanna be like BenM when I grow up ]
  646. * Hwnd.cs: create a single static Graphics object on the static
  647. Bitmap we create. use this for our text measurements.
  648. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  649. This was causing us to allocate a backbuffer for every control,
  650. even when it wasn't flagged as double buffered. Instead use the
  651. single graphics instance. This might have implications for
  652. multithreaded applications. If we run into problems we can switch
  653. to creating 1 Graphics per control, on the static Hwnd bitmap.
  654. this change nets us a 7M savings in private dirty mappings when
  655. running FormsTest.exe.
  656. 2006-12-06 Chris Toshok <[email protected]>
  657. * ListView.cs: the BackgroundImage override is just to set
  658. attributes. chain up to base.BackgroundImage.
  659. * RichTextBox.cs: same.
  660. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  661. changes, so instead a handler for BackgroundImageChanged.
  662. * Control.cs: make background_image private.
  663. 2006-12-06 Chris Toshok <[email protected]>
  664. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  665. sure we even need this assignment, but roll with it for now.
  666. * Control.cs: make the cursor field private.
  667. 2006-12-06 Chris Toshok <[email protected]>
  668. * Form.cs: we don't need to explicitly set ImeMode to
  669. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  670. behavior in the face of ImeMode.Inherit.
  671. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  672. change the ctor's assignment to use ImeMode instead of ime_mode.
  673. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  674. ImeModeInherit. Only check for the parent's imemode (and return
  675. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  676. This fixes the button unit test, which sets both ImeMode and
  677. DefaultImeMode to ImeMode.Disable.
  678. also make the ime_mode field private.
  679. 2006-12-06 Chris Toshok <[email protected]>
  680. * Control.cs: make control_style private.
  681. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  682. setting the styles to true, then setting them to false instead of
  683. reverting to their previous values.
  684. also, call SetStyle on the scrollbars instead of using
  685. control_style directly.
  686. 2006-12-06 Jonathan Pobst <[email protected]>
  687. * FormCollection.cs: Implement. [2.0]
  688. 2006-12-06 Chris Toshok <[email protected]>
  689. * Control.cs: make tab_stop private.
  690. * Label.cs: set TabStop, not tab_stop. reformat some event
  691. add/remove methods to make them more compact.
  692. 2006-12-06 Chris Toshok <[email protected]>
  693. * RadioButton.cs: fix TabStop handling.
  694. 2006-12-06 Chris Toshok <[email protected]>
  695. * TextBox.cs: remove the explicit assignments to has_focus.
  696. Control does that.
  697. * ButtonBase.cs: remove the assignment to has_focus. Control will
  698. manage that.
  699. 2006-12-06 Chris Toshok <[email protected]>
  700. * ButtonBase.cs: remove all uses of is_enabled from this code.
  701. it's always true when any of the code containing the checks is
  702. executed.
  703. 2006-12-06 Chris Toshok <[email protected]>
  704. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  705. with different semantics (some are present in both 1.1 and 2.0
  706. profiles) so that we match MS's behavior in our unit tests.
  707. 2006-12-06 Jackson Harper <[email protected]>
  708. * TextControl.cs: Make this operation undoable.
  709. * TextBoxBase.cs: Factor the border width into the preferred
  710. height.
  711. - implement Modified as per the spec.
  712. 2006-12-06 Chris Toshok <[email protected]>
  713. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  714. 2006-12-06 Chris Toshok <[email protected]>
  715. * Control.cs: make right_to_left and context_menu fields private.
  716. 2006-12-06 Chris Toshok <[email protected]>
  717. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  718. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  719. Control.child_controls private. switch all uses over to
  720. Control.Controls.
  721. 2006-12-06 Chris Toshok <[email protected]>
  722. * System.Windows.Forms/GroupBox.cs,
  723. System.Windows.Forms/AccessibleObject.cs,
  724. System.Windows.Forms/ErrorProvider.cs,
  725. System.Windows.Forms/Control.cs,
  726. System.Windows.Forms/UpDownBase.cs,
  727. System.Windows.Forms/ScrollBar.cs,
  728. System.Windows.Forms/DateTimePicker.cs,
  729. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  730. System.Windows.Forms/ToolTip.cs,
  731. System.Windows.Forms/RadioButton.cs,
  732. System.Windows.Forms/LinkLabel.cs,
  733. System.Windows.Forms/Splitter.cs,
  734. System.Windows.Forms/TextBoxBase.cs,
  735. System.Windows.Forms/ToolStripTextBox.cs,
  736. System.Windows.Forms/ContainerControl.cs,
  737. System.Windows.Forms/ThemeWin32Classic.cs,
  738. System.Windows.Forms/SizeGrip.cs,
  739. System.Windows.Forms/ToolStripDropDown.cs,
  740. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  741. private. switch all uses over to Control.Parent.
  742. 2006-12-06 Chris Toshok <[email protected]>
  743. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  744. Control does this before calling emitting these events.
  745. * TabControl.cs: same.
  746. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  747. Control.client_rect.
  748. * ButtonBase.cs: use the ClientSize property instead of the
  749. client_size field.
  750. * ScrollableControl.cs: same.
  751. * Control.cs: another pass at making properties private. also,
  752. move the initialization of tab_stop to the ctor.
  753. 2006-12-05 Andreia Gaita <[email protected]>
  754. * TabControl.cs: Let the selected index be set freely if the
  755. control handle is not yet created.
  756. 2006-12-05 Jonathan Pobst <[email protected]>
  757. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  758. internal until I can rewrite DefaultLayout.
  759. * ToolStrip.cs: Fix build error and some general cleaning.
  760. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  761. Fix build errors caused by making some of Control's fields private.
  762. 2006-12-05 Jackson Harper <[email protected]>
  763. * TextControl.cs: Redo Insert a little so that it use IndexOf
  764. instead of Split, this prevents it from messing up on things like
  765. \n\n\n. Also more effecient since the split array doesn't need to
  766. be created.
  767. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  768. multiline text differently, this is the first of many fixes that
  769. will make multiline/non-multiline the same thing as far as the
  770. TextBoxBase is concerned.
  771. - Don't split the text and insert lines, this can lose some line
  772. endings (like is the last line a soft or hard break). Instead use
  773. the new Insert.
  774. - Fix an off by one when combining all the lines in the Text
  775. getter.
  776. - Remove separate multiline handling from the Text getter/setter.
  777. 2006-12-05 Chris Toshok <[email protected]>
  778. * ButtonBase.cs: a few changes:
  779. - don't reinitialize internal Control fields in the ctor when they
  780. have the same values as Control sets them.
  781. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  782. this before calling those methods.
  783. - we don't need to call Refresh for anything. use Invalidate
  784. instead.
  785. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  786. calls Refresh in its OnEnabledChanged.
  787. - several of the events we were registered for in the ctor to
  788. redraw ourselves already include calls to Invalidate in the
  789. property setters that raise the events. remove the extra
  790. invalidation.
  791. - reformat a switch statement that was 83274658 columns wide.
  792. 2006-12-05 Mike Kestner <[email protected]>
  793. * ComboBox.cs: fix a unit test regression from a TextBox
  794. SelectionLength return of -1 when there's no selection.
  795. 2006-12-05 Chris Toshok <[email protected]>
  796. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  797. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  798. cleaning up some of the internal Control fields being used by
  799. subclasses.
  800. 2006-12-05 Mike Kestner <[email protected]>
  801. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  802. listbox after AddImplicit calls since it defaults to hidden. Add a
  803. hack to preserve requested heights across DropDownStyle changes.
  804. 2006-12-05 Jonathan Pobst <[email protected]>
  805. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  806. 2006-12-05 Chris Toshok <[email protected]>
  807. * DataGridView.cs: fix compiler warnings.
  808. * PrintControllerWithStatusDialog.cs: same.
  809. * ToolBar.cs: same.
  810. * FolderBrowserDialog.cs: same.
  811. * Splitter.cs: same.
  812. * DataGridViewComboBoxCell.cs: same.
  813. * XplatUIWin32.cs: same.
  814. * PictureBox.cs: same.
  815. * Win32DnD.cs: same.
  816. * PageSetupDialog.cs: same.
  817. * FileDialog.cs: same.
  818. * PrintDialog.cs: same.
  819. * DataGridTextBoxColumn.cs: same.
  820. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  821. 2006-12-05 Chris Toshok <[email protected]>
  822. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  823. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  824. System.ComponentModel.EventHandlerList work.
  825. 2006-12-05 Jonathan Chambers <[email protected]>
  826. * DrawTreeNodeEventArgs.cs: Added.
  827. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  828. * InternalWindowManager.cs: Remove an unused field.
  829. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  830. * InternalWindowManager.cs:
  831. - Save the point where the title bar is clicked.
  832. * MdiWindowManager.cs:
  833. - Only allow moving of the window as long as the
  834. clicked point on the title bar does not get out of
  835. MdiClient's rectangle. Fixes #79982.
  836. * MdiClient.cs:
  837. - Added Horizontal/VerticalScrollbarVisible.
  838. - Simplified the scrollbar sizing algorithm.
  839. - Cache the difference in scrolled value in
  840. H/VBarValueChanged and move the calculation out
  841. of the for loop.
  842. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  843. * Control.cs: Make the Console.WriteLine in WndProc
  844. write more info.
  845. 2006-12-05 Chris Toshok <[email protected]>
  846. * ToolStripManager.cs, ToolStripButton.cs,
  847. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  848. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  849. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  850. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  851. ToolStripProgressBar.cs, ToolStripContainer.cs,
  852. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  853. to using System.ComponentModel.EventHandlerList.
  854. 2006-12-04 Chris Toshok <[email protected]>
  855. * LinkLabel.cs: fix up compiler warnings.
  856. * TableLayoutSettings.cs: same.
  857. * TreeView.cs: same.
  858. * ToolBar.cs: same.
  859. * TabControl.cs: same.
  860. * RichTextBox.cs: same.
  861. * ListViewItem.cs: same.
  862. * PropertyGrid.cs: same.
  863. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  864. * ToolTip.cs same.
  865. * TextRenderer.cs: fix up compiler warnings.
  866. * Label.cs: same.
  867. * Form.cs: corcompare fixes.
  868. * PictureBox.cs: fix up compiler warnings.
  869. * ImageListStreamer.cs: same.
  870. * TrackBar.cs: corcompare fix.
  871. * Control.cs: fix up compiler warnings.
  872. * SplitterPanel.cs: same.
  873. * NumericTextBox.cs: same.
  874. * ImageList.cs: same.
  875. * StatusStrip.cs: same.
  876. * ProgressBar.cs: corcompare fix.
  877. * ToolStripButton.cs: fix up compiler warnings.
  878. * ToolStripStatusLabel.cs: same.
  879. * ToolStripSplitButton.cs: same.
  880. * ToolStripSeparator.cs: same.
  881. * ToolStripProgressBar.cs: same.
  882. * ToolStripDropDownMenu.cs: same
  883. * ToolStripDropDown.cs: same.
  884. * ToolStripDropDownButton.cs: same.
  885. * ToolStrip.cs: same.
  886. * ToolStripControlHost.cs: same.
  887. * ToolStripContentPanel.cs: same.
  888. * ToolStripDropDown.cs: same.
  889. * ToolStripContainer.cs: same.
  890. * ToolStripPanel.cs: same, and add "new" where we need it to work
  891. with the new ArrangedElementCollection.
  892. * ToolStripItemCollection.cs: add "new" where we need it to work
  893. with the new ArrangedElementCollection.
  894. 2006-12-04 Andreia Gaita <[email protected]>
  895. * TabControl.cs: Fix default tab selection to after TabControl
  896. gets focus and not before. Fixes #80128
  897. 2006-12-04 Chris Toshok <[email protected]>
  898. * DataGridTableStyle.cs: remove the gross calling of
  899. datagrid.Refresh from here. It's a broken idea and it doesn't
  900. work anyway.
  901. * DataGrid.cs: instead, just register/unregister from the
  902. DataGridTableStyle events in CurrentTableStyle. we play it
  903. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  904. even though some would most likely not require it. Fixes bug
  905. #80115 (and one portion of #80117 as a side effect).
  906. 2006-12-04 Chris Toshok <[email protected]>
  907. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  908. so the textbox (if any) goes away. Fixes bug #80117.
  909. 2006-12-04 Chris Toshok <[email protected]>
  910. * DataGridColumnStyle.cs: set the column's readonly property
  911. initially based on the property descriptor's IsReadOnly. Fixes
  912. bug #80044.
  913. 2006-12-04 Chris Toshok <[email protected]>
  914. * ComboBox.cs: wrap the dropdown style changing work in
  915. SuspendLayout/ResumeLayout. Fixes bug #79968.
  916. 2006-12-04 Jackson Harper <[email protected]>
  917. * TextBoxBase.cs: Fix off by one, since these are one-based.
  918. * TextBox.cs: Select all the text when we get focus. The TextBox
  919. does this but the RTB does not.
  920. 2006-12-04 Chris Toshok <[email protected]>
  921. * DataGridTextBoxColumn.cs: remove some spew.
  922. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  923. but some part of me is saying "it shouldn't be here.." At any
  924. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  925. setting the value.
  926. 2006-12-04 Chris Toshok <[email protected]>
  927. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  928. to reassign the propertydescriptor.
  929. 2006-12-04 Jackson Harper <[email protected]>
  930. * TextBoxBase.cs:
  931. * TextControl.cs: Remove some unused variables. Maybe this will
  932. patch things up between mike and I.
  933. - don't split lines less then one char wide, if the viewport is
  934. that small text won't be visible anyways.
  935. 2006-12-04 Jackson Harper <[email protected]>
  936. * TextBoxBase.cs: Default selection length is -1, need to do some
  937. more testing on windows to see when this is used for the property.
  938. - Redid the Lines [] property to that we properly remove soft line
  939. breaks
  940. - added support for preserving carriage returns
  941. - CanUndo is not a variable like 'is undo enabled' it just returns
  942. true if there is undo operations available.
  943. - AppendText doesn't need to grab the last tag itself anymore,
  944. this happens automatically when we move the cursor.
  945. * TextControl.cs: Add CompoundActions to the undo class. This
  946. allows combining the other operations into one big option. ie a
  947. paste will combine { delete old, insert new, move cursor }
  948. - Add InsertString undo operation
  949. - New method for deleting multiline text
  950. - Add carriage returns to lines. So we can preserve carriage
  951. returns when text is 'roundtripped'
  952. 2006-12-04 Chris Toshok <[email protected]>
  953. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  954. minimum 0. Fixes the scrollbar exception in bug #80136.
  955. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  956. * MdiClient.cs:
  957. * MdiWindowManager: Removed unused fields and methods.
  958. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  959. * StatusBar.cs: Update all panels when a AutoSize=Contents
  960. panel needs updating.
  961. * StatusBarPanel.cs: Remove twidth and only use initialize.
  962. Fixes #80031.
  963. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  964. * Form.cs: When a form's MdiParent is set add it directly
  965. on top of the z-order in stead of relying on MdiClient's
  966. ActivateChild to do it. Fixes #80135.
  967. * MdiClient.cs:
  968. - Remove original_order, mdi_child_list is already doing
  969. the same thing.
  970. - Create mdi_child_list on construction in
  971. stead of first use (avoids a few null checks).
  972. * MenuItem.cs: Use an already existing list of mdi children
  973. to get the correct order of children and remove the other
  974. redundant list.
  975. 2006-12-04 Chris Toshok <[email protected]>
  976. * PropertyGridView.cs: cached_splitter_location is only used in
  977. !DOUBLEBUFFER code.
  978. * PropertyGrid.cs: implement the ComComponentNameChanged event
  979. using Events, hoping that would fix the warning. Looks like a
  980. compiler bug instead (#80144).
  981. * PropertyManager.cs: remove unused method.
  982. 2006-11-04 Everaldo Canuto <[email protected]>
  983. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  984. include parentesis to fix expression evaluation. Fixes #79634.
  985. 2006-11-02 Everaldo Canuto <[email protected]>
  986. * MenuAPI.cs:
  987. - Changes to fix behavior in Menu control, some reported in #80097
  988. and other detected during behavior refactory like a select event
  989. problems.
  990. - Remove unneded "if's" conditions.
  991. - Created an internal to flag when popup is active in control, we need
  992. it because in .NET you can have menu active but without popup active
  993. when you active menu using popup without visible items.
  994. - Mimic win32 behavior for Select and Popup events.
  995. - Dont open popup menu when you dont have visible subitems.
  996. - Do nothing when click on disabled menu item.
  997. - Some small changes to follow the coding style guidelines.
  998. - Unselect menu only when another control gives focus. Fixes #80097.
  999. - Remove unused code.
  1000. * MenuItem.cs: internal VisibleItems method to check if menu
  1001. theres visible subitems, it will be usefull to fix some
  1002. behavior in Menu control.
  1003. 2006-11-01 Everaldo Canuto <[email protected]>
  1004. * Timer.cs: Tag property for 2.0 profile.
  1005. 2006-12-01 Chris Toshok <[email protected]>
  1006. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  1007. * Win32DnD.cs: comment out some unused fields.
  1008. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  1009. some unused properties/methods.
  1010. * XplatUIX11.cs: fix MousePosition so we override the base class's
  1011. property instead of conflicting with it.
  1012. * PictureBox.cs: comment out some unused fields
  1013. * OSXStructs.cs: make some struct fields public.
  1014. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  1015. MousePosition so we override the base class's property instead of
  1016. conflicting with it.
  1017. * X11Dnd.cs: comment out some unused fields
  1018. * X11DesktopColors.cs: fix some struct field visibility to quiet
  1019. the compiler.
  1020. * X11Dnd.cs: remove some debug code.
  1021. * ThemeClearlooks.cs: comment out unused field.
  1022. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  1023. * ThemeGtk.cs: comment out some unused pinvokes.
  1024. * Timer.cs: remove some unused fields.
  1025. * ThemeClearlooks.cs: comment out unused field.
  1026. * UpDownBase.cs: comment out unused field.
  1027. * DataObject.cs: comment out unused field.
  1028. * DataGridBoolColumn.cs: reomve unused field.
  1029. * DataGrid.cs: remove unused field.
  1030. * Cursor.cs: remove old ToBitmap code.
  1031. * ControlPaint.cs: remove unused method.
  1032. * ScrollBar.cs: remove unused fields.
  1033. * ComboBox.cs: remove unused field, and chain up to
  1034. AccessibleObject ctor.
  1035. * ListBox.cs: remove unused field.
  1036. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  1037. * GridEntry.cs: remove unused fields.
  1038. * Binding.cs: remove unused fields.
  1039. * AxHost.cs: remove unused method.
  1040. * ContainerControl.cs: remove unused field.
  1041. * ScrollableControl.cs: remove unused fields.
  1042. 2006-12-01 Chris Toshok <[email protected]>
  1043. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  1044. the Where/WhereString stuff. it's easy enough to CWL
  1045. Environment.StackTrace.
  1046. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  1047. unused private fields.
  1048. 2006-12-01 Jackson Harper <[email protected]>
  1049. * TextControl.cs: Do not update the view while inserting multiline
  1050. text. If we update the view we might wrap lines, before entering
  1051. the new lines, which causes the new line insertion calculations to
  1052. be totally fubared.
  1053. - Remove an old TODO
  1054. - Make debug output a little nicer
  1055. 2006-12-01 Chris Toshok <[email protected]>
  1056. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  1057. 2006-12-01 Chris Toshok <[email protected]>
  1058. [ fix the majority of the CS0108 warnings we've been suppressing ]
  1059. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  1060. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  1061. to "LayoutToolBar" to quiet mcs.
  1062. * TabControl.cs: mark our ControlCollection class as 'new'.
  1063. * TextBoxBase.cs: mark some events as 'new'.
  1064. * Splitter.cs: TabStop is 'new'.
  1065. * ControlBindingsCollection.cs: mark a few methods as new since
  1066. they change the visibility from protected to public.
  1067. * RadioButton.cs: DoubleClick -> base class, and remove unused
  1068. HaveDoubleClick.
  1069. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  1070. events as new.
  1071. * NumericUpDown.cs: TextChanged -> base class.
  1072. * CheckedListBox.cs: mark our ObjectCollection class as new to
  1073. quiet mcs.
  1074. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  1075. muck with the base class.
  1076. * StatusBar.cs: fix some mcs warnings about Update being the same
  1077. name as a base class method.
  1078. * RichTextBox.cs: mark some events as new, and make them do things
  1079. to the base class impl.
  1080. * UserControl.cs: mark TextChanged as new, and have it manipulate
  1081. base.TextChanged.
  1082. * UpDownBase.cs: mark some things new.
  1083. * CheckBox.cs: mark DoubleClick "new", and add some text about
  1084. what we need to look at.
  1085. * Panel.cs: make the events "new", and manipulate the base
  1086. version. these are just here for attributes.
  1087. * AccessibleObject.cs: make owner private.
  1088. * Control.cs: deal with AccessibleObject.owner being private.
  1089. cache our own copy if we need it.
  1090. * Button.cs: add "new" to the DoubleClickEvent.
  1091. * ListBox.cs: no need to track our own has_focus here. let
  1092. Control.has_focus do it for us. Also some other work to clear up
  1093. warnings about not overriding base class methods of the same name.
  1094. * ComboBox.cs: clear up some warnings about not override base
  1095. class methods of the same name.
  1096. 2006-12-01 Chris Toshok <[email protected]>
  1097. * Form.cs: flag a few things as "new" to quiet some of the mcs
  1098. warnings.
  1099. * AxHost.cs: same.
  1100. * PrintPreviewDialog.cs: same.
  1101. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  1102. now DGV isn't so horrible on the class status page. also, move
  1103. all events to using System.ComponentModel.EventHandlerList. my
  1104. wrists hurt.
  1105. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  1106. * MdiWindowManager.cs:
  1107. - Set form to active mdi child if shown,
  1108. and update the active mdi child to the next
  1109. remaining child in the z-order if the form is hidden.
  1110. * Form.cs:
  1111. - Track if the form has been visible and if its
  1112. visibility is beeing changed, so that the MdiClient
  1113. can properly decide the ActiveMdiChild. The MdiClient
  1114. cannot track this since the form can change visibility
  1115. before MdiClient is created.
  1116. * MdiClient.cs:
  1117. - Don't activate anything of the parent form is changing
  1118. its visibility.
  1119. - Rework ActiveMdiChild to only return visible mdi
  1120. children and take into account several other corner
  1121. cases.
  1122. 2006-12-01 Chris Toshok <[email protected]>
  1123. * IBindableComponent.cs: new 2.0 interface.
  1124. 2006-12-01 Gert Driesen <[email protected]>
  1125. * DataGrid.cs: Font for caption area is bold by default.
  1126. 2006-12-01 Everaldo Canuto <[email protected]>
  1127. * Menu.cs: Tag property for 2.0.
  1128. 2006-11-01 Everaldo Canuto <[email protected]>
  1129. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  1130. 2006-12-01 Chris Toshok <[email protected]>
  1131. * TreeView.cs: doh, the Begin* events should be
  1132. TreeViewCancelEventHandler.
  1133. 2006-12-01 Chris Toshok <[email protected]>
  1134. * Form.cs: Form.ControlCollection already stores off the
  1135. form_owner field. don't access the base class's internal "owner"
  1136. field.
  1137. * Control.cs: make all the fields in Control.ControlCollection
  1138. private. there's no need for any internal fields here.
  1139. 2006-12-01 Chris Toshok <[email protected]>
  1140. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  1141. OnHandleCreated. Fixes bug #80109.
  1142. 2006-12-01 Chris Toshok <[email protected]>
  1143. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  1144. SplitContainer.cs, Control.cs, StatusStrip.cs,
  1145. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  1146. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  1147. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  1148. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  1149. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  1150. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  1151. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  1152. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  1153. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  1154. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  1155. do most of the work to convert our code over to use
  1156. System.ComponentModel.Component.Events for
  1157. adding/removing/dispatching events.
  1158. 2006-11-30 Jonathan Pobst <[email protected]>
  1159. * DataGridView.cs: Fix an ArgumentNullException reported
  1160. twice today in IRC.
  1161. 2006-11-30 Mike Kestner <[email protected]>
  1162. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  1163. grabbed listbox. Fixes #80036 and #80101.
  1164. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  1165. * Message.cs: Changed ToString() to match MS.
  1166. 2006-11-30 Jackson Harper <[email protected]>
  1167. * TextBoxBase.cs: You can still change the selected text on a read
  1168. only textbox.
  1169. * TextControl.cs: Lower magic number for wrap calculations. This
  1170. lets text get closer to the right (far) edge.
  1171. 2006-11-30 Jonathan Pobst <[email protected]>
  1172. * Control.cs: Tweak 2.0 layout properties.
  1173. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  1174. * TextRenderer.cs: Add a new overload.
  1175. * ToolStrip*: Huge amount of changes and new features.
  1176. 2006-11-30 Mike Kestner <[email protected]>
  1177. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  1178. scroll range correct. Fixes #79994.
  1179. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  1180. * MdiWindowManager.cs: Update main form's text when
  1181. a form is closed. (fixes #80038)
  1182. 2006-11-30 Everaldo Canuto <[email protected]>
  1183. * ToolBar.cs:
  1184. - Fix an regression in ButtonSize.
  1185. - Get ImeMode default value change to "Disable".
  1186. - Get ShowTooltips default value change to true, default value is
  1187. "false" but after make a test in .NET we get "true" result as default.
  1188. 2006-11-29 Jonathan Pobst <[email protected]>
  1189. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  1190. 2006-11-29 Chris Toshok <[email protected]>
  1191. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  1192. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  1193. SetWindowTransparency hasn't been called.
  1194. 2006-11-29 Chris Toshok <[email protected]>
  1195. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  1196. if it's supported.
  1197. (set_AllowTransparency): reorder things a little so that the
  1198. WS_EX_LAYERED style is removed properly.
  1199. 2006-11-29 Chris Toshok <[email protected]>
  1200. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  1201. * Form.cs: only call the XplatUI transparency method (get/set) if
  1202. SupportsTransparency says it's supported. Otherwise fallback to
  1203. doing nothing (in the set case) or returning the instance field we
  1204. cache (in the get case).
  1205. * XplatUIStructs.cs: add TransparencySupport flag enum.
  1206. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  1207. change to SupportsTransparency.
  1208. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  1209. TransparencySupport.None from SupportsTransparency.
  1210. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  1211. TransparencySupport.Set from SupportsTransparency.
  1212. * XplatUIWin32.cs: implement GetWindowTransparency calling
  1213. GetLayeredWindowAttributes, and implement SupportsTransparency by
  1214. checking whether or not both
  1215. GetWindowTransparency/SetWindowTransparency are available
  1216. entrypoints. We need to do this since SetWindowTransparency is
  1217. available as of win2k, but GetWindowTransparency requires winxp.
  1218. yay win32 api.
  1219. * XplatUI.cs: Add GetWindowTransparency, and change
  1220. SupportsTransparency to allow for either/both Get/Set.
  1221. 2006-11-29 Chris Toshok <[email protected]>
  1222. * DataGrid.cs: keep from going into an infinite loop redrawing a
  1223. datagrid that has no datasource. Fixes bug #80033.
  1224. 2006-11-29 Chris Toshok <[email protected]>
  1225. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  1226. Invalidate) before the mainmenu has been assigned to a control.
  1227. 2006-11-29 Chris Toshok <[email protected]>
  1228. * DataGrid.cs: detect when we should be double the double click
  1229. row/column autosize stuff, although that codepath has yet to be
  1230. written. part of the work for bug #79891.
  1231. 2006-11-29 Chris Toshok <[email protected]>
  1232. * Binding.cs (SetControl): fix unit test.
  1233. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  1234. * PageSetupDialog.cs: Validate the margins and set them in
  1235. PageSettings.
  1236. * NumericTextBox.cs: New class to mimic the behavior of the
  1237. textboxes used in the printing dialogs.
  1238. 2006-11-29 Andreia Gaita <[email protected]>
  1239. * Form.cs: Revert previous change (remove call UpdateBounds
  1240. from form constructor), because it messes with the handle creation
  1241. order, and that one needs lots and lots of love.
  1242. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  1243. for valid printer and throw InvalidPrinterException if document
  1244. is set but printer not valid), adding a MonoTODO. Once
  1245. handle creation is done properly, we can put this back in.
  1246. 2006-11-28 Everaldo Canuto <[email protected]>
  1247. * MenuItem.cs: Create a invalidate method for menu item, to be
  1248. calling from set text, it make text changes to imadiate update
  1249. on screen. Fixes #80013.
  1250. 2006-11-28 Everaldo Canuto <[email protected]>
  1251. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  1252. fixes bug #80070 and some other problem on toolbar buttons
  1253. layout.
  1254. 2006-11-28 Everaldo Canuto <[email protected]>
  1255. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  1256. with dotted brush. Fixes #79564
  1257. 2006-11-28 Andreia Gaita <[email protected]>
  1258. * Form.cs: Removed call to UpdateBounds on Form
  1259. constructor, it was causing a call to CreateHandle
  1260. before it was supposed to.
  1261. * PrintControllerWithStatusDialog: Applied patch
  1262. by Chris Toshok to hide controller when there are
  1263. no printers available.
  1264. PrintDialog.cs: initialize printer settings to
  1265. null - correct DefaultValues test #5
  1266. * PrintPreviewControl.cs: Move PrintController
  1267. initialization to GeneratePreview
  1268. * PrintPreviewDialog.cs:
  1269. - Remove Preview generation from Document_set(). It is
  1270. called on OnPaint
  1271. - Throw InvalidPrinterException on CreateHandle if
  1272. a Document is set but there are no printers or
  1273. printer is not valid.
  1274. * ThemeWin32Classic: don't paint PrintPreviewControl
  1275. if there is nothing to paint
  1276. 2006-11-28 Miguel de Icaza <[email protected]>
  1277. * Form.cs: Add another popular method.
  1278. * TabPage.cs: ditto.
  1279. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1280. * MenuItem.cs: Fixed a warning.
  1281. * InternalWindowManager: Fixed a warning.
  1282. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1283. * MenuItem.cs:
  1284. - When cloning a menu also clone MdiList and clone the
  1285. window menu items properly (as the forms and menuitems
  1286. are kept in an internal hashtable, these need updating
  1287. as well)
  1288. - Rewrote the window menu code, menu items are added in the
  1289. order the forms were added to their parent, and they are
  1290. updated every time the window menu is shown (before the
  1291. list was only generated once, in the current order of the
  1292. forms, and would never be updated). A checkmark is shown
  1293. next to the item corresponding to the active mdi child.
  1294. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1295. * XplatUIStructs.cs:
  1296. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  1297. * XplatUIWin32.cs:
  1298. - Added TME_NONCLIENT to TMEFlags.
  1299. - Handles WM_NCMOUSEMOVE in GetMessage to
  1300. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  1301. * MdiWindowManager:
  1302. - Now merges mdi child menu to parent menu when maximized.
  1303. - Recalculate NC areas of both mdi child and mdi parent.
  1304. Fixes #79757 (4).
  1305. on window state and size changes.Fixes #79844 (3).
  1306. - Handle WM_NCCALCSIZE to properly calculate borders.
  1307. * Form.cs:
  1308. - Add/remove to the mdi containers list of mdi children
  1309. in the order they are added.
  1310. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  1311. to the maximized mdi child.
  1312. * InternalWindowManager.cs:
  1313. - Only execute a click on the control buttons on the mouse up,
  1314. not on the mouse down. Show the state of the button
  1315. (was only showing Normal state, never Pressed state). The
  1316. pressed button now follows the mouse (if you click the Close
  1317. button and move the mouse over the Maximize button, the
  1318. Maximize button will be shown as pressed). Since Win32 does
  1319. not generate WM_NCLBUTTONUP if you release the button outside
  1320. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  1321. it as a mouse up.
  1322. * ThemeWin32Classic.cs:
  1323. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  1324. * MdiClient.cs:
  1325. - Added a list of forms which contains the order the forms are
  1326. added to the mdi parent.
  1327. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  1328. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  1329. - If the active form changes set the scrollbars to the top
  1330. of the Z order, otherwise the form could hide them.
  1331. - Scrollbars are now sized according to ClientSize, not
  1332. to Size, and they take into account the other scrollbar
  1333. to determine maximum.
  1334. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1335. * XplatUI.cs:
  1336. * XplatUIDriver.cs:
  1337. * XplatUIX11.cs:
  1338. * XplatUIWin32.cs:
  1339. * XplatUIOSX.cs:
  1340. - Added RequestAdditionalWM_NCMessages for windows to
  1341. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  1342. Currently only implemented in XplatUIWin32.
  1343. 2006-11-27 Chris Toshok <[email protected]>
  1344. * Hwnd.cs: only add the hwnd to the windows hash in
  1345. set_WholeWindow and set_ClientWindow if whole_window/client_window
  1346. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  1347. 2006-11-27 Mike Kestner <[email protected]>
  1348. * ComboBox.cs: remove redundant OnDropDown call. It is called
  1349. from the ComboListBox.ShowWindow code. Fixes #79969.
  1350. 2006-11-27 Chris Toshok <[email protected]>
  1351. * Hwnd.cs: remove the setters for ExposePending and
  1352. NCExposePending - noone uses them.
  1353. 2006-11-27 Jackson Harper <[email protected]>
  1354. * TextControl.cs: new param for ReplaceSelection which determines
  1355. whether we select the new selection, or set the cursor to the end
  1356. of the new selection.
  1357. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  1358. pasting, select the new text.
  1359. * RichTextBox.cs: Use new param for ReplaceSelection.
  1360. 2006-11-27 Jackson Harper <[email protected]>
  1361. * TextBoxBase.cs: Set the selection to the caret after the caret
  1362. is moved, otherwise they get out of sync.
  1363. 2006-11-26 Everaldo Canuto <[email protected]>
  1364. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  1365. it fixes #80015
  1366. 2006-11-26 Everaldo Canuto <[email protected]>
  1367. * ThemeWin32Classic.cs:
  1368. - Fix toolbar drop down arrow position.
  1369. - Fix drop down appearance when ToolBar.Appearance is normal,
  1370. it fixes #80018.
  1371. 2006-11-26 Gert Driesen <[email protected]>
  1372. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  1373. * Control.cs: Same.
  1374. * UpDownBase.cs: Same.
  1375. * ButtonBase.cs: Same.
  1376. * ScrollBar.cs: Same.
  1377. * TrackBar.cs: Same.
  1378. * PictureBox.cs: Same.
  1379. * UserControl.cs: Same.
  1380. * Label.cs: Same.
  1381. * ListControl.cs: Same.
  1382. * TextBoxBase.cs: Same.
  1383. * ListView.cs: Same.
  1384. * RichTextBox.cs: Same.
  1385. * TreeView.cs: Same.
  1386. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  1387. * PrintDialog.cs:
  1388. - Text label for where
  1389. - Text label comment was not shown
  1390. 2006-11-23 Everaldo Canuto <[email protected]>
  1391. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  1392. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  1393. * InternalWindowManager.cs:
  1394. - Handle WM_PARENTNOTIFY to activate the form
  1395. if any child control is clicked.
  1396. - The form is only sizable if not minimized.
  1397. * MdiWindowManager.cs:
  1398. - Save the IconicBounds if the form is moved.
  1399. - Rework SetWindowState, now the window bounds
  1400. are stored only if the old window state is Normal.
  1401. * MdiClient.cs:
  1402. - In SetWindowStates store the old window state if
  1403. the window is maximized and restore window state if
  1404. the window looses focus.
  1405. - Don't handle any scrollbar value changes if
  1406. initializing the scroll bars. Fixes #79771.
  1407. - Reworked ArrangeIconicWindows. Current algorithm
  1408. tests bounds agains all other minimized windows, if
  1409. any intersections create new bounds (going left to
  1410. right, bottom to top) and then test again. When
  1411. successful the bounds are saved and never computed
  1412. again. Fixes #79774.
  1413. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  1414. * InternalWindowManager.cs: Added HandleTitleBarUp.
  1415. 2006-11-23 Gert Driesen <[email protected]>
  1416. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  1417. hexadecimal in ParseUserEdit.
  1418. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  1419. * MdiWindowManager.cs:
  1420. - Handle a click on the form's icon to show the
  1421. system menu (when maximized). Fixes #79775.
  1422. - Change the existing click handler for the form's
  1423. icon when not maximized to show on MouseUp.
  1424. Fixes #79776.
  1425. * Form.cs: In OnResize only layout the mdi child's
  1426. parent if it actually has a parent. Might not if
  1427. the window is closing.
  1428. 2006-11-23 Gert Driesen <[email protected]>
  1429. * MdiClient.cs: Ignore active MDI client for text of parent, if
  1430. child has no text set.
  1431. 2006-11-23 Gert Driesen <[email protected]>
  1432. * ToolBar.cs: Fixed ToString to match MS.
  1433. 2006-11-22 Andreia Gaita <[email protected]>
  1434. * NumericUpDown:
  1435. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  1436. update inner values on set. Fixes #79966.
  1437. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  1438. - Fix hexadecimal parsing.
  1439. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  1440. parent. Fixes #79957
  1441. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  1442. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  1443. the actual size has to be queried, since if height /
  1444. width is negative Win32 changes it to 0.
  1445. Fixes #79999 on Windows.
  1446. * XplatUIX11.cs: Set height / width to 0 if negative
  1447. in SetWindowPos. Fixes #79999 on Linux.
  1448. 2006-11-22 Everaldo Canuto <[email protected]>
  1449. * ThemeWin32Classic.cs: Fix text redenring when button is
  1450. pressed.
  1451. 2006-11-22 Everaldo Canuto <[email protected]>
  1452. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  1453. and later navigate by mouse. Fixes #79528.
  1454. 2006-11-21 Everaldo Canuto <[email protected]>
  1455. * ToolBar.cs: Set default value for TabStop to false in
  1456. constructor, it fixes remaining behavior of bug #79863.
  1457. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  1458. * MdiWindowManager.cs:
  1459. * InternalWindowManager.cs:
  1460. - Moved a few methods specific to Mdi from
  1461. InternalWindowManager to MdiWindowManager.
  1462. Fixes #79996.
  1463. 2006-11-21 Chris Toshok <[email protected]>
  1464. * XplatUIOSX.cs: stub out InvalidateNC.
  1465. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  1466. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  1467. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  1468. * XplatUIDriver.cs: add InvalidateNC abstract method.
  1469. * XplatUI.cs: add InvalidateNC.
  1470. 2006-11-21 Everaldo Canuto <[email protected]>
  1471. * ToolBar.cs: Invalidate complete button area when pressed status
  1472. was changed.
  1473. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  1474. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  1475. by 1 when button is pressed.
  1476. 2006-11-20 Everaldo Canuto <[email protected]>
  1477. * ToolButton.cs: Invalidate middle of DropDown button when
  1478. ToolBar theres DropDownArrows.
  1479. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  1480. fix DropDown drawing operations.
  1481. 2006-11-20 Chris Toshok <[email protected]>
  1482. * NativeWindow.cs: fix the formatting of functions ('{' on the
  1483. following line), and enable the thread exception dialog.
  1484. * Application.cs: remove the duplicate exception catching from
  1485. here.
  1486. 2006-11-20 Everaldo Canuto <[email protected]>
  1487. * Toolbar.cs: Triggers button click event when click on icon
  1488. of dropdown ToolBarButton. Fixes #79912.
  1489. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  1490. * Theme.cs:
  1491. * ThemeWin32Classic.cs:
  1492. - Added a property WindowBorderFont to enable themeing
  1493. of mdi child windows' Text.
  1494. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  1495. * InternalWindowManager.cs:
  1496. * Form.cs:
  1497. * MdiClient.cs:
  1498. * MdiWindowManager.cs:
  1499. - If mdi child is maximized, set mdi parent's
  1500. text to "Parent - [Child]". Fixes #79770.
  1501. - If there is any maximized mdi child windows, only the active
  1502. window (and any new windows) is maximized, the rest are normal.
  1503. - On a WindowState change only save mdi child's window bounds
  1504. if the old window state was normal. Fixes #79774.
  1505. - The scroll bars are now calculated on hopefully all
  1506. necessary events. Fixed #79771 / #79844->6 / #79906.
  1507. - MdiClient.SizeScrollBars() now takes into account docked
  1508. controls in the parent when calculating available space.
  1509. - InternalWindowManager now always repaints the entire title
  1510. area. Fixes #79844->1/4/5.
  1511. - Added RequestNCRecalc on mdi child windowstate changes.
  1512. Fixes #79772.
  1513. 2006-11-20 Mike Kestner <[email protected]>
  1514. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  1515. in the MouseUp handler of the listbox and move the return handling
  1516. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  1517. 2006-11-20 Everaldo Canuto <[email protected]>
  1518. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  1519. 2006-11-17 Alexander Olk <[email protected]>
  1520. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  1521. working in 1.2.x anymore. So, updated.
  1522. 2006-11-19 Gert Driesen <[email protected]>
  1523. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  1524. NumberGroupSeparator of current culture instead of assuming en-US.
  1525. Fixed bug #79967.
  1526. 2006-11-17 Mike Kestner <[email protected]>
  1527. * Control.cs: Add the concept of implicit bounds setting so that
  1528. dock/undock round trips preserve explicitly set size/locations.
  1529. Fixes #79313.
  1530. 2006-11-17 Alexander Olk <[email protected]>
  1531. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  1532. can't handle those filters. (Fixes bug #79961)
  1533. 2006-11-17 Chris Toshok <[email protected]>
  1534. [ fixes the exit/crashes associated with #79835. it's clearly
  1535. suboptimal though, we need to figure out a better way to solve
  1536. this. ]
  1537. * PrintPreviewControl.cs: deal with the new invalid printer
  1538. exceptions.
  1539. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  1540. and return false (so CommonDialog.ShowDialog doesn't actually show
  1541. the form.)
  1542. * PrintDialog.cs: enable/disable the Ok button depending on
  1543. whether or not the printer is valid.
  1544. * CommonDialog.cs (ShowDialog): only actually show the form if
  1545. RunDialog returns true.
  1546. 2006-11-17 Jackson Harper <[email protected]>
  1547. * TextControl.cs: When soft splitting a line, mark it as a soft
  1548. split line. Also carry over the current line break to the next
  1549. line.
  1550. 2006-11-17 Chris Toshok <[email protected]>
  1551. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  1552. only want to shift the part of the invalid area that overlaps the
  1553. area we're scrolling. we also don't want to clear the invalid
  1554. area unless the invalid area was entirely contained within the
  1555. scrolling area.
  1556. 2006-11-16 Chris Toshok <[email protected]>
  1557. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  1558. also make sure to free the memory returned by XGetWindowProperty
  1559. in GetText().
  1560. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  1561. 2006-11-16 Chris Toshok <[email protected]>
  1562. * XplatUI.cs: add a new super secret way to get at the totally
  1563. unsupported X11 backend.
  1564. 2006-11-16 Gert Driesen <[email protected]>
  1565. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  1566. 2006-11-16 Jackson Harper <[email protected]>
  1567. * TreeView.cs: Allow more explicit setting of top node position
  1568. for scrollbars. Slower algo, but more accurate.
  1569. - CollapseAll should maintain the current top node.
  1570. * TextBoxBase.cs: When positioning the caret, use the line, pos
  1571. method, since the x, y method does not grab the correct tag, and
  1572. the caret height never gets set correctly. (Maybe I should just do
  1573. away with the caret having its own height, and always use the
  1574. carets current tag for height).
  1575. 2006-11-16 Jonathan Pobst <[email protected]
  1576. [Fixes 79778, 79923]
  1577. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  1578. Parent to the FosterParent instead.
  1579. 2006-11-16 Jackson Harper <[email protected]>
  1580. * TreeView.cs: Need to recalc the topnode when we expand or
  1581. collapse. The scrolling methods can't handle this on their own,
  1582. since they use differences between the last scroll position, and
  1583. those difference get completely messed up since we are expanding
  1584. nodes. This problem should probably be fixed in the scrolling
  1585. methods, so they can figure out exactly where they are, but this
  1586. will slow things down a little.
  1587. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  1588. strings, makes nunit-gui look a lot nicer.
  1589. 2006-11-16 Chris Toshok <[email protected]>
  1590. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  1591. the broken multithreaded event handling we have in here. File
  1592. this entry under "Why we should move to the new X11 backend".
  1593. Any thread can make it into UpdateMessageQueue, which gets events
  1594. from the X socket - some of which could belong to hwnds being
  1595. managed by a different thread. We can also have multiple threads
  1596. in UpdateMessageQueue at the same time, with each one reading from
  1597. the X socket. This leads to many problems, with the following
  1598. solutions:
  1599. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  1600. EnqueueLocked.
  1601. The MotionNotify compression we do can't work across threads
  1602. (without locking the entire queue, perhaps) since we call
  1603. hwnd.Queue.Peek, so we just punt and don't compress motion events
  1604. unless the owning thread is the one which got the X event.
  1605. ConfigureNotify is another fun one, since it modifies the hwnd's
  1606. bounds and then enqueues the event. We add a lock to Hwnd which
  1607. is held when setting configure_pending to true (and enqueuing the
  1608. event).
  1609. There is a race wrt the wake socket. we need to make sure that
  1610. only 1 thread is waiting on that socket, or else a thread could
  1611. sleep waiting for data that never comes. It's difficult (but not
  1612. impossible) to make happen, because it seems to require something
  1613. like the following:
  1614. 1. Thread 1 polls on wake_receive
  1615. 2. poll returns saying there's data to be read on
  1616. wake_receive.
  1617. 3. Thread 2 polls on wake_receive and immediately returns
  1618. saying there's data to be read.
  1619. 4. Thread 2 reads the wakeup byte from wake_receive
  1620. 5. Thread 1 attempts to read the wakeup byte from
  1621. wake_receive.
  1622. 6. Thread 2 exits (due to a form closing, perhaps).
  1623. 7. Thread 1 blocks forever.
  1624. Fun, eh?
  1625. Fixing the Expose handling isn't done yet, and the races inherent
  1626. in that piece of code are responsible for the drawing mistakes you
  1627. see when generating expose events in a MT app (like NPlot). This
  1628. one is the likely to be the hardest to bandaid, and it doesn't
  1629. appear to cause anything but drawing problems. The other issues
  1630. caused apps to exit or hang.
  1631. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  1632. called from a different thread than the one that should be calling
  1633. these functions.
  1634. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  1635. 2006-11-15 Chris Toshok <[email protected]>
  1636. * Application.cs: null out the context's MainForm when we exit
  1637. RunLoop. Fixes a newly checked in unit test as well as the last
  1638. ODE from bug #79933.
  1639. 2006-11-15 Chris Toshok <[email protected]>
  1640. * Form.cs (set_Owner): allow a null value so we can clear the
  1641. form's owner.
  1642. (Dispose): set all our owned_form's Owner properties to null, and
  1643. clear the owned_forms collection.
  1644. (WM_CLOSE): clean up this a little bit.. still not right though.
  1645. * ApplicationContext.cs: OnMainFormClosed should only call
  1646. ExitThreadCore if the main form isn't recreating. Fixes unit
  1647. test.
  1648. 2006-11-15 Jonathan Pobst <[email protected]>
  1649. [Fixes 78346]
  1650. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  1651. 2006-11-15 Jonathan Pobst <[email protected]>
  1652. [Fixes 79433]
  1653. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  1654. keep popup window types from stealing focus from the main form
  1655. on Windows.
  1656. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  1657. * MenuAPI.cs: Set above flag to true.
  1658. 2006-11-15 Chris Toshok <[email protected]>
  1659. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  1660. the button being released is not in wParam.
  1661. 2006-11-15 Jonathan Pobst <[email protected]>
  1662. * Form.cs: Add the released button to MouseEventArgs.Button
  1663. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  1664. on Win32.
  1665. 2006-11-15 Chris Toshok <[email protected]>
  1666. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  1667. GetText(). untested because it's unused in our implementation.
  1668. Control.Text always caches the text, even if
  1669. ControlStyles.CacheText is not set.
  1670. fixes bug #79939.
  1671. 2006-11-15 Chris Toshok <[email protected]>
  1672. [ fixes #79933 ]
  1673. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  1674. message. no hiding, no disposing.
  1675. in the WM_CLOSE handler, hide the form if it's modal.
  1676. 2006-11-15 Chris Toshok <[email protected]>
  1677. * XplatUIX11.cs: use AddExpose instead of sending a message.
  1678. fixes textbox border drawing.
  1679. 2006-11-15 Chris Toshok <[email protected]>
  1680. * PropertyGridView.cs: keep from crashing on mouse move/down when
  1681. the property grid is empty.
  1682. 2006-11-14 Jackson Harper <[email protected]>
  1683. * TextControl.cs: Make PageUp and PageDown more like the MS
  1684. versions.
  1685. * TextBoxBase.cs: When we set the text property position the
  1686. cursor at the beginning of the document.
  1687. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  1688. * Form.cs: if a mdi child's WindowState has changed
  1689. before it's creation, it would display wrong control
  1690. buttons.
  1691. 2006-11-14 Alexander Olk <[email protected]>
  1692. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  1693. (Fixes bug #79927)
  1694. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  1695. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  1696. the window gets to paint its borders even if the window is
  1697. getting smaller.
  1698. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  1699. otherwise the old control buttons would still be painted
  1700. if the window gets bigger.
  1701. * PaintEventArgs.cs: add an internal method so that the clip
  1702. rectangle can be changed.
  1703. 2006-11-13 Chris Toshok <[email protected]>
  1704. [ fixes bug #79745 ]
  1705. * NotifyIcon.cs: lots of cleanup.
  1706. * X11Structs.cs: add an enum for XEMBED messages.
  1707. * XplatUIX11.cs: reindent one of the giant switch statements, it
  1708. was taking up an additional tab stop, and this file is already way
  1709. too wide for my laptop's screen.
  1710. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  1711. we get it, resize the hwnd to the WMNormalHints max_width/height.
  1712. 2006-11-13 Jackson Harper <[email protected]>
  1713. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  1714. teh simple way.
  1715. 2006-11-13 Chris Toshok <[email protected]>
  1716. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  1717. #79898. force a reference to the Region to stick around so the
  1718. unmanaged object isn't collected (rendering our handle in the MSG
  1719. stale).
  1720. 2006-11-13 Chris Toshok <[email protected]>
  1721. * XplatUIX11.cs: fix #79917 for window managers which support
  1722. using XStoreName on the raw utf8, and we need to convert to
  1723. COMPOUND_TEXT if it's non-latin1.
  1724. 2006-11-13 Chris Toshok <[email protected]>
  1725. * Form.cs (set_DialogResult): we need to set closing to false if
  1726. we're setting our result to None. fixes bug #79908.
  1727. 2006-11-13 Jackson Harper <[email protected]>
  1728. * TextControl.cs: When formatting text, compute the adjusted tag
  1729. lengths correctly, using FindTag for the end tag instead of trying
  1730. to figure it out outselves.
  1731. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  1732. the item, ItemHeight doesn't work, because trees with large
  1733. imagelists use those for their height
  1734. * TreeView.cs: ActualItemHeight factors in the image height
  1735. - compute left edge of checkboxes correctly
  1736. - when expanding/collapsing move the bottom down one pixel, so we
  1737. aren't moving part of the node
  1738. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  1739. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  1740. stack in PaintEventStart so that it won't get disposed by the gc
  1741. before reaching PaintEventEnd.
  1742. 2006-11-13 Jackson Harper <[email protected]>
  1743. * TextBoxBase.cs: Don't select the word if we are on a line with
  1744. no text.
  1745. - We don't need to position the caret on mouse up, since the mouse
  1746. move handler should be doing this
  1747. - When double clicking a blank line, the caret is advanced to the
  1748. next line.
  1749. 2006-11-13 Gert Driesen <[email protected]>
  1750. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  1751. 2006-11-12 Gert Driesen <[email protected]>
  1752. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  1753. Fixes part of bug #79910.
  1754. 2006-11-11 Alexander Olk <[email protected]>
  1755. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  1756. (bug #79903). Some minor string updates to match ms.
  1757. 2006-11-10 Alexander Olk <[email protected]>
  1758. * FileDialog.cs: Don't add an extension if the filename
  1759. already ends with that extension.
  1760. 2006-11-10 Jackson Harper <[email protected]>
  1761. * TreeView.cs: Use the currently highlighted node for the
  1762. BeforeSelect event.
  1763. * TextBoxBase.cs: There is no need to expand selection on
  1764. MouseMove.
  1765. - CanUndo means 'is there any undo operations', not 'is undo
  1766. allowed on this textcontrol. Fixed ClearUndo unit test.
  1767. 2006-11-10 Andreia Gaita <[email protected]>
  1768. * Button.cs: only perform click when button is Selectable (so as
  1769. not to activate default buttons when they're disabled)
  1770. * Control.cs: Rewrite of the SelectNextControl and related
  1771. methods. HandleClick now selects next control if the current one
  1772. is being disabled.
  1773. * Form.cs: OnActivated selects next active control only if Load
  1774. has already occurred. If Load hasn't run, there's no point in
  1775. selecting here, Load might change the state of controls.
  1776. * FocusTest.cs: Tests marked as working again for these fixes
  1777. 2006-11-10 Chris Toshok <[email protected]>
  1778. * XplatUIX11.cs: a couple of fixes.
  1779. - use XInternAtoms with almost all the atoms we need to register,
  1780. instead of many, many calls to XInternAtom. should help a bit on
  1781. startup time, at the expense of making the code look a little
  1782. worse.
  1783. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  1784. isn't reparented (which seems to be a clue that we're running fon
  1785. compiz) and they have an Owner form. This fixes the tool windows
  1786. in paint.net when running under compiz.
  1787. - when setting the opacity of a window, support both the case
  1788. where the window has been reparented and also when it hasn't been.
  1789. Since compiz/beryl doesn't seem to reparent windows, and these are
  1790. the only window managers which support translucency, I'm not sure
  1791. why we need the hwnd.reparented case at all.. but leave it in.
  1792. now we get translucent windows in paint.net under compiz/beryl.
  1793. 2006-11-10 Alexander Olk <[email protected]>
  1794. * FileDialog.cs: Always return the value for FilterIndex that
  1795. was set. Internally convert it to values that make sense.
  1796. 2006-11-10 Everaldo Canuto <[email protected]>
  1797. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  1798. 2006-11-10 Everaldo Canuto <[email protected]>
  1799. * Toolbar.cs: Change default value of DropDownArrows to true, the
  1800. signature still using false to make it compatible with MS but the
  1801. initial value is true. Fixes #79855.
  1802. 2006-11-10 Alexander Olk <[email protected]>
  1803. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  1804. only available on Linux.
  1805. 2006-11-09 Everaldo Canuto <[email protected]>
  1806. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  1807. reduce number of calls to redraw method during toolbar creation.
  1808. 2006-11-09 Mike Kestner <[email protected]>
  1809. * ListView.cs : raise SelectedIndexChanged when an item is selected
  1810. programmatically via the Item.Selected property. Gert's nice
  1811. ListViewSelectedIndexChanged test fixture now runs clean.
  1812. 2006-11-09 Mike Kestner <[email protected]>
  1813. * ListView.cs : raise SelectedIndexChanged when a selected item is
  1814. removed from the item collection using Remove or RemoveAt.
  1815. 2006-11-09 Mike Kestner <[email protected]>
  1816. * ListView.cs : raise SelectedIndexChanged once per selected item
  1817. for compat with MS. Fixes #79849+.
  1818. 2006-11-09 Chris Toshok <[email protected]>
  1819. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  1820. we need to (if we have any tab pages). Fixes unit test.
  1821. 2006-11-09 Chris Toshok <[email protected]>
  1822. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  1823. width is 0, not 3. Fixes a unit test.
  1824. 2006-11-09 Mike Kestner <[email protected]>
  1825. * ListView.cs : use Implicit scrollbars so that focus isn't
  1826. stolen from the listview when they are clicked. Fixes #79850.
  1827. 2006-11-09 Chris Toshok <[email protected]>
  1828. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  1829. have a root item. Fixes #79879.
  1830. 2006-11-09 Alexander Olk <[email protected]>
  1831. * FileDialog.cs:
  1832. - Fix ToString ()
  1833. - An ArgumentException is now thrown if a wrong filter
  1834. is applied (matches ms). The previous filter doesn't change
  1835. anymore if an exception is thrown.
  1836. - Changing the FileName property also affects FileNames
  1837. * ColorDialog.cs: The length of the CustomColors array is always
  1838. 16. It doesn't matter if we use a smaller array or null to update
  1839. or change the custom colors property.
  1840. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  1841. for RootFolder if we get a undefined value.
  1842. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  1843. * StatusBarPanel.cs:
  1844. - Width is set to MinWidth if Width is smaller than
  1845. MinWidth. Fixes #79842.
  1846. - MinWidth now always overrides Width (MSDN says MinWidth
  1847. is set to Width when AutoSize = None, but they do not
  1848. behave like that).
  1849. - Style has now the the correct default value.
  1850. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  1851. * TrackBar.cs:
  1852. - The control is completely invalidated on
  1853. Got/LostFocus to draw the focus rectangle correctly.
  1854. - When AutoSize then height is always 45 (width for
  1855. vertical controls).
  1856. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  1857. on the mouse when moved and it doesn't move when grabbed
  1858. until the mouse moves as well. Also fixed some wrong
  1859. calculations when clicking on the thumb (control thought
  1860. click was outside of thumb and didn't grab it).
  1861. Fixes some of the issues in #79718.
  1862. 2006-11-08 Everaldo Canuto <[email protected]>
  1863. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  1864. 2006-11-08 Chris Toshok <[email protected]>
  1865. * PropertyGridView.cs: only call ToggleValue if the item is not
  1866. readonly.
  1867. 2006-11-08 Jackson Harper <[email protected]>
  1868. * TextBoxBase.cs: The RichTextBox and textbox have very different
  1869. word selection methods. Implement the textbox's simple word
  1870. selection here, and let the RichTextBox override and provide it's
  1871. own.
  1872. - Don't do extra selection on mouseup
  1873. * RichTextBox.cs: Use the documents word selection algorithm, I
  1874. think ideally, this function will be pulled into the
  1875. RichTextBox.cs code someday.
  1876. 2006-11-08 Chris Toshok <[email protected]>
  1877. * RootGridEntry.cs: new class to represent GridItemType.Root.
  1878. * CategoryGridEntry.cs: reformat, and add boilerplate.
  1879. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  1880. returns the UI parent anyway, and we need special handling to
  1881. implement the GetTarget method in the face of it. Also, implement
  1882. Select().
  1883. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  1884. a root grid item, and use that instead of PropertyGrid.grid_items.
  1885. Also, make use of TypeConverters (and add limitted support for
  1886. ICustomTypeDescriptors) when initially populating the grid.
  1887. Arrays now show up more or less properly.
  1888. 2006-11-08 Chris Toshok <[email protected]>
  1889. * Application.cs: set the modal dialog to non modal after we close
  1890. it. Fixes bug #79866.
  1891. 2006-11-08 Jackson Harper <[email protected]>
  1892. * TextControl.cs: When combining lines carry over the line end
  1893. style from the end line.
  1894. - Invalidate the selected area when setting it, if it is visible.
  1895. * TextBoxBase.cs: Only rich text box can do full line selects.
  1896. - Make sure to set the cursor position when there is a click,
  1897. otherwise two clicks in separate areas could cause a large chunk
  1898. to be selected.
  1899. 2006-11-07 Everaldo Canuto <[email protected]>
  1900. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  1901. Fixes #79863.
  1902. 2006-11-07 Everaldo Canuto <[email protected]>
  1903. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  1904. time. Remove tooltips when ToolButton click events. Fixes #79856.
  1905. 2006-11-07 Everaldo Canuto <[email protected]>
  1906. * MenuAPI.cs: Ignore right click for menu actions and fixes
  1907. menu border when clicked. Fixes #79846.
  1908. 2006-11-07 Everaldo Canuto <[email protected]>
  1909. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  1910. MouseState after create wParam for message, this fixes mouse button
  1911. equal none in mouse up events.
  1912. 2006-11-07 Andreia Gaita <[email protected]>
  1913. * Control.cs : Focus() now calls Select to set the Container's
  1914. Active Control and to give it focus. To avoid infinite recursion
  1915. (because ActiveControl also calls Focus at one point), a check
  1916. is made in Focus with the help of a new internal variable
  1917. is_focusing.
  1918. 2006-11-07 Mike Kestner <[email protected]>
  1919. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  1920. if there's a selection. Fixes #79849.
  1921. 2006-11-07 Gert Driesen <[email protected]>
  1922. * PropertyGrid.cs: Avoid fixed height of help description label.
  1923. Fixes part of bug #79829.
  1924. 2006-11-07 Chris Toshok <[email protected]>
  1925. * XplatUIX11.cs: fix #79790 again, by using the
  1926. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  1927. 2006-11-07 Everaldo Canuto <[email protected]>
  1928. * ToolBar.cs: Fix left click checking.
  1929. 2006-11-07 Chris Toshok <[email protected]>
  1930. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  1931. 2006-11-07 Chris Toshok <[email protected]>
  1932. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  1933. PropertyManager unit tests.
  1934. * PropertyManager.cs: make property_name internal.
  1935. 2006-11-07 Chris Toshok <[email protected]>
  1936. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  1937. pass a unit test. Also, don't set image_index to anything in
  1938. response to setting the ImageList property.
  1939. 2006-11-07 Everaldo Canuto <[email protected]>
  1940. * ToolBar.cs: Ignore click events when mouse button is not a
  1941. left button, only accepts other button for dropdown menus.
  1942. Fixes #79854.
  1943. 2006-11-07 Chris Toshok <[email protected]>
  1944. * DataGrid.cs: make the back and parent row buttons a little less
  1945. ugly.
  1946. 2006-11-07 Jackson Harper <[email protected]>
  1947. * TextBoxBase.cs: When converting to Text don't put line breaks in
  1948. for soft line breaks.
  1949. * TextControl.cs: There is an initial "fake" line in the document,
  1950. this is now a soft break line, so that an extra line feed doesn't
  1951. get added to the end of documents.
  1952. 2006-11-07 Chris Toshok <[email protected]>
  1953. [ fix bug #79778 ]
  1954. * CurrencyManager.cs: if the list is readonly, don't bother
  1955. checking if IBindingList.AllowNew is true.
  1956. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  1957. for non-DataRowView datasources.. or rather, make it not crash.
  1958. (DataGridPaintRelationRow): make sure we limit the row painting to
  1959. the area not covered by the row header, and make our cell width at
  1960. least large enough to cover the relation area. This allows grids
  1961. that have relations but no rows to render correctly.
  1962. (DataGridPaintRowContents): same type of changes here.
  1963. (SetDataSource): move back to always calling
  1964. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  1965. navigating back through relations.
  1966. (HitTest): handle the case where we have no cells but have
  1967. relations. Right now we generate a hit in cell 0 of whatever the
  1968. row is, not sure if this is strictly correct, but it works for our
  1969. purposes.
  1970. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  1971. bother doing anything.
  1972. 2006-11-07 Jonathan Pobst <[email protected]>
  1973. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  1974. early version of StatusStrip. Not responsible for eaten
  1975. application or firstborn children.
  1976. 2006-11-06 Chris Toshok <[email protected]>
  1977. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  1978. call GetTabRect with a -1 index. Fixes #79847.
  1979. 2006-11-06 Jackson Harper <[email protected]>
  1980. * TreeNodeCollection.cs: Update scrollbars after clearing.
  1981. 2006-11-06 Chris Toshok <[email protected]>
  1982. * NumericUpDown.cs: fix the ToString method for some unit test
  1983. love.
  1984. 2006-11-06 Chris Toshok <[email protected]>
  1985. * PropertyGrid.cs:
  1986. - set the initial SelectedGridItem if we can.
  1987. - Exclude non-mergable properties only if we're merging > 1
  1988. object. Merging 1 object isn't really merging, obviously.
  1989. - Handle PropertySort.NoSort just like Alphabetical, which is
  1990. wrong of course, but at least gets things on the screen.
  1991. * PropertyGridView.cs:
  1992. - Add method "FindFirstItem" which finds the first property grid
  1993. item, so we can select it by default.
  1994. - make use of GridEntry.CanResetValue.
  1995. - Don't call RedrawBelowItemOnExpansion here anymore, the
  1996. individual GridEntry's will do that.
  1997. - Remove the ITypeDescriptorContextImpl internal class.
  1998. * GridEntry.cs:
  1999. - this class needs to implement ITypeDescriptorContext, as it's
  2000. what MS's PropertyDescriptorGridEntry does, which means we can
  2001. remove the ITypeDescriptorContextImpl internal class from
  2002. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  2003. - keep a reference to our PropertyGridView, and move the call to
  2004. RedrawBelowItemOnExpansion here from PGV. This means
  2005. programmaticly setting Expanded actually does something visible.
  2006. - add a CanResetValue() function which takes into account our
  2007. possibly multiple "selected_objects" in the merged case. Shifting
  2008. PropertyGridView to use this method fixes another unreported
  2009. crasher found running the test for #79829.
  2010. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  2011. is updated to reflect this.
  2012. * CategoryGridEntry.cs: the ctor takes the PGV now.
  2013. 2006-11-06 Jackson Harper <[email protected]>
  2014. * TextControl.cs: These are 1 based.
  2015. * TextBoxBase.cs: When setting the selected text, don't change the
  2016. selected text tags, this is done by ReplaceText, just position the
  2017. cursor at the end of the new text.
  2018. 2006-11-06 Alexander Olk <[email protected]>
  2019. * ListView.cs: Allow label edit only when, when LabelEdit is
  2020. set to true.
  2021. 2006-11-06 Jackson Harper <[email protected]>
  2022. * TextControl.cs: If a suitable wrapping position isn't found,
  2023. just wrap right in the middle of a word.
  2024. 2006-11-06 Alexander Olk <[email protected]>
  2025. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  2026. bug #79820.
  2027. 2006-11-06 Jackson Harper <[email protected]>
  2028. * TreeView.cs: Can't use the VisibleCount property when setting
  2029. scrollbar heights, because this doesn't take into account whether
  2030. or not the horz scrollbar just came visible.
  2031. 2006-11-05 Everaldo Canuto <[email protected]>
  2032. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  2033. activated. Fixes #79369, #79832.
  2034. 2006-11-05 Alexander Olk <[email protected]>
  2035. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  2036. had to remove support for links that point to a directory. FileInfo
  2037. returns no usefull information (means, the directory they point to)
  2038. for such links. Replaced some empty string ("") with String.Empty.
  2039. 2006-11-04 Gert Driesen <[email protected]>
  2040. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  2041. NullReferenceException when attempting to remove node that is not in
  2042. collection. Throw NullReferenceException when null is passed to
  2043. Remove. Allow first element of the collection to be removed. Fixes
  2044. bug #79831. In GetEnumerator ().Current return null if positioned
  2045. before the first element of the collection. In GetEnumerator ().Reset,
  2046. position before first element of the collection.
  2047. 2006-11-04 Gert Driesen <[email protected]>
  2048. * PropertyGrid.cs: To match MS, remove default title and description
  2049. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  2050. buttons.
  2051. 2006-11-04 Chris Toshok <[email protected]>
  2052. * Theme.cs: add a Clamp method, just for kicks.
  2053. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  2054. 2006-11-04 Chris Toshok <[email protected]>
  2055. * Form.cs: if the form isn't visible, Close() does nothing.
  2056. 2006-11-03 Chris Toshok <[email protected]>
  2057. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  2058. Hide it.
  2059. (WndProc): don't Dispose after handling the WM_CLOSE message.
  2060. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  2061. them as such, instead of using casts from Control to Form. Also,
  2062. don't Dispose of the modal dialog when we fall out of the loop -
  2063. Close() it instead.
  2064. fixes bug #79813.
  2065. 2006-11-03 Chris Toshok <[email protected]>
  2066. * Control.cs (Dispose): only go through the dispose thing if we're
  2067. @disposing, and we haven't already been disposed. Fixes bug
  2068. #79814.
  2069. * Form.cs: no reason to call "base.Dispose()" here instead of
  2070. "Dispose()".
  2071. 2006-11-03 Mike Kestner <[email protected]>
  2072. * ComboBox.cs : use ToString instead of casts in AddItem for
  2073. sorting functionality. Fixes #79812.
  2074. 2006-11-03 Chris Toshok <[email protected]>
  2075. * Application.cs: pave the way for actually using the thread
  2076. exception dialog. it's ifdefed out at the moment.
  2077. 2006-11-03 Chris Toshok <[email protected]>
  2078. * ThreadExceptionDialog.cs: until we get a better layout, actually
  2079. hide the details textbox and label when we shouldn't see them.
  2080. 2006-11-03 Jackson Harper <[email protected]>
  2081. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  2082. multiline textboxes anymore. This method also determines the
  2083. width/height of a textboxes canvas area.
  2084. - Sorta a revert of the last patch. For multiline just position
  2085. the controls, then bail. This way the scrollbar width won't be
  2086. altered.
  2087. 2006-11-03 Everaldo Canuto <[email protected]>
  2088. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  2089. it dont need. Fixes #79537.
  2090. 2006-11-02 Jackson Harper <[email protected]>
  2091. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  2092. send the status after firing the DndOver event.
  2093. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  2094. * TrackBar.cs: Now orientation only switches height / width if
  2095. the control's handle is created (Win32 does it like this). Also
  2096. fixed a typo in ToString() for a test to pass, changed the
  2097. exception thrown in set_LargeChange and set_SmallChange to
  2098. match Win32 behaviour, and added TrackBar tests to the unit
  2099. tests.
  2100. 2006-11-02 Chris Toshok <[email protected]>
  2101. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  2102. not _NET_WM_STATE_NO_TASKBAR.
  2103. 2006-11-02 Jackson Harper <[email protected]>
  2104. * TextControl.cs: Increment count by one, since in the update view
  2105. count - 1 is used.
  2106. 2006-11-02 Jackson Harper <[email protected]>
  2107. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  2108. the mouse is in the client rectangle (duh).
  2109. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  2110. * TrackBar.cs: Fixed trackbar jumping around when clicking
  2111. on it - the trackbar was not detecting correctly at which
  2112. side of the thumb the click was done. (fixes #79718)
  2113. 2006-11-02 Everaldo Canuto <[email protected]>
  2114. * ListBox.cs: scroll visible area when change SelectedIndex to
  2115. a non visible area. Fixes #79481.
  2116. 2006-11-01 Jackson Harper <[email protected]>
  2117. * TextControl.cs: When replacing the selection move the selection
  2118. start/end/anchor to the end of the new text.
  2119. 2006-11-01 Jackson Harper <[email protected]>
  2120. * XplatUIWin32.cs: When setting the parent change the controls
  2121. visibility to it's visibility flag, not to it's old parents
  2122. visibility (.Visible walks the parent chain).
  2123. 2006-11-01 Chris Toshok <[email protected]>
  2124. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  2125. XSetTransientForHint fix breaks paint .net's tool windows. more
  2126. work needed for that one.
  2127. 2006-11-01 Chris Toshok <[email protected]>
  2128. * ScrollBar.cs: throw ArgumentException instead of Exception in
  2129. LargeChange/SmallChange setters. fixes unit tests.
  2130. 2006-10-31 Andreia Gaita <[email protected]>
  2131. * ContainerControl.cs: reverted rev.67183 (which was itself
  2132. a reversion of rev.66853... eh).
  2133. * Control.cs: Fixes Reflector hang by changing Focus() call
  2134. to what it was before rev.66643 (calling Select() here sets
  2135. ActiveControl, which in some situations calls back Focus and
  2136. eventually does a stack overflow). Temp fix.
  2137. Changes to GetNextControl() to not look for children to select when
  2138. parent cannot be selectable (so it looks for siblings instead)
  2139. 2006-10-31 Mike Kestner <[email protected]>
  2140. * CheckedListBox.cs : off by one error in returned index from
  2141. ObjectCollection.Add. Fixes #79758.
  2142. 2006-10-31 Chris Toshok <[email protected]>
  2143. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  2144. calls for the textbox/spinner, to keep from recursing to the point
  2145. where we crash. Fixes #79760.
  2146. 2006-10-31 Chris Toshok <[email protected]>
  2147. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  2148. null/"" value, just return. matches ms's behavior and fixes some
  2149. failing tests.
  2150. 2006-10-31 Chris Toshok <[email protected]>
  2151. * Control.cs (set_Capture): make a logic a little easier to
  2152. follow.
  2153. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  2154. if it's being destroyed. A necessary fix surely, but a bandaid
  2155. also, to fix the stuck capture problem in bug #78413.
  2156. 2006-10-31 Chris Toshok <[email protected]>
  2157. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  2158. convention of clearing hwnd.ClientRect when we set the
  2159. width/height (so it'll be recalculated by Hwnd).
  2160. 2006-10-31 Andreia Gaita <[email protected]>
  2161. * ContainerControl.cs: reversed Contains check from
  2162. ActiveControl due to hanging problems. This fix
  2163. partly regresses #79667 (button does not have
  2164. initial focus), so this might be a symptom for
  2165. a larger parenting problem (set_ActiveControl
  2166. is being called but the child control does
  2167. not have the parent set yet?)
  2168. 2006-10-31 Mike Kestner <[email protected]>
  2169. * MenuAPI.cs : fix keynav when menu is click activated.
  2170. 2006-10-31 Jonathan Pobst <[email protected]>
  2171. * ToolStrip*: Version 0.2.
  2172. * MenuStrip.cs: Version 0.1.
  2173. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  2174. 2006-10-30 Chris Toshok <[email protected]>
  2175. [ fixes the oversized notify icon issue in bug #79745 ]
  2176. * NotifyIcon.cs: scale the icon down to the size we're given by
  2177. the XplatUI layer (this would be faster if we did it once instead
  2178. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  2179. since it's never invoked.
  2180. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  2181. pixels high by default, so let's hardcode our systray icon to that
  2182. size. The SYSTEM_TRAY protocol should really have a way for
  2183. client apps to query for the correct icon size.. but oh well. A
  2184. couple of patches to deal with the screwy client_window ==
  2185. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  2186. instance, and also make sure we don't XSelectInput twice).
  2187. 2006-10-30 Chris Toshok <[email protected]>
  2188. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  2189. recreating forms. Control recreation is the bane of my existence.
  2190. Fix it in a way that keeps everyone happy.
  2191. 2006-10-30 Chris Toshok <[email protected]>
  2192. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  2193. just non-CHILD ones. otherwise sometimes scrollbars end up with
  2194. client_windows not being resized to the proper size (ReportBuilder
  2195. shows this extremely well).
  2196. 2006-10-30 Chris Toshok <[email protected]>
  2197. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  2198. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  2199. showing up in the gnome taskbar. Fixes bug #79790.
  2200. 2006-10-30 Chris Toshok <[email protected]>
  2201. * ApplicationContext.cs: guard against a NRE.
  2202. * Application.cs: null out the old MainForm for the context, so we
  2203. don't try to use it again once it's disposed. Fixes bug #79783.
  2204. 2006-10-30 Chris Toshok <[email protected]>
  2205. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  2206. BindingContext, set the data source directly, otherwise do the
  2207. lazy approach - the actual ListManager will be created when we get
  2208. a BindingContext. Fixes bug #79700.
  2209. 2006-10-30 Jonathan Pobst <[email protected]>
  2210. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  2211. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  2212. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  2213. 2006-10-30 Jonathan Pobst <[email protected]>
  2214. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  2215. of SetVisible that allows a window to be shown, but not activated.
  2216. This is needed on Windows for MenuStrip, and can probably be used
  2217. with MainMenu and ComboBox to fix the focus stealing issues on
  2218. Windows.
  2219. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  2220. 2006-10-30 Alexander Olk <[email protected]>
  2221. * PictureBox.cs: Fix the output of the ToString method.
  2222. 2006-10-29 Chris Toshok <[email protected]>
  2223. * Control.cs (get_TopLevelControl): fix bug #79781.
  2224. 2006-10-29 Chris Toshok <[email protected]>
  2225. * ListControl.cs (set_DataSource): throw Exception here, not
  2226. ArgumentException, to match MS behavior.
  2227. 2006-10-29 Chris Toshok <[email protected]>
  2228. * Form.cs: remove the try-catch's around calls to GetWindowState.
  2229. We can just check the return value.
  2230. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  2231. Instead return -1.
  2232. * XplatUI.cs: Add note about additional return value for
  2233. GetWindowState.
  2234. 2006-10-29 Chris Toshok <[email protected]>
  2235. * Control.cs (CreateHandle): when we create our handle, we also
  2236. create the handles of our child controls. Fixes one of the
  2237. Control unit tests (CH11).
  2238. 2006-10-28 Alexander Olk <[email protected]>
  2239. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  2240. 2006-10-28 Alexander Olk <[email protected]>
  2241. * ThemeClearlooks.cs: A little speedup.
  2242. 2006-10-27 Chris Toshok <[email protected]>
  2243. * Control.cs: implement Control.FromChildHandle in a way that
  2244. matches the docs (and fixes the failed test.)
  2245. 2006-10-27 Chris Toshok <[email protected]>
  2246. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  2247. comments).
  2248. * DataGrid.cs: implement ResetForeColor such that the tests
  2249. succeed.
  2250. 2006-10-27 Chris Toshok <[email protected]>
  2251. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  2252. being set to "". Fixes bug #79759.
  2253. 2006-10-27 Jackson Harper <[email protected]>
  2254. * TextControl.cs: We need to clear the entire selection area when
  2255. setting the start, otherwise multiline selections are still
  2256. visible.
  2257. 2006-10-26 Chris Toshok <[email protected]>
  2258. * PropertyGridView.cs:
  2259. - ifdef all the code specific to the double
  2260. buffer case, and provide some alternatives in the non-doublebuffer
  2261. code, which makes heavy use of XplatUI.ScrollWindow to move things
  2262. around without having to invalidate (and cause flicker). There
  2263. are still some drawing problems in the non-doublebuffered case, so
  2264. DOUBLEBUFFER is defined by default.
  2265. - Fix the way dropdowns are handled. now we explicitly watch for
  2266. the events which might cause the dropdown to close, and break out
  2267. of the nested event loop there. This gets rid of all Capture
  2268. code, at the expense of the Msg special casing. Seems to work,
  2269. though, and fixes bug #79743.
  2270. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  2271. * Control.cs: SetIsRecreating now recreates implicitly added
  2272. child controls as well. Finally fixes #79629. The flag passed to
  2273. SetIsRecreating has also been removed since it wasn't used.
  2274. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  2275. * PageSetupDialog.cs: Clean some code, fix some bits,
  2276. add some checks, and add a printer sub-dialog.
  2277. 2006-10-26 Chris Toshok <[email protected]>
  2278. * PropertyGrid.cs: make set_SelectedObject call
  2279. set_SelectedObjects, and move the duplicate logic to the
  2280. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  2281. * PropertyGridView.cs: hide the textbox when we get a
  2282. SelectedObjectsChanged event.
  2283. Fixes bug #79748.
  2284. 2006-10-26 Chris Toshok <[email protected]>
  2285. * PropertyGridView.cs: deal with the type converter not supporting
  2286. GetStandardValues() or GetStandardValues() returning null, which
  2287. is does in the default case. Fixes #79742.
  2288. 2006-10-25 Andreia Gaita <[email protected]>
  2289. * CheckedListBox.cs: nunit no longer crashes when selecting
  2290. Project/Edit menu option
  2291. 2006-10-25 Andreia Gaita <[email protected]>
  2292. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  2293. is no menu selected. fixes #79739
  2294. 2006-10-25 Chris Toshok <[email protected]>
  2295. * PropertyGridView.cs: factor out the splitter invalidation code
  2296. into the SplitterPercent setter, and for kicks implement the
  2297. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  2298. amount in either direction.
  2299. 2006-10-25 Chris Toshok <[email protected]>
  2300. * PropertyGridView.cs: do some cleanup of the brush used to draw
  2301. text - read only fields should be grayed out. not sure how to do
  2302. this with the textbox, though. but the textbox's should also be
  2303. readonly now at least. Also, hide/show the textbox when resizing
  2304. the control.
  2305. * CursorConverter.cs: use System.Reflection when getting the
  2306. properties of Cursors, as TypeDescriptor.GetProperties isn't
  2307. returning static properties.
  2308. 2006-10-25 Chris Toshok <[email protected]>
  2309. * PropertyGridView.cs: factor out the up/down handling, and reuse
  2310. it for page up/down. also add End/Home support.
  2311. 2006-10-25 Chris Toshok <[email protected]>
  2312. * PropertyGridView.cs:
  2313. - ensure the selected grid item is visible in the scrolled area,
  2314. fixes bug #79572.
  2315. - fix Keys.Down handling when you're on the last item in the
  2316. propertygrid.
  2317. 2006-10-25 Mike Kestner <[email protected]>
  2318. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  2319. clicks too. Fixes #79725.
  2320. 2006-10-24 Chris Toshok <[email protected]>
  2321. * PropertyGrid.cs: use property.Converter instead of
  2322. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  2323. TypeConverters declared on the property as well as on the
  2324. PropertyType. Fixes bug #79678.
  2325. 2006-10-24 Alexander Olk <[email protected]>
  2326. * MimeIcon.cs, Mime.cs:
  2327. Fallback to the default platform handler if no shared mime info
  2328. stuff exists (fixes #79693).
  2329. 2006-10-20 Andreia Gaita <[email protected]>
  2330. * ContainerControl.cs: Incorrect contains check in ActiveControl
  2331. from previous fix (duh).
  2332. 2006-10-20 Chris Toshok <[email protected]>
  2333. * PropertyGridView.cs: the dropdown should be MIN(number of items
  2334. in list, 15). Fixes #79551.
  2335. 2006-10-20 Andreia Gaita <[email protected]>
  2336. Fixes #79384, #79394, #79652, #79667
  2337. * Application.cs:
  2338. - Modal windows are now destroyed in the proper order for windows
  2339. * ContainerControl.cs:
  2340. - ActiveControl setter has more conditions on when to return:
  2341. - if we're reselecting the active control, but it actually
  2342. didn't have focus (window hidden or some such), it runs
  2343. - if the active control being selected doesn't actually
  2344. exist in the container, it returns
  2345. * Form.cs
  2346. - The ShowDialog now gets the current form as the owner when
  2347. invoking without parameters, and correctly activates the owner
  2348. when returning
  2349. * MessageBox.cs
  2350. - MessageBox now catches the Escape key to exit
  2351. 2006-10-20 Chris Toshok <[email protected]>
  2352. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  2353. most of bug #79676):
  2354. - you can navigate around the property grid with the arrow keys.
  2355. - the dropdown is sized properly when the pg has a vertical
  2356. scrollbar.
  2357. - fix the indentation for subentries, and properly select the
  2358. entire label rect.
  2359. - fix the gray bar's drawing (only draw it to the last element,
  2360. not for the height of the control. Also make sure we draw that
  2361. last horizontal grid line.
  2362. - use the same mechanism the datagrid uses wrt the editing textbox
  2363. when scrolling/resizing/etc. Namely, we hide it first, do the
  2364. operation, then show it again (if it's still visible).
  2365. - aggressively remove a lot of unnecessary refreshes (and also
  2366. calls to Invalidate(). call more limited variants, and only redraw
  2367. what we need.)
  2368. * PropertyGrid.cs:
  2369. - when we're populating the merged collection, fill in the UI
  2370. parent with either the passed in item, or the category item we
  2371. create.
  2372. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  2373. * GridItem.cs: drop some fully qualified names.
  2374. * GridEntry.cs: add a "UIParent", which is basically the parent
  2375. treenode.
  2376. * GridItemCollection.cs: add an IndexOf method.
  2377. 2006-10-20 Mike Kestner <[email protected]>
  2378. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  2379. a working win32 NC invalidation mechanism, we can't invalidate
  2380. menus. [Fixes #79705]
  2381. 2006-10-20 Mike Kestner <[email protected]>
  2382. * ListBox.cs : don't update the VScrollbar if the list is empty,
  2383. just hide it. [Fixes #79692]
  2384. 2006-10-20 Jackson Harper <[email protected]>
  2385. * RichTextBox.cs: Handle some special chars better, and don't skip
  2386. the entire group when we encounter a special char that we don't
  2387. handle correctly.
  2388. 2006-10-18 Chris Toshok <[email protected]>
  2389. * PropertyGridView.cs: address a number of issues from bug #79676,
  2390. mostly of the cosmetic variety.
  2391. - The highlight rectangle for indented items not extends all the
  2392. way to the left.
  2393. - Indented items aren't indented so much.
  2394. - the dropdown is properly sized width-wise if the pg has a
  2395. vertical scrollbar.
  2396. 2006-10-18 Chris Toshok <[email protected]>
  2397. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  2398. systray stuff is rather convoluted to begin with.
  2399. systray icons are a single window for some reason (that I haven't
  2400. figured out yet), and for them, client_window == whole_window.
  2401. Given the way the tests are structured elsewhere to determine
  2402. which paints are pending (client vs. nc), that situation will
  2403. always yield PAINT, not NCPAINT. So, if we have a pending
  2404. nc_expose and no pending expose, remove the hwnd from the paint
  2405. queue, and also set nc_expose_pending to false, to keep us from
  2406. blocking further expose's adding the hwnd to the paint queue.
  2407. phew. like i said, a rather convoluted change. Fixes the
  2408. notifyicon repaint issues in bug #79645.
  2409. 2006-10-18 Chris Toshok <[email protected]>
  2410. * Form.cs: when getting the backcolor of the form, don't get
  2411. base.BackColor, as this allows parents to influence the background
  2412. color. This breaks mdi forms. Instead, if the background_color
  2413. is empty, return the default.
  2414. 2006-10-18 Chris Toshok <[email protected]>
  2415. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  2416. to being private instead of internal static.
  2417. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  2418. crap, it wasn't working for more deeply nested controls anyway,
  2419. and we already have the is_recreating flag - use that instead.
  2420. Before calling DestroyHandle in RecreateHandle, recurse through
  2421. the control tree setting it to true. this returns the recreate
  2422. code to much of its original simplicity, while now guaranteeing we
  2423. actually recreate everything we're supposed to. This change gets
  2424. fyireporting actually showing mdi children.
  2425. 2006-10-17 Chris Toshok <[email protected]>
  2426. * Form.cs: remove some debug spew, and collapse some duplicate
  2427. code at the end of SetClientSizeCore.
  2428. * XplatUIX11.cs:
  2429. - add some more debug spew here too wrt Destroy handling.
  2430. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  2431. in Control's handling of WM_DESTROY.
  2432. - Remove the handling of zombie window DestroyNotifies from the
  2433. event loop - we don't need it. Now the only DestroyNotifies we
  2434. actually handle are ones generated by X.
  2435. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  2436. match gtk's (functioning) handling of this. This keep metacity
  2437. from leaving droppings in the form of wm borders with no window
  2438. contents all over the place.
  2439. * Control.cs:
  2440. - add a bunch of debug spew wrt control recreation.
  2441. - fix a bug where we weren't tracking Visible properly on
  2442. recreated hwnds.
  2443. - fixed the WM_PAINT double buffer handling to support re-entrant
  2444. calls (yes, i know it's gross, but it's happening to us).
  2445. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  2446. * ThemeWin32Classic.cs: changed drawing of selected days
  2447. to make them look better.
  2448. 2006-10-16 Chris Toshok <[email protected]>
  2449. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  2450. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  2451. * XplatUIX11.cs: move away from using hwnd.client_dc and
  2452. hwnd.non_client_dc and on to a stack of dc's (and in window's
  2453. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  2454. without puking or not disposing of Graphics objects.
  2455. * XplatUIOSX.cs: same.
  2456. * XplatUIWin32.cs: same.
  2457. 2006-10-03 Alexander Olk <[email protected]>
  2458. * FileDialog.cs: Don't call on_directory_changed inside
  2459. OnSelectedIndexChanged (it changes the SelectedIndex too).
  2460. Instead move it to OnSelectionChangeCommitted.
  2461. 2006-10-13 Chris Toshok <[email protected]>
  2462. * XplatUIX11.cs: more Destroy work. the current code does the
  2463. following things, in order:
  2464. 1. Enumerates all handles of all controls at or below the one
  2465. being destroyed, in pre-order. As it is doing this, it marks the
  2466. handles as zombie and clears all references to them.
  2467. 2. calls XDestroyWindow on the window passed in.
  2468. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  2469. list.
  2470. 2006-10-13 Chris Toshok <[email protected]>
  2471. * XplatUIX11.cs: set hwnd.zombie to true before calling
  2472. SendMessage (WM_DESTROY). this keeps us from marking the new
  2473. window a zombie, and also keeps us from calling sendmessage at
  2474. all.
  2475. 2006-10-13 Jackson Harper <[email protected]>
  2476. * TextControl.cs: Do not show the caret and selection at the same
  2477. time. Reduces ugliness by 35%.
  2478. 2006-10-13 Chris Toshok <[email protected]>
  2479. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  2480. zombie after we do the recursive call, so we actually do call
  2481. SendMessage on the children controls.
  2482. (GetMessage): if we find a pending paint event for a zombie hwnd,
  2483. remove the hwnd from the paint queue, or else it will always be
  2484. there (and we'll effectively loop infinitely)
  2485. 2006-10-13 Mike Kestner <[email protected]>
  2486. * MenuItem.cs : add Selected format under keynav too.
  2487. Fixes #79528.
  2488. 2006-10-13 Gert Driesen <[email protected]>
  2489. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  2490. implementation and that of MS.
  2491. 2006-10-13 Chris Toshok <[email protected]>
  2492. * Control.cs (OnInvalidated) only futz with the invalid_region if
  2493. the control is double buffered. this fixes the apparent hang in
  2494. the ListView unit tests. Someone needs to make the
  2495. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  2496. 2006-10-13 Chris Toshok <[email protected]>
  2497. * PropertyGridView.cs:
  2498. - do a little refactoring so that only one place calls
  2499. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  2500. else call that. Also make it Refresh, since there are redraw bugs
  2501. otherwise (we should take a look at that...)
  2502. - do a little more refactoring work to share the body of code
  2503. involved with the drop down. it was duplicated in the code
  2504. dealing with the listbox handling and in the code dealing with the
  2505. UITypeEditors.
  2506. - add a Capture to the dropdown form's control once it's
  2507. displayed, and add a MouseDown handler that checks to make sure
  2508. the position is inside the control. If it's not, close the
  2509. dropdown. This fixes #78190.
  2510. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  2511. if the value is different than the initial value.
  2512. 2006-10-13 Andreia Gaita <[email protected]>
  2513. * Control.cs: see #78650
  2514. - Fixed GetNextControl for several cases:
  2515. - Changed FindFlatForward to return
  2516. correct sibling control when more than one
  2517. control has same TabIndex as the currently
  2518. focused one.
  2519. - Changed FindFlatBackward to loop children
  2520. from last to first and apply same logic as in
  2521. FindFlatForward
  2522. - Changed FindControlForward to search for
  2523. children when control is not a container
  2524. but has children, or search for siblings if
  2525. control is a container...
  2526. - Changed FindControlBackward to continue
  2527. searching for child controls when hitting
  2528. Panel-like parents
  2529. - Fixed Focus method to update ActiveControl
  2530. (FocusTest.FocusSetsActive failure)
  2531. * TabControl.cs:
  2532. - Focus rectangle now refreshes when gaining
  2533. or losing focus
  2534. - Removed grab for Tab key on IsInputKey that
  2535. was keeping tab navigation from working (#78650)
  2536. 2006-10-13 Chris Toshok <[email protected]>
  2537. * PropertyGridView.cs:
  2538. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  2539. SelectedObjects.
  2540. - Deal with GridItem.Value == null a few places.
  2541. * PropertyGrid.cs:
  2542. - replace the PopulateGridItemCollection with a pair of methods
  2543. which compute the intersection of all the properties in the
  2544. SelectedObjects array. Fixes #79615.
  2545. - Throw ArgumentException from set_SelectedObjects if there's a
  2546. null in the array.
  2547. - Add GetTarget method which can be used to traverse up the
  2548. GridItem.Parent chain. It depends on the assumption that
  2549. selected_objects for different GridEntries are always in the same
  2550. order (a safe assumption). Use this method and loop over all the
  2551. selected objects in the entry when calling RemoveValueChanged and
  2552. AddValueChanged.
  2553. * GridEntry.cs: Make this handle multiple selected objects.
  2554. .Value returns null if not all the selected objects share the same
  2555. value.
  2556. 2006-10-12 Jonathan Pobst <[email protected]>
  2557. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  2558. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  2559. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  2560. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  2561. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  2562. add additional functionality.
  2563. 2006-10-12 Mike Kestner <[email protected]>
  2564. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  2565. * HelpProvider.cs : new ToolTipWindow ctor sig.
  2566. * ToolTip.cs : remove ToolTip param from Window sig since it is
  2567. not used.
  2568. * ToolBar.cs : add tooltip support. Fixes #79565.
  2569. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  2570. * ComboBox.cs: move the events in set_SelectedIndex to
  2571. after the call to HighlightIndex in order to avoid
  2572. possible recursion and subsequent problems with the call
  2573. to HighlightIndex and include a range check in
  2574. set_HighlightIndex. Fixes #79588
  2575. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  2576. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  2577. to ui thread's settings instead of sunday.
  2578. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  2579. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  2580. * DateTimePicker.cs
  2581. * MonthCalendar.cs
  2582. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  2583. and implement missing functionality (selecting different parts
  2584. of the date and edit them individually with the keyboard).
  2585. 2006-10-11 Chris Toshok <[email protected]>
  2586. * Control.cs (OnInvalidated): fix NRE relating to last change.
  2587. 2006-10-11 Chris Toshok <[email protected]>
  2588. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  2589. atoms in _NET_WM_STATE here if the window is maximized. We need
  2590. to do this because we're *replacing* the existing _NET_WM_STATE
  2591. property, so those atoms will be lost otherwise, and any further
  2592. call to GetWindowState will return Normal for a window which is
  2593. actually maximized. Fixes #79338.
  2594. 2006-10-11 Jackson Harper <[email protected]>
  2595. * TextControl.cs: Special case for setting selection end to
  2596. selection start, we basically kill the anchor.
  2597. - some todo comments.
  2598. 2006-10-11 Chris Toshok <[email protected]>
  2599. * Control.cs: switch to using an "invalid_region" to track which
  2600. parts of the image buffer need updating. This is more code than
  2601. the simple fix from r66532. That version just attempted to always
  2602. fill the entire buffer on redraw, which turns out to be
  2603. inefficient when invalidating small rectangles. This version
  2604. simply adds the invalid rectangle to the invalid region. When we
  2605. get any WM_PAINT message we see if it can be filled using the
  2606. image buffer, and if it can't (if the paint event's clip rectangle
  2607. is visible in the invalid region) we first fill the image buffer.
  2608. So, the image buffer is still a cache, we just fill it lazily.
  2609. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  2610. need it any longer.
  2611. 2006-10-11 Chris Toshok <[email protected]>
  2612. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  2613. well as size after calling XMoveResizeWindow. This keeps us from
  2614. ignoring future SetWindowPos calls. Fixes the disappearing
  2615. DateTimePicker in the ToolBarDockExample from bug #72499.
  2616. 2006-10-11 Chris Toshok <[email protected]>
  2617. * TextBoxBase.cs: reorder things a bit when it comes to
  2618. resizing-causing-recalculation. we were recalculating the
  2619. document when our position was changed, which shouldn't happen.
  2620. We only care about size changes. Clear up some more redundant
  2621. recalculation calls while I'm at it. This makes the toolbar dock
  2622. example snappy when you're just dragging toolbars around (since it
  2623. causes a relayout whenever you move one.)
  2624. 2006-10-11 Chris Toshok <[email protected]>
  2625. * ToolBarButton.cs (get_Rectangle): this only returns
  2626. Rectangle.Empty if Visible == false, or Parent == null.
  2627. Parent.Visible doesn't matter.
  2628. 2006-10-10 Chris Toshok <[email protected]>
  2629. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  2630. by .net 1.1, so switch to an internal method instead.
  2631. 2006-10-10 Chris Toshok <[email protected]>
  2632. * Control.cs (WM_PAINT): when a control is double buffered we draw
  2633. initially to the ImageBuffer and then copy from there. But when a
  2634. parent control which has child controls is double buffered, the
  2635. initial drawing doesn't encompass the entire ClientRectangle of
  2636. the parent control, so we end up with uninitialized bits (this is
  2637. easily seen by dragging the top toolbar in
  2638. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  2639. manually set the ClipRectangle of the paint_event (only the one we
  2640. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  2641. of the nastiness in bug #72499.
  2642. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  2643. which we use in Control.cs's WM_PAINT handling.
  2644. 2006-10-10 Jackson Harper <[email protected]>
  2645. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  2646. 2006-10-10 Chris Toshok <[email protected]>
  2647. * Cursor.cs: Apply a slightly different patch to the one suggested
  2648. in #79609.
  2649. 2006-10-10 Jackson Harper <[email protected]>
  2650. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  2651. not the parent form.
  2652. * TextControl.cs: use difference in old line count vs new count to
  2653. calculate how many lines were added, this takes into account soft
  2654. line breaks properly.
  2655. 2006-10-10 Chris Toshok <[email protected]>
  2656. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  2657. rectangle located at 0,0 and the size of the text. Use
  2658. ClientRectangle instead. This fixes rendering of non-left aligned
  2659. link labels.
  2660. 2006-10-10 Jackson Harper <[email protected]>
  2661. * TextBoxBase.cs: When we set the selection start position the
  2662. caret.
  2663. * TextControl.cs: Need to update the caret when we decrement it to
  2664. zero.
  2665. - Make sure that the selection_visible flag gets reset to false if
  2666. the selection isn't visible. Before this you could get it set to
  2667. visible by changing the selection start, then changing the end to
  2668. equal the start.
  2669. 2006-10-09 Jackson Harper <[email protected]>
  2670. * TreeView.cs: Don't update scrollbars when we aren't visible.
  2671. * TreeNodeCollection.cs: Only need to update scrollbars if being
  2672. added to an expanded visible node or the root node.
  2673. 2006-10-09 Chris Toshok <[email protected]>
  2674. * XplatUIX11.cs (SendMessage): fix NRE.
  2675. 2006-10-09 Jackson Harper <[email protected]>
  2676. * TextBoxBase.cs: Implement horizontal autoscrolling.
  2677. * TextControl.cs: Add a movement types that allows moving forward
  2678. and backwards without wrapping.
  2679. 2006-10-09 Mike Kestner <[email protected]>
  2680. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  2681. with focus "expansion" of labels. Fixes #79532 and then some.
  2682. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  2683. when wrapping.
  2684. 2006-10-09 Jackson Harper <[email protected]>
  2685. * TextBoxBase.cs: Set the default max values to MaxValue since
  2686. we use the scrollbar for autoscrolling and the default value is
  2687. 100. If we don't do this the caret won't keep up with typing
  2688. after about 18 characters.
  2689. * TextControl.cs: Make sure the selection is offset by the
  2690. viewport x. This fixes selection when using auto scrolling.
  2691. 2006-10-07 Andreia Gaita <[email protected]>
  2692. * Form.cs: The active control should be selected after the
  2693. OnLoad so that any child control initialization that affects
  2694. the selection is done. Fixes #79406
  2695. 2006-10-06 Chris Toshok <[email protected]>
  2696. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  2697. to have no evil effects.
  2698. - Stop selecting StructureNotifyMask on non-toplevel windows.
  2699. The only way children should be resized is by using the SWF api,
  2700. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  2701. Toplevel windows can be interacted with via the window manager,
  2702. and so we keep the input mask there.
  2703. The other event StructureNotifyMask gives us (that we care
  2704. about) is DestroyNotify. The code is already structured such
  2705. that it assumes we won't be getting a DestroyNotify event for
  2706. the window we pass to XDestroyWindow (which is what
  2707. StructureNotifyMask is supposed to guarantee.) So, that code
  2708. shouldn't be affected by this either.
  2709. - Stop selecting VisibilityChangeMask altogether.
  2710. We weren't doing anything with the resulting events anyway.
  2711. This vastly reduces the number of X requests and events we see
  2712. when resizing/laying out a large ui.
  2713. 2006-10-06 Chris Toshok <[email protected]>
  2714. * ScrollableControl.cs (DisplayRectangle): we need to take into
  2715. account the DockPadding regardless of whether or not auto_scroll
  2716. == true. rework this slightly to this effect, and fix bug #79606,
  2717. and part of #72499 (you can now see the drag handles and drag
  2718. toolbars around).
  2719. 2006-10-06 Gert Driesen <[email protected]>
  2720. * ListViewItem.cs: Collections of selected and checked items are now
  2721. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  2722. we mark the collection "dirty".
  2723. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  2724. to only clear SelectedItems when a new item is selected and MultiSelect
  2725. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  2726. event of ListViewItemCollection, and mark its list dirty whenever
  2727. that event is fire. This allows us to return selected/checked items
  2728. in the same order as they are in the Items collection. This matches
  2729. the MS behavior.
  2730. 2006-10-06 Chris Toshok <[email protected]>
  2731. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  2732. right mouse clicks. Fixes bug #79593.
  2733. 2006-10-06 Chris Toshok <[email protected]>
  2734. * Splitter.cs: doh, fix splitters that don't want to cancel the
  2735. movement when you drag them. Also, impose the limits on the
  2736. values we send to the SplitterMovingEvent. Fixes #79598.
  2737. 2006-10-06 Jackson Harper <[email protected]>
  2738. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  2739. since we use this for auto scrolling also.
  2740. 2006-10-05 Chris Toshok <[email protected]>
  2741. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  2742. beginning to think that most datagrid column types don't need this
  2743. method. Fixes bug #79392.
  2744. 2006-10-05 Chris Toshok <[email protected]>
  2745. * DataGrid.cs: move back to a more lazy scheme for creating the
  2746. CurrencyManager, so we aren't updating it every time you set
  2747. either DataSource or DataMember. Also, don't call
  2748. RecreateDataGridRows if the currency manager hasn't changed.
  2749. 2006-10-05 Chris Toshok <[email protected]>
  2750. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  2751. emitted, SelectedIndex should already be updated. Fixes bug
  2752. #78929.
  2753. 2006-10-05 Jonathan Pobst <[email protected]>
  2754. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  2755. ToolStripTextBox.cs: Initial commit.
  2756. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  2757. 2006-10-05 Jackson Harper <[email protected]>
  2758. * TabControl.cs: We need to invalidate the tab control area when
  2759. new ones are added (duh).
  2760. 2006-10-03 Chris Toshok <[email protected]>
  2761. * Form.cs (ProcessDialogKey): if the focused control is in this
  2762. form and is a button, call its PerformClick method here. Fixes
  2763. #79534.
  2764. 2006-10-04 Jackson Harper <[email protected]>
  2765. * TabPage.cs: Ignore setting of Visible, and add an internal
  2766. method for setting the controls visibility. TabPage's Visible
  2767. property is a little strange on MS, this seems to make us
  2768. compatible, and fixes cases where people set all the tab pages to
  2769. visible.
  2770. * TabControl.cs: Use the new internal setting on tab pages
  2771. visibility.
  2772. 2006-10-03 Mike Kestner <[email protected]>
  2773. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  2774. 2006-10-03 Mike Kestner <[email protected]>
  2775. * ListView.cs : use is_visible instead of Visible to check if
  2776. scrollbars should be placed/sized. Also some max_wrap_width
  2777. love for LargeIcon view. [Fixes #79533]
  2778. 2006-10-03 Atsushi Enomoto <[email protected]>
  2779. * TextControl.cs :
  2780. Make set_TextAlign() do actually update the align. Fixed #78403.
  2781. 2006-10-03 Chris Toshok <[email protected]>
  2782. * DataGrid.cs: fix a crash when switching datasources if the
  2783. vertical scrollbar is at someplace other than Value = 0. Also,
  2784. reduce the number of recalculation passes we do in SetDataSource
  2785. from 2 to 1.
  2786. 2006-10-03 Jackson Harper <[email protected]>
  2787. * TextBoxBase.cs: Move the if value the same bail check up, we
  2788. don't want to empty the document if it is already empty, this
  2789. seems to severly mess up the caret. TODO: I should probably fix
  2790. the empty statement to update teh caret somehow.
  2791. 2006-10-03 Chris Toshok <[email protected]>
  2792. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  2793. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  2794. reflection, an internal row type, properties on said type, etc.)
  2795. will work with our datagrid. Fixes #79531.
  2796. 2006-10-03 Alexander Olk <[email protected]>
  2797. * FileDialog.cs: Don't crash if a path is not accessible
  2798. (System.UnauthorizedAccessException). Fixes #79569.
  2799. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  2800. a ':' too. Return unknown icon for those paths/files.
  2801. 2006-10-03 Sebastien Pouliot <[email protected]>
  2802. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  2803. GetContainerControl returns null.
  2804. 2006-10-02 Chris Toshok <[email protected]>
  2805. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  2806. call to XGetWindowAttributes instead of "handle". fixes an X
  2807. error using notifyicon after the NotifyIconWindow to Form base
  2808. class switch.
  2809. 2006-10-02 Chris Toshok <[email protected]>
  2810. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  2811. server grab and looping we need to do to get down to the most
  2812. deeply nested child window.
  2813. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  2814. QueryPointer again after the WarpPointer so we can generate a
  2815. proper (fake) MotionNotify event to be enqueued in the destination
  2816. window's queue.
  2817. (GetCursorPos): call QueryPointer.
  2818. Fixes #79556.
  2819. 2006-10-02 Jackson Harper <[email protected]>
  2820. * NotifyIcon.cs: Derive the notify icon from a form, so things
  2821. like FindForm work on it.
  2822. - Swallow the WM_CONTEXTMENU message, since that is generated on
  2823. mouse down, and context menu is a mouse up kinda guy. I believe
  2824. the correct fix here is probably to make the notify icon entirely
  2825. NC area, but this seems to work fine for anyone not manipulating
  2826. WndProc.
  2827. 2006-10-02 Jonathan Pobst <[email protected]>
  2828. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  2829. ToolStripItemCollection.cs, ToolStripLabel.cs,
  2830. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  2831. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  2832. Initial implementation.
  2833. * TextRenderer.cs: Provide padding to MeasureText.
  2834. 2006-10-02 Sebastien Pouliot <[email protected]>
  2835. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  2836. of ButtonBaseAccessibleObject. Fix bug #79552.
  2837. 2006-10-02 Jackson Harper <[email protected]>
  2838. * MdiWindowManager.cs: When maximizing use the containers client
  2839. rect, not it's bounds, so nc area is accounted correctly.
  2840. - Use the parent form's size for the menu position, since the
  2841. client isn't always the full form size.
  2842. 2006-10-01 Chris Toshok <[email protected]>
  2843. * ScrollableControl.cs: make sure neither right_edge or
  2844. bottom_edge are < 0, since they're used as LargeChange for the
  2845. horiz/vert scrollbars respectively. Fixes #79539.
  2846. 2006-10-01 Chris Toshok <[email protected]>
  2847. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  2848. the xplatuix11 code can cause us to destroy/recreate our handle.
  2849. * XplatUIX11.cs
  2850. (SystrayAdd):
  2851. - this code can be invoked many times for the same Hwnd. Make
  2852. sure we only destroy the client window once (the first time this
  2853. method is called). This fixes bug #79544.
  2854. - Remove the call to the improperly bound XSync. why we had two
  2855. bindings to this, I will never know, but this call resulted in
  2856. events being discarded from the queue(!).
  2857. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  2858. not our current state but the state we wish to be in. So, 0 if
  2859. we don't want to be mapped. Change it to 1.
  2860. (SystrayRemove): The XEMBED spec makes mention of the fact that
  2861. gtk doesn't support the reparent of client windows away from the
  2862. embedder. Looking at gtksocket-x11.c seems to agree with this.
  2863. The only avenue we have for removing systray icons is to destroy
  2864. them. We don't want the handle to go away for good, though, so
  2865. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  2866. #79545.
  2867. 2006-10-01 Chris Toshok <[email protected]>
  2868. * Form.cs (WndProc): inline the native_enabled variable usage into
  2869. the cases in which it's used. Fixes #79536.
  2870. 2006-09-29 Mike Kestner <[email protected]>
  2871. * ListView.cs : toggle the selection state for ctrl clicks in
  2872. multiselect mode. [Fixes #79417]
  2873. 2006-09-29 Mike Kestner <[email protected]>
  2874. * ListView.cs : kill CanMultiSelect and refactor the selection
  2875. code to support multiselection in the absence of mod keys. Steal
  2876. arrow/home/end keys by overriding InternalPreProcessMessage to
  2877. restore regressed keynav behavior.
  2878. [Fixes #79416]
  2879. 2006-09-29 Jackson Harper <[email protected]>
  2880. * MdiClient.cs: Repaint the titlebars when the active window is
  2881. changed.
  2882. 2006-09-29 Chris Toshok <[email protected]>
  2883. * Application.cs: when entering a runloop with a modal, make sure
  2884. the hwnd is enabled. Fixes #79480.
  2885. 2006-09-29 Chris Toshok <[email protected]>
  2886. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  2887. when ListManager.CanAddRows == false, bump us back one.
  2888. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  2889. listmanager.CanAddRows check. This makes ArrayLists uneditable
  2890. using a datagrid, which is not right.
  2891. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  2892. is an IEditable, but call property_descriptor.SetValue regardless.
  2893. fixes #79435.
  2894. 2006-09-29 Chris Toshok <[email protected]>
  2895. * DataGridBoolColumn.cs: we need to test equality in the face of
  2896. possible null values (as is the case with the default NullValue).
  2897. This patch keeps us from crashing in that case.
  2898. 2006-09-29 Jackson Harper <[email protected]>
  2899. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  2900. here, since it will get called for every node collection in the
  2901. tree. This is now done in the treeview once the sorting is
  2902. finished.
  2903. * TreeView.cs: Recalculate the visible order, and update the
  2904. scrollbars after sorting, set the top nope to the root so that the
  2905. recalc actually works.
  2906. 2006-09-29 Chris Toshok <[email protected]>
  2907. * LinkLabel.cs: more handling of the default link collection in
  2908. the face of LinkArea manipulation. The default link collection
  2909. contains 1 element (start=0,length=-1). If the user sets LinkArea
  2910. to anything and the links collection is the default, clear it.
  2911. Then only add the link if its nonempty. Fixes #79518.
  2912. 2006-09-29 Chris Toshok <[email protected]>
  2913. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  2914. piece correctly when we hit a '\n'. Fixes #79517.
  2915. 2006-09-29 Chris Toshok <[email protected]>
  2916. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  2917. change the binding of gdk_init_check to take two IntPtr's, and
  2918. pass IntPtr.Zero for both of them. Fixes #79520.
  2919. 2006-09-29 Mike Kestner <[email protected]>
  2920. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  2921. [Fixes #78779]
  2922. 2006-09-28 Jackson Harper <[email protected]>
  2923. * XplatUIX11.cs: When translating NC messages make sure we go from
  2924. whole window to screen, not client window to screen.
  2925. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  2926. method doesn't exist
  2927. - Skip over controls that aren't forms when arranging.
  2928. 2006-09-28 Jackson Harper <[email protected]>
  2929. * XplatUIWin32.cs: Clip the rect to the parent window.
  2930. * XplatUIStructs.cs: Add clipping modes struct.
  2931. * InternalWindowManager.cs: New private method that factors title
  2932. bar heights in when calculating the pos of an NC mouse message.
  2933. - Use SendMessage to force a paint when the form's size is changed
  2934. instead of painting the decorations immediately.
  2935. - Don't let the NC button click messages get to DefWndProc,
  2936. because they will attempt to handle windowing themself, and this
  2937. messes up z-order (it will put them in front of the scrollbars).
  2938. * XplatUIX11.cs: Make sure that we don't reset window managers if
  2939. we already have one (ie the window is an MDI window).
  2940. 2006-09-28 Chris Toshok <[email protected]>
  2941. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  2942. menu code really needs going over.
  2943. 2006-09-27 Chris Toshok <[email protected]>
  2944. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  2945. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  2946. window is maximizable. So, we need to make sure that even if we
  2947. clear the border/wm frame of those functions, they're still
  2948. available (basically, we remove the decoration without removing
  2949. the function). Half the fix for #79338.
  2950. 2006-09-27 Chris Toshok <[email protected]>
  2951. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  2952. Fixes bug #79515.
  2953. 2006-09-27 Chris Toshok <[email protected]>
  2954. * Splitter.cs: reorder things a bit so that we don't actually
  2955. draw/move the splitter until after calling OnSplitterMoving. This
  2956. lets users cancel/disallow the movement by explicitly setting
  2957. event.SplitX/SplitY. Fixes #79372.
  2958. 2006-09-27 Jackson Harper <[email protected]>
  2959. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  2960. because it is most likely on a window being destroyed, and that
  2961. will give us an X11 error.
  2962. 2006-09-27 Chris Toshok <[email protected]>
  2963. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  2964. the dropdown button now toggles between showing and hiding the
  2965. dropdown. Also, get rid of dropdown_form_showing and just use
  2966. dropdown_form.Visible. We still don't do a grab, but I'll leave
  2967. that part to someone who has handled Capture-fu before.
  2968. 2006-09-27 Chris Toshok <[email protected]>
  2969. * DataGrid.cs: return false if alt isn't pressed when '0' is
  2970. pressed. this keeps the '0' key from being swallowed, and fixes
  2971. bug #79350.
  2972. 2006-09-27 Chris Toshok <[email protected]>
  2973. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  2974. Calling Refresh (in response to a scrollbar event) screws up the
  2975. scrollbar painting. Fixes bug #78923.
  2976. 2006-09-27 Chris Toshok <[email protected]>
  2977. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  2978. then insert into hashtable" blocks threadsafe.
  2979. 2006-09-27 Chris Toshok <[email protected]>
  2980. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  2981. baseclass's, since otherwise the
  2982. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  2983. effect. This gets the close button back in messageboxes.
  2984. 2006-09-27 Chris Toshok <[email protected]>
  2985. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  2986. flag, not just != 0. this makes flags that are actually multiple
  2987. bits (like WS_CAPTION) work. fixes bug #79508.
  2988. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  2989. * PageSetupDialog.cs: add support for getting and settings the
  2990. paper size, source and orientation.
  2991. 2006-09-26 Chris Toshok <[email protected]>
  2992. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  2993. and caption == "", we need to remove the resize handles as well as
  2994. the title bar.
  2995. * Control.cs (set_Text): turns out that setting Text on a form
  2996. should change the WM styles on the window, since if ControlBox ==
  2997. false, the only way to get a window border is to have a non-""
  2998. Text property. check winforms/forms/text.cs for an example. so,
  2999. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  3000. update both window styles and title. This fixes a lot of dialogs
  3001. (including the preferences dialog in MonoCalendar.)
  3002. 2006-09-26 Chris Toshok <[email protected]>
  3003. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  3004. control isn't a Form), call Win32ShowWindow to hide the window,
  3005. but don't update the control Visible property. When we reparent
  3006. back to a parent control, call SetVisible in order for the
  3007. window's visibility to be reinstated.
  3008. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  3009. the FosterParent.
  3010. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  3011. call for good, since it breaks MonoCalendar (and other things I'm
  3012. sure.) Also, set all_controls to null *after* the owner calls,
  3013. which end up regenerating it.
  3014. (ChangeParent): allow new_parent to be == null, passing
  3015. IntPtr.Zero down to XplatUI.
  3016. this fixes #79294 the right way.
  3017. 2006-09-26 Mike Kestner <[email protected]>
  3018. * GridEntry.cs : internal SetParent method.
  3019. * PropertyGrid.cs : attach to property changed on the proper
  3020. target if we have a hierarchical grid with subobjects. Setup
  3021. GridItem.Parent for hierarchical items.
  3022. * PropertyGridView.cs : Set value on the correct target for
  3023. hierarchical grids. [Fixes #78903]
  3024. 2006-09-26 Chris Toshok <[email protected]>
  3025. * Control.cs (ChildNeedsRecreating): this should return true if
  3026. either we're being recreated and the child is in our list, or our
  3027. parent is waiting for our recreation.
  3028. 2006-09-26 Chris Toshok <[email protected]>
  3029. * Control.cs (ControlCollection.Remove): reinstate the
  3030. value.Hide() call as suggested in bug #79294.
  3031. 2006-09-26 Sebastien Pouliot <[email protected]>
  3032. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  3033. coordinates (versus a relative move).
  3034. 2006-09-26 Chris Toshok <[email protected]>
  3035. * Control.cs: rework child recreation a little bit. It turns out
  3036. that we race between the DestroyNotify the WM_DESTROY message. If
  3037. the parent gets its DestroyNotify before the child gets the
  3038. WM_DESTROY message, the child ends up not recreating (since the
  3039. parent finishes its recreation on DestroyNotify, and the child
  3040. checks ParentIsRecreating.)
  3041. So, instead we store off a list of all the child controls which
  3042. need to be recreated when the parent control starts to recreate
  3043. itself. Then, when child controls get their WM_DESTROY message we
  3044. check to see if they're in the parent's pending recreation list,
  3045. and if so, we recreate. This removes all dependency on ordering
  3046. from the code and fixes the initial MonoCalendar upgrade dialog.
  3047. 2006-09-26 Jackson Harper <[email protected]>
  3048. * TextControl.cs: Use the Line to get the length of the line,
  3049. since soft line breaks can change the end line.
  3050. 2006-09-26 Chris Toshok <[email protected]>
  3051. * Control.cs (ControlCollection.AddImplicit): don't add the
  3052. control again if it's already in one of our lists. This keeps us
  3053. from adding controls over and over again for comboboxes when their
  3054. handle gets recreated (as the combobox adds implicit controls in
  3055. OnHandleCreated). Fixes the X11 errors in bug #79480.
  3056. 2006-09-26 Jackson Harper <[email protected]>
  3057. * TextControl.cs: When deleting characters make sure that any
  3058. orphaned zero lengthed tags get deleted.
  3059. - Fix ToString for zero lengthed tags.
  3060. 2006-09-25 Jackson Harper <[email protected]>
  3061. * TextControl.cs: When getting a tag at the location there can be
  3062. multiple tags at the same spot, these are 0-lengthed tags that
  3063. appear when extra formatting has been stuck in a location. We
  3064. need to pull out the last of these 0 lengthed tags.
  3065. 2006-09-25 Jackson Harper <[email protected]>
  3066. * TextControl.cs: Fix print out in debug method.
  3067. * TextBoxBase.cs: When text is set bail if we are setting to the
  3068. previous value.
  3069. 2006-09-24 Alexander Olk <[email protected]>
  3070. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  3071. It is now possible to change the selected index in a FontXXXListBox
  3072. with the up and down arrow keys from the FontXXXTextBoxes.
  3073. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  3074. FontXXXListBoxes to match ms.
  3075. 2006-09-22 Sebastien Pouliot <[email protected]>
  3076. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  3077. anyone can dispose it, anytime. All other properties returns enums,
  3078. structs or basic types so they don't need such tricks.
  3079. 2006-09-22 Jackson Harper <[email protected]>
  3080. * XplatUI.cs:
  3081. * XplatUIWin32.cs:
  3082. * Clipboard.cs:
  3083. * DataFormats.cs:
  3084. * XplatUIOSX.cs:
  3085. * XplatUIDriver.cs: Update interface to add a primary selection
  3086. flag, so the driver can use the primary selection buffer if
  3087. needed.
  3088. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  3089. * RichTextBox.cs: We need to supply the data object to paste now
  3090. (so we can choose to supply CLIPBOARD or PRIMARY).
  3091. * TextBoxBase.cs: Supply data object to paste (see above).
  3092. - Middle click uses the primary selection data object.
  3093. 2006-09-21 Chris Toshok <[email protected]>
  3094. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  3095. of SetWMStyles. It's still a rat's nest and is largely
  3096. order-dependent which I dislike immensely. This also fixes the X
  3097. button disappearing from toplevel forms.
  3098. 2006-09-21 Mike Kestner <[email protected]>
  3099. * ListBox.cs: move Jordi's click/dblclick raising code to the
  3100. mouse up handler.
  3101. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  3102. * ListBox.cs: Fixes 79450
  3103. 2006-09-21 Mike Kestner <[email protected]>
  3104. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  3105. to deal with people updating the TreeNodeCollection after the tree
  3106. is disposed. "Fixes" 79330.
  3107. 2006-09-20 Jackson Harper <[email protected]>
  3108. * TextControl.cs: Push the cursor record onto the undo stack
  3109. before the delete action. This fixes 78651.
  3110. 2006-09-20 Jonathan Chambers <[email protected]>
  3111. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  3112. CreateParams. Fixes 79329.
  3113. 2006-09-19 Chris Toshok <[email protected]>
  3114. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  3115. things up a bit. First, get rid of the NetAtoms array (and the NA
  3116. enum), and just embed the atoms as static fields. Also, add a
  3117. couple of functions (StyleSet and ExStyleSet) to clean up all the
  3118. bitmask testing of styles.
  3119. * X11Structs.cs: remove the NA enum, not needed anymore.
  3120. 2006-09-19 Chris Toshok <[email protected]>
  3121. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  3122. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  3123. added cleanup to get MessageBox titles appearing again, which were
  3124. broken by my earlier fix for caption-less/ControlBox-less windows.
  3125. 2006-09-18 Jonathan Pobst <[email protected]>
  3126. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  3127. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  3128. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  3129. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  3130. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  3131. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  3132. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  3133. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  3134. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  3135. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  3136. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  3137. Inital import.
  3138. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  3139. ToolStripButton.cs: Stubs needed for above.
  3140. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  3141. 2006-09-15 Chris Toshok <[email protected]>
  3142. * XplatUIX11.cs:
  3143. - make the MessageQueues hashtable Synchronized.
  3144. - SendMessage: if the Hwnd is owned by a different thread, use the
  3145. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  3146. thread. Fixes bug #79201.
  3147. 2006-09-15 Chris Toshok <[email protected]>
  3148. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  3149. ControlBox == false, we disallow maximize/minimize/close. If the
  3150. form Caption is "" we also disallow move (and get rid of the Title
  3151. decoration). Unfortunately, regardless of how things are set,
  3152. we're stuck with the Title and WM menu.
  3153. 2006-09-15 Chris Toshok <[email protected]>
  3154. * Application.cs: add locking around the static message_filters
  3155. ArrayList, part of #79196.
  3156. 2006-09-15 Chris Toshok <[email protected]>
  3157. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  3158. Form.ControlBox == false, the window has no titlebar nor resize
  3159. handles. fixes bug #79368.
  3160. 2006-09-15 Chris Toshok <[email protected]>
  3161. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  3162. >= 0. Fixes bug #79370.
  3163. 2006-09-15 Jonathan Pobst <[email protected]>
  3164. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  3165. * Control.cs:
  3166. Add properties: LayoutEngine, Margin, DefaultMargin.
  3167. Add method: GetPreferredSize.
  3168. Move layout logic from PerformLayout to layout engines.
  3169. 2006-09-13 Chris Toshok <[email protected]>
  3170. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  3171. fix for #79326 broke #78718, so this change addresses that.
  3172. - in SendWMDestroyMessages remove the call to
  3173. CleanupCachedWindows, since we might be recreating the control and
  3174. need to maintain the references to right Hwnd handles. Also, set
  3175. the zombie flag to true for each of the children in the hierarchy
  3176. instead of calling hwnd.Dispose. This will cause GetMessage to
  3177. ignore all events for the window except for DestroyNotify.
  3178. - In GetMessage, ignore messages except for DestroyNotify for
  3179. zombie hwnds.
  3180. * Control.cs: revert the is_recreating fix from the last
  3181. ChangeLog. It's definitely "right", but it breaks switching from
  3182. an MDI form to a non-MDI form. Will need to revisit that.
  3183. * Hwnd.cs: add a zombie flag, which means "the
  3184. client_window/whole_window handles are invalid, but we're waiting
  3185. for the DestroyNotify event to come in for them". Set the flag to
  3186. false explicitly if setting WholeWindow/ClientWindow, and also
  3187. when Disposing.
  3188. 2006-09-13 Chris Toshok <[email protected]>
  3189. * XplatUIX11.cs: rework window destruction slightly.
  3190. - when destroying the windows associated with a control, we don't
  3191. need 2 separate XDestroyWindow calls. Just the one for the
  3192. whole_window (or for client_window if whole_window is somehow
  3193. IntPtr.Zero -- can this happen?) is enough.
  3194. - reworked SendWMDestroyMessages slightly, so we always dispose
  3195. the child control hwnd's after sending the messages.
  3196. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  3197. the two places it was used (one was even using hwnd.Handle and the
  3198. other hwnd.client_window. ugh), adding another call in
  3199. SendWMDestroyMessages. We need this new call because now the
  3200. DestroyNotify events in the queue will be ignored for the child
  3201. controls (as their hwnd's were disposed, and the window id's
  3202. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  3203. - this fixes bug #79326.
  3204. 2006-09-13 Chris Toshok <[email protected]>
  3205. * Control.cs: don't always set is_recreating to false at the end
  3206. of RecreateHandle, since sometimes we're not done (and won't be
  3207. until WndProc handles the WM_DESTROY message). Also, set
  3208. is_recreating to false in the WM_DESTROY handling code. Part of
  3209. the fix for bug #79326.
  3210. 2006-09-13 Miguel de Icaza <[email protected]>
  3211. * X11DesktopColors.cs: Start the droppage of debugging messages.
  3212. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  3213. 2006-09-13 Jonathan Pobst <[email protected]>
  3214. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  3215. 2006-09-12 Chris Toshok <[email protected]>
  3216. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  3217. to create it using SetDataSource. Fixes bug #79151.
  3218. 2006-09-11 Chris Toshok <[email protected]>
  3219. * XEventQueue.cs: add a DispatchIdle property.
  3220. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  3221. either the queue is null, or the queue has DispatchIdle set to
  3222. true.
  3223. (DoEvents): set queue.DispatchIdle to false around the
  3224. peek/translate/dispatch message loop in this method. This keeps
  3225. Application.Doevents from emitting idle events. Part of the fix
  3226. for #78823.
  3227. 2006-09-11 Chris Toshok <[email protected]>
  3228. * DataGrid.cs (set_DataSource): make this work for both the
  3229. winforms/datagrid test and ReportBuilder. It seems as though when
  3230. we've created a ListManager (or maybe it's if we have a
  3231. BindingContext?), when we set the DataSource it clears the
  3232. DataMember to "". otherwise we reuse the datamember. Fixes bug
  3233. #79333.
  3234. 2006-09-11 Chris Toshok <[email protected]>
  3235. * XplatUIX11.cs: deal with queue being null, which happens in all
  3236. the Clipboard functions. Fixes one of the two problems mentioned
  3237. in #78612.
  3238. 2006-09-11 Chris Toshok <[email protected]>
  3239. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  3240. button on various spots (including outside the menu) works closer
  3241. to MS, and doesn't crash. Fixes #79343.
  3242. 2006-09-11 Gert Driesen <[email protected]>
  3243. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  3244. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  3245. and the internal comparer is set. When a new ListViewItemSorter is set,
  3246. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  3247. was specified. No further processing is necessary if SortOrder is set
  3248. to it's current value. If Sorting is modified to None, and View is
  3249. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  3250. (either custom or our internal ItemComparer) to null, on 1.0 profile
  3251. only set item_sorter to null if its our internal IComparer. If Sorting
  3252. is modified to Ascending or Descending, then use our internal IComparer
  3253. if none is set, and if the current IComparer is our internal one then:
  3254. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  3255. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  3256. Enum.IsDefined to verify whether a valid View value is specified in
  3257. its setter. Automatically sort listview items when listview is
  3258. created. In Sort, do nothing if ListView is not yet created, or if
  3259. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  3260. to None or ListViewItemSorter was set to null). Added Sort overload
  3261. taking a bool to indicate whether the ListView should be redrawn when
  3262. items are sorted (we use this in ListViewItemCollection to avoid double
  3263. redraws). Modified our internal IComparer to take the sort order into
  3264. account. In Add and AddRange methods of ListViewItemCollection, also
  3265. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  3266. view), but use overload with noredraw option to avoid double redraw.
  3267. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  3268. true when View is Tile, and do the same when attempting to set View to
  3269. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  3270. for selected/checked indices, as it involves overhead when sorting is
  3271. done while these collections are not used all that often. Instead
  3272. we'll build the indices on demand. Modified IList implementation of
  3273. CheckedIndexCollection to use public methods if object is int.
  3274. Modified CheckedListViewItemCollection to hide checked items if
  3275. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  3276. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  3277. IList implementation in SelectedIndexCollection to use public methods
  3278. if object is int. Modified SelectedListViewItemCollection to hide
  3279. selected items if listview is not yet created.
  3280. * ListViewItem.cs: CheckedIndices list no longer needs to be
  3281. maintained separately (see ListView changes). Also clone font, fixes
  3282. test failure.
  3283. 2006-09-11 Mike Kestner <[email protected]>
  3284. * ComboBox.cs: if we are updating the contents of the currently
  3285. selected index, refresh the control or the textbox selection.
  3286. [Fixes #79066]
  3287. 2006-09-11 Mike Kestner <[email protected]>
  3288. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  3289. the 'specified' logic has been moved there. This seems like a bug
  3290. in Control.cs, since our current SetBoundsCore completely ignores
  3291. the specified parameter. Peter's commit seems to indicate that is
  3292. the way the MS control implementation works. [Fixes #79325]
  3293. 2006-09-10 Jonathan Chambers <[email protected]>
  3294. * XplatUI.cs: Set default_class_name to be composed
  3295. of current domain id. This allows MWF to be loaded in multiple
  3296. domains on Win32.
  3297. 2006-09-09 Miguel de Icaza <[email protected]>
  3298. * X11Keyboard.cs: If we are unable to obtain the input method, do
  3299. not call CreateXic to create the input context. Should fix
  3300. #78944/79276.
  3301. 2006-09-08 Alexander Olk <[email protected]>
  3302. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  3303. Simplified gnome support by adding more pinvokes to get the
  3304. icon for a file or mime type.
  3305. 2006-09-08 Jackson Harper <[email protected]>
  3306. * MenuAPI.cs: Deslect popup context menu items before closing the
  3307. window, so that you don't see the previously selected item
  3308. selected when you reopen the menu.
  3309. * TextControl.cs: Update the cursor position even if we don't have
  3310. focus. This fixes typing in things like the ComboBox. I'm not
  3311. totally sure we should always set the visibility if we don't have
  3312. focus, but couldn't find any corner cases where the cursor showed
  3313. up when it shouldn't.
  3314. 2006-09-08 Chris Toshok <[email protected]>
  3315. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  3316. our arrays are length 256. & 0xff before indexing. Fixes the
  3317. crash in bug #78077.
  3318. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  3319. * ThemeWin32Classic.cs:
  3320. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  3321. is true. Handle that check box too.
  3322. 2006-09-07 Chris Toshok <[email protected]>
  3323. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  3324. 79244.
  3325. 2006-09-07 Chris Toshok <[email protected]>
  3326. * Control.cs: in set_BackColor only do the work if
  3327. background_color != value.
  3328. * XplatUIX11.cs: move the clearing of invalid areas (both client
  3329. and nc) to the same block of code where we set (nc_)expose_pending
  3330. to false. That is, move it from PaintEventEnd to PaintEventStart,
  3331. so things that cause invalidates from within OnPaint will trigger
  3332. another call to OnPaint. Fixes bug #79262.
  3333. 2006-09-07 Alexander Olk <[email protected]>
  3334. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  3335. * FileDialog.cs: Fix typo
  3336. 2006-09-07 Jackson Harper <[email protected]>
  3337. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  3338. for tab pages if they have any.
  3339. 2006-09-06 Mike Kestner <[email protected]>
  3340. * Splitter.cs: use the "current" rect when finishing drag handle
  3341. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  3342. 2006-09-06 Mike Kestner <[email protected]>
  3343. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  3344. support offset splitters. [Fixes #79298]
  3345. 2006-09-06 Alexander Olk <[email protected]>
  3346. * Mime.cs: Fixed a bug that could override the global mime type
  3347. result.
  3348. 2006-09-05 Jackson Harper <[email protected]>
  3349. * TabControl.cs: Better calculation method for setting the slider
  3350. pos. Prevents crashes on really wide tabs.
  3351. - Draw Image on tab pages if an image list is used.
  3352. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  3353. * MonthCalendar.cs: When Font changes, the Size should be
  3354. updated to fit the new font's space requirements.
  3355. 2006-09-02 Alexander Olk <[email protected]>
  3356. * ListBox.cs: If the items are cleared with Items.Clear set
  3357. top_index to 0.
  3358. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  3359. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  3360. fire DateChanged event instead of DateSelected event when
  3361. the date was changed by keyboard interaction.
  3362. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  3363. * DateTimePicker.cs: Handle DateChanged for the associated
  3364. month_calendar control, and set month_calendar.Font from
  3365. OnFontChanged method, as well as resize the height of the
  3366. control when needed. Make PreferredHeight proportional.
  3367. 2006-09-01 Chris Toshok <[email protected]>
  3368. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  3369. properties.
  3370. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  3371. 2006-09-01 Peter Dennis Bartok <[email protected]>
  3372. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  3373. for decorations (Fixes #79219)
  3374. 2006-09-01 Mike Kestner <[email protected]>
  3375. * ComboBox.cs: first stab at sorting plus some selection handling
  3376. fixes to bring us more in line with MS behavior. Also switches back
  3377. to index based selection. Alternative patches for index-based
  3378. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  3379. and [email protected] on bug 78848. I assume they were similar to this
  3380. code I've had simmering in my tree forever.
  3381. [Fixes #78848]
  3382. 2006-09-01 Chris Toshok <[email protected]>
  3383. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  3384. when setting list position guard against ending up with a -1 index
  3385. (the other part of the fix for #78812). Should probably make sure
  3386. we don't need the analogous fix in the ItemDeleted case.
  3387. * DataGrid.cs:
  3388. - in SetDataSource, work around the fact that the way
  3389. OnBindingContextChanged is invoked will cause us to re-enter this
  3390. method. I'll remove the hack once I investigate
  3391. OnBindingContextChanged.
  3392. - fix the logic in set_DataSource and set_DataMember (basically
  3393. what to do if the other of the two is null.)
  3394. - in OnListManagerItemChanged, we need to take into account the
  3395. edit row when deciding whether or not to call RecreateDataGridRows
  3396. (part of the fix for #78812).
  3397. 2006-09-01 Jackson Harper <[email protected]>
  3398. * Splitter.cs: Don't do anything if there is no control to affect
  3399. (prevents us from crashing in weird tet cases).
  3400. * TreeView.cs: Bounding box for the mouse movement reverting
  3401. focus/selection back to previously selected node. This matches
  3402. MS, and makes the tree a lot more useable.
  3403. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  3404. use clipping so they are not drawn. This fixes when the control
  3405. is set to have a transparent background, or if it was over an
  3406. image.
  3407. 2006-09-01 Alexander Olk <[email protected]>
  3408. * MimeIcon.cs: Improved handling for reading default icons when
  3409. using gnome (2.16 made it necessary). Check and read svg icons
  3410. first, then 48x48 and then 32x32 icons.
  3411. 2006-08-31 Chris Toshok <[email protected]>
  3412. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  3413. visible.
  3414. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  3415. ProcessKeyPreview. Fixes part of #77806.
  3416. * DataGrid.cs: big patch.
  3417. - revert the queueing up of DataSource/DataMember if inside
  3418. BeginInit/EndInit calls. That's not the way the datagrid achieves
  3419. its delayed databinding. Instead, call SetDataSource in
  3420. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  3421. #78811.
  3422. - Also, it wasn't mentioned in #78811, but the test case exhibits
  3423. behavior that was lacking in our datagrid implementation - Columns
  3424. that have mapping names that don't exist in the datasource's
  3425. properties aren't shown. Yuck. To fix this I added the bound
  3426. field to the column style, and basically any calculation to figure
  3427. out anything about columns uses a loop to find the bound columns.
  3428. still need to investigate if I can cache an array of the bound
  3429. columns or if the indices must be the same.
  3430. - When setting CurrentCell, we no longer abort if the cell being
  3431. edited was in the add row. This fixes the other part of #77806.
  3432. - The new code also fixes #78807.
  3433. * ThemeWin32Classic.cs: perpetrate the same disgusting
  3434. column.bound field hack, and only render bound fields.
  3435. 2006-08-31 Chris Toshok <[email protected]>
  3436. * DataGridColumnStyle.cs: add bound field. this field is true if
  3437. the datasource has a property corresponding to the mapping name.
  3438. * DataGridTableStyle.cs: set the bound field on the column styles
  3439. depending on whether or not we have a column for that property.
  3440. 2006-08-31 Peter Dennis Bartok <[email protected]>
  3441. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  3442. splitter control (fixes #79228)
  3443. 2006-08-31 Chris Toshok <[email protected]>
  3444. * DataGridColumnStyle.cs: we need to delay the assignment of
  3445. property descriptor until the last possible moment due to the lazy
  3446. databinding stuff in the datagrid. Also, fix the exceptions
  3447. thrown by CheckValidDataSource to match MS.
  3448. 2006-08-31 Jackson Harper <[email protected]>
  3449. * Form.cs: When activated select the active control, if there is
  3450. no active control, we select the first control.
  3451. * XplatUIX11.cs: If there is no focus control when we get a
  3452. FocusIn event, find the toplevel form and activate it. This
  3453. occurs when you popup a window, it becomes the focus window, then
  3454. you close that window, giving focus back to the main window.
  3455. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  3456. * MonthCalendar.cs:
  3457. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  3458. as StringFormat with Center alignments in MonthCalendar,
  3459. instead of creating new ones when drawing the control.
  3460. Also, draw the month name in bold style.
  3461. 2006-08-30 Peter Dennis Bartok <[email protected]>
  3462. * Control.cs:
  3463. - PerformLayout(): It would seem MS performs the fill even if the
  3464. control is not visible (part of #79218 fix)
  3465. - ResetBackColor(): Use the setter to reset the color, to allow
  3466. overriders to catch the change.
  3467. * Form.cs:
  3468. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  3469. - CreateHandle(): dito (part of $79218 fix)
  3470. - Don't set an icon if we have a dialog
  3471. * ScrollableControl.cs:
  3472. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  3473. - ScrollIntoView(): No need to scroll if control is already visible
  3474. (resolves fixme and fixes #79218)
  3475. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  3476. * MonthCalendar.cs: Change proportions in SingleMonthSize
  3477. to match the aspect of the original control.
  3478. 2006-08-29 Alexander Olk <[email protected]>
  3479. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  3480. get updated when they get maximized.
  3481. 2006-08-29 Peter Dennis Bartok <[email protected]>
  3482. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  3483. 2006-08-29 Chris Toshok <[email protected]>
  3484. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  3485. 2006-08-29 Jackson Harper <[email protected]>
  3486. * TreeView.cs: Need to track selected node and highlighted node,
  3487. they aren't always the same thing, when the mouse is down on a
  3488. node it is hilighted, but not selected yet.
  3489. - Do the HideSelection stuff right
  3490. - Need to focus on rbutton mouse down. And redraw selection when
  3491. right click is mouse upped.
  3492. 2006-08-29 Mike Kestner <[email protected]>
  3493. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  3494. when SubItems.Count < Columns.Count. [Fixes #79167]
  3495. 2006-08-28 Peter Dennis Bartok <[email protected]>
  3496. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  3497. 2006-08-28 Peter Dennis Bartok <[email protected]>
  3498. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  3499. from X. Only send based on ConfigureNotify if we don't have the
  3500. correct location in hwnd (if the window manager moved us)
  3501. 2006-08-28 Mike Kestner <[email protected]>
  3502. * ListView.cs: remove a TODO.
  3503. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  3504. [Fixes ListView part of #79166]
  3505. 2006-08-28 Mike Kestner <[email protected]>
  3506. * ListView.cs: move wheel handler to parent since it is focused
  3507. instead of the item_control now. [Fixes #79177]
  3508. 2006-08-28 Mike Kestner <[email protected]>
  3509. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  3510. when the control is focused. [Fixes #79171]
  3511. 2006-08-28 Mike Kestner <[email protected]>
  3512. * ListView.cs: size the item and header controls for empty and
  3513. unscrollable views.
  3514. * ThemeWin32Classic.cs: draw disabled backgrounds.
  3515. [Fixes #79187]
  3516. 2006-08-28 Chris Toshok <[email protected]>
  3517. * Form.cs: remove unused "active_form" static field.
  3518. * Hwnd.cs: lock around accesses to static windows collection.
  3519. * Application.cs: lock threads in Exit ().
  3520. 2006-08-28 Chris Toshok <[email protected]>
  3521. * NativeWindow.cs: lock around accesses to window_collection.
  3522. 2006-08-28 Chris Toshok <[email protected]>
  3523. * Control.cs: err, fix this the right way, by locking on controls
  3524. when using it. not by making it synchronized.
  3525. 2006-08-28 Chris Toshok <[email protected]>
  3526. * Control.cs: make the static "controls" field synchronized, as it
  3527. gets updated from multiple threads.
  3528. 2006-08-27 Peter Dennis Bartok <[email protected]>
  3529. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  3530. Prevent other threads from exiting when calling thread sets quit state.
  3531. * XEventQueue.cs: Added PostQuitState property
  3532. 2006-08-27 Chris Toshok <[email protected]>
  3533. * AsyncMethodData.cs: add a slot for the window handle.
  3534. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  3535. window (the destination control's window, not the foster window).
  3536. * Control.cs (BeginInvokeInternal): store the window's handle in
  3537. the AsyncMethodData.
  3538. 2006-08-27 Peter Dennis Bartok <[email protected]>
  3539. * XplatUIX11.cs:
  3540. - PostQuitMessage: Removed resetting S.D display handle, we might have
  3541. another loop started after calling PostQuitMessage (Fixes #79119)
  3542. - Created destructor to reset S.D handle
  3543. 2006-08-27 Peter Dennis Bartok <[email protected]>
  3544. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  3545. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3546. * TextControl.cs (Insert): Update the caret position even if we don't
  3547. have a handle yet, just don't call the driver in that case.
  3548. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  3549. to the end of the new selection text (Fixes #79184)
  3550. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3551. * Form.cs (Activate): Only activate if the handle is created)
  3552. * Control.c:
  3553. - Mark window as invisible when it's disposed
  3554. - Check if window handle is created when setting window visible,
  3555. instead of relying just on the is_created variable
  3556. - Check if object is disposed when creating the control (Fixes #79155)
  3557. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3558. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  3559. when allowing layout again. Otherwise we re-generate the anchoring
  3560. distance to the border again and actually alter what the user wanted
  3561. This is ugly, it'd be better if we used DisplayRectangle instead of
  3562. ClientRectangle for Control.UpdateDistances, but that causes us to
  3563. have other problems (initial anchoring positons would be wrong)
  3564. (Fixes #78835)
  3565. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3566. * Control.cs:
  3567. - The size and location setters shouldn't go directly to
  3568. SetBoundsCore, but to SetBounds, which triggers layout on the
  3569. parent, then calls SetBoundsCore. (Related to fix for #78835)
  3570. - SetBounds: Moved actual location update code into this function
  3571. from SetBoundsCore, to match MS. Added call to PerformLayout if
  3572. we have a parent (to trigger resizing of anchored parents if the
  3573. child size has changed (see testcase for #78835)
  3574. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  3575. new control code
  3576. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  3577. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3578. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  3579. System.Drawing when a toplevel window gets closed; there might
  3580. be other toplevel windows belonging to the same app (Fixes #78052)
  3581. 2006-08-26 Alexander Olk <[email protected]>
  3582. * FileDialog.cs: After reading FileDialog settings from mwf_config
  3583. use Desktop prefix only if a real folder doesn't exist anymore.
  3584. * FontDialog.cs: Added char sets.
  3585. It is now possible to select the font, size or style with the
  3586. textboxes.
  3587. 2006-08-25 Kornél Pál <[email protected]>
  3588. * PrintPreviewDialog.cs: Use assembly name constants.
  3589. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3590. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  3591. scrollbar from whacking it's buttons)
  3592. 2006-08-24 Chris Toshok <[email protected]>
  3593. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  3594. in this patch (aggregating setting Left/Top/Width/Height to
  3595. setting Bounds on the scrollbars), but the crux of the fix is in
  3596. Recalculate, where we scroll by the remaining scroll_position if
  3597. we're hiding a scrollbar. The 2*$5 reward in the comment is
  3598. serious.
  3599. 2006-08-24 Jackson Harper <[email protected]>
  3600. * MdiClient.cs:
  3601. * MdiWindowManager.cs: If the form is made a non-mdi window we
  3602. need to remove the form closed event so that closing forms works
  3603. correctly.
  3604. 2006-08-24 Jackson Harper <[email protected]>
  3605. * Control.cs: Make IsRecreating internal so that the driver can
  3606. check it
  3607. - Temporarily remove the Hide when controls are removed, its
  3608. making a whole bunch of things not work because visibility isn't
  3609. getting reset elsewhere correctly
  3610. * Form.cs: Need to do a full handle recreation when the mdi parent
  3611. is set.
  3612. * XplatUIX11.cs: If we are recreating handles don't dispose the
  3613. HWNDs. What was happening is the handles were being recreated in
  3614. SendWMDestroyMessages, but then flow continued on in that method
  3615. and destroyed the new handles.
  3616. 2006-08-23 Jackson Harper <[email protected]>
  3617. * Form.cs: MdiClient is always at the back of the bus
  3618. * Control.cs: When the order of items in the collection is changed
  3619. we need to reset the all_controls array
  3620. - do the same sorta setup thats done when adding a control when a
  3621. control is set on the collection.
  3622. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3623. * TextBoxBase.cs (get_Text): Return an empty array if our document
  3624. is empty (fixes #79052)
  3625. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3626. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  3627. on WM_SYSCHAR messages (fixes #79053)
  3628. 2006-08-23 Chris Toshok <[email protected]>
  3629. * DataGrid.cs: fix flickering when scrolling vertically.
  3630. 2006-08-23 Chris Toshok <[email protected]>
  3631. * DataGrid.cs (EndEdit): only invalidate the row header when we
  3632. need to.
  3633. 2006-08-23 Chris Toshok <[email protected]>
  3634. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  3635. methods. fixes the flicker when scrolling around.
  3636. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3637. * FileDialog.cs: Making sure the control is created before we get a
  3638. chance to use it with BeginInvoke (Fixes #79096)
  3639. 2006-08-23 Chris Toshok <[email protected]>
  3640. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  3641. width to use when painting the rows.
  3642. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3643. * TextBoxBase.cs:
  3644. - Throw ArgumentException if a negative value is passed to SelectionLength
  3645. - Update the selection end if start is moved. end needs to be always
  3646. after start. (Fixes #79095)
  3647. - Track selection length; MS keeps the selection length even if start
  3648. is changed; reset on all other operations affection selection
  3649. 2006-08-22 Jackson Harper <[email protected]>
  3650. * TreeView.cs: Make sure both scrollbars get displayed and sized
  3651. correctly when the other bar is visible.
  3652. - Use the original clip rectangle for checking if the area between
  3653. the two scrollbars is visible, not the viewport adjusted clipping
  3654. rectangle.
  3655. 2006-08-22 Jackson Harper <[email protected]>
  3656. * Binding.cs: We don't use IsBinding because it requires the
  3657. control to be created, which really shouldn't be necessary just to
  3658. set a property on the control.
  3659. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  3660. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  3661. ArgumentNullReferenceException when the argument is null.
  3662. 2006-08-21 Jackson Harper <[email protected]>
  3663. * Timer.cs: Track the thread that the timer is started in (NOT
  3664. CREATED), this way messages for it will only be triggered on its
  3665. queue.
  3666. * XEventQueue.cs: Track the timers here, this makes timers per
  3667. thread, like MS.
  3668. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  3669. 2006-08-19 Chris Toshok <[email protected]>
  3670. * XplatUIX11.cs: after further communication with pdb, we get the
  3671. best of both worlds. SetZOrder working for un-Mapped windows, and
  3672. no X errors for un-mapped windows.
  3673. 2006-08-19 Chris Toshok <[email protected]>
  3674. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  3675. as it was causing pdn toolbars to not have the correct stacking.
  3676. 2006-08-18 Mike Kestner <[email protected]>
  3677. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  3678. calculation. Not sure why control should ever be setting a negative
  3679. width though. Fixes #78931.
  3680. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  3681. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  3682. null items in ObjectCollection class.
  3683. * ListBox.cs.: Likewise.
  3684. 2006-08-18 Atsushi Enomoto <[email protected]>
  3685. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  3686. as the base method in ThemeWin32Classic should work fine.
  3687. Fixed bug #78607.
  3688. 2006-08-18 Jackson Harper <[email protected]>
  3689. * Binding.cs: When validating if the value entered doesn't convert
  3690. properly reset to the old value.
  3691. * RadioButton.cs: Don't fire click when we get focus.
  3692. 2006-08-18 Jackson Harper <[email protected]>
  3693. * FileDialog.cs: Paint the selection on the directory combobox the
  3694. same way as on MS.
  3695. 2006-08-17 Jackson Harper <[email protected]>
  3696. * ErrorProvider.cs: Don't allow the error control to be selected.
  3697. * Control.cs: Don't send the SetFocus messages, the control
  3698. activation will do this, and if we do it blindly here validation
  3699. does not work.
  3700. 2006-08-17 Jackson Harper <[email protected]>
  3701. * Control.cs:
  3702. * ContainerControl.cs: Make validation events fire in the correct
  3703. order. TODO: For some reason the first validation event is not
  3704. getting fired.
  3705. 2006-08-17 Mike Kestner <[email protected]>
  3706. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  3707. 2006-08-17 Mike Kestner <[email protected]>
  3708. * ComboBox.cs : implement scroll wheel support for popped-down
  3709. state. Fixes #78945.
  3710. 2006-08-17 Jackson Harper <[email protected]>
  3711. * TreeView.cs: Specify treeview actions (old patch that didn't get
  3712. committed for some reason).
  3713. - Don't let the mouse wheel scroll us too far. Just want to make
  3714. the bottom node visible, not scroll it all the ways to the top.
  3715. 2006-08-17 Jackson Harper <[email protected]>
  3716. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  3717. 2006-08-17 Mike Kestner <[email protected]>
  3718. * ComboBox.cs : don't do mouseover selection in simple mode.
  3719. 2006-08-16 Jackson Harper <[email protected]>
  3720. * Form.cs: Fire the closing events for all the mdi child windows
  3721. when a window is closed. If the cancel args are set to true, the
  3722. main window still gets the event fired, but it doesn't not close.
  3723. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  3724. handler, instead of when the button is clicked, so cancelling the
  3725. close works correctly.
  3726. * ComboBox.cs: Send the mouse down to the scrollbar.
  3727. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  3728. * ListBox.cs: When passing 'null' to SelectedItem,
  3729. set SelectedIndex to -1, to unselect items. This is the
  3730. observed behaviour in .Net.
  3731. 2006-08-16 Peter Dennis Bartok <[email protected]>
  3732. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  3733. MS flags saying there won't be any. (fixes #78800)
  3734. * Control.cs (HandleClick): Made virtual
  3735. 2006-08-16 Atsushi Enomoto <[email protected]>
  3736. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  3737. cultures. Fixed bug #78399.
  3738. 2006-08-16 Jackson Harper <[email protected]>
  3739. * Form.cs: Use the MdiClients MdiChildren property to access
  3740. MdiChildren instead of creating the array from the child controls.
  3741. * MdiClient.cs: Maintain a separate array of the mdi children, so
  3742. that insertion order is maintained when the Z-order is changed.
  3743. 2006-08-16 Mike Kestner <[email protected]>
  3744. * ListView.cs : add an ItemComparer and default to it for sorting.
  3745. Fixes #79076, but sorting needs a complete overhaul to be compat with
  3746. MS.
  3747. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3748. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  3749. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3750. * Hwnd.cs (Mapped): Properly traverse the tree
  3751. 2006-08-15 Chris Toshok <[email protected]>
  3752. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  3753. pass manager.Current.GetType() to ParseData. It has to be the
  3754. property type. So, hold off doing the ParseData until we're in
  3755. SetPropertyValue where we know the type. This fixes the crash in
  3756. #78821 but the textbox is still empty.
  3757. 2006-08-15 Chris Toshok <[email protected]>
  3758. * DataGrid.cs:
  3759. - when we're scrolling, only call Edit() again if the
  3760. current cell is still unobscured. Fixes bug #78927.
  3761. - when handling mousedown on a cell, ensure the cell is visible
  3762. before calling Edit.
  3763. - remove the properties from DataGridRow, and remove the
  3764. DataGridParentRow class altogether.
  3765. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3766. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  3767. fire OnTextChanged by ourselves. There's no point calling base,
  3768. we don't set the base value anywhere else. Fixes #78773.
  3769. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  3770. * ListBox.cs: Call CollectionChanged when modifying
  3771. an item from Items indexer, to update the actual items
  3772. in the list box.
  3773. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  3774. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  3775. to match .Net behaviour.
  3776. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3777. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  3778. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3779. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  3780. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3781. * MessageBox.cs: Prevent potential NRE exception.
  3782. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  3783. 2006-08-14 Peter Dennis Bartok <[email protected]>
  3784. * MessageBox.cs: Calculate the owner of a messagebox, also make
  3785. it topmost. Fixes #78753
  3786. 2006-08-14 Chris Toshok <[email protected]>
  3787. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  3788. programmatically move windows. first, set the PPosition hint as
  3789. well as the USPosition hint. Second include some code from pdb
  3790. that sets the window type to NORMAL when we set the transient for
  3791. hint. This is because, in the absence of a window type, metacity
  3792. thinks any window with TransientFor set is a dialog, and refuses
  3793. to let us move it programmatically. fascists.
  3794. 2006-08-14 Peter Dennis Bartok <[email protected]>
  3795. * XplatUIX11.cs: When setting normal hints, take into consideration
  3796. an different hints previously set so we don't delete them (fixes #78866)
  3797. 2006-08-12 Chris Toshok <[email protected]>
  3798. * ToolBarButton.cs: make Layout return a boolean, if something to
  3799. do with the button's layout changed.
  3800. * ToolBar.cs:
  3801. - add another parameter to Redraw, @force, which all existing
  3802. calls set to true.
  3803. - make the Layout function return a boolean which is true if the
  3804. layout has actually changed. Redraw now uses this (and @force)
  3805. to determine when to invalidate. At present the only place
  3806. where @force can be false is the call from OnResize, when
  3807. background_image == null. So, resizing a toolbar when the
  3808. layout doesn't change results in no drawing.
  3809. 2006-08-12 Chris Toshok <[email protected]>
  3810. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  3811. the VScrollBar and HScrollbar reversed. oops.
  3812. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  3813. scrollbars. we were assigning them twice (once in
  3814. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  3815. therefore causing two scrollbar resizes (and redraws?) to happen
  3816. per grid resize.
  3817. 2006-08-12 Chris Toshok <[email protected]>
  3818. * ToolBarButton.cs: redraw the entire button if the theme tells us
  3819. to.
  3820. * Theme.cs: add ToolBarInvalidateEntireButton.
  3821. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  3822. buttons, just the border.
  3823. * ThemeNice.cs: redraw the entire toolbar button since we need to
  3824. draw the highlight image.
  3825. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  3826. we need to redraw the entire button (not just the border).
  3827. 2006-08-11 Peter Dennis Bartok <[email protected]>
  3828. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  3829. for vertical bars. Fixes the mismatches shown by #78513
  3830. 2006-08-11 Alexander Olk <[email protected]>
  3831. * FileDialog.cs: If a saved/remembered path doesn't exist
  3832. anymore, fall back to "Desktop".
  3833. 2006-08-11 Peter Dennis Bartok <[email protected]>
  3834. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  3835. parent. It's apparently legal to not have one
  3836. * XplatUIX11.cs:
  3837. - SetZOrder: Don't try to set Z-Order on an unmapped window
  3838. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  3839. it unless the coordinates are negative
  3840. 2006-08-10 Mike Kestner <[email protected]>
  3841. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  3842. when setting to null per msdn docs. Fixes #78854.
  3843. 2006-08-10 Chris Toshok <[email protected]>
  3844. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  3845. flickering by setting a clip rectangle on the Graphics when we
  3846. need to redraw just a particular menuitem. Also, rename "OnClick"
  3847. to "OnMouseDown" to reflect what it actually is.
  3848. * Form.cs: track the OnMouseDown change.
  3849. 2006-08-10 Peter Dennis Bartok <[email protected]>
  3850. * CommonDialog.cs: Properly inherit the CreateParams from the form
  3851. and only change what we need. Fixes #78865
  3852. 2006-08-10 Chris Toshok <[email protected]>
  3853. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  3854. flickering in flat mode (and most of the flickering in general) by
  3855. only invalidating the button border (and not the entire rectangle)
  3856. when the state changes. A couple of cases still flicker:
  3857. ToggleButtons, and the dropdown arrow case when the user mouse
  3858. ups.
  3859. 2006-08-10 Alexander Olk <[email protected]>
  3860. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  3861. for german keyboards. Numlock state shouldn't affect the behaviour
  3862. of the Del key. Fixes bug #78291.
  3863. 2006-08-10 Chris Toshok <[email protected]>
  3864. * ListControl.cs: remove the items.Clear line from BindDataItems,
  3865. as this is the first thing done by both subclasses in their
  3866. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  3867. passed -1, refresh the list. This gets databinding working when
  3868. the datasource is set on the list before the datasource is
  3869. populated (as in wf-apps/ReportBuilder.)
  3870. * ComboBox.cs: remove the argument to BindDataItems. This call
  3871. should really go away, and be initiated by the ListControl code.
  3872. * ListBox.cs: same.
  3873. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3874. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  3875. if no data is in the document when the control is displayed
  3876. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3877. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  3878. yes (fixes #78806)
  3879. * TextControl.cs:
  3880. - PositionCaret: Allow positioning of caret but don't call methods
  3881. requiring a handle if the window isn't created yet
  3882. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  3883. - owner_HandleCreated: Don't position the caret, just update it's
  3884. location. User might have already set a different position
  3885. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3886. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  3887. windows. Screws up the returned coordinates for child windows.
  3888. Fixes #78825. I'm hoping this doesn't break something, since the
  3889. code was explicitly put in 8 months ago, but no bug was attached.
  3890. Menus still seem to work properly.
  3891. 2006-08-08 Chris Toshok <[email protected]>
  3892. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  3893. supposed to do - delay data binding until the EndInit call. Also,
  3894. make the table style collection's CollectionChangeAction.Refresh
  3895. work properly.
  3896. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  3897. (with action = Refresh) when a consituent table's MappingName is
  3898. changed.
  3899. 2006-08-08 Chris Toshok <[email protected]>
  3900. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  3901. Invalidate, since changing the text can change the size of the all
  3902. toolbar buttons.
  3903. 2006-08-08 Peter Dennis Bartok <[email protected]>
  3904. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  3905. we don't have it yet
  3906. 2006-08-08 Chris Toshok <[email protected]>
  3907. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  3908. dialog, as this causes X errors later on, since we actually
  3909. destroy the window. Instead, .Hide() it.
  3910. 2006-08-08 Peter Dennis Bartok <[email protected]>
  3911. * ComboBox.cs: Added focus reflection for popup window
  3912. * XplatUIX11.cs:
  3913. - Removed transient setting for non-app windows for now, not sure it
  3914. was needed
  3915. - Fixed logic checking if we have captions when deciding
  3916. override_redirect, WS_CAPTION is two bits and a 0 check was not
  3917. sufficient
  3918. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  3919. complicated
  3920. * Form.cs:
  3921. - AddOwnedForm: Don't just add the form to the list, call the property
  3922. to ensure the driver is informed about the ownership as well
  3923. - CreateHandle: Set the TopMost status in the driver if we have an owner
  3924. * XplatUI.cs: Fixed debug statement
  3925. 2006-08-08 Jonathan Pobst <[email protected]>
  3926. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  3927. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  3928. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  3929. TrackBarRenderer.cs: Make constructor private.
  3930. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  3931. * ProfessionalColorTable.cs: Make properties virtual.
  3932. 2006-08-06 Duncan Mak <[email protected]>
  3933. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  3934. is not changing.
  3935. 2006-08-04 Jonathan Pobst <[email protected]>
  3936. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  3937. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  3938. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  3939. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  3940. Initial import of new 2.0 classes.
  3941. 2006-08-04 Jonathan Pobst <[email protected]>
  3942. * Application.cs: Add 2.0 VisualStyles properties.
  3943. 2006-08-04 Jonathan Pobst <[email protected]>
  3944. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3945. XplatUIX11.cs: Create property to allow access to existing private
  3946. variable "themes_enabled"
  3947. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  3948. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  3949. file size, as otherwise our class libraries fail using windows. Fixes
  3950. bug #78759.
  3951. 2006-08-04 Jackson Harper <[email protected]>
  3952. * Form.cs:
  3953. * XplatUIX11.cs: Move the toolwindow window manager creation into
  3954. the X11 driver, this way on win32 we can let windows create/handle
  3955. the toolwindows.
  3956. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  3957. * PrintDialog.cs: Remove some redundant checks, add some others,
  3958. clean some code, and move the focus to the text boxes when the
  3959. values are incorrect.
  3960. 2006-08-04 Alexander Olk <[email protected]>
  3961. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  3962. 2006-08-03 Alexander Olk <[email protected]>
  3963. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  3964. handled correctly. Fixes bug #79001.
  3965. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  3966. * PrintDialog.cs: The "Copies" numeric up down must have
  3967. set the Minimum property to 1; only if the value is bigger
  3968. than 1, activate "Collate" check box. This is the behaviour of .Net.
  3969. Also modify the Document elements only if it is not null.
  3970. 2006-08-03 Jackson Harper <[email protected]>
  3971. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  3972. length. (We have a larger array then actual node count).
  3973. 2006-08-03 Jackson Harper <[email protected]>
  3974. * ComboBox.cs: Don't show selection by default.
  3975. - The SelectAll isn't needed here, since the focus code should do
  3976. that
  3977. - DDL style lists to manual selection drawing, so when they
  3978. get/lose focus they have to invalidate.
  3979. 2006-08-03 Peter Dennis Bartok <[email protected]>
  3980. * TextBoxBase.cs: Don't always show all selections by default.
  3981. 2006-08-03 Jonathan Pobst <[email protected]>
  3982. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  3983. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  3984. Fixed various typos.
  3985. 2006-08-03 Alexander Olk <[email protected]>
  3986. * Control.cs: Removing the controls in a ControlCollection with
  3987. Clear now hides the controls as expected. Fixes bug #78804.
  3988. 2006-08-03 Jackson Harper <[email protected]>
  3989. * Control.cs: Revert previous focus patch, it breaks reflector.
  3990. 2006-08-03 Jackson Harper <[email protected]>
  3991. * ComboBox.cs: Cleanup selection and focus with the combobox.
  3992. This also eliminates some duplicated keyboard code, since now
  3993. everything is handled by the main class.
  3994. - Make list selection work on mouse up instead of down, to match
  3995. MS.
  3996. 2006-08-02 Jackson Harper <[email protected]>
  3997. * Control.cs: Setting focus needs to go through the whole
  3998. selection mechanism.
  3999. 2006-08-02 Chris Toshok <[email protected]>
  4000. * PrintPreviewDialog.cs: change MinimumSize to use
  4001. base.MinimumSize so it works.
  4002. 2006-08-02 Peter Dennis Bartok <[email protected]>
  4003. * TextControl.cs:
  4004. - UpdateCaret: Added sanity check in case caret isn't defined yet
  4005. - Line.Delete: Now updating selection and caret markers if we're
  4006. transfering a node (Properly fixes #78323)
  4007. - SetSelectionEnd: Added sanity check
  4008. * TextBoxBase.cs: Removed broken attempt to fix #78323
  4009. 2006-08-01 Chris Toshok <[email protected]>
  4010. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  4011. Close() call is handled in Form, not here.
  4012. 2006-08-01 Chris Toshok <[email protected]>
  4013. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  4014. layout/rendering.
  4015. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  4016. for sizes < 100% zoom. The code now aggressively attempts to keep
  4017. from calling document.Print (), and tries not to use the scaling
  4018. g.DrawImage whenever possible (it still does if you scale to >
  4019. 100%, since usually that involves huge images).
  4020. * PrintPreviewControl.cs: hook up the close button.
  4021. 2006-08-01 Jonathan Pobst <[email protected]>
  4022. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  4023. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  4024. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  4025. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  4026. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  4027. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  4028. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  4029. Removed [Serializable] for 2.0 Event Handlers.
  4030. 2006-07-31 Jackson Harper <[email protected]>
  4031. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  4032. * TextControl.cs: Uncomment out the body of this method.
  4033. 2006-07-31 Alexander Olk <[email protected]>
  4034. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  4035. standard cursors.
  4036. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4037. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  4038. that embed TextBox and need selections visible even if textbox is not
  4039. focused to enforce that behaviour.
  4040. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  4041. selection drawing
  4042. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4043. * TextControl.cs:
  4044. - Added new SetSelectionStart/SetSelectionEnd overloads
  4045. - Fixed viewport width assignment to be accurate
  4046. - Adjusted alignment line shift calculations to allow cursor on right
  4047. aligned lines to be always visible at the right border (like MS)
  4048. * TextBoxBase.cs:
  4049. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  4050. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  4051. - CalculateScrollBars: Use ViewPort size instead of window size, to
  4052. properly consider space occupied by the border and scrollbars
  4053. (Fixes #78661)
  4054. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  4055. calculations; no longer leaves artifacts
  4056. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  4057. calculation bugs (Still missing right/center align calculations)
  4058. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4059. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  4060. use of both scroll rect and clip rect, as they do the same.
  4061. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4062. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  4063. in the event handler (fixes #78912)
  4064. 2006-07-31 Chris Toshok <[email protected]>
  4065. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  4066. grid.ListManager.Count, since grid.ListManager might be null.
  4067. This of course begs the question "why are we drawing rows for a
  4068. grid with no list manager (and therefor no rows)?" Fixes the
  4069. crash in bug #78929.
  4070. 2006-07-31 Chris Toshok <[email protected]>
  4071. * RelatedPropertyManager.cs: Don't always chain up to the parent
  4072. ctor. instead, call SetDataSource if the parent's position is !=
  4073. -1. Fixes the crash in #78822.
  4074. 2006-07-31 Chris Toshok <[email protected]>
  4075. * DataGrid.cs (get_ListManager): use field instead of property
  4076. accessors for datasource and datamember.
  4077. (RowsCount): make internal again.
  4078. (OnMouseDown): end edits before resizing columns/rows.
  4079. (OnMouseUp): restart edits after resizing columns/rows.
  4080. 2006-07-30 Peter Dennis Bartok <[email protected]>
  4081. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  4082. This fixes the situation where the last set cursor is displayed
  4083. whenever the mouse is over scrollbars.
  4084. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  4085. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  4086. Document properties, as well as initial values.
  4087. 2006-07-29 Peter Dennis Bartok <[email protected]>
  4088. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  4089. and ClientEdge results in a 3-pixel border, which is
  4090. wrong.
  4091. 2006-07-28 Jackson Harper <[email protected]>
  4092. * TreeNodeCollection.cs: Fix the clear method.
  4093. - Fix the Shrink also
  4094. 2006-07-27 Jackson Harper <[email protected]>
  4095. * TreeView.cs: Make sure the visible order is computed when we
  4096. attempt to size the scrollbars (for trees that mess with the
  4097. scrolling when they shouldn't.
  4098. - Make sure to give the scrollbars valid values.
  4099. 2006-07-26 Peter Dennis Bartok <[email protected]>
  4100. * XplatUIX11.cs: Move motion compression code to where it
  4101. has less performance impact
  4102. 2006-07-26 Jackson Harper <[email protected]>
  4103. * UpDownBase.cs: When the control is selected make the child
  4104. controls non selectable, so that a click on them won't do a
  4105. focus/unfocus cycle.
  4106. - Don't give focus to the text box when the spinner is selected.
  4107. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  4108. 2006-07-26 Chris Toshok <[email protected]>
  4109. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  4110. satisfied with this solution. If the bitmaps are small, we should
  4111. just cache them in the PrintPreviewDialog and draw them here.
  4112. Also, the layout is broken for the 2-up and 3-up cases.
  4113. * Theme.cs: add PrintPReviewControlPaint.
  4114. * PrintPreviewDialog.cs: first pass implementation.
  4115. * PrintPreviewControl.cs: first pass implementation. No
  4116. scrollbars yet.
  4117. * PrintDialog.cs: only validate fields if that particular portion
  4118. of the UI is enabled. Also, set the document's controller to a
  4119. PrintControllerWithStatusDialog wrapping the document's print
  4120. controller.
  4121. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  4122. bring up a SaveFileDialog (i hope we don't want to match the
  4123. behavior of the crappy windows file entry) and set the
  4124. PrinterSettings.PrintFileName accordingly.
  4125. 2006-07-26 Jackson Harper <[email protected]>
  4126. * ContainerControl.cs: Add a field that disables auto selecting
  4127. the next control in a container when the container is activated.
  4128. * UpDownBase.cs: Don't select the text box when the up down is
  4129. selected.
  4130. 2006-07-26 Peter Dennis Bartok <[email protected]>
  4131. * XEventQueue.cs: Added methods for peeking (used for compression
  4132. of successive events)
  4133. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  4134. mouse move events (fixes #78732)
  4135. 2006-07-25 Jackson Harper <[email protected]>
  4136. * UpDownBase.cs: Use an internal class for the textbox so that we
  4137. can control focus. the updown control should always have focus,
  4138. if either the text area or the buttons are clicked.
  4139. - Send the key messages to the textbox, since it never actually
  4140. has focus
  4141. - Activate and decativate the textbox caret.
  4142. 2006-07-24 Jackson Harper <[email protected]>
  4143. * Control.cs: Use the directed select when selecting a control,
  4144. this way the container controls override will get called and the
  4145. whole ActiveControl chain will get triggered. TODO: probably need
  4146. to make sure this gets done everywhere instead of the old
  4147. Select(Control).
  4148. * ContainerControl.cs: Implement the directed Select method to
  4149. find and activate the correct child control.
  4150. 2006-07-22 Mike Kestner <[email protected]>
  4151. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  4152. menu handling code so that clicks without a grab work too.
  4153. [Fixes #78914]
  4154. 2006-07-22 Alexander Olk <[email protected]>
  4155. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  4156. Added some small optimizations.
  4157. 2006-07-21 Matt Hargett <[email protected]>
  4158. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  4159. 2006-07-21 Peter Dennis Bartok <[email protected]>
  4160. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  4161. tests pass and match MS in some strange border cases.
  4162. 2006-07-21 Chris Toshok <[email protected]>
  4163. * ThemeWin32Classic.cs: handle drawing of the relation links and
  4164. parent row buttons.
  4165. * Theme.cs: change args to DataGridPaintParentRow.
  4166. * DataGrid.cs: Don't use controls for the relation links and
  4167. parent buttons, so we have to handle all their interactions in
  4168. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  4169. when we're navigating through child tables, so we can reinstate
  4170. selection, expanded state, current cell, etc.
  4171. 2006-07-20 Chris Toshok <[email protected]>
  4172. * ToolBar.cs: When we redraw a button, for whatever reason,
  4173. there's no reason to redraw the entire toolbar. Also, don't call
  4174. Control.Refresh from within Redraw, as it's much heavier than
  4175. Invalidate (which is really what we want).
  4176. 2006-07-20 Chris Toshok <[email protected]>
  4177. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  4178. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  4179. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  4180. traces from within a debug IBindingList datasource
  4181. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  4182. to work in a similar fashion.
  4183. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  4184. * ListBox.cs: Don't call Sort () when setting
  4185. the Sorted property to false (avoid an unnecessary sort).
  4186. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  4187. * ListControl.cs: DataSource should throw an ArgumentException
  4188. instead of a normal exception when the argument is not of the
  4189. correct type.
  4190. 2006-07-20 Mike Kestner <[email protected]>
  4191. * Control.cs: add InternalPreProcessMessage to allow us to steal
  4192. key events before MWF gets its paws on them. Adapted from a
  4193. suggestion by eno.
  4194. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  4195. up/down/left/right navigation. Override the new internal control
  4196. method to steal the events since they never make it to WndProc.
  4197. * ToolBarButton.cs: don't worry about pushed when setting hilight
  4198. since the drawing code prefers pushed to hilight. Invalidate on
  4199. Hilight changes. Fixes #78547 and #78525.
  4200. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4201. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  4202. the canvas size. Fixes #78868
  4203. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4204. * Splitter.cs: Track requested split position until first layout
  4205. is performed. Fixes #78871
  4206. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4207. * Application.cs: Removed code that forces 1.x for the version
  4208. number if the version started with 0. Not sure why that code was
  4209. there and I couldn't find any bugs that indicated we needed it.
  4210. Fixes #78869
  4211. 2006-07-20 Alexander Olk <[email protected]>
  4212. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  4213. ResetDefaults(), just write some output to the console until it's
  4214. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  4215. 2006-07-19 Jonathan Chambers <[email protected]>
  4216. * PropertyGridView.cs: set StartPosition of drop down forms
  4217. so they appear in correct initial spot. Fixes #78190.
  4218. 2006-07-19 Mike Kestner <[email protected]>
  4219. * ThemeWin32Classic.cs: use parent background color when drawing
  4220. flat toolbars. Restructure the conditionals to make sure non-flat
  4221. non-Divider toolbars are filled too. Fixes #78837.
  4222. 2006-07-19 Mike Kestner <[email protected]>
  4223. * ListBox.cs: Sort on collection changes even if the handle
  4224. isn't created yet. Fixes #78813.
  4225. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  4226. * ListControl.cs: DisplayMember should never be null,
  4227. and now we assign String.Empty when null is passed to it (this
  4228. is the .Net way).
  4229. 2006-07-17 Mike Kestner <[email protected]>
  4230. * ListViewItem.cs: restructure Font and subitem Font handling
  4231. to hold a specific font and refer back to owner on null.
  4232. Fixes #78761.
  4233. 2006-07-17 Mike Kestner <[email protected]>
  4234. * ToolBar.cs: bandaid for side-effect of previous patch which was
  4235. discarding explicit heights for non-AutoSize toolbars. Need to
  4236. extend my format tester to deal with AutoSize=false. Fixes #78864.
  4237. 2006-07-15 Jackson Harper <[email protected]>
  4238. * LabelEditTextBox.cs:
  4239. * TreeView.cs: Use a new LabelEdit class for node editing, this
  4240. class automatically 'closes' itself when it gets the enter key or
  4241. loses focus.
  4242. - Use the client rectangle when setting the trees scrollbars, so
  4243. border style is taken into account.
  4244. 2006-07-14 Jackson Harper <[email protected]>
  4245. * TreeNode.cs:
  4246. * TreeView.cs: Make the editing work similar to MSs, firing the
  4247. events correctly and ending edits correctly.
  4248. 2006-07-14 Mike Kestner <[email protected]>
  4249. * ToolBarButton.cs:
  4250. * ToolBar.cs: layout restructuring and redraw enhancements to support
  4251. formatting changes gracefully, like setting TextAlign, ImageList,
  4252. ButtonSize, and Appearance. Handles explicit button sizing quirks
  4253. of the MS controls. Things like flat toolbars ignoring button size
  4254. but becoming constant sized at the largest button's size. Normal
  4255. toolbars with an image set cannot be shrunk smaller than the image,
  4256. but text can be clipped/ignored.
  4257. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  4258. is zero. Seems like DrawString should be smart enough to not put
  4259. anything on screen though. Also trim labels and ellipsize at the char
  4260. boundary, not word.
  4261. Fixes #78711 and #78483.
  4262. 2006-07-14 Alexander Olk <[email protected]>
  4263. * FolderBrowserDialog.cs: Disable "New Folder" button and
  4264. "New Folder" contextmenu menuitem if a folder like "My Computer"
  4265. is selected.
  4266. 2006-07-14 Alexander Olk <[email protected]>
  4267. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  4268. * FolderBrowserDialog.cs:
  4269. - Use MWFConfig to store and read size and position settings
  4270. - Added code to create a new folder (button or context menu).
  4271. Use TreeView labeledit to change the name of the new folder.
  4272. 2006-07-14 Jackson Harper <[email protected]>
  4273. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  4274. when the tree is scrolled we end editing.
  4275. 2006-07-14 Alexander Olk <[email protected]>
  4276. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  4277. Down arrows
  4278. 2006-07-14 Jonathan Pobst <[email protected]>
  4279. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  4280. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  4281. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  4282. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  4283. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  4284. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  4285. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  4286. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  4287. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  4288. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  4289. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  4290. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  4291. ListViewItemSelectionChangedEventHandler.cs,
  4292. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  4293. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  4294. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  4295. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  4296. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  4297. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  4298. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  4299. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  4300. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  4301. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  4302. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  4303. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  4304. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  4305. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  4306. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  4307. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  4308. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  4309. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  4310. WebBrowserNavigatingEventHandler.cs,
  4311. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  4312. 2006-07-14 Jonathan Pobst <[email protected]>
  4313. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  4314. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  4315. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  4316. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  4317. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  4318. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  4319. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  4320. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  4321. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  4322. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  4323. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  4324. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  4325. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  4326. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  4327. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  4328. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  4329. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  4330. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  4331. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  4332. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  4333. ListViewItemStates.cs, MaskFormat.cs: Added
  4334. 2006-07-13 Jonathan Chambers <[email protected]>
  4335. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  4336. Patch from eno for bug 78558.
  4337. 2006-07-13 Jackson Harper <[email protected]>
  4338. * TreeView.cs: When an edit is finished make sure that the
  4339. selected node is visible.
  4340. - When setting the top/bottom use the scrollbars is_visible, so
  4341. everything will be set correctly even if the tree isn't visible
  4342. yet.
  4343. 2006-07-13 Jackson Harper <[email protected]>
  4344. * ComboBox.cs: Revert the item->index part of my previous patch.
  4345. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  4346. the edit box has lost focus (duh).
  4347. - Just make the edit box not visible when we get return, that will
  4348. take the focus, which will call EndEdit
  4349. * TreeNode.cs When we start editing, notify the treeview.
  4350. 2006-07-12 Jackson Harper <[email protected]>
  4351. * ComboBox.cs: Clear out old items before setting the item list.
  4352. This prevents databound controls from having their items added
  4353. twice.
  4354. - Switch the combobox to use indices whereever possible instead of
  4355. using Item's. This allows usto navigate through lists that have
  4356. more then one item with the same string value (ie a, b, b, a).
  4357. - Scroll the listboxes scrollbar when a non visible item is
  4358. highlighted
  4359. - Allow keypress to cycle through all the possible values. For
  4360. example if you have b1, b2, b3 and hold down the B key all the
  4361. values will be cycled through.
  4362. 2006-07-12 Jackson Harper <[email protected]>
  4363. * TextBoxBase.cs:
  4364. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  4365. this using the internal methods.
  4366. * Control.cs: Add OnGotFocusInternal. A new method that allows
  4367. controls to "override" OnGotFocus and change focus behavior if
  4368. needed.
  4369. - Same thing for LostFocus
  4370. * ComboBox.cs: Pass off focus to the text control properly.
  4371. 2006-07-12 Alexander Olk <[email protected]>
  4372. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  4373. * FolderBrowserDialog.cs: Almost a complete rewrite.
  4374. - Better support for Environment.Specialfolders
  4375. - Added support for MWFVFS
  4376. - Made setting SelectedPath work
  4377. 2006-07-12 Jackson Harper <[email protected]>
  4378. * Control.cs: Optimze getting all the controls.
  4379. 2006-07-11 Jackson Harper <[email protected]>
  4380. * ContainerControl.cs: Override SETFOCUS in the container control,
  4381. so that it is not selected on mouse click.
  4382. 2006-07-11 Peter Dennis Bartok <[email protected]>
  4383. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  4384. Hopefully we will have a better way once all of focus is complete.
  4385. 2006-07-11 Peter Dennis Bartok <[email protected]>
  4386. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  4387. a compile error with csc.
  4388. 2006-07-11 Jackson Harper <[email protected]>
  4389. * Control.cs: When hiding a control only select the next control
  4390. if the current control was focused.
  4391. - Don't handle enter/leave when setting/killing focus, this is
  4392. done by the container control.
  4393. - Remove is_selected, it's not needed anymore.
  4394. - Add utility methods for selecting a child control, and for
  4395. firing the Enter/Leave events.
  4396. * ContainerControl.cs: When a control is activated fire the
  4397. enter/leave events.
  4398. - Don't wrap when processing the tab key, so that focus can be
  4399. moved outside of the container.
  4400. - Use the correct active control
  4401. 2006-07-11 Jackson Harper <[email protected]>
  4402. * ComboBox.cs: Remove some debug code that was blinding me.
  4403. * UpDownBase.cs: These controls actually aren't implicit, they are
  4404. visible to the user.
  4405. 2006-07-10 Chris Toshok <[email protected]>
  4406. * DataGrid.cs: move back to the is_adding boolean field. god i
  4407. hate this is_editing/is_adding/is_changing stuff.
  4408. 2006-07-10 Chris Toshok <[email protected]>
  4409. * DataGridTableStyle.cs: just check if the property type is bool.
  4410. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  4411. Don't use CanRenderType.
  4412. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  4413. if our text == NullText. Remove CanRenderType.
  4414. * DataGridBoolColumn.cs: nuke CanRenderType.
  4415. * DataGrid.cs: reenable some code to end the current edit inside
  4416. of set_CurrentCell. This fixes the other 1.1.16 regression.
  4417. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  4418. Also, remove the visible_row_count arg from CalcRowHeaders, since
  4419. we don't need to worry about the actual height of the area.
  4420. 2006-07-10 Chris Toshok <[email protected]>
  4421. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  4422. mode, just return.
  4423. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  4424. the real sense of the IsInEditOrNavigateMode property (true =
  4425. navigate, false = edit). Also, update OnKeyPress to reflect this.
  4426. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  4427. column style exists, we still need to set its property descriptor
  4428. to match up with our list manager.
  4429. 2006-07-10 Chris Toshok <[email protected]>
  4430. * ThemeWin32Classic.cs: implement the new row/header painting
  4431. approach. The parent row painting will likely go away and
  4432. replaced with label controls, but the rest seems to work ok (and
  4433. efficiently).
  4434. * Theme.cs: change the way we draw datagrid rows. we don't draw
  4435. the row headers as a block now. Instead we draw them in the
  4436. normal draw-row loop. Add some calls for drawing parent rows and
  4437. relation rows.
  4438. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  4439. a default table style. Set the defaults from ThemeEngine.Current,
  4440. not SystemColors. Fix lots of misc issues with property setters.
  4441. * DataGrid.cs: move loads of style information out of this class
  4442. as it's being duplicated with DataGridTableStyle. keep track of a
  4443. special DataGridTableStyle for the properties we used to mirror
  4444. here. Switch all the style properties to access this table style
  4445. instead of instance fields of this class. Also add a internal
  4446. class to represent parent rows (more needs to be stored here, like
  4447. the selection state from the parent table, as well as the
  4448. expansion state.) Also, for datasources with relations, do the
  4449. right thing for collapse/expand, and add support for the
  4450. navigation/parent row buttons.
  4451. Lastly, fix the crash in the 1.1.16 build.
  4452. * GridTableStylesCollection.cs: make the explicit interface
  4453. implementations call the class's methods as opposed to duplicating
  4454. them.
  4455. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  4456. 0 so the text doesn't jump around when we move the cursor.
  4457. 2006-07-10 Jackson Harper <[email protected]>
  4458. * TextBoxBase.cs:
  4459. * ListBox.cs: Match MS's ToString (this makes debugging focus
  4460. stuff infinitely easier).
  4461. 2006-07-10 Jackson Harper <[email protected]>
  4462. * Control.cs (SelectNextControl): When checking the control's
  4463. parent use this instead of ctrl.parent so that null can be passed
  4464. to SelectNextControl. (I have unit tests for this).
  4465. - Remove unused var.
  4466. 2006-07-10 Chris Toshok <[email protected]>
  4467. * CurrencyManager.cs: correct one regression, the removal of the
  4468. finalType field. Also, add a MonoTODO on CanAddRows, implement
  4469. Refresh() correctly, and fix some event emission in
  4470. ListChangedHandler.
  4471. 2006-07-07 Alexander Olk <[email protected]>
  4472. * FileDialog.cs: Don't use brackets for new folders if they exist
  4473. under *nix. Instead use -(number of existing folders +1).
  4474. 2006-07-07 Alexander Olk <[email protected]>
  4475. * FileDialog.cs:
  4476. - Fixed really nasty bug #78771
  4477. - Don't block the whole GUI when reading directories with a lot of
  4478. entries. Use an other thread instead and call BeginInvoke to
  4479. update the ListView in MWFFileView
  4480. 2006-07-07 Chris Toshok <[email protected]>
  4481. * Control.cs (Dispose): release any Capture when disposing.
  4482. 2006-07-07 Chris Toshok <[email protected]>
  4483. * LinkLabel.cs (Select): if we chain up to the parent, set
  4484. focused_index to -1 so we'll search for the first available link
  4485. the next time the user tabs into us. Also, if the direction is
  4486. backward and focused_index == -1, start the search from the last
  4487. element.
  4488. 2006-07-07 Chris Toshok <[email protected]>
  4489. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  4490. is beyond the end of the text, don't do anything.
  4491. (CreateLinkPieces): set our ControlStyles.Selectable based on
  4492. whether or not we have any links.
  4493. (Link.Invalidate): use a loop instead of foreach.
  4494. (Link.set_Start): null out owner.sorted_links so it'll be
  4495. recreated by CreateLinkPieces.
  4496. 2006-07-06 Chris Toshok <[email protected]>
  4497. * LinkLabel.cs: revert the SetStyle change.
  4498. 2006-07-06 Chris Toshok <[email protected]>
  4499. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  4500. (OnEnableChanged): s/Refresh/Invalidate
  4501. (OnGotFocus): if we have a focused index already, refocus it (so
  4502. if we mouse out/in to the window it'll focus the right link).
  4503. (OnKeyDown): move the tab handling out of here.
  4504. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  4505. when we lose focus.
  4506. (OnMouseDown): don't Capture here - Control handles it. Also,
  4507. focus the active link.
  4508. (OnMouseUp): don't deal with Capture.
  4509. (OnPaintBackgroundInternal): remove.
  4510. (OnTextAlignChanged): CreateLinkPieces before calling the
  4511. superclass's method.
  4512. (OnTextChanged): call CreateLinkPieces before calling superclass's
  4513. method.
  4514. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  4515. move around.
  4516. (Select): implement this, moving the selection between different
  4517. links, and call parent.SelectNextControl if we don't have another
  4518. link to focus in the given direction.
  4519. (CreateLinkPieces): call Invalidate instead of Refresh.
  4520. 2006-07-06 Chris Toshok <[email protected]>
  4521. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  4522. new LinkLabel internals.
  4523. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  4524. over pieces looking for active/focused/etc links. also, deal with
  4525. runs of text (and links) with embedded \n's in them, and use
  4526. MeasureCharacterRanges instead of MeasureString to figure out the
  4527. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  4528. two-step.
  4529. 2006-07-04 Jackson Harper <[email protected]>
  4530. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  4531. XKB or key auto repeat, do it manually. Without key auto repeat,
  4532. when a key is held down we get key press, key release, key press,
  4533. key release, ... with auto repeat we get key press, key press, key
  4534. press ..., and then a release when the key is actually released.
  4535. 2006-07-03 Jackson Harper <[email protected]>
  4536. * TabControl.cs:
  4537. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  4538. rules, they are always control color regardless of the background
  4539. color.
  4540. 2006-07-02 Alexander Olk <[email protected]>
  4541. * FileDialog.cs: Added internal class MWFConfig.
  4542. Removed Registry support and replaced it with support for the new
  4543. MWFConfig class. See MWFConfig comments for more information.
  4544. 2006-06-30 Alexander Olk <[email protected]>
  4545. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  4546. rectangle. Added some patches from eno from bug #78490 and fixed
  4547. the arrow position for small up and down CPDrawScrollButtons.
  4548. 2006-06-30 Jackson Harper <[email protected]>
  4549. * InternalWindowManager.cs: Remove some debug code.
  4550. * Form.cs: When an MdiParent is set to null, the window is
  4551. "detatched" and becomes a normal window.
  4552. * MdiClient.cs: Don't bring the new child form to the front until
  4553. it is activated (setting it as active does this), this makes the
  4554. previously active forms titlebar get redrawn as inactive.
  4555. 2006-06-29 Peter Dennis Bartok <[email protected]>
  4556. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  4557. with later controls
  4558. 2006-06-29 Mike Kestner <[email protected]>
  4559. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  4560. arrow in keynav state. Fixes #78682.
  4561. 2006-06-28 Atsushi Enomoto <[email protected]>
  4562. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  4563. order (fixes #78393)
  4564. 2006-06-28 Jonathan Pobst <[email protected]>
  4565. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  4566. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  4567. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  4568. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  4569. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  4570. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  4571. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  4572. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  4573. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  4574. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  4575. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  4576. values)
  4577. 2006-06-28 Mike Kestner <[email protected]>
  4578. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  4579. 2006-06-28 Atsushi Enomoto <[email protected]>
  4580. * PropertyGrid.cs,
  4581. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  4582. item lines from other area (It also makes BackColor consistent and
  4583. compatible with .NET). Fixed bug #78564.
  4584. 2006-06-28 Jonathan Chambers <[email protected]>
  4585. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  4586. Patch from Eno for #78555.
  4587. 2006-06-27 Chris Toshok <[email protected]>
  4588. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  4589. * DataGridColumnStyle.cs: same.
  4590. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  4591. * DataGridDrawingLogic.cs: nuke.
  4592. 2006-06-27 Chris Toshok <[email protected]>
  4593. * DataGridTableStyle.cs: clean up the constructors, and build the
  4594. list of child relations for this table. I have no idea if this is
  4595. where we should be doing it (it probably isn't), but since we're
  4596. already iterating over the properties..
  4597. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  4598. struct and array for keeping track of row information, similar to
  4599. what's shown in a hack on
  4600. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  4601. * Theme.cs: be consistent about the naming of DataGrid methods,
  4602. prefering ColumnWidths and RowHeights over columnsWidths and
  4603. RowsHeights.
  4604. * ThemeWin32Classic.cs: same, and also add support for variable
  4605. sized rows (and the +/- expansion icons for related rows).
  4606. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4607. * TextBoxBase.cs: Applied Eno's patch from #78660
  4608. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4609. * Form.cs (ScaleCore): We don't want to scale our form if it's
  4610. state is minimized or maximized, but we still need to scale our
  4611. child windows. Also, added try/finally block to ensure layout
  4612. gets reset (Fixes #78697)
  4613. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4614. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  4615. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4616. * Form.cs: Fixed c+p error and added check to resize form if minimum
  4617. size is bigger than current size (Fixes #78709)
  4618. 2006-06-26 Peter Dennis Bartok <[email protected]>
  4619. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  4620. 2006-06-26 Mike Kestner <[email protected]>
  4621. * ComboBox.cs: only do Keypress handling in the combo when there
  4622. are items in the collection. Fixes #78710.
  4623. 2006-06-26 Chris Toshok <[email protected]>
  4624. * Binding.cs: make this work bi-directionally. also, clear up
  4625. other mixups between Push/Pull Data (e.g. we're supposed to pull
  4626. data when validating).
  4627. * BindingManagerBase.cs: trim some fully qualified collection
  4628. types.
  4629. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  4630. 2006-06-23 Chris Toshok <[email protected]>
  4631. * PropertyManager.cs: It appears (according to the unit tests)
  4632. that PropertyManager doesn't use
  4633. PropertyDescriptor.AddValueChanged to track propery value changes
  4634. in its datasource, but uses the same scheme as Binding, where it
  4635. looks for a <Property>Changed event and binds to it.
  4636. Also, according to the docs, IsSuspended always returns false for
  4637. a property manager with a non-null datasource.
  4638. 2006-06-22 Peter Dennis Bartok <[email protected]>
  4639. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  4640. need to update the actual DialogResult. (Fixes #78613)
  4641. 2006-06-22 Peter Dennis Bartok <[email protected]>
  4642. * Form.cs (ShowDialog): Release any captures before running the
  4643. new message pump (fixes #78680)
  4644. 2006-06-22 Mike Kestner <[email protected]>
  4645. * ListView.cs: Layout column widths properly in details mode even
  4646. if HeaderStyle.None is set. Fixes #78691.
  4647. 2006-06-21 Peter Dennis Bartok <[email protected]>
  4648. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  4649. 2006-06-21 Peter Dennis Bartok <[email protected]>
  4650. * Control.cs (ContainsFocus): Using new driver method to get focused
  4651. window, instead of trying to use internal tracking var, which can
  4652. recursion issues (Fixes #78685)
  4653. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  4654. XplatUIWin32.cs: Added GetFocus method to return focused window
  4655. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  4656. * ColorDialog.cs: when the mouse button is pressed inside the color
  4657. matrix, don't let the cursor move out of it until the button is
  4658. released, which is the behavior on windows. Changed 'colours' by
  4659. 'colors' to use the same word consistently.
  4660. 2006-06-21 Chris Toshok <[email protected]>
  4661. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  4662. child relation and back, using a stack). Also, remove
  4663. GetDataSource and the code that calls it - it's not needed. Also,
  4664. track CurrencyManager.ListName's removal.
  4665. 2006-06-21 Chris Toshok <[email protected]>
  4666. * CurrencyManager.cs: push some of the original type checking from
  4667. BindingContext.CreateBindingManager to here, and remove some of
  4668. the finalType stuff. Need more tests to make sure I've got the
  4669. ListName part right, and we might need more in SetDataSource.
  4670. * PropertyManager.cs: add a ctor that takes just the datasource,
  4671. and no property name. Make SetDataSource work with a null
  4672. property_name, and make Current return the data_source if the
  4673. property descriptor is null. this makes 'string foo = "hi";
  4674. BindingContext[foo].Current' return "hi" as it should.
  4675. * RelatedCurrencyManager.cs: make this code more generic - there's
  4676. no reason the parent manager has to be CurrencyManager, and
  4677. there's no reason to pass the DataRelation. It suffices to use a
  4678. BindingManagerBase and PropetyDescriptor.
  4679. * RelatedPropertyManager.cs: make a similar change here.
  4680. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  4681. flower I knew it could be.
  4682. 2006-06-20 Chris Toshok <[email protected]>
  4683. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  4684. data in the source has changed and we need to update the control,
  4685. so s/PullData/PushData.
  4686. * CurrencyManager.cs: Refresh is meant to update the control from
  4687. data in the datasource. So, s/PullData/PushData.
  4688. * BindingContext.cs: add more ugliness (we weren't handling the
  4689. case where data_source = DataTable and data_member = column_name).
  4690. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  4691. from the perspective of the datasource. PullData pulls from the
  4692. control, PushData pushes to the control.
  4693. 2006-06-20 Chris Toshok <[email protected]>
  4694. * BindingContext.cs: rewrite the CreateBindingManager code to
  4695. handle navigation paths more or less properly. This could
  4696. definitely stand some more work, in particular to push the
  4697. recursion up to the toplevel. But that relies on fixes in other
  4698. places (System.Data comes to mind).
  4699. Also, move to a flat hashtable (and encode the twolevel nature of
  4700. the dictionary into the hash key). This lets us implement the
  4701. IEnumerable.GetEnumerator method.
  4702. * RelatedCurrencyManager.cs: new class. Update our view based on
  4703. our relation and our parent CurrencyManager's position.
  4704. * CurrencyManager.cs: split out some logic from the ctor into
  4705. SetView, so it can be called from the new RelatedCurrencyManager
  4706. subclass.
  4707. * RelatedPropertyManager.cs: new class. Update our datasource
  4708. based on the position of our parent CurrencyManager.
  4709. * PropertyManager.cs: split out some logic from the ctor into
  4710. SetDataSource, so it can be called from the new RelatedDataSource
  4711. subclass. Also, make the Current getter return the value
  4712. of the PropertyDescriptor, not the data_source.
  4713. * Binding.cs: no need to duplicate the string splitting code here.
  4714. 2006-06-19 Peter Dennis Bartok <[email protected]>
  4715. * Control.cs:
  4716. - set_Enabled: OnEnabledChanged is not called if the inherited state
  4717. of the control is not altered, even though we might be changing the
  4718. internal state of the control (#78458)
  4719. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  4720. OnEnabledChanged, to allow easy altering of any child window state
  4721. - OnEnabledChanged: Added code to enable/disable driver window state
  4722. - OnParentEnabledChanged: Instead of firing the event, call
  4723. OnEnabledChanged, which will fire the event and also a) set driver
  4724. window state and pass the enabled state to any grandchildren (#78458)
  4725. 2006-06-19 Jackson Harper <[email protected]>
  4726. * InternalWindowManager.cs: We don't set the cursor explicitly
  4727. thats done via the response to NCHITTESTs.
  4728. - Don't need to adjust for titlebar heights anymore, the
  4729. coordinates are coming in the correct coordinates now (see peters
  4730. last patch).
  4731. 2006-06-19 Peter Dennis Bartok <[email protected]>
  4732. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  4733. being translated relative to whole window, instead of client window.
  4734. That caused broken offsets on mouseclick (and caused gas for our
  4735. InternalWindowManager)
  4736. 2006-06-15 Peter Dennis Bartok <[email protected]>
  4737. * TextControl.cs:
  4738. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  4739. - Undo(): Added replay of cursor move on DeleteChars action; added
  4740. calling Undo() again if a recorded cursor move is invalid (to
  4741. ensure that some action is performed on Undo)
  4742. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  4743. 2006-06-16 Jackson Harper <[email protected]>
  4744. * MdiClient.cs: Instead of just sizing maximized windows when
  4745. there is a resize we also have to adjust the Y of minimized
  4746. windows, so they stay pinned to the bottom of the mdi container.
  4747. - Eliminate separate tracking of the active control, we can just
  4748. get this from the controls collection.
  4749. - Paint the decorations for the newly activated titlebar so we get
  4750. a pretty blue bar.
  4751. * InternalWindowManager.cs:
  4752. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  4753. even if they are a tool window.
  4754. 2006-06-15 Peter Dennis Bartok <[email protected]>
  4755. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  4756. undo buffer, these can happen when text was deleted and the cursor
  4757. was recorded first. Since we will also have a recorded cursor
  4758. after the delete this is not an issue. (Fixes #78651)
  4759. 2006-06-14 Peter Dennis Bartok <[email protected]>
  4760. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  4761. instead properly track control states internally (allows us to
  4762. remove is_selected from Control)
  4763. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  4764. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  4765. whose width is not a multiple of 8.
  4766. 2006-06-13 Jackson Harper <[email protected]>
  4767. * MdiClient.cs: Only maximize the next child if the current one
  4768. is maximized.
  4769. 2006-06-13 Chris Toshok <[email protected]>
  4770. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  4771. modified. Also, guard against grid or grid_drawing being null in
  4772. Invalidate.
  4773. * DataGrid.cs: Reformat tons of getters/setters. In the
  4774. DataMember setter, just call SetNewDataSource instead of
  4775. duplicating some of its functionality. In SetNewDataSource, don't
  4776. check ListManager for null, since the property getter creates the
  4777. object if needed.
  4778. * DataGridTableStyle.cs: don't set TableStyle or call
  4779. SetDataGridInternal on the column here, it's done in
  4780. GridColumnStylesCollection.Add.
  4781. * GridColumnStylesCollection.cs: fix all the explicit interface
  4782. implementations to just call our methods. Nuke AddInternal() and
  4783. move the body of it to Add(). Also, add a call to
  4784. column.SetDataGridInternal to Add().
  4785. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  4786. base()+duplicate code. Also, use the Format property instead of
  4787. format to generate an Invalidate ala MS. Lastly, create the
  4788. textbox here, unconditionally.
  4789. (set_Format): call Invalidate.
  4790. (get_TextBox): no need to call EnsureTextBox.
  4791. (Commit): remove the message box.
  4792. (Edit) remove the call to EnsureTextBox.
  4793. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  4794. (EnterNullValue): no need to check textbox for null.
  4795. (HideEditBox): no need to check textbox for null.
  4796. (SetDataGridInColumn): add the textbox to the grid's controls.
  4797. (EnsureTextBox): nuke.
  4798. 2006-06-13 Jackson Harper <[email protected]>
  4799. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  4800. and redraw the buttons when needed. Unhook when the window is
  4801. unmaximized.
  4802. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  4803. needs this so that it can redraw its buttons when the menu is
  4804. repainted.
  4805. * InternalWindowManager.cs:
  4806. * Form.cs: The method order has changed for DrawMaximizedButtons,
  4807. so that it can be a PaintEventHandler.
  4808. 2006-06-13 Jackson Harper <[email protected]>
  4809. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  4810. window is activated and maximized, even if it wasn't before.
  4811. - When a new window is activated repaint the decorations of the
  4812. old one, so that it no longer has the Active "look" (the blue
  4813. titlebar).
  4814. * InternalWindowManager.cs: Open up CreateButtons to base classes
  4815. so they can recreate the buttons on state changes.
  4816. - If a window is maximized give it all three buttons
  4817. * MdiWindowManager.cs: Create the titlebar buttons when the state
  4818. is changed, this is needed because a toolwindow will not have all
  4819. three buttons until it is maximized.
  4820. 2006-06-13 Atsushi Enomoto <[email protected]>
  4821. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  4822. Fixed bug #78609.
  4823. 2006-06-12 Jackson Harper <[email protected]>
  4824. * KeysConverter.cs: Make sure we handle the Ctrl special case
  4825. if its the only key.
  4826. 2006-06-12 Jackson Harper <[email protected]>
  4827. * Theme.cs: Add a method to get the size of a managed window
  4828. toolbar button.
  4829. * InternalWindowManager.cs: Remove the ButtonSize property, this
  4830. should be retrieved from the theme.
  4831. * MdiWindowManager.cs: Get the button size from the theme
  4832. * ThemeWin32Classic.cs: Make the method to get the managed window
  4833. titlebar button size public.
  4834. - Handle the different button sizes of maximized toolwindows
  4835. (should match any maximized window).
  4836. - Get the titlebar height from the theme, not the WM (which gets
  4837. it from the theme).
  4838. 2006-06-12 Jackson Harper <[email protected]>
  4839. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  4840. event down to the mdi window manager.
  4841. - Expose some extra stuff to base classes
  4842. - Make sure to end the Capture on an NC Mouse up, so that we can
  4843. get double clicks properly, and the sizing doens't stick.
  4844. - When doing PointToClient contain it in the workable desktop
  4845. area, this prevents windows from changing size when the cursor is
  4846. pulled outside of the working area while sizing.
  4847. * MdiWindowManager.cs: When we get a double click maximize the
  4848. window.
  4849. - Reset the cursor after handling mode changes.
  4850. 2006-06-12 Peter Dennis Bartok <[email protected]>
  4851. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  4852. current desktop, instead of just assuming a 0, 0 origin. This
  4853. is needed for our internal window manager, to know the top
  4854. margin of the desktop
  4855. 2006-06-12 Chris Toshok <[email protected]>
  4856. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  4857. we need this to get rid of the selected background in the bool
  4858. column.
  4859. (CancelEditing): move the ConcedeFocus call to above the Abort
  4860. call. Also, set is_changing to false and invalidate the row
  4861. header if we were changing before.
  4862. (ProcessKeyPreviewInternal): remove, since noone outside this
  4863. class calls it anymore. Roll the code into ProcessKeyPreview.
  4864. (EndEdit): remove the internal version.
  4865. (InvalidateCurrentRowHeader): make private.
  4866. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  4867. Keys.Escape handling (and with it the last call to
  4868. DataGrid.EndEdit from outside the class.)
  4869. 2006-06-12 Chris Toshok <[email protected]>
  4870. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  4871. (OnKeyPress): set isedit to true.
  4872. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  4873. already handled by the grid.
  4874. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  4875. right. ugh.
  4876. (set_DataSource): SetDataSource always returns true, so stop
  4877. putting it in an if statement.
  4878. (EndEdit): get rid of some {}'s
  4879. (ProcessGridKey): return true in case Keys.Escape.
  4880. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  4881. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  4882. PositionChanged, stopped connecting to CurrentChanged.
  4883. (GetDataSource): simplify this a bunch.
  4884. (SetDataSource): change return type from bool to void.
  4885. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  4886. to this, and make sure we don't set ListManager.Position inside
  4887. set_CurrentCell.
  4888. (OnListManagerItemChanged): if we're passed an actual index,
  4889. redraw that row.
  4890. * CurrencyManager.cs (set_Position): don't call PullData here.
  4891. 2006-06-09 Jackson Harper <[email protected]>
  4892. * TreeNode.cs: Recalculate the visible order before doing the
  4893. Expand/Collapse Below calls, because those calls generate an
  4894. expose.
  4895. - Reduce calls to the TreeView property, which is mildly expensive
  4896. by using a local var.
  4897. * Form.cs: Layout the MDI child windows when creating the parent
  4898. form.
  4899. - Don't use the internal constructor anymore
  4900. * MdiClient.cs: use the parent form width/height (if available)
  4901. when laying out the child windows, we do this because the
  4902. mdiclient isn't docked yet when the initial layout is done.
  4903. - Don't need an internal constructor anymore.
  4904. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  4905. * FileDialog.cs: handle access errors when trying to create a folder
  4906. or changing to a directory. No need to initialize out parameters.
  4907. 2006-06-08 Alexander Olk <[email protected]>
  4908. * FileDialog.cs: Append a number when creating a new folder if the
  4909. folder already exists (use parenthesis instead of square brackets)
  4910. 2006-06-08 Alexander Olk <[email protected]>
  4911. * FileDialog.cs:
  4912. - Disabled registry support for windows and added better registry
  4913. error checking for other systems (need to investigate why it
  4914. works perfectly on my system)
  4915. - If a folder already exist show an error MessageBox instead of
  4916. trying to create an indexed name.
  4917. - Fixed a non intentional typo.
  4918. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  4919. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  4920. 2006-06-08 Alexander Olk <[email protected]>
  4921. * FileDialog.cs: When creating a new folder don't crash if the
  4922. folder already exists.
  4923. 2006-06-08 Alexander Olk <[email protected]>
  4924. * FileDialog.cs: Allmost a complete rewrite.
  4925. - added a "virtual" file system that handles the differences
  4926. between unix and windows file systems (especially the directory
  4927. structure). Moved most of the directory and file handling code
  4928. into the vfs.
  4929. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  4930. UnixFileSystem and FSEntry.
  4931. - Recently used folder/directory, size, location and used file names
  4932. (file name ComboBox) are now stored in the registry and get read
  4933. before the dialog shows up (fixes part 6 of bug #78446).
  4934. - Creation of new folders/directories is now possible (context menu
  4935. or ToolBar). Added TextEntryDialog for this that fills in the gap
  4936. until ListView.LabelEdit works.
  4937. - Fixed cursor handling (bug #78527) and focus handling for
  4938. PopupButtonPanel
  4939. - Various "Search in" ComboBox enhancements. The content of the
  4940. dropdown listbox now almost matches ms.
  4941. - Changed the behaviour when the user switches to SpecialFolder
  4942. Recent to show the ListView in View.Details.
  4943. - Beside using the ToolBar to change the View property of the
  4944. file ListView it is now possible to use the context menu too.
  4945. 2006-06-08 Alexander Olk <[email protected]>
  4946. * ComboBox.cs: Don't create a new ObjectCollection when an item
  4947. gets inserted. Just insert the item in the existing object_items
  4948. ArrayList.
  4949. 2006-06-08 Jackson Harper <[email protected]>
  4950. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  4951. that the treeview and root node checks are done also, this fixes a
  4952. regression i caused in the unit tests.
  4953. 2006-06-07 Wade Berrier <[email protected]>
  4954. * RichTextBox.cs: More ISO8859-1 -> unicode
  4955. 2006-06-07 Mike Kestner <[email protected]>
  4956. * ComboBox.cs : use items to hold highlight/selection so that
  4957. collection insertions don't require synchronization.
  4958. 2006-06-07 Jackson Harper <[email protected]>
  4959. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  4960. routine. We now always keep the sized edge at the cursor instead
  4961. of computing movement and adjusting rects. There is one buglet
  4962. with this method though when the cursor is moved over area that
  4963. the window can not expand too (such as the toolbars on the desktop).
  4964. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  4965. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  4966. here. Fixes crash on startup in AlbumSurfer.
  4967. 2006-06-07 Peter Dennis Bartok <[email protected]>
  4968. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  4969. values
  4970. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  4971. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  4972. statement to avoid calling XNextEvent which will block if another thread
  4973. took the event that we were expecting. Fixes bug #78605.
  4974. 2006-06-07 Mike Kestner <[email protected]>
  4975. * ListView.cs : isolated checkbox clicking from the selection logic.
  4976. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  4977. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  4978. * Form.cs: Check that the value passed to Form.DialogResult
  4979. is a valid enum value.
  4980. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  4981. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  4982. Computer'. Clicking it in the network view goes to 'My Computer'.
  4983. Added CIFS filesystem type. Display the mount point of filesystems.
  4984. Avoid duplicate mount points (happens for me with CIFS);
  4985. 2006-06-06 Jackson Harper <[email protected]>
  4986. * InternalWindowManager.cs: Draw the maximized windows buttons
  4987. when resizing.
  4988. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  4989. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  4990. all other dialogs. Fixes bug #78585.
  4991. 2006-06-06 Mike Kestner <[email protected]>
  4992. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  4993. Only invalidate checkbox on checkstate changes to avoid flicker.
  4994. * ListBox.cs : avoid unselect/select when clicking selected item.
  4995. avoid reselection flicker for already multiselected items.
  4996. Fixes #78382.
  4997. 2006-06-06 Jackson Harper <[email protected]>
  4998. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  4999. the parent form so that the menu is removed if needed.
  5000. 2006-06-06 Mike Kestner <[email protected]>
  5001. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  5002. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  5003. 2006-06-06 Mike Kestner <[email protected]>
  5004. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  5005. 2006-06-06 Jackson Harper <[email protected]>
  5006. * Control.cs: Use the property (instead of the field) to get the
  5007. default cursor so it is instantiated correctly.
  5008. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  5009. resizes so we need to manually repaint the window decorations here.
  5010. - Set the titlebar button locations as soon as they are created,
  5011. otherwise they are not set correctly on win32.
  5012. 2006-06-06 Chris Toshok <[email protected]>
  5013. * CurrencyManager.cs (set_Position): call PullData before
  5014. OnCurrentChanged.
  5015. (AddNew): after calling IBindingList.AddNew, update our
  5016. listposition, and call OnCurrentChanged/OnPositionChanged (without
  5017. calling PullData).
  5018. (OnCurrentChanged): remove the call to PullData from here.
  5019. (OnItemChanged): remove the call to PushData from here.
  5020. (OnPositionChanged): change the test from == null to != null to
  5021. match the other methods.
  5022. (ListChangedHandler): the grossest part of the patch. Implement
  5023. this such that it passes the unit tests in CurrencyManagerTest and
  5024. the output more or less matches that of MS's implementation.
  5025. 2006-06-06 Mike Kestner <[email protected]>
  5026. * ListView.cs : only update check state on single click.
  5027. * ThemeWin32Classic.cs : fix focus drawing for details view without
  5028. fullrowselect. Fixes #78454.
  5029. * XplatUIX11.cs : fix for double click emission.
  5030. 2006-06-05 Jonathan Chambers <[email protected]>
  5031. * PropertyGridView.cs : Applied Atsushi's patch to fix
  5032. font dialog bug (#78197).
  5033. 2006-06-05 Jackson Harper <[email protected]>
  5034. * TreeNode.cs: Compute the next node for expanding/collapsing
  5035. correctly. We now factor in nodes without a NextNode
  5036. correctly. (Fixes somes cases in nunit-gui).
  5037. * InternalWindowManager.cs: Set the bounds when updating the
  5038. virtual position of a tool window.
  5039. 2006-06-05 Chris Toshok <[email protected]>
  5040. * DataGrid.cs: rename cached_currencymgr to list_manager.
  5041. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  5042. some.
  5043. (CurrentRow, CurrentColumn): single accessors so we can make the
  5044. cursor movement code a lot easier to understand.
  5045. (CurrentRowIndex): implement this in terms of CurrentRow.
  5046. (BeginEdit): clean this up a bit.
  5047. (CancelEditing): sort out the is_editing/is_changing/is_adding
  5048. stuff a little.
  5049. (EndEdit): minor changes.
  5050. (OnKeyDown): add a comment about a (most likely) unnecessary
  5051. check.
  5052. (OnMouseDown): cancel editing when we click on a row header. And
  5053. use the CurrentRow setter, not CurrentCell.
  5054. (ProcessDialogKey): directly call ProcessGridKey.
  5055. (UpdateSelectionAfterCursorMove): factor out this common block of
  5056. code (it's used everywhere that we move the cursor by updating row
  5057. or column).
  5058. (ProcessGridKey): pretty substantial overhaul. Use the
  5059. CurrentRow/CurrentColumn properties to make the code a lot more
  5060. readable. Only use the CurrentCell property when we have to
  5061. modify both row and column at once. Tab behavior is still broken,
  5062. and Delete is untested.
  5063. (Select): if we have no selected rows, set selection_start to
  5064. @row.
  5065. (EditCurrentCell): rename EditCell this. It was only ever invoked
  5066. with CurrentCell as the arg, so drop the arg and rename it.
  5067. * DataGridColumnStyle.cs: clean up the constructors a little, and
  5068. drop CommonConstructor().
  5069. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  5070. actually get notified when the user hits it.
  5071. (ProcessKeyMessage): *substantially* simplify this method.
  5072. There's no reason (that I can see) for the textbox to be making
  5073. calls into the datagrid at all. Remove all of them but the ones
  5074. for Enter handling. those will take some more work.
  5075. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  5076. calling HideEditBox.
  5077. (HideEditBox): if we have an active textbox, render it invisible
  5078. without causing a re-layout of the datagrid.
  5079. 2006-06-05 Mike Kestner <[email protected]>
  5080. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  5081. collection changes by resetting it to Items[0]. Fixes #78587.
  5082. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  5083. * MessageBox.cs: if the height of the text is larger than the icon_size,
  5084. use that. Fixes bug #78575.
  5085. 2006-06-05 Jackson Harper <[email protected]>
  5086. * TreeView.cs: Fix line drawing when scrolling. To do this each
  5087. node is basically responsible for drawing its entire horizontal
  5088. area. When drawing a node it draws its parent node lines if
  5089. needed.
  5090. - Adjust the clip area to the viewport rectangle
  5091. - Fix Left/Right key handling to match MS. (It expand/collapses
  5092. and moves to parents/first child but does not move selection to
  5093. sibling nodes).
  5094. - Fix SetTop to work with new bound calculation code
  5095. - When scrollbars are no longer needed we need to reset scrolling
  5096. vars and recalculate the visible order so the redraw is correct
  5097. * TreeNode.cs: We can't expand/collapse nodes with no children.
  5098. 2006-06-03 John Luke <[email protected]>
  5099. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  5100. so the colors work without dev packages
  5101. 2006-06-02 Peter Dennis Bartok <[email protected]>
  5102. * Control.cs
  5103. - Select: Implemented to just use activate. Seems to match MS
  5104. behaviour closest. Documented to only do actual control walking
  5105. based on it's parameters if in a container control so I moved
  5106. the code there.
  5107. - Removed selection check logic from our internal Select() method
  5108. * ContainerControl.cs:
  5109. - Select: Moved selection logic from Control here, since MS documents
  5110. that containers obey the bool arguments. No longer calling base
  5111. 2006-06-02 Jackson Harper <[email protected]>
  5112. * TreeView.cs: If the selected node isn't changed when we get
  5113. focus update the previously selected node so that we see the
  5114. selection box.
  5115. 2006-06-02 Mike Kestner <[email protected]>
  5116. * ComboBox.cs: restructure grab and general mouse event handling.
  5117. Make the composite control raise mouse events like it was a single
  5118. control for leaves/enters/motion/up/down events. fix dropdown list
  5119. coordinate mangling and refactor it into the scrollbar subclass to
  5120. reduce code duplication. Fixes #78282 #78361 and #78457.
  5121. 2006-06-02 Mike Kestner <[email protected]>
  5122. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  5123. automatically in the Control.WndProc.
  5124. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  5125. * FileDialog.cs: fix crash when running SharpChess, which sets the
  5126. FilterIndex to 2 with only one Filter.
  5127. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  5128. * ToolBar.cs: add SizeSpecified property.
  5129. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  5130. try to figure out our real size, otherwise fallback to what the
  5131. container says.
  5132. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5133. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  5134. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  5135. up the event
  5136. 2006-06-01 Mike Kestner <[email protected]>
  5137. * ListView.cs: revamp the focus management in ListView. It still
  5138. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  5139. better than not handling focus at all. Will revisit when pdb feels
  5140. the general focus handling is solid. Fixes #78526.
  5141. 2006-06-01 Jackson Harper <[email protected]>
  5142. * TreeView.cs: Set the default border style in the constructor.
  5143. - Move painting to use OnPaintInternal instead of capturing
  5144. WM_PAINT, this is the correct way of doing things
  5145. - UpdateBelow shouldn't invalidate the scrollbar area
  5146. - Cap the top on update below in case the node was above the top
  5147. of the viewport rectangle.
  5148. - ExpandBelow and Collapse below need to obey Begin/End Update.
  5149. * TreeNode.cs: Make is_expanded internal so the treenode
  5150. collection can change it without firing the whole event chain.
  5151. * TreeNodeCollection.cs: When clearing all the child nodes make
  5152. sure to recalc the visible order.
  5153. - Improve algo for remove the top node
  5154. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5155. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  5156. SendMessage directly calling window procedures, which in turn might
  5157. call SetFocus()
  5158. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5159. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  5160. has focus (works around X11 sending a FocusIn after our SetFocus)
  5161. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  5162. 2006-06-01 Alexander Olk <[email protected]>
  5163. * Mime.cs: Fix for the NET_2_0 build.
  5164. NameValueCollection needs StringComparer now.
  5165. 2006-05-31 Chris Toshok <[email protected]>
  5166. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  5167. return (via an out parameter) the starting X of the column.
  5168. (UpdateVisibleColumn): track change to FromPixelToColumn.
  5169. (HitTest): add a ColumnResize case here.
  5170. (DrawResizeLine): new function, probably poorly named.
  5171. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  5172. only need to keep one reference.
  5173. (set_ListManager): same.
  5174. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  5175. Also, add support for HitTestType.ColumnResize.
  5176. (OnMouseMove): add column resize behavior here, and change the
  5177. cursor to the correct one as we move around the datagrid.
  5178. (OnMouseUp): terminate the column resize if we're resizing.
  5179. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  5180. for the current cell.
  5181. (ConnectListManagerEvents): use cached_currencymgr.
  5182. (DisconnectListManagerEvents): fill this in, using
  5183. cached_currencymgr.
  5184. (SetCurrentCell): remove cached_currencymgr_events handling.
  5185. (SetDataMember): only call DisconnectListManagerEvents if
  5186. cached_currencymgr is != null.
  5187. (SetDataSource): same.
  5188. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  5189. cached_currencymgr.
  5190. 2006-05-31 Jackson Harper <[email protected]>
  5191. * BindingManagerBase.cs: Remove somedebug code that creeped into
  5192. SVN.
  5193. * TreeNode.cs: We get the indent level dynamically right now, so
  5194. don't track it as a member.
  5195. * TreeNodeCollection.cs: Make sure all nodes added to the list
  5196. have parents, treeviews/topnodes setup properly.
  5197. - Don't attempt to track indent level.
  5198. 2006-05-30 Jackson Harper <[email protected]>
  5199. * BindingContext.cs: Create the currency manager tables here.
  5200. This allows us to more easily create null tables (when bad data
  5201. members are used), and more easily create related currency
  5202. managers.
  5203. * CurrencyManager.cs: All the table creation stuff is done by the
  5204. binding context now.
  5205. - Current should throw an exception if listposition is -1.
  5206. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  5207. been bound yet.
  5208. 2006-05-30 Mike Kestner <[email protected]>
  5209. * ListView.cs: allow reexpansion of zero-width column headers.
  5210. Fixes #78528.
  5211. 2006-05-28 Chris Toshok <[email protected]>
  5212. * CurrencyManager.cs (get_Current): after the late binding
  5213. listposition = -1 fix, we need to guard against it here and return
  5214. null, otherwise we raise an exception (which is swallowed
  5215. elsewhere, and breaks datagrid databinding.)
  5216. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5217. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  5218. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  5219. 2006-05-26 Jackson Harper <[email protected]>
  5220. * ControlPaint.cs:
  5221. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  5222. values, it's faster and it's all we care about (we don't care if
  5223. the names aren't equal).
  5224. * KeyboardLayouts.cs: Eliminate some dead code.
  5225. - Lazy init things
  5226. * X11Keyboard.cs: Lazy init keyboard detection.
  5227. - Cleanup access modifiers a little.
  5228. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5229. * XplatUIX11.cs: Once again, attempting to get layout just right.
  5230. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5231. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  5232. the sizes of each link section, that will result in sizes that
  5233. match DrawString's layout (Fixes #78391)
  5234. 2006-05-27 Alexander Olk <[email protected]>
  5235. * FileDialog.cs: If AddExtension property is true autocomplete the
  5236. extensions in SaveFileDialog correctly. Fixes bug #78453.
  5237. Set MyNetwork and MyComputer to "C:\" for windows. This should
  5238. fix part 8 of bug #78446 for now.
  5239. 2006-05-26 Chris Toshok <[email protected]>
  5240. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  5241. invalidate the current row header if we need to, but presumably
  5242. we'll invalidate the row corrsponding to the bounds or
  5243. editingControl.
  5244. (GridHScrolled): switch back to this method, as it's part of the
  5245. public api. *sigh*.
  5246. (GridVScrolled): same.
  5247. (OnMouseWheel): hack up something that more or less works. Call
  5248. GridHScrolled/GridVScrolled directly, instead of duplicating much
  5249. of their code here.
  5250. (EnsureCellVisibility): reinstate a bunch of this code, since we
  5251. can't just set the scrollbar Value and expect to do all the work
  5252. in the ValueChanged handler. Also, Call Update() after scrolling
  5253. in one direction so the other XplatX11.ScrollWindow call has the
  5254. proper stuff in the proper places.
  5255. (EditCell): set is_editing to true before calling .Edit.
  5256. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  5257. don't bother comparing first.
  5258. (OnKeyPress): call grid.ColumnStartedEditing before calling
  5259. base.OnKeyPress. this will set is_changing and invalidate the row
  5260. header if necessary.
  5261. (ProcessKeyMessage): for WM_CHAR messages, call
  5262. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  5263. and WM_KEYDOWN.
  5264. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  5265. it's done in the DataGrid.
  5266. (NextState): call grid.ColumnStartedEditing, which takes care of
  5267. invalidating the row header (and setting is_changing).
  5268. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  5269. here. it's done in the DataGrid.
  5270. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5271. * Control.cs: allow changing the cursor when the mouse position is
  5272. out of bounds but Capture is set.
  5273. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  5274. linklabel but released somewhere else.
  5275. 2006-05-25 Jackson Harper <[email protected]>
  5276. * TreeView.cs: When we get focus if there is no selected node make
  5277. it the top node
  5278. - Remove some uneeded setup code from Draw.
  5279. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  5280. a new node is inserted make the new node the top.
  5281. * XplatUIX11.cs:
  5282. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  5283. be used (should be faster).
  5284. 2006-05-25 Chris Toshok <[email protected]>
  5285. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  5286. problem with the last commit.
  5287. 2006-05-25 Chris Toshok <[email protected]>
  5288. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  5289. need the invalidate call here, while scrolling right-to-left via
  5290. the left arrow key (i.e. moving the editing cell while scrolling).
  5291. * DataGrid.cs (.ctor): remove the initialization of
  5292. ctrl_pressed/shift_pressed. We no longer track them using key
  5293. up/down handlers, but by using Control.ModifierKeys. Also, switch
  5294. to using ValueChanged handlers on the scrollbars instead of
  5295. Scrolled event handlers. This simplifies a bunch of the scrolling
  5296. code.
  5297. (GridHValueChanged): rename from GridHScrolled, and change it to
  5298. work with the new event args.
  5299. (GridVValueChanged): same.
  5300. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  5301. (OnMouseWheel): actually scroll the datagrid. Don't change the
  5302. selected cell.
  5303. (ProcessGridKey): correct all the keyboard navigation stuff I
  5304. could find. Ctrl up/down/left/right/home/end work now.
  5305. (EnsureCellVisibility): correct method name spelling. Also,
  5306. simplify this a touch by not explicitly calling the
  5307. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  5308. scrollbar value.
  5309. (OnKeyUpDG): no need for this method now.
  5310. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5311. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  5312. Fixes bug #78392.
  5313. 2006-05-25 Chris Toshok <[email protected]>
  5314. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  5315. r61019.
  5316. 2006-05-25 Peter Dennis Bartok <[email protected]>
  5317. * Application.cs: Moved setting of is_modal and closing to before
  5318. we create the control, to allow the event handlers called as a
  5319. result of creation affect closing. Also removed Gonzalo's previous
  5320. change to setting DialogResult, the behaviour has been moved to
  5321. Form.ShowDialog()
  5322. * Form.cs:
  5323. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  5324. handle it instead
  5325. - ShowDialog(): If no dialog result is set, we need to return Cancel
  5326. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  5327. the close is cancelled
  5328. 2006-05-25 Jackson Harper <[email protected]>
  5329. * StatusBar.cs: We only need to update the sizes of the other
  5330. panels when we have auto size contents. Also we are only updating
  5331. the contents of the panel, not the borders, so compensate for the
  5332. border width (TODO: get this width from the theme somehow).
  5333. * TreeView.cs: Scrollable is true by default
  5334. - Use invalidate instead of refresh where needed
  5335. - Factor the scrollable value into scrollbar updating
  5336. - Update the scrollbars if the Scrollable property is altered
  5337. - Update the selected node if its ImageIndex is changed
  5338. - Handle null nodes in UpdateNode (mainly so we don't have to
  5339. check if selected is null when updating it
  5340. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  5341. are factored into the visible count
  5342. - Use VisibleCount for clarity in the code
  5343. - When the font is changed we need to recurse through all the
  5344. nodes and invalidate their sizes
  5345. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5346. * Application.cs: set the DialogResult to fixed when the main form is
  5347. hidden or destroyed while being modal.
  5348. 2006-05-25 Miguel de Icaza <[email protected]>
  5349. * Theme.cs: Use Tangoified messagebox icons.
  5350. (GetSizedResourceImage): Also cope with width = 0 and do not
  5351. trigger a warning in that case (0 means "give me your icon from
  5352. the resouce, no special size needed).
  5353. 2006-05-25 Peter Dennis Bartok <[email protected]>
  5354. * Application.cs: Leave runloop if the the main modal form is
  5355. hidden (fixes #78484)
  5356. 2006-05-25 Atsushi Enomoto <[email protected]>
  5357. * BindingContext.cs : reject null datasource in Contains() and
  5358. Item[].
  5359. * CurrencyManager.cs : check data_member validity when data_source
  5360. is dataset. When it is late binding, the initial position is -1.
  5361. 2006-05-24 Jackson Harper <[email protected]>
  5362. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  5363. inserted nodes that aren't visible. This changes the
  5364. max_visible_order which confuses scrollbar settings.
  5365. - Use the enumerator to get the prev node instead of duplicating
  5366. code.
  5367. * TreeView.cs: Use new method for setting scrollbar values
  5368. - Don't set the bounds every time the scrollbar is updated
  5369. - When updating below the root node use an invalidate instead of a
  5370. refresh to prevent the child controls (scrollbars) from being
  5371. refreshed. (UpdateBelow still needs to be reworked anyways).
  5372. - Reenable SetBottom now that visible orders are set correctly,
  5373. added some debug code incase we ever get bad values there again.
  5374. - Set the scrollbar max to 2 less then the max value, this
  5375. compensates for the max value being one above the node count, and
  5376. for scrollbars adding one extra "notch".
  5377. - When drawing image nodes if there is an imagelist we draw the
  5378. first image in the list if the supplied image index is out of the
  5379. image list's bounds.
  5380. 2006-05-24 Peter Dennis Bartok <[email protected]>
  5381. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  5382. we receive a size change from the WM (Fixes #78503)
  5383. 2006-05-24 Peter Dennis Bartok <[email protected]>
  5384. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  5385. rectangle (Fixes #78501)
  5386. 2006-05-24 Peter Dennis Bartok <[email protected]>
  5387. * ButtonBase.cs:
  5388. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  5389. as a bitfield.
  5390. - Fixed MouseMove to no longer switch pressed state unless the left
  5391. mouse button is pressed. Atsushi provided the original patch (#78485)
  5392. 2006-05-24 Jackson Harper <[email protected]>
  5393. * ScrollBar.cs: New internal methods that allow us to change a
  5394. couple values on the scrollbar (the most common case is maximum
  5395. and large change) without getting multiple invalidates.
  5396. 2006-05-24 Chris Toshok <[email protected]>
  5397. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  5398. (Edit): save off the original state in oldState, and set
  5399. grid.is_editing to true.
  5400. (OnKeyDown): abort editing if escape is pressed. also, call
  5401. NextState if space is pressed.
  5402. (OnMouseDown): call NextState.
  5403. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  5404. here. Also, only invalidate the row header once (on the initial
  5405. is_changing switch) to save on redraws.
  5406. 2006-05-24 Chris Toshok <[email protected]>
  5407. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  5408. if the value in the cell is different than it was before. This
  5409. keeps us from triggering a layout when we move around a datarid
  5410. with a highlighted cell.
  5411. (Edit): suspend layout when creating/positining the text box, and
  5412. resume passing false so we don't ever actually re-layout.
  5413. (ReleaseHostedControl): same.
  5414. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  5415. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  5416. control-key sequences should go to the datagrid - remove that
  5417. lock. Also, modify the conditions under which we move between
  5418. cells when moving the cursor within a cell, and remove the "this"
  5419. and "base" from field accesses. We weren't even consistent, given
  5420. they all were in the base class.
  5421. 2006-05-24 Atsushi Enomoto <[email protected]>
  5422. * Binding.cs : (.ctor)
  5423. An obvious NRE fix for BindingTest.CtorNullTest().
  5424. 2006-05-23 Chris Toshok <[email protected]>
  5425. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  5426. them between lines. This fixes some quirks editing cells in the
  5427. datagrid.
  5428. 2006-05-23 Jackson Harper <[email protected]>
  5429. * TreeView.cs: Use begin/end update when doing expand/collapse all
  5430. so that we don't get flicker on the scrollbar.
  5431. 2006-05-23 Jackson Harper <[email protected]>
  5432. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  5433. treenode calculations to be independant of the painting code. To
  5434. do this nodes track a visible order which is calculated by the
  5435. treeview.
  5436. - Call new methods for expanding/collapsing nodes. These methods
  5437. use scrollwindow so we don't have to update everything below the
  5438. node.
  5439. * TreeView.cs: Refactored drawing and scrolling code. We don't
  5440. need to update nodes when drawing anymore or calculate scrollbar
  5441. stuff.
  5442. - Added new methods for expanding/collapsing nodes. These methods
  5443. use ScrollWindow so as to not have to redraw all the nodes below.
  5444. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  5445. we add/remove nodes or sort.
  5446. - Handle removing the selected and the top node properly.
  5447. 2006-05-23 Chris Toshok <[email protected]>
  5448. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  5449. maybe this should actually happen in the datagrid code?
  5450. (EndEdit): no need to invalidate anything, given that
  5451. ReleaseHostedControl causes the datagrid to relayout, which
  5452. invalidates everything anyway.
  5453. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  5454. in SetCurrentCell).
  5455. (set_SelectionBackColor): call InvalidateSelection instead of
  5456. Refresh.
  5457. (set_SelectionForeColor): same.
  5458. (BeginEdit): Flesh this out a bit.
  5459. (CancelEditing): only do any of this if we're editing/adding.
  5460. (EndEdit): same.
  5461. (OnMouseDown): there's no need to cancel editing here, it's done
  5462. in SetCurrentCell.
  5463. (SetCurrentCell): only invalidate the current row header if it's a
  5464. different row than the new one.
  5465. (ShiftSelection): fix this to work like MS does.
  5466. (ResetSelection): factor out the invalidation of selected_rows to
  5467. InvalidateSelection.
  5468. (SetDataSource): cancel any editing that's going on.
  5469. * DataGridColumnStyle.cs
  5470. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  5471. call the non-interface version.
  5472. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  5473. header rectangle with the clip rectangle so we don't redraw the
  5474. entire header for just a small area. Gets rid of the last flicker
  5475. when horizontally scrolling.
  5476. (DataGridPaintRow): same.
  5477. 2006-05-23 Mike Kestner <[email protected]>
  5478. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  5479. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  5480. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  5481. Critical bug report.
  5482. 2006-05-23 Peter Dennis Bartok <[email protected]>
  5483. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  5484. and this fixes #78493
  5485. 2006-05-23 Miguel de Icaza <[email protected]>
  5486. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  5487. size is not found.
  5488. * FileDialog.cs: Do not change the background for the side bar as
  5489. it wont work nicely with the theme, and also reduces the artifacts
  5490. in rendering the icons (which I want to fix too).
  5491. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  5492. resources, not resgen resources.
  5493. (PlatformDefaultHandler): Pull images using the new API.
  5494. 2006-05-23 Peter Dennis Bartok <[email protected]>
  5495. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  5496. a reference to the hwnd and will not remove it unless there are
  5497. no pending exposures (fixes #78341)
  5498. * XplatUI.cs: Improved debug
  5499. 2006-05-23 Atsushi Enomoto <[email protected]>
  5500. * MenuAPI.cs : don't handle OnClick event when it was not the left
  5501. button. Fixed bug #78487.
  5502. 2006-05-23 Mike Kestner <[email protected]>
  5503. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  5504. prefer submenus to the top menu for item lookup, to avoid popping down
  5505. top-row items.
  5506. 2006-05-23 Alexander Olk <[email protected]>
  5507. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  5508. Graphics.FillRectangle as the visual results are really bad (even
  5509. on win). We now draw perfect arrows (and perfect shadows when the
  5510. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  5511. Pen.DashPattern to draw the dots of each line.
  5512. 2006-05-22 Alexander Olk <[email protected]>
  5513. * FileDialog.cs: Update the filename combobox when navigating through
  5514. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  5515. 2006-05-22 Mike Kestner <[email protected]>
  5516. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  5517. Fixes #78463.
  5518. 2006-05-22 Mike Kestner <[email protected]>
  5519. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  5520. requests. Fix a misspelled parameter and a copy paste exception error
  5521. in Select.
  5522. 2006-05-22 Peter Dennis Bartok <[email protected]>
  5523. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  5524. to get the same width/height (5/13) on X11 as the default font has on
  5525. win32. This means that our DefaultFont emSize is smaller than the
  5526. the MS SWF equivalent (even thought the width/height stays the same)
  5527. 2006-05-20 Jackson Harper <[email protected]>
  5528. * MdiClient.cs:
  5529. * MdiWindowManager.cs:
  5530. * InternalWindowManager.cs: Make sure to use the border width from
  5531. the theme.
  5532. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  5533. * PrintDialog.cs: Implements printer details
  5534. 2006-05-19 Alexander Olk <[email protected]>
  5535. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  5536. Fixes part 1 and 2 of bug #78446
  5537. 2006-05-19 Peter Dennis Bartok <[email protected]>
  5538. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  5539. instead of sticking to the first ever calculated value
  5540. 2006-05-19 Mike Kestner <[email protected]>
  5541. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  5542. PointToClient, since Capture is set. Fixes #78344.
  5543. 2006-05-19 Mike Kestner <[email protected]>
  5544. * ListView.cs: match MS behavior in Details view where items are not
  5545. drawn if Columns.Count == 0.
  5546. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  5547. Use a separate pen to draw the check, since changing the width affects
  5548. the box as well. Fixes #78454.
  5549. 2006-05-18 Miguel de Icaza <[email protected]>
  5550. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  5551. exception should throw the name of the invalid argument.
  5552. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  5553. there are no files listed.
  5554. 2006-05-18 Jackson Harper <[email protected]>
  5555. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  5556. up.
  5557. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5558. * Control.cs: Brought back our old UpdateZOrder method as a private
  5559. function and switched our calls from UpdateZOrder to the new one.
  5560. This fixes the Paint.Net canvas disappearing bug.
  5561. 2006-05-18 Jackson Harper <[email protected]>
  5562. * Theme.cs:
  5563. * ThemeWin32Classic.cs:
  5564. * InternalWindowManager.cs: Move the drawing into the theme,
  5565. expose everything the theme should need from the window manager.
  5566. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5567. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  5568. from the call to NativeWindow to avoid walking up the parent chain
  5569. further than needed (speeds up setting cursors and avoids setting
  5570. the wrong cursor if a parent has another cursor defined)
  5571. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  5572. the icon as hotspot, not what's contained as hotspot in the icon
  5573. file. This fixes the perceived drawing offset seen with Paint.Net
  5574. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5575. * XplatUIX11.cs:
  5576. - Store the calculated rectangle in Hwnd object and use it when
  5577. setting the client size
  5578. - Force Toolwindows to always be type Dock, to ensure they're on top
  5579. 2006-05-18 Mike Kestner <[email protected]>
  5580. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  5581. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  5582. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  5583. Substantial refactoring to remove confusing nested classes. Coding
  5584. standard and Get+Set->property refactorings. Shift to index based
  5585. highlighting in ComboListBox instead of constantly using IndexOf and
  5586. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  5587. in FileDialog growth. Draw borders manually since Simple mode needs
  5588. to look like two independent controls. Make listbox border
  5589. conditional to DropDownStyle. Improved OwnerDraw support.
  5590. 2006-05-18 Sebastien Pouliot <[email protected]>
  5591. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  5592. Don't set the disposed graphics to null, so we can throw the "right"
  5593. exception if the graphics is reused later (added a flag to avoid
  5594. double disposing). Some behaviours are different under 2.0 and are
  5595. filled under bug #78448.
  5596. 2006-05-18 Peter Dennis Bartok <[email protected]>
  5597. * Control.cs: When double-buffering is enabled, we need to reset
  5598. our graphics context between paint calls. Otherwise, any
  5599. transformations and other alterations on the context will
  5600. become cumulative (#77734)
  5601. 2006-05-18 Mike Kestner <[email protected]>
  5602. * ListView.cs: do focused item selection like MS on clicks.
  5603. Rework focus handling for ItemControl so LostFocus invalidates as
  5604. well.
  5605. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  5606. the ListView ItemControl has focus.
  5607. 2006-05-17 Peter Dennis Bartok <[email protected]>
  5608. * XplatUIX11.cs: If client_window ends up being width or height zero
  5609. due to border settings, move it off window inside whole_window (#78433)
  5610. 2006-05-17 Alexander Olk <[email protected]>
  5611. * Mime.cs: Shrink the mime file cache correctly.
  5612. 2006-05-17 Alexander Olk <[email protected]>
  5613. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  5614. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5615. * XplatUIX11.cs (AddExpose): More sanity checks
  5616. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5617. * XplatUIX11.cs:
  5618. - AddExpose: Don't add expose ranges outside the size of our
  5619. window
  5620. - Cast opacity values to Int32 to avoid crashes with certain
  5621. values
  5622. - Added disabled code paths that protect against illegal cross-
  5623. thread painting (Developers.exe)
  5624. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5625. * ProgressBar.cs: Invalidate the control when it's resized
  5626. since block size is based on control size. (#78388)
  5627. 2006-05-16 Miguel de Icaza <[email protected]>
  5628. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  5629. of setting the incoming argument to the "reset" value, we set the
  5630. this.datamember to string.empty (before we were invalidating the
  5631. incoming data).
  5632. Fixes 78420
  5633. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5634. * Form.cs: Only apply transparency settings after the form
  5635. is created. (Fixes #77800)
  5636. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5637. * ApplicationContext.cs: Grab the HandleDestroyed event so
  5638. we know when to fire OnMainFormClosed
  5639. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5640. * Application.cs: Introduced sub-class to allow tracking of
  5641. threads and centralized triggering of the event mess for
  5642. ThreadExit, AppExit, etc.. (#76156)
  5643. 2006-05-16 Alexander Olk <[email protected]>
  5644. * MimeIcon.cs:
  5645. - Do not return a null icon index value for a mime subclass.
  5646. Instead try the main mime type class too.
  5647. - Seems that some newer distributions don't have a link to some
  5648. gnome default icons anymore. So check the default gnome dir too.
  5649. 2006-05-16 Jackson Harper <[email protected]>
  5650. * MdiClient.cs: Don't paint the parent background image if we have
  5651. our own background image.
  5652. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5653. * Control.cs:
  5654. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  5655. controls, all filled controls are supposed to overlap (#78080)
  5656. - UpdateZOrder is supposed to update the control's z-order in the
  5657. parent's z-order chain. Fixed to behave like that
  5658. - BringToFront: Removed obsolete code
  5659. - SendToBack: Simplyfied
  5660. - SetChildIndex: Trigger layout calculations when Z-order changes
  5661. since layout is done by z-order
  5662. 2006-05-16 Chris Toshok <[email protected]>
  5663. [ fixes bug #78410 ]
  5664. * DataGrid.cs (set_AlternatingBackColor): use
  5665. grid_drawing.InvalidateCells instead of Refresh().
  5666. (set_BackColor): call grid_drawing.InvalidateCells.
  5667. (set_BackgroundColor): use Invalidate instead of Refresh.
  5668. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  5669. invalidate the cell area.
  5670. 2006-05-15 Chris Toshok <[email protected]>
  5671. [ fixes bug #78011 ]
  5672. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  5673. on to DataGridPaintRow.
  5674. (DataGridPaintRow): take a clip argument, and only draw the cells
  5675. which intersect it. same with the not_usedarea.
  5676. * Theme.cs (DataGridPaintRow) add @clip parameter.
  5677. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  5678. XplatUI.ScrollWindow.
  5679. (ScrollToRow): same.
  5680. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  5681. with last column which was causing a gray swath to appear with the
  5682. XplatUI.ScrollWindow code.
  5683. 2006-05-15 Chris Toshok <[email protected]>
  5684. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  5685. use XplatUI.ScrollWindow.
  5686. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  5687. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5688. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  5689. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5690. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  5691. file since there are no equivalent X11 cursors
  5692. 2006-05-15 Atsushi Enomoto <[email protected]>
  5693. * MonthCalendar.cs : DateTimePicker should reflect selected date
  5694. on mouse*up*, not mouse*down*. Fixed originally reported part of
  5695. bug #76474.
  5696. 2006-05-15 Atsushi Enomoto <[email protected]>
  5697. * TabControl.cs : When argument index is equal or more than tab
  5698. count, just ignore. Fixed bug #78395.
  5699. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5700. * Control.cs: Dispose all child controls when control is diposed (#78394)
  5701. 2006-05-14 Alexander Olk <[email protected]>
  5702. * ColorDialog.cs: Finally it is possible to select the color with
  5703. the text boxes
  5704. 2006-05-14 Alexander Olk <[email protected]>
  5705. * PrintDialog.cs: Fix typo
  5706. 2006-05-14 Alexander Olk <[email protected]>
  5707. * PrintDialog.cs: PrintDialog is not resizable
  5708. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  5709. color. Made some ToolBar drawing methods protected virtual.
  5710. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  5711. * PrintDialog.cs: Implementation of the PrintDialog
  5712. 2006-05-12 Chris Toshok <[email protected]>
  5713. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  5714. thumb, instead use MoveThumb. This has the side effect of making
  5715. most of the other thumb moving machinery use MoveThumb as well.
  5716. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  5717. need to actually invalidate the rectangle where the new thumb will
  5718. go.
  5719. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  5720. We force an Update() after, so it's not as fast as it could be,
  5721. but at least there's zero flicker and no droppings.
  5722. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  5723. (UpdateThumbPos): add another argument (dirty), which says whether
  5724. or not to calculate/add dirty regions which we later invalidate.
  5725. For cases where we know we're going to use MoveThumb, we pass
  5726. false for this. Otherwise, pass true.
  5727. 2006-05-12 Jackson Harper <[email protected]>
  5728. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  5729. the status bar.
  5730. 2006-05-12 Peter Dennis Bartok <[email protected]>
  5731. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  5732. and GetClipRegion methods and UserClipWontExposeParent property.
  5733. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  5734. overriding UserClipWontExposeParent property, setting to false, since
  5735. Win32 handles the required expose messages to draw our clipped parent
  5736. areas internally
  5737. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  5738. PaintEventStart to set the user clip region if set.
  5739. * Control.cs:
  5740. - Now internally tracking the Region for the control since we need to
  5741. store it if the handle is not yet created and only set it when it
  5742. becomes created. Before setting the region forced handle creation
  5743. - Added code to draw the parents underneath a user-clipped region
  5744. * Hwnd.cs: Added UserClip property
  5745. 2006-05-12 Chris Toshok <[email protected]>
  5746. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  5747. (set_Maximum): same.
  5748. (set_Minimum): same.
  5749. (set_SmallChange): same.
  5750. (OnMouseUpSB): remove the call to refresh when releasing the
  5751. thumb. We shouldn't need it.
  5752. 2006-05-12 Miguel de Icaza <[email protected]>
  5753. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  5754. AutoSize set to None, we do not need to relayout everything, we
  5755. just need to invalidate the current region.
  5756. (Draw): Do not draw the entire ClientArea, just redraw the
  5757. clip area being passed.
  5758. * MdiClient.cs: Make MdiClient constructor with the Form argument
  5759. internal.
  5760. 2006-05-12 Jackson Harper <[email protected]>
  5761. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  5762. parents background image, but strangely not their own.
  5763. - (DrawStatusBarPanel): Take into account horizontal alignment
  5764. when drawing the strings and icons.
  5765. 2006-05-12 Mike Kestner <[email protected]>
  5766. * ListBox.cs: avoid invalidations for focus when the collection is
  5767. empty.
  5768. 2006-05-12 Chris Toshok <[email protected]>
  5769. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  5770. invalidate the entire thumb area. Call InvalidateDirty which
  5771. limits the redraw to the thumb itself and surrounding pixels.
  5772. * XplatUIX11.cs (ScrollWindow): optimize copying.
  5773. 2006-05-12 Chris Toshok <[email protected]>
  5774. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  5775. Figure out the positioning/layout in a single pass instead of
  5776. multiple recursive invocations. Speeds up the initial display of
  5777. the data grid. Also, make many things private that were
  5778. originally public but unused outside this class.
  5779. 2006-05-11 Jackson Harper <[email protected]>
  5780. * MdiClient.cs: Improved layout code.
  5781. 2006-05-11 Jonathan Chambers <[email protected]>
  5782. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  5783. not SelectedObject.
  5784. 2006-05-11 Chris Toshok <[email protected]>
  5785. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  5786. union of that will always be {0,0,width,height}.
  5787. 2006-05-11 Jackson Harper <[email protected]>
  5788. * Form.cs: Match MS's DefaultSize for forms (they must have
  5789. changed the size in sp2).
  5790. 2006-05-11 Atsushi Enomoto <[email protected]>
  5791. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  5792. 2006-05-11 Atsushi Enomoto <[email protected]>
  5793. * TextControl.cs : Fixed bug #78109. This incorrect position
  5794. comparison caused crash on automatic line split.
  5795. * TextBoxBase.cs : reduce duplicate code.
  5796. 2006-05-10 Jackson Harper <[email protected]>
  5797. * MdiClient.cs: Active form is only sent to the back when using
  5798. the Next form functionality, when a form is clicked the current
  5799. active shouldn't be sent to the back.
  5800. - Layout the mdi windows when the container is first made visible.
  5801. * Form.cs: Give the MdiClient a ref to the containing form when we
  5802. create it.
  5803. 2006-05-10 Atsushi Enomoto <[email protected]>
  5804. * LinkLabel.cs : link_font could be uninitialized, so populate one
  5805. before actual use. Fixed bug #78340.
  5806. 2006-05-10 Atsushi Enomoto <[email protected]>
  5807. * XplatUIX11.cs : clipboard format native value is IntPtr.
  5808. Fixed bug #78283.
  5809. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5810. * Control.cs:
  5811. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  5812. which is passed up the parent chain by DefWndProc
  5813. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  5814. to DefWndProc (#77956)
  5815. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  5816. 2006-05-10 Jackson Harper <[email protected]>
  5817. * MdiClient.cs: We need to remove the controls from the mdi
  5818. collection, when we close the window.
  5819. * MdiWindowManager.cs: Special handling of closing mdi windows.
  5820. * InternalWindowManager.cs: Make the close method virtual so the
  5821. mdi window manager can handle it specially.
  5822. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  5823. * DataGrid.cs:
  5824. - Recalculate grid when the data source has changed
  5825. - Matches styles provided by user from all data sources types
  5826. * DataGridTableStyle.cs: For columns that provided by the user set the
  5827. with the preferred value is there was unassigned.
  5828. * CurrencyManager.cs: throw OnItemChanged event
  5829. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5830. * PictureBox.cs: Don't animate until handle is created. Start animation
  5831. when handle is created.
  5832. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5833. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  5834. current codebase.
  5835. * XEventQueue.cs: We don't need to provide the extra info
  5836. 2006-05-10 Jackson Harper <[email protected]>
  5837. * MdiClient.cs: If the mdi clients parent form has a background
  5838. image set, we draw that background image for the mdi area's
  5839. background.
  5840. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5841. * TextBoxBase.cs: Set IBeam cursor (#78347)
  5842. 2006-05-10 Mike Kestner <[email protected]>
  5843. * ToolBar.cs: fix some text padding issues with ButtonSize
  5844. calculation. Update the default size to match MS documentation.
  5845. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  5846. button size. Fixes #78296.
  5847. 2006-05-10 Mike Kestner <[email protected]>
  5848. * ListBox.cs: use is_visible for scrollbar positioning in case the
  5849. control isn't on screen yet. Fix off by one with Right vs Width
  5850. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  5851. 2006-05-10 Jackson Harper <[email protected]>
  5852. * X11Dnd.cs: Drop to a control with another control on top of it.
  5853. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  5854. be modified in click handlers. TODO: Look for similar problems in
  5855. other controls.
  5856. 2006-05-09 Jackson Harper <[email protected]>
  5857. * Form.cs: Window managers need the old window state when setting
  5858. window state now.
  5859. * InternalWindowManager.cs: Allow the base mdi window manager to
  5860. handle more of the MDI only stuff (like maximize buttons).
  5861. * MdiWindowManager.cs: Fix some snafus in changing the window
  5862. state. Add all the menu functionality, for both popup and
  5863. maximized menus.
  5864. * MdiClient.cs: When a new form is selected the currently
  5865. activated form is sent to the back, this matches MS.
  5866. - Implement a new method to activate the next mdi child window.
  5867. 2006-05-08 Peter Dennis Bartok <[email protected]>
  5868. * Control.cs:
  5869. - Added new InternalCapture method to allow controls to prevent
  5870. the capture behaviour on the click handlers
  5871. - Switched to use InternalCapture
  5872. * ComboBox.cs:
  5873. - Using InternalCapture to prevent mouse captures from being released
  5874. on mouse button release (Fixes #78100)
  5875. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  5876. returns Form borders if a caption is present. (Fixes #78310)
  5877. 2006-05-08 Peter Dennis Bartok <[email protected]>
  5878. * TreeNode.cs: Changed serialization .ctor to not require every field
  5879. to be present. (#78265)
  5880. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  5881. 2006-05-05 Alexander Olk <[email protected]>
  5882. * MimeIcon.cs: for is faster than foreach for strings.
  5883. 2006-05-05 Mike Kestner <[email protected]>
  5884. * CheckedListBox.cs: update check handling code to not use selected.
  5885. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  5886. behavior for visual feedback, motion response, shift/ctrl handling,
  5887. and properly deal with all 4 selection modes. Updates to bounds
  5888. handling logic. Add scroll wheel support. [Fixes #77842]
  5889. 2006-05-05 Peter Dennis Bartok <[email protected]>
  5890. * ListView.cs:
  5891. - Moved adding of Implicit controls into .ctor. That way, subsequent
  5892. creation of the controls will not cause them to think they are
  5893. toplevel windows (fixes #78200 header problem)
  5894. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  5895. - Switched visibility setting of header control to use internal field
  5896. to avoid triggering handle creation
  5897. - Now checking if handle is created before causing a refresh when items
  5898. are added (This makes us now match handle creation time with MS)
  5899. * Splitter.cs: Removed loading of private splitter cursor, switched to
  5900. Cursors version now that that is loading the right ones
  5901. * Cursors.cs: Load proper splitter cursors from resources
  5902. * Cursor.cs: Added second method of loading resource cursors for the
  5903. VS.Net users amongst us
  5904. 2006-05-05 Mike Kestner <[email protected]>
  5905. * ListView.cs: give header_control a minimum size based on the
  5906. ListView size.
  5907. 2006-05-05 Peter Dennis Bartok <[email protected]>
  5908. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  5909. window seems to do that with metacity, so set that type. (#78120)
  5910. 2006-05-05 Mike Kestner <[email protected]>
  5911. * ListViewItem.cs: fix Details mode checkbox layout bug.
  5912. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  5913. at the end of the header, if it exists. [Fixes for #78200]
  5914. 2006-05-04 Jackson Harper <[email protected]>
  5915. * MdiClient.cs: Add a helper property to get the container form.
  5916. * MdiWindowManager.cs: We have to make sure to use the menu origin
  5917. when drawing the icons and buttons, this fixes maximized window
  5918. icons/buttons on win32.
  5919. * InternalWindowManager.cs: Reset the restore captions when a
  5920. window goes from Maximized to Minimized and vice versa. Move the
  5921. DrawMaximizedButtons into the MdiWindowManager source, tool
  5922. windows can't be maximized. NOTE: This could use a little
  5923. refactoring if time ever permits.
  5924. 2006-05-03 Jonathan Chambers <[email protected]>
  5925. * TextBox.cs: Add MWFCategoryAttributes
  5926. * TextBoxBase.cs: Add MWFCategoryAttributes
  5927. * Form.cs: Add MWFCategoryAttributes
  5928. 2006-05-03 Jonathan Chambers <[email protected]>
  5929. * Control.cs: Add MWFCategoryAttributes
  5930. * ScrollableControl.cs: Add MWFCategoryAttributes
  5931. 2006-05-03 Alexander Olk <[email protected]>
  5932. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  5933. Divider is true. Fix a little glitch in PropertyToolBar
  5934. drawing code
  5935. 2006-05-02 Peter Dennis Bartok <[email protected]>
  5936. * Control.cs:
  5937. - Dispose: Call base.Dispose, this causes the disposed event
  5938. to be fired (and probably other, more important stuff)
  5939. - SetVisibleCore: Set is_visible to true after creating the
  5940. window so that the window still gets created invisible (if
  5941. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  5942. to generate a WM_ACTIVE message
  5943. * Form.cs: Call Dispose when we want to destroy the window, instead of
  5944. just destroying the handle (Dispose will do that for us)
  5945. * XplatUIX11.cs:
  5946. - RootWindow also needs a queue, so we can properly process the
  5947. property change events from RootWindow (like Activate)
  5948. - Generatic synthetic WM_ACTIVE message when the active window is
  5949. being destroyed
  5950. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5951. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  5952. bounds are changed
  5953. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5954. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  5955. for determining width and height (image might not be assigned if
  5956. we're drawing an imagelist)
  5957. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5958. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  5959. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  5960. height from system
  5961. * Theme.cs: No longer returns hardcoded menu height, instead calls
  5962. new driver method
  5963. * Form.cs (OnLoad): Scaling happens before triggering Load events
  5964. on MS (# 78257)
  5965. 2006-05-01 Mike Kestner <[email protected]>
  5966. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  5967. 2006-04-30 Peter Dennis Bartok <[email protected]>
  5968. * TextBoxBase.cs: Removed Fixme
  5969. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  5970. 2006-04-30 Peter Dennis Bartok <[email protected]>
  5971. * XplatUIX11.cs:
  5972. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  5973. the rectangle relative to the parent, considering borders. We
  5974. don't really want that.
  5975. - ScrollWindow: Fixed warning to be more understandable
  5976. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  5977. scrollbars and scroll only the visible area
  5978. * RichTextBox.cs: Removed debug output
  5979. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5980. * NumericUpDown.cs (Text): Just use base
  5981. * UpDownBase.cs: Ensure txtView is created before using it
  5982. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5983. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  5984. casting to IntPtr to avoid 64bit overflow errors
  5985. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5986. * Control.cs:
  5987. - AllowDrop: Don't force handle creation.
  5988. - CreateHandle: Added call to tell driver if we're allowed to drop
  5989. 2006-04-27 Alexander Olk <[email protected]>
  5990. * FileDialog.cs: Remember the last directory not only for the
  5991. current instance but also for new FileDialog instances.
  5992. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5993. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  5994. broke sending async messages
  5995. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5996. * XplatUIX11.cs:
  5997. - ScrollWindow: Fixed method. We finally generate expose events again
  5998. for scrolled areas. This was causing 'garbage' when scrolling
  5999. textbox and other controls that used ScrollWindow
  6000. - Switched from using the regular queue for paint events to the MS
  6001. model of 'generating' paint events when the queue is empty.
  6002. We use the new XQueueEvent.Paint subclass to store which windows
  6003. need painting.
  6004. - AddExpose now takes the x/y/width/height of the exposed area
  6005. and inserts the window into the paint queue if not already there
  6006. - InvalidateWholeWindow: Switched to use new AddExpose method
  6007. - UpdateMessageQueue: Added which queue to monitor for paint events
  6008. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  6009. the unlikely case nothing above handles it. We reset the expose
  6010. pending states to get them off the queue.
  6011. - GetMessage: Now pulls a paint event if no other events are in the
  6012. queue
  6013. - Invalidate: Switched to new AddExpose method
  6014. - PeekMessage: Updated to understand pending paint events
  6015. - UpdateWindow: Fixed logic bug. We were only updating if the window
  6016. didn't need updating. Also switched to sending WM_PAINT directly,
  6017. like MS does.
  6018. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  6019. and random access Remove(). The random access is needed to handle
  6020. UpdateWindow() where a WM_PAINT is sent directly without accessing
  6021. the queue.
  6022. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  6023. allow for better feedback when scrolling. Scrollbars are small and
  6024. the immediate update should make it 'feel' more responsive without
  6025. slowing things down. ScrollBar still needs it's invaliate logic
  6026. updated to not always invalidate the whole bar on certain changes.
  6027. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  6028. * Control.cs:
  6029. (BackColor): if the control does not support a transparent background,
  6030. return the default backcolor when the parent backcolor is transparent.
  6031. 2006-04-28 Peter Dennis Bartok <[email protected]>
  6032. * Application.cs: Updated to new StartLoop/GetMessage API
  6033. * RichTextBox.cs: Provide some output on RTF parsing errors
  6034. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  6035. new queue_id argument to GetMessage and PeekMessage to allow faster
  6036. handling of per-thread queues in drivers.
  6037. * Hwnd.cs: Added Queue tracking and property
  6038. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  6039. * XEventQueue.cs: Added thread trackingA
  6040. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  6041. * XplatUIX11.cs:
  6042. - Implemented new per-thread queue
  6043. - GetMessage: Fixed return/break behaviour on several cases. We were
  6044. returning stale messages in some cases, instead of just processing
  6045. the next message
  6046. 2006-04-27 Jonathan Chambers <[email protected]>
  6047. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  6048. 2006-04-27 Peter Dennis Bartok <[email protected]>
  6049. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  6050. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  6051. 2006-04-27 Jonathan Chambers <[email protected]>
  6052. * PropertyGridView.cs: Fix drop down width.
  6053. 2006-04-27 Alexander Olk <[email protected]>
  6054. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  6055. a mess in DrawToolBar, so I removed one of them.
  6056. 2006-04-27 Alexander Olk <[email protected]>
  6057. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  6058. needed (clip). Otherwise we get artifacts.
  6059. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6060. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  6061. dimension is fixed
  6062. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  6063. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  6064. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  6065. if it matches the scale base font (avoids unneeded scaling)
  6066. 2006-04-26 Alexander Olk <[email protected]>
  6067. * X11DesktopColors.cs: One gtk_init_check should be enough
  6068. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6069. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  6070. match MS behaviour
  6071. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6072. * TextBoxBase.cs:
  6073. - Generate OnTextChanged for Backspace even if we're only deleting
  6074. the current selection
  6075. - When setting the Text property, only select all text if the
  6076. control does not have focus when it is being set. Otherwise
  6077. just place the cursor at the beginning of the control
  6078. 2006-04-26 Alexander Olk <[email protected]>
  6079. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  6080. Added a little helper to draw PropertyGrid ToolBar with a different
  6081. border and a different BackColor.
  6082. * PropertyGrid.cs: Some background parts didn't get painted with the
  6083. correct background color. Added a class that helps us to draw the
  6084. correct border for PropertyGridView and a class that helps us to
  6085. draw ToolBars with a different backcolor
  6086. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  6087. 2006-04-25 Jonathan Chambers <[email protected]>
  6088. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  6089. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  6090. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6091. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  6092. into the palette entries. Also, since we're working on a copy
  6093. we needed to copy the palette back onto the bitmap.
  6094. * Cursor.cs: Same fix as XplatUIWin32.cs.
  6095. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6096. * ImageListStreamer.cs: Need to read the var (or we're off)
  6097. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6098. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  6099. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  6100. TextBoxBase.cs: Unused var fixes
  6101. * AxHost.cs: Small 2.0 fix
  6102. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  6103. as it seems that is what at least Metacity expects. This will make
  6104. icons show up on 64bit platforms. We still have some 64bit size
  6105. issues, though, since the startup app window size still won't match.
  6106. 2006-04-25 Mike Kestner <[email protected]>
  6107. * *.cs: cleanup newly reported exception var unused warnings.
  6108. 2006-04-25 Alexander Olk <[email protected]>
  6109. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  6110. ms
  6111. 2006-04-25 Alexander Olk <[email protected]>
  6112. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  6113. image. The image position is always the same, no matter if the
  6114. button is pressed or not.
  6115. 2006-04-25 Alexander Olk <[email protected]>
  6116. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  6117. selection and set the correct filename for SaveFileDialog.
  6118. Patch by Emery Conrad.
  6119. 2006-04-24 Mike Kestner <[email protected]>
  6120. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  6121. check for item.X outside the ClientRect instead of item.Y. Fixes
  6122. #78151.
  6123. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  6124. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  6125. trust that value blindly and do some sanity check. Fixes bug #77814.
  6126. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  6127. * ImageListStreamer.cs: save the mask as a 1bpp image.
  6128. 2006-04-21 Mike Kestner <[email protected]>
  6129. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  6130. pass Checked and Indeterminate to the Theme Engine. Improve
  6131. encapsulation with ListBox.
  6132. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  6133. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  6134. nested types. Move all CheckState functionality to CheckedListBox.
  6135. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  6136. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  6137. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  6138. single base list. Fix scrollbar sizing and placement to mirror MS.
  6139. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  6140. used.
  6141. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  6142. for CheckedListBox by using new DrawItemState info. Center the
  6143. checkboxes on the items. Use new StringFormat property.
  6144. 2006-04-18 Jackson Harper <[email protected]>
  6145. * Form.cs: MdiChildren don't do default locations the same way as
  6146. regular forms. This prevents a crash when trying to position the
  6147. mdi windows.
  6148. 2006-04-17 Jonathan Chambers <[email protected]>
  6149. * PropertyGridTextBox.cs: Formatting, copyright
  6150. * PropertiesTab.cs: Formatting
  6151. * PropertyGrid.cs: Formatting
  6152. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  6153. click toggling of values
  6154. 2006-04-17 Peter Dennis Bartok <[email protected]>
  6155. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  6156. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  6157. every time a control is created
  6158. * Application.cs: Removed obsolete EnableRTLMirroring method
  6159. 2006-04-18 Gert Driesen <[email protected]>
  6160. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  6161. SelectedIndex to -1. Fixes bug #78121.
  6162. 2006-04-17 Jackson Harper <[email protected]>
  6163. * Binding.cs: Handle null values for Current and BindingContext.
  6164. This occurs when binding is a little delayed.
  6165. * CurrencyManager.cs: return null for Current when there are no
  6166. items in the list.
  6167. - Hookup to the listchanged event on the DataView and update
  6168. bindings when the list is changed. This fixes late binding of
  6169. controls.
  6170. 2006-04-17 Jackson Harper <[email protected]>
  6171. * X11Dnd.cs:
  6172. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  6173. Ringenbach.
  6174. 2006-04-15 Alexander Olk <[email protected]>
  6175. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  6176. place
  6177. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  6178. with the correct ButtonState
  6179. 2006-04-14 Peter Dennis Bartok <[email protected]>
  6180. * XplatUIX11.cs: Improved distinguishing between window types to
  6181. tell the WM a type closer to what the app wants (Fixes #78107)
  6182. 2006-04-14 Alexander Olk <[email protected]>
  6183. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  6184. GrabHandle
  6185. 2006-04-14 Alexander Olk <[email protected]>
  6186. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  6187. drawing code to reflect the size grip changes
  6188. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  6189. * ImageListStreamer.cs: fix handling of the mask that follows the main
  6190. bitmap when deserializing and serialize it properly. The generated mask
  6191. should better be a 1bpp image, but I'll do that later.
  6192. 2006-04-13 Alexander Olk <[email protected]>
  6193. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  6194. path doesn't fit into some of our Current.Places
  6195. 2006-04-13 Jackson Harper <[email protected]>
  6196. * ComboBox.cs: Use borders instead of drawing our own decorations,
  6197. try to obey correct rules for heights.
  6198. * Theme.cs:
  6199. * ThemeNice.cs:
  6200. * ThemeClearLooks.cs:
  6201. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  6202. this is now handled by borders.
  6203. - Remove unused DrawListBoxDecorationSize method.
  6204. 2006-04-13 Mike Kestner <[email protected]>
  6205. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  6206. reported by Alex.
  6207. 2006-04-13 Alexander Olk <[email protected]>
  6208. * ThemeWin32Classic.cs:
  6209. - Fixed CPDrawStringDisabled
  6210. - Corrected drawing of disabled menu items
  6211. - Fixed drawing of disabled radio buttons (bug #78095)
  6212. - Draw check in a disabled CheckBox with color ControlDark
  6213. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6214. * Form.cs: Use the provided width when calculating the menu size;
  6215. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  6216. and ClientSize.Width won't be updated yet
  6217. * Application.cs: Use Visible instead of Show() to make form visible,
  6218. this way we create the handle later and menusize is considered
  6219. 2006-04-12 Mike Kestner <[email protected]>
  6220. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  6221. reporting.
  6222. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6223. * TextBox.cs: Implemented context menu
  6224. 2006-04-12 Mike Kestner <[email protected]>
  6225. * ListView.cs: implement box selection. fixes #77838.
  6226. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  6227. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6228. * XplatUIX11.cs: Added setting of window type when transient window
  6229. is created (metacity would move it otherwise)
  6230. * X11Structs.cs: Added WINDOW_TYPE atoms
  6231. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  6232. background (the control is Opaque but still wants transparent
  6233. backgrounds)
  6234. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6235. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  6236. that set Opaque but don't mean it (like all ButtonBase-derived
  6237. controls) to still draw their background
  6238. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  6239. the background
  6240. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6241. * Control.cs (PaintControlBackground): Set the graphics object
  6242. on our PaintEvent to null to prevent it from being disposed
  6243. when the PaintEvent gets disposed
  6244. 2006-04-12 Alexander Olk <[email protected]>
  6245. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  6246. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  6247. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6248. * Control.cs:
  6249. - Added transparency check to BackColor property. Transparent
  6250. backgrounds are only allowed if the control styles permit it
  6251. - Added recursive painting of parent control background and
  6252. foreground if a control with a transparent backcolor is drawn
  6253. (Thanks to Tim Ringenback for providing his 'hack' as a base
  6254. for this patch) Fixes #77985 and #78026.
  6255. - Added Opaque style check before calling OnPaintBackground, no
  6256. need to draw the background if the control is opaque
  6257. - Removed ControlAccessibleObject owner variable (inherited from
  6258. base, no need to define again)
  6259. - Added some documentation links explaining the drawing events
  6260. and styles
  6261. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6262. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  6263. that the affected control is the located at the left border of our
  6264. parent (Fixes #77936)
  6265. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6266. * TextBoxBase.cs: When rendering disabled or readonly controls,
  6267. draw the background with 'Control' instead of 'Window' color as
  6268. long as the user hasn't specifically set a color
  6269. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6270. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  6271. since that won't be updated if the user types text (only if it's
  6272. programatically set)
  6273. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6274. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  6275. layout changes do to app-triggered resizes will have the proper
  6276. display rectangle for layout
  6277. 2006-04-11 Alexander Olk <[email protected]>
  6278. * ThemeWin32Classic.cs:
  6279. - Make use of the SystemBrushes and SystemPens wherever possible
  6280. - Corrected some highlight colors
  6281. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  6282. drawing
  6283. * Theme.cs: Added Empty field to CPColor struct
  6284. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6285. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  6286. is displayed when calculating the display rectangle. Thanks to Mike
  6287. for teaching me the err of my ways.
  6288. 2006-04-10 Peter Dennis Bartok <[email protected]>
  6289. * ScrollableControl.cs:
  6290. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  6291. (instead of 0,0) and we now return the real width/height instead of
  6292. just the clientrectangle, adjusted for padding. The rectangle is
  6293. now cached and created by the new CalculateDisplayRectangle method.
  6294. - Created new CalculateDisplayRectange method, which basically does
  6295. what get_DisplayRectangle() did originally, but now using the
  6296. right edge instead of DisplayRectangle to determine the size of
  6297. our scrollbars
  6298. - get_Canvas(): Fixed it to properly calculate canvas for
  6299. right/bottom controls which seem to be placed to the right/bottom
  6300. of any controls that have a fixed location
  6301. - Removed TODO that's taken care of
  6302. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  6303. and SetDisplayRectLocation according to new MSDN2 docs
  6304. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  6305. event when that is called, this is added for compatibility
  6306. - ScrollControlIntoView(): Implemented.
  6307. - Switched scrollbars to be implicit, they shouldn't be selectable
  6308. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  6309. call it when the active control is set/changed
  6310. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  6311. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  6312. implicit_control variable (used for native Win32 message generation)
  6313. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  6314. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  6315. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  6316. * XplatUIStructs.cs: Added ScrollBarCommands enum
  6317. 2006-04-10 Jackson Harper <[email protected]>
  6318. * ButtonBase.cs:
  6319. * CheckedListBox.cs:
  6320. * ComboBox.cs:
  6321. * DataGrid.cs:
  6322. * DataGridView.cs:
  6323. * Form.cs:
  6324. * GroupBox.cs:
  6325. * ListBox.cs:
  6326. * PrintPreviewControl.cs:
  6327. * ProgressBar.cs:
  6328. * PropertyGrid.cs:
  6329. * Splitter.cs:
  6330. * StatusBar.cs:
  6331. * TrackBar.cs:
  6332. * UpDownBase.cs: Fixup base event overrides.
  6333. 2006-04-06 Mike Kestner <[email protected]>
  6334. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  6335. all user-initiated value changes to min <= value <= max-thumbsz+1.
  6336. (set_Value): check for vert/horiz when calculating new thumb position.
  6337. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  6338. like MS does.
  6339. (OnMouseMoveSB): refactor the thumb dragging code and refine
  6340. invalidation logic to reduce flicker.
  6341. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  6342. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  6343. (UpdateThumbPosition): small code readability cleanup
  6344. 2006-04-10 Alexander Olk <[email protected]>
  6345. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  6346. different
  6347. 2006-04-08 Alexander Olk <[email protected]>
  6348. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  6349. 2006-04-08 Alexander Olk <[email protected]>
  6350. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  6351. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  6352. This dramatically reduces the number of Pen.Dispose calls.
  6353. Where possible call ResPool methods only once instead of calling it
  6354. over and over again (for example for the same color).
  6355. 2006-04-06 Mike Kestner <[email protected]>
  6356. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  6357. Also remove an unused private field on the collection. Fixes #77972.
  6358. 2006-04-06 Alexander Olk <[email protected]>
  6359. * ThemeNice.cs: Added ToolBar drawing code
  6360. 2006-04-06 Mike Kestner <[email protected]>
  6361. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  6362. I'm assuming that means we need to look up the toplevel for the
  6363. provided control. Fixes the crash trace in #77911 but exposes another
  6364. crash in some strange reflection usage in NDocGui.
  6365. 2006-04-06 Alexander Olk <[email protected]>
  6366. * ThemeNice.cs: Gave it a little silver touch and added Images
  6367. method
  6368. * FontDialog.cs: FontDialog is not resizable
  6369. * FileDialg.cs: Added SizeGripStyle.Show
  6370. 2006-04-05 Jackson Harper <[email protected]>
  6371. * KeyboardLayouts.cs: Remove warning.
  6372. 2006-04-05 Jackson Harper <[email protected]>
  6373. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  6374. all of our controls instead of Paint +=.
  6375. * ListBox.cs:
  6376. * ListView.cs:
  6377. * MenuAPI.cs:
  6378. * MessageBox.cs:
  6379. * NotifyIcon.cs:
  6380. * ProgressBar.cs:
  6381. * ScrollBar.cs:
  6382. * Splitter.cs:
  6383. * StatusBar.cs:
  6384. * TabControl.cs:
  6385. * TextBoxBase.cs:
  6386. * ToolBar.cs:
  6387. * TrackBar.cs:
  6388. * UpDownBase.cs:
  6389. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  6390. use OnPaintInternal. Remove Width/Height and Visible checks in
  6391. paint handler, this is done at a higher level now.
  6392. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  6393. * PaintEventArgs.cs: Add a handled flag so controls that don't
  6394. want anymore painting after OnPaintInternal can make sure OnPaint
  6395. isn't called.
  6396. 2006-04-05 Mike Kestner <[email protected]>
  6397. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  6398. state of the form, so that we don't process events when Modal dialogs
  6399. are up. Fixes #77922.
  6400. 2006-04-05 Alexander Olk <[email protected]>
  6401. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  6402. checking is done.
  6403. 2006-04-05 Mike Kestner <[email protected]>
  6404. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  6405. 2006-04-05 Mike Kestner <[email protected]>
  6406. * ListView.cs (HeaderMouseMove): null guarding for the over column
  6407. when setting up the drag_to_index. Fixes #78015.
  6408. 2006-04-04 Peter Dennis Bartok <[email protected]>
  6409. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  6410. in the taskbar. Transient windows seem to accomplish that.
  6411. 2006-04-04 Peter Dennis Bartok <[email protected]>
  6412. * Form.cs:
  6413. - Re-enabled CreateParams.X/Y code for FormStartPosition
  6414. - Added code for manual placement when creating the Control
  6415. - Incomplete patch to treat MDI forms differently when
  6416. setting the ClientSizeCore. (Still need to figure out handling
  6417. x/y coords there)
  6418. * XplatUIX11.cs:
  6419. - When we're explicitly setting the X/Y position of a non-Child
  6420. window, let the WM know. Metacity really wants this.
  6421. 2006-04-04 Alexander Olk <[email protected]>
  6422. * ThemeNice.cs: Added CPDrawButton
  6423. 2006-04-04 Alexander Olk <[email protected]>
  6424. * ThemeNice.cs: Changed the color for focused buttons and activated
  6425. the arrows for small scroll buttons.
  6426. 2006-04-04 Alexander Olk <[email protected]>
  6427. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  6428. anymore. Changed some method modifiers to protected (virtual)
  6429. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  6430. changes
  6431. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  6432. Updated drawing of menus, buttons and progressbars; added
  6433. CPDrawBorder3D
  6434. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  6435. * ImageListStreamer.cs: implemented serialization/deserialization
  6436. of the images.
  6437. 2006-04-03 Alexander Olk <[email protected]>
  6438. * ThemeWin32Classic.cs:
  6439. - Removed all the DrawFrameControl stuff; CPDrawButton,
  6440. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  6441. inside the methods
  6442. - Updated and corrected the drawing code of CPDrawButton,
  6443. CPDrawCheckBox and CPDrawRadioButton to better match ms
  6444. - Updated theme checkbox and radiobutton code to use the CP*
  6445. methods
  6446. 2006-03-31 Peter Dennis Bartok <[email protected]>
  6447. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  6448. bug is fixed
  6449. 2006-03-31 Jackson Harper <[email protected]>
  6450. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  6451. sometimes.
  6452. * UpDownBase.cs: Don't CreateGraphics manually, use a
  6453. Refresh. Ideally we would invalidate the correct areas here.
  6454. 2006-03-31 Peter Dennis Bartok <[email protected]>
  6455. * XplatUIX11.cs:
  6456. - We now track the mapping state of windows. If a window (or
  6457. one of it's parents) is not mapped we no longer permit
  6458. WM_PAINT messages to be generated since we'd otherwise get
  6459. lots of BadMatch X errors. Jackson did all the work figuring
  6460. out the problem.
  6461. - Destroying the caret if the window it's contained in is
  6462. destroyed. Can't use regular DestroyCaret method since it
  6463. might fall into a drawing function (trying to remove the
  6464. caret) and with that generate new BadMatch errors. Again,
  6465. Jackson tracked this down.
  6466. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  6467. make sure we send the messages to all windows. (The old code
  6468. would send the WM_DESTROY to the window, and then all child
  6469. windows would be 'gone' because the WM_DESTROY handle lookup
  6470. would no longer find the destroyed window)
  6471. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  6472. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  6473. 2006-03-31 Jackson Harper <[email protected]>
  6474. * ScrollableControl.cs: Dont recalc if we are not visible.
  6475. 2006-03-31 Mike Kestner <[email protected]>
  6476. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  6477. the visibility branch.
  6478. 2006-03-31 Jackson Harper <[email protected]>
  6479. * ScrollBar.cs: Cap values when incrementing/decrementing.
  6480. 2006-03-31 Mike Kestner <[email protected]>
  6481. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  6482. * ToolTip.cs: guard against timer expirations with no active control.
  6483. Not sure why it happened.
  6484. 2006-03-31 Mike Kestner <[email protected]>
  6485. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  6486. text.
  6487. * ToolTip.cs: Position the tooltip based on where the cursor is at
  6488. popup time, not at MouseEnter time. Add a Down state so that we don't
  6489. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  6490. positioning offset. Lookup DisplaySize at positioning time, since it
  6491. can theoretically change during invocation.
  6492. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  6493. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  6494. 2006-03-31 Alexander Olk <[email protected]>
  6495. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  6496. Fixes behaviour when the Text property of the box is String.Empty
  6497. 2006-03-31 Peter Dennis Bartok <[email protected]>
  6498. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  6499. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  6500. a window)
  6501. 2006-03-31 Alexander Olk <[email protected]>
  6502. * FileDialog.cs: Visual enhancement for the popup buttons in
  6503. PopupButtonPanel
  6504. 2006-03-31 Alexander Olk <[email protected]>
  6505. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  6506. code
  6507. 2006-03-30 Alexander Olk <[email protected]>
  6508. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  6509. highlighted menu items to match ms
  6510. 2006-03-30 Peter Dennis Bartok <[email protected]>
  6511. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  6512. 2006-03-30 Mike Kestner <[email protected]>
  6513. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  6514. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  6515. go active to account for HotLight to Selected transition.
  6516. * MenuItem.cs: add internal Selected prop. Fill out the Status
  6517. property by calculating it from item info. Add HotLight,
  6518. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  6519. 2006-03-30 Mike Kestner <[email protected]>
  6520. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  6521. 2006-03-29 Jackson Harper <[email protected]>
  6522. * Form.cs: Implement TODO.
  6523. 2006-03-29 Peter Dennis Bartok <[email protected]>
  6524. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  6525. missing proper dialog setup in the constructor
  6526. 2006-03-29 Peter Dennis Bartok <[email protected]>
  6527. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  6528. * Control.cs:
  6529. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  6530. - Fixed ResetBindings and removed TODO
  6531. - Added check for cross-thread calls to get_Handle()
  6532. - Added Marshaller attribute for set_Font to satisfy class status
  6533. * FontDialog.cs: Removed TODOs that seemed implemented
  6534. * UpDownBase.cs: Removed unneeded TODO and Fixme
  6535. * MessageBox.cs: Implemented support for Default button and removed TODO
  6536. * FileDialog.cs: Removed obsolete TODO
  6537. * DomainUpDown.cs: Removed obsolete TODO
  6538. * ButtonBase.cs: Removed obsolete TODO
  6539. * XplatUIWin32.cs: Removed obsolete TODO
  6540. * Form.cs:
  6541. - Removed obsolete TODO
  6542. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  6543. internal status updates
  6544. - Making sure the active control is selected when the control is created
  6545. * CurrencyManager.cs: Removed obsolete TODO
  6546. 2006-03-29 Mike Kestner <[email protected]>
  6547. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  6548. of PrintPreviewDialog and RichTextBox.
  6549. 2006-03-29 Alexander Olk <[email protected]>
  6550. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  6551. DarkDark, Light and LightLight colors for a specific color
  6552. * ThemeWin32Classic.cs:
  6553. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  6554. Appearance = Button
  6555. - Make use of the new ResPool helper CPColor
  6556. - Draw ProgressBar and StatusBar with correct 3D borders
  6557. 2006-03-29 Alexander Olk <[email protected]>
  6558. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  6559. 2006-03-28 Mike Kestner <[email protected]>
  6560. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  6561. calculating col/row counts.
  6562. 2006-03-28 Mike Kestner <[email protected]>
  6563. * ColumnHeader.cs:
  6564. * ListView.cs:
  6565. * ListViewItem.cs:
  6566. * Menu.cs:
  6567. switch to explicit interface method implementation for some methods
  6568. corcompare identifies as inconsistent with MS.
  6569. 2006-03-28 Mike Kestner <[email protected]>
  6570. * MainMenu.cs:
  6571. * Menu.cs:
  6572. add a few missing methods from the class status output.
  6573. 2006-03-28 Alexander Olk <[email protected]>
  6574. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  6575. correct.
  6576. 2006-03-28 Mike Kestner <[email protected]>
  6577. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  6578. 2006-03-27 Mike Kestner <[email protected]>
  6579. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  6580. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  6581. 2006-03-27 Alexander Olk <[email protected]>
  6582. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  6583. 2006-03-25 Alexander Olk <[email protected]>
  6584. * ThemeWin32Classic.cs:
  6585. - GroupBox: Inserted a little gap between the text and the lines
  6586. on the right side
  6587. - Made the code in CPDrawBorder3D more readable
  6588. - Corrected the drawing location of the up and down arrows in
  6589. CPDrawScrollButton
  6590. 2006-03-25 Alexander Olk <[email protected]>
  6591. * ControlPaint.cs: Corrected line widths in DrawBorder for
  6592. ButtonBorderStyle Inset and Outset
  6593. 2006-03-25 Alexander Olk <[email protected]>
  6594. * ThemeWin32Classic.cs:
  6595. - Rewrote the totally broken CPDrawBorder3D method. That was
  6596. one of the main problems for the terrific ThemeWin32Classic
  6597. look
  6598. - Updated and corrected Button drawing
  6599. - Correct the dimensions of the SizeGrip to match ms ones
  6600. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  6601. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  6602. Border3DStyle.Sunken to match ms.
  6603. 2006-03-25 Alexander Olk <[email protected]>
  6604. * ThemeWin32Classic.cs: First small part of the "de-uglify
  6605. ThemeWin32Classic" effort, SizeGrip
  6606. 2006-03-24 Jackson Harper <[email protected]>
  6607. * XplatUIX11.cs: Give a max idle time of one second, this matches
  6608. MS and forces an Idle event every second when there are no other
  6609. events in the queue.
  6610. 2006-03-24 Mike Kestner <[email protected]>
  6611. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  6612. * ListView.Item.cs: fix layout issues with null image lists and images
  6613. smaller than checkbox size.
  6614. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  6615. mode like MS does. It's weird, but consistent. ;-)
  6616. Fixes #77890.
  6617. 2006-03-24 Mike Kestner <[email protected]>
  6618. * ListView.cs: Scroll wheel support for the item control. Fixes
  6619. #77839.
  6620. 2006-03-23 Jackson Harper <[email protected]>
  6621. * ScrollableControl.cs: Special case negative sized areas, not
  6622. zero.
  6623. * MonthCalendar.cs: Save the rect of the clicked date so we can
  6624. use it for invalidation.
  6625. - Try to cut down on the number of invalidates
  6626. - Invalidate the rect the mouse is over and was over when moving
  6627. the mouse, so we get the focus box following the cursor.
  6628. 2006-03-23 Mike Kestner <[email protected]>
  6629. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  6630. focus rectangle drawing. Fixes #77835.
  6631. 2006-03-23 Mike Kestner <[email protected]>
  6632. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  6633. the if and else if and reverting back to the original == check on the
  6634. None conditional.
  6635. 2006-03-23 Alexander Olk <[email protected]>
  6636. * FontDialog.cs: Update the example panel if the selected index of
  6637. the fontListBox changes.
  6638. 2006-03-23 Alexander Olk <[email protected]>
  6639. * FileDialog.cs: Make FileDialog remember which directory it was in
  6640. last in the same execution.
  6641. 2006-03-22 Mike Kestner <[email protected]>
  6642. * FileDialog.cs: make the DropDownMenu on the toolbar display
  6643. RadioChecks since they are mutually exclusive and that's what MS does.
  6644. 2006-03-22 Mike Kestner <[email protected]>
  6645. * Theme.cs: add Color param to CPDrawMenuGlyph.
  6646. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  6647. checks and radio marks and arrows are visible on highlighted items.
  6648. * ControlPaint.cs: update to use new Theme signature.
  6649. 2006-03-22 Mike Kestner <[email protected]>
  6650. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  6651. is active. Fixes #77870.
  6652. 2006-03-22 Alexander Olk <[email protected]>
  6653. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  6654. to be focused/selected after startup
  6655. 2006-03-22 Alexander Olk <[email protected]>
  6656. * ColorDialog.cs:
  6657. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  6658. CustomColors and ShowHelp properties
  6659. - Some internal rewrites to get better results when using the
  6660. ColorMatrix
  6661. 2006-03-22 Mike Kestner <[email protected]>
  6662. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  6663. HoverSelection. Fixes #77836.
  6664. 2006-03-22 Mike Kestner <[email protected]>
  6665. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  6666. ToggleButtons. (De)Sensitize the Back button around a stack count of
  6667. 1, not 0. Update ButtonSize based on a pixel count of the win32
  6668. control. Adjust the toolbar size/location for new button size.
  6669. 2006-03-22 Jackson Harper <[email protected]>
  6670. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  6671. true.
  6672. * ScrollBar.cs: When doing increments and decrements we need to
  6673. set the Value property so that ValueChanged gets raised. A
  6674. possible optimization here would be to make an internal SetValue
  6675. that doesn't invalidate immediately.
  6676. * ToolTip.cs: Tooltips get added to their container (when
  6677. supplied) so they get disposed when the container is disposed.
  6678. - Don't create tooltips for String.Empty. This prevents all these
  6679. little 2-3 pixel windows from showing up when running nunit-gui
  6680. and driving me mad.
  6681. * Form.cs: Don't set topmost when setting the owner if the handles
  6682. haven't been created yet. The topmost set will happen when the
  6683. handles are created.
  6684. 2006-03-22 Peter Dennis Bartok <[email protected]>
  6685. * XplatUIX11.cs:
  6686. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  6687. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  6688. visible (to allow them to recalculate their sizes)
  6689. 2006-03-21 Mike Kestner <[email protected]>
  6690. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  6691. methods. Removed a ton of redundant code. Still not really happy with
  6692. the border rendering, but I think that's mainly because of the
  6693. ControlDarkDark being black instead of a dark grey. Depending on how
  6694. close we want to be, we might want to revisit those color choices.
  6695. Among the new features added during the refactor were DropDownArrow
  6696. pressed rendering, Disabled image rendering. Proper flat appearance
  6697. boundary rendering. Removed the Divider and Wrapping dividers since I
  6698. can't figure out any combination of themes and conditions to make the
  6699. MS control draw a horizontal line on a toolbar despite what the
  6700. Divider property docs indicate.
  6701. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  6702. conditions and incorrect layout. Updated to coding standard.
  6703. * ToolBarButton.cs: refactored layout and positioning code from
  6704. ToolBar to here. Invalidate wherever possible instead of forcing
  6705. redraws of the whole toolbar.
  6706. (Known remaining issues: explicit ButtonSize smaller than provided
  6707. images.)
  6708. 2006-03-21 Mike Kestner <[email protected]>
  6709. * ContextMenu.cs (Show): use the position parameter instead of just
  6710. showing at the MousePosition.
  6711. 2006-03-21 Jackson Harper <[email protected]>
  6712. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  6713. control handle this.
  6714. * TreeNodeCollection.cs: If we are clearing the root node we need
  6715. to reset top_node so calcs can still happen.
  6716. * ThemeWin32Classic.cs: This is a Flags so we need to check
  6717. properly.
  6718. 2006-03-21 Jackson Harper <[email protected]>
  6719. * DataGrid.cs: Create columns when the binding context has been
  6720. changed.
  6721. * X11Structs.cs: Keysyms are uints.
  6722. - Add size to fix build.
  6723. 2006-03-21 Peter Dennis Bartok <[email protected]>
  6724. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6725. XplatUIOSX.cs:
  6726. - Added ResetMouseHover method to allow controls to retrigger
  6727. hovering if they need it more than once
  6728. - Implemented MouseHoverTime and MouseHoverSize properties
  6729. * Timer.cs: Start() must reset the interval
  6730. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  6731. properties
  6732. 2006-03-21 Jackson Harper <[email protected]>
  6733. * X11Keyboard.cs: improved layout detection. Move the nonchar
  6734. tables into this file.
  6735. * KeyboardLayouts.cs: Move the tables into resource files.
  6736. 2006-03-21 Mike Kestner <[email protected]>
  6737. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  6738. 2006-03-21 Alexander Olk <[email protected]>
  6739. * Mime.cs: Various speed optimizations. Looking up mime types
  6740. is now 2 times faster than before
  6741. 2006-03-17 Peter Dennis Bartok <[email protected]>
  6742. * CreateParams.cs: Added internal menu field
  6743. * Control.cs:
  6744. - Switched call order for UpdateBounds; now we always call
  6745. the one that also takes ClientSize, and we're calculating the
  6746. client size via driver method in the others. The previous
  6747. method of tracking client size by difference wasn't working
  6748. for forms where even the starting client size wouldn't match
  6749. the overall form size (due to borders) (Part of fix for #77729)
  6750. - CreateParams(): Do not use parent.Handle unless the handle is
  6751. already created. Causes havoc with Nexxia and throws off our
  6752. creation of controls
  6753. * XplatUIX11.cs:
  6754. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  6755. - Switched handling of ConfigureNotify over to new PerformNCCalc
  6756. method (consolidates code)
  6757. - Changed RequestNCRecalc to use new PerformNCCalc method
  6758. - Added calls to RequestNCRecalc when menus and borders are changed
  6759. to allow app to set NC size. (Part of fix for #77729) This matches
  6760. when MS send a WM_NCRECALC on Win32 windows.
  6761. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  6762. (Part of fix for #77729). This matches what MS does, they also
  6763. send that message when the form is made visible.
  6764. - XException.GetMessage: Improved usability of X errors by including
  6765. a translation of the window into Hwnd and Control class
  6766. - Improved debug info for window creation, reparenting and destruction
  6767. - Created helper method WindowIsMapped() [Currently not used]
  6768. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  6769. * Form.cs:
  6770. - CreateParams: Now setting our menu on the new internal menu field
  6771. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  6772. avoid calculating the same property twice
  6773. * Hwnd.cs:
  6774. - Improved usability of ToString() for debugging purposes
  6775. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  6776. determine the height of the menu, instead of just the font. This
  6777. required to also create a graphics context and to keep a bmp
  6778. around (for performance reasons)
  6779. 2006-03-17 Peter Dennis Bartok <[email protected]>
  6780. * MenuAPI.cs: Added OnMouseUp method
  6781. * Form.cs:
  6782. - Now remembering the requested client size, avoids size errors
  6783. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  6784. instead of base if the menu is active. This is required due to
  6785. control now capturing and releasing on down/up and it would
  6786. prematurely release our menu capture
  6787. 2006-03-17 Jackson Harper <[email protected]>
  6788. * KeyboardLayouts.cs: Add the czech layouts.
  6789. 2006-03-16 Jackson Harper <[email protected]>
  6790. * Control.cs: Use the viewport space when sizing not the controls
  6791. client size, so things like ScrollableControl that effect the
  6792. viewport size (when scrollbars are added) are computed correctly.
  6793. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  6794. of ManagerEntrys.
  6795. - Handle creating BindingManagers for null data sources.
  6796. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  6797. source, otherwise when rows are added they are added to the 'fake'
  6798. datasource and we will crash when trying to set the position in
  6799. those rows.
  6800. - Use Implicit scrollbars on the datagrid so they arent
  6801. selectable.
  6802. 2006-03-16 Jackson Harper <[email protected]>
  6803. * Binding.cs:
  6804. * InternalWindowManager.cs:
  6805. * MdiWindowManager.cs:
  6806. * X11Keyboard.cs: I really want Mike to love me again (fix
  6807. compiler warnings).
  6808. 2006-03-16 Peter Dennis Bartok <[email protected]>
  6809. * DataGrid.cs:
  6810. - OnMouseDown: Switch to editing mode when clicking on the cell
  6811. even if we're clicking on the cell that's currently
  6812. selected
  6813. - ProcessGridKey: Left/Right now wrap like MS.Net does
  6814. - ProcessGridKey: Tab now knows to add a new row when tab is
  6815. pressed in the cell of the last column of the
  6816. last row
  6817. - ProcessGridKey: Enter now adds another row if pressed in the last
  6818. row and selectes the new row, same column cell
  6819. - ProcessGridKey: Home/End navigate columns, not rows, like
  6820. originally implemented
  6821. - Broke ProcessKeyPreview code out into an extra Internal method
  6822. so it can be called from the edit code
  6823. * DataGridTextBox.cs (ProcessKeyMessage):
  6824. - Switched to accept Tab keypresses
  6825. - Added F2 handling to allow jumping to the end of the edited cell
  6826. - Added logic to allow moving caret left/right inside edited cell
  6827. and making the edited cell jump when the caret hits cell borders
  6828. - Tab and Enter are now passed to the datagrid after being handled
  6829. * TextBoxBase.cs:
  6830. - Removed capture code now that Control handles it
  6831. - set_SelectionStart now ensures caret is visible
  6832. 2006-03-16 Jackson Harper <[email protected]>
  6833. * TrackBar.cs: Debackwards the increment/decrement for handling
  6834. mouse clicks on the bar with vertical trackbars.
  6835. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  6836. bottom to match MS.
  6837. 2006-03-16 Mike Kestner <[email protected]>
  6838. * ListView.cs: make shift/ctrl keyboard and mouse selection
  6839. consistent with the MS control. Fix a bug in
  6840. SelectedListViewItemCollection.Clear that was pissing me off for the
  6841. better part of a day because the collection was being altered
  6842. underneath us as we walked the list.
  6843. 2006-03-16 Peter Dennis Bartok <[email protected]>
  6844. * Control.cs: Not sure how we could miss this so long, but it seems
  6845. that MS.Net has Capture set all the way from before calling
  6846. OnMouseDown through sending the mouse events until after
  6847. OnMouseUp. This will fix DataGrid's selection being set to end
  6848. at the location of the MouseUp.
  6849. 2006-03-15 Jackson Harper <[email protected]>
  6850. * BindingContext.cs: Check the binding after its added so that it
  6851. can initialize the binding managers and hookup to events.
  6852. * Binding.cs: Data members seem to sometimes include rows/cols in
  6853. the format Row.Column we now take this into account.
  6854. - Hookup to the position changed event so we can update the
  6855. control when the position has changed in the data set.
  6856. * CurrencyManager.cs: Take into account the row/col naming
  6857. convention when creating dataset tables.
  6858. * BindingContext.cs: Using a newer better way of storing
  6859. datasource/datamember pairs. Hopefully this better matches MS for
  6860. looking up binding managers.
  6861. 2006-03-15 Jackson Harper <[email protected]>
  6862. * BindingContext.cs: The currency manager needs the data member
  6863. name, if the member is a data set we use the name to find the
  6864. correct table.
  6865. * CurrencyManager.cs: When creating the list prefer an IList over
  6866. an IListSource.
  6867. - Attempt to create a DataTable from a DataSet (TODO: might need
  6868. some better error checking here, although MS doesn't seem to have much)
  6869. - If we have a DataTable create a view and use it as our list.
  6870. 2006-03-15 Mike Kestner <[email protected]>
  6871. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  6872. keyboard navigation. Support Up/Down/Left/Right selection correctly
  6873. for all 4 View modes.
  6874. * ListViewItem.cs: add internal row/col fields for icon layouts.
  6875. 2006-03-15 Jackson Harper <[email protected]>
  6876. * TabControl.cs: Redraw the tabs when we resize so their newly
  6877. calculated sizes are drawn on screen.
  6878. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  6879. composite characters.
  6880. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  6881. - filter events so that composite characters can be created
  6882. patches by peter
  6883. * X11Structs.cs: Add XIMProperties enum.
  6884. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6885. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  6886. unless it's created
  6887. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6888. * Control.cs (PerformLayout): We don't need to consider visiblity
  6889. for anchoring, only for docking. This fixes 'whacky' alignment
  6890. in listbox and other controls that use implicit scrollbars after
  6891. the previous PerformLayout patch
  6892. * ListBox.cs: Switched to use implicit scrollbars
  6893. 2006-03-14 Mike Kestner <[email protected]>
  6894. * ToolBar.cs:
  6895. * VScrollBar.cs:
  6896. - chain up the "new event" overrides to base and use
  6897. OnEvent to raise them. Part of fix for bug #76509.
  6898. 2006-03-14 Alexander Olk <[email protected]>
  6899. * FileDialog.cs: Do not select an item in the parent directory
  6900. on backspace
  6901. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6902. * Control.cs (PerformLayout): It would seem that we considered
  6903. invisible windows for our layout. Not quite the right thing
  6904. to do. Now we don't any longer, thereby fixing bug #76889.
  6905. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6906. * Control.cs (CanFocus): I goofed. A control can have focus
  6907. even though it's not selectable. Made it match MS docs.
  6908. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6909. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  6910. center by default (fixes #76895)
  6911. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  6912. all uses of Border3DSides.All with the explicit ORd together
  6913. Left|Right|Top|Bottom because I assume that nobody was aware
  6914. that All also implies a center fill. Most places I checked had
  6915. a fill right above.
  6916. * ProgressBarStyle.cs: Added
  6917. 2006-03-13 Mike Kestner <[email protected]>
  6918. * ListView.cs: fix breakage in drag shadow header positioning
  6919. from Peter's csc compilation fix.
  6920. 2006-03-13 Mike Kestner <[email protected]>
  6921. * ListView.cs: fix NRE produced by backspacing twice in a focused
  6922. FileDialog.
  6923. 2006-03-13 Mike Kestner <[email protected]>
  6924. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  6925. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6926. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  6927. be changed
  6928. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  6929. the allowed size before making programmatic size changes
  6930. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6931. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  6932. set, metacity is broken and will still use the emty sizes in
  6933. the struct. (Fix for #77089)
  6934. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6935. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  6936. WindowExStyles and marked both enums as Flags
  6937. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  6938. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  6939. to match WindowStyles split
  6940. * XplatUIX11.cs:
  6941. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  6942. - Updated to match WindowStyles split
  6943. * XplatUIWin32.cs:
  6944. - Fixed FosterParent creation, was using ExStyle on the Style field
  6945. (This should help with Popup focus issues)
  6946. - Updated to match WindowStyles split
  6947. 2006-03-13 Jackson Harper <[email protected]>
  6948. * MdiWindowManager.cs: Use the system menu height. Fixes some
  6949. strange sizing issues.
  6950. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6951. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  6952. * TextBoxBase.cs:
  6953. - Scroll to caret after inserting text (#77672)
  6954. - Make scroll range one pixel higher, fixes off-by-one error (and
  6955. makes underlines visible on the last line)
  6956. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6957. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  6958. the keyboard state from being stuck with keys in 'pressed' state when
  6959. focus is switched away via keyboard
  6960. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  6961. reset the keyboard if no X11 KeyUp events are expected to come
  6962. * X11Structs.cs: Switched type of Visible to bool to match driver
  6963. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6964. * TextControl.cs:
  6965. - Switched caret to be just 1 pixel wide, matches MS and looks less
  6966. clunky
  6967. - Moved caret display 1 pixel down from the top of the control
  6968. to improve view
  6969. - InsertCharAtCharet: Update the selection start if moving the caret
  6970. (fixes bug #77696; based on patch suggested by [email protected])
  6971. - No longer always creating the caret when the caret methods are
  6972. called. Only the actual ShowCaret/HideCaret will do that now
  6973. - Only setting caret visible if the owner control has focus
  6974. - UpdateView: Added invalidation-shortcut logic for center and right
  6975. aligned text. Previously we'd update all according to the left
  6976. logic which caused drawing errors. Also fixed height of invalidated
  6977. areas, now properly invalidating the whole area (was off-by-one)
  6978. - owner_HandleCreated: Always generate the document when the
  6979. handle is created; this ensures that
  6980. * TextBoxBase.cs:
  6981. - Fixed situation where caret would disappear under the right
  6982. window border, also improved scrolling behaviour on left-
  6983. aligned textboxes
  6984. - Fixed right-aligned textboxes to have a border to the
  6985. right instead of the caret being under the right border
  6986. * XplatUIX11.cs:
  6987. - Switched from 'nested' to simple visible/not visible tracking
  6988. for caret (part of fix for #77671)
  6989. - No longer passing through translated FocusIn/FocusOut messages
  6990. since we were notifying too often and the wrong windows. Instead
  6991. we just notify our focussed window of receiving or loosing focus
  6992. * XplatUIWin32.cs: Switched from 'nested' show/hide
  6993. counting for caret to simple visible yes/no behaviour (part of
  6994. fix for #77671)
  6995. 2006-03-11 Alexander Olk <[email protected]>
  6996. * Mime.cs: Remove debug code...
  6997. 2006-03-11 Alexander Olk <[email protected]>
  6998. * MimeGenerated.cs: Removed
  6999. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  7000. and subclasses) from /usr/(local/)share/mime and
  7001. $HOME/.local/share/mime.
  7002. 2006-03-10 Jackson Harper <[email protected]>
  7003. * MdiWindowManager.cs: Recalc the NC area when a window is
  7004. maximized/restored so that the menu area is drawn on forms that
  7005. don't have a menu.
  7006. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7007. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7008. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  7009. us to force a WM_NCCALCRESIZE message being sent. This is needed
  7010. for MDI maximizing.
  7011. 2006-03-10 Jackson Harper <[email protected]>
  7012. * Form.cs: We need to use the ActiveMenu when calculating menu
  7013. height.
  7014. - Fix nullref when the window manager hasn't been created yet.
  7015. * Control.cs: Fix nullref when we try to bring a control to the
  7016. front that has no parent.
  7017. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  7018. height.
  7019. - Add a dummy item to the maximized menu so it always has the
  7020. correct height. Otherwise when there are no menus we don't get our
  7021. icon and buttons.
  7022. 2006-03-10 Jackson Harper <[email protected]>
  7023. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  7024. stuff.
  7025. * Form.cs: Make the window_state internal so the window managers
  7026. can track it.
  7027. - When an MDI child is maximized let its window manager create the
  7028. main menu (so it can add its icon).
  7029. - Notify the window managers of state changes
  7030. - Let the window manager paint its buttons and handle button
  7031. clicks on the menu when it is maximized.
  7032. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  7033. window manager, since tool windows don't use it, only mdi windows.
  7034. - Tell the main form that we don't want it to handle NCPAINT
  7035. itself to avoid extra painting.
  7036. - Handle clicks on a maximized windows menu.
  7037. - Handle window state changes
  7038. - Handle minimize/maximize clicks correctly by setting the window state.
  7039. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  7040. when clicking on the forms icon).
  7041. - New method to create a forms maximized menu. This is its normal
  7042. menu + an icon.
  7043. - Handle window state changes.
  7044. - Handle sizing of maximized windows. Maximized windows are just
  7045. drawn bigger then the parent visible area. All controls are still
  7046. there, they are just outside the visible area (this matches windows).
  7047. * MdiClient.cs: No scrollbars when a child window is maximized.
  7048. - Let the children windows figure out how big they should be when
  7049. sizing maximized windows.
  7050. - Implement a version of ArrangeIconicWindows somewhat similar to
  7051. Windows version. There are some little differences, but I don't
  7052. think any app will rely on the layout of minimized mdi windows.
  7053. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7054. * Padding.cs: Several fixes to allow compiling with csc 2.0
  7055. 2006-03-09 Jackson Harper <[email protected]>
  7056. * Menu.cs:
  7057. * MenuItem.cs: Cheap hack so we can add items to the list without
  7058. the events being raised. This allows adding mdi items during
  7059. drawing. TODO: Should probably find a better time to add the items.
  7060. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7061. * ThemeWin32Classic.cs:
  7062. - CheckBox_DrawText: Added logic to not wrap if not enough space
  7063. is available (Fix for bug #77727)
  7064. - RadioButton_DrawText: Added logic not to wrap if not enough
  7065. space is available (Fix for bug #77727). Also removed some
  7066. duplicate code, DrawString always drawing the regular text
  7067. before hitting the if statement.
  7068. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7069. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  7070. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7071. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  7072. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  7073. methods. Moved the new 2.0 properties into alphabetical order with
  7074. other properties and added MonoTODO tags
  7075. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7076. * AutoScaleMode.cs: Added. Fix build.
  7077. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7078. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7079. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  7080. and was requiring premature handle creation for calls from above
  7081. * Form.cs, Control.cs: Removed handle arguments from calls to
  7082. CalculateClientRect()
  7083. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7084. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  7085. drag_column.column_rect is MarshalByRef and can't be used that way
  7086. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7087. * AxHost.cs: Added deserialization constructor for
  7088. AxHost+State (fixes 77743)
  7089. 2006-03-09 Mike Kestner <[email protected]>
  7090. * ListView.cs:
  7091. - Added column drag reordering for details view.
  7092. - fixed behavior when mouse is dragged off column and
  7093. AllowColumnReorder is false.
  7094. * ColumnHeader.cs: clone the format too in Clone.
  7095. * Theme.cs: add DrawListViewHeaderDragDetails method.
  7096. * ThemeWin32Classic.cs:
  7097. - impl new method for drawing drag column shadows and targets.
  7098. - support column offset for details mode in DrawListViewItem.
  7099. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7100. * TextControl.cs: Reset the char_count when the document is cleared
  7101. (Fixes bug reported on mono-winforms mailing list)
  7102. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7103. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  7104. of calling base we simply process the key ourselves, since both
  7105. DefWindowProc and the handled method would set m.Result.
  7106. (Fixes #77732)
  7107. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7108. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  7109. method also moves the window; instead implemented a copy of
  7110. Control.ScaleCore (Part of fix for #77456)
  7111. * TextBoxBase.cs:
  7112. - Created new CreateGraphicsInternal method to allow providing
  7113. a graphics context when no handle is created without triggering
  7114. handle creation. (Part of fix for #77456)
  7115. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  7116. * TextControl.cs:
  7117. - Switched Constructor to require TextBoxBase instead of Control (to
  7118. allow uncast access to CreateGraphicsInternal)
  7119. - Safeguarded use of owner.Handle property. No longer accessing it
  7120. unless the handle is already created.
  7121. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  7122. - Now triggering a recalc when owning control becomes visible
  7123. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  7124. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  7125. premature handle creation (Part of fix for #77456)
  7126. * Control.cs:
  7127. - We now only destroy our double-buffering buffers when the
  7128. control is resized or disposed, but not when visibility
  7129. changes. (The code even re-created them twice every time)
  7130. - Now requiring a redraw of the buffer on visibility changes
  7131. (fixes bug 77654 part 2)
  7132. - Not passing OnParentVisibleChanged up unless the control
  7133. is visible
  7134. - CanFocus: Fixed to match MS documentation
  7135. - Focus: Fixed to return actual focus state and to check if
  7136. setting focus is legal before setting it
  7137. 2006-03-08 Peter Dennis Bartok <[email protected]>
  7138. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  7139. when to draw focus rectangle by looking at parent focus and
  7140. selected state instead. This fixes TabPages on Linux sometimes
  7141. having none or multiple focus rectangles.
  7142. * XplatUIX11.cs (SetFocus):
  7143. - Don't set the focus if the same window already has focus
  7144. - Use SendMessage instead of PostMessage (like it's Win32
  7145. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  7146. to match MS behaviour
  7147. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  7148. are not selectable.
  7149. 2006-03-07 Jackson Harper <[email protected]>
  7150. * PictureBox.cs: Revert line I accidently committed last week.
  7151. 2006-03-07 Peter Dennis Bartok <[email protected]>
  7152. * Control.cs:
  7153. - Added new IsRecreating and ParentIsRecreating properties to
  7154. allow testing if RecreateHandle has been called on ourselves
  7155. or one of our parents
  7156. - WndProc(WM_DESTROY): If our control handle is being recreated
  7157. we immediately need to create the handle when receiving the
  7158. destroy, that way our child windows find a valid parent handle
  7159. when they themselves are being recreated upon WM_DESTROY receipt
  7160. (fix for bug #77654 part 1)
  7161. * XplatUIX11.cs:
  7162. - DestroyWindow: WM_DESTROY must be sent to our own window before
  7163. notifying any child windows. MS documents that child windows
  7164. are still valid when WM_DESTROY is received. (Control now relies on
  7165. this behaviour)
  7166. - Added some fine-grain debug options
  7167. 2006-03-06 Jackson Harper <[email protected]>
  7168. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  7169. box and base calculations off this.
  7170. * MdiChildContext.cs:
  7171. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  7172. anymore.
  7173. 2006-03-06 Peter Dennis Bartok <[email protected]>
  7174. * Splitter.cs: In situations where the affected control is added
  7175. to the parent's control list after the splitter, we would not
  7176. populate affected. Now we try populating it on mousedown, if
  7177. it's not already set, and force it to be re-set whenever our
  7178. parent changes.
  7179. 2006-03-03 Matt Hargett <[email protected]>
  7180. * Control.cs: implement Control.Padding
  7181. * Padding.cs: -Padding.All returns -1 when constructing with the
  7182. implicit default ctor
  7183. -Padding.ToString() matches MS.NET
  7184. * ContainerControl.cs: implement
  7185. ContainerControl.AutoScaleDimensions
  7186. * ListControl.cs: implement ListControl.FormattingEnabled
  7187. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  7188. * ButtonBase.cs:
  7189. * TabPage.cs: Implement UseVisualStyleBackColor.
  7190. * PictureBox.cs: Implement PictureBox.InitialImage.
  7191. 2006-03-03 Mike Kestner <[email protected]>
  7192. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  7193. event declarations to proxy to base event.
  7194. * ListViewItem.cs: update to use ItemControl.
  7195. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  7196. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  7197. column header label rendering for 0 width columns.
  7198. 2006-03-03 Peter Dennis Bartok <[email protected]>
  7199. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  7200. that causes the control to be created. Fixes #77476.
  7201. 2006-03-02 Jackson Harper <[email protected]>
  7202. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  7203. expose_pending.
  7204. 2006-03-02 Peter Dennis Bartok <[email protected]>
  7205. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  7206. passed in for the EventArgs (fixes #77690)
  7207. 2006-03-01 Jackson Harper <[email protected]>
  7208. * ScrollBar.cs: Refresh afterbeing resized.
  7209. 2006-02-28 Mike Kestner <[email protected]>
  7210. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  7211. Clean up a tracker compile warning.
  7212. * MenuItem.cs: add internal PerformPopup method.
  7213. [Fixes #77457]
  7214. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7215. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  7216. implicit expose) when the text is set to null
  7217. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7218. * RichTextBox.cs (FlushText): When newline is true, we always
  7219. need to split the line, even if no text is on it and we may
  7220. never eat newlines. (Fixes #77669)
  7221. 2006-02-28 Mike Kestner <[email protected]>
  7222. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  7223. and set Selected instead.
  7224. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  7225. collections.
  7226. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7227. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  7228. 2006-02-28 Alexander Olk <[email protected]>
  7229. * FontDialog.cs:
  7230. - Got rid of the panel. All controls are now directly added to
  7231. the dialog form
  7232. - It is now possible to set a font with the Font property
  7233. - MinSize and MaxSize property do now what they should
  7234. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  7235. - Searching and selecting a font with the font textbox works now,
  7236. the same applies to the style and size textbox
  7237. - Draw the correct 3D border in the example panel
  7238. - Fixed a little mem leak (unused fonts didn't get disposed)
  7239. - Many other internal updates/rewrites...
  7240. - Fix typo
  7241. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7242. * TextControl.cs:
  7243. - InsertRTFFromStream: Added 'number of characters inserted' argument
  7244. - set_SelectedRTF: Now using the number of characters to calculate
  7245. the new location for the selection and cursor (x/y cannot be used
  7246. due to potentially already wrapped text)
  7247. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7248. * TextControl.cs: Added property and implemented means to allow
  7249. disabling recalculation of a document (can be used to speed up
  7250. multiple inserts and is needed to make RTF inserts predictable, see
  7251. bug #77659)
  7252. * RichTextBox.cs: Using the new NoRecalc property of Document to
  7253. keep x/y insert locations predictable. Also makes it faster inserting
  7254. large chunks of RTF
  7255. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7256. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  7257. it's easier for a child control to handle the other messages without
  7258. having to duplicate the special functionality
  7259. * TextBoxBase.cs
  7260. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  7261. code to handle processing the key ourselves, in order to get
  7262. access to the result of KeyEventArgs.Handled. We now only call
  7263. ProcessKey if they key hasn't been handled already. Fixes #77526.
  7264. - set_Text: If null or empty string is given, just clear the
  7265. document. Fixes part of #77526
  7266. 2006-02-27 Jackson Harper <[email protected]>
  7267. * SizeGrip.cs: Paint the background color before painting the grip
  7268. so things look right.
  7269. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  7270. 2006-02-27 Mike Kestner <[email protected]>
  7271. * ListView.cs:
  7272. - Restructure layout and invalidation model to remove a ton of
  7273. flicker from the control and speed up performance in general.
  7274. - Add manual column resize, flickers like crazy, but I already have
  7275. some ideas on how I'll fix that. (#76822)
  7276. - Merge the three Icon-based views into a single layout method.
  7277. - Move item selection interaction logic from the item since
  7278. interaction with the collections is more appropriate to the view.
  7279. - Deselection on non-item clicks.
  7280. * ListViewItem.cs:
  7281. - Encapsulate most of the layout. Add some internal props to trigger
  7282. layout. Move to a model where Items invalidate themselves instead
  7283. of just invalidating the whole control every time something changes.
  7284. - Invalidate on Text/Caption changes.
  7285. - switch to an offset based layout model to avoid having to absolute
  7286. position every element on item moves.
  7287. - correct checkbox layout to conform to MS layout.
  7288. * ThemeWin32Classic.cs:
  7289. - refactor some column header drawing code.
  7290. - fix string justification for column headers (#76821)
  7291. - make SmallIcon labels top justified for compat with MS impl.
  7292. * ThemeClearlooks.cs:
  7293. - adjust to new ListViewItem internal checkbox bounds api.
  7294. 2006-02-27 Jackson Harper <[email protected]>
  7295. * Control.cs: Change where implicit controls fall in the zorder.
  7296. They are now on top of all children.
  7297. - Synced AddImplicit code with Add
  7298. - Removed unused enumerator.
  7299. * SizeGrip.cs: Remove the TODO as its been TODONE.
  7300. 2006-02-26 Peter Dennis Bartok <[email protected]>
  7301. * TextControl.cs(Insert): Combine the last lines unless the insertion
  7302. string ends with \n\n, otherwise we leave one line too many (Fixes
  7303. something I noticed with the testapp for #77526; the bug itself was
  7304. already fixed in the previous checkin)
  7305. 2006-02-26 Peter Dennis Bartok <[email protected]>
  7306. * RichTextBox.cs:
  7307. - SelectionColor and SelectionFont methods no longer set absolute
  7308. styles. Instead, the keep font or color respectively (This
  7309. resolves a long-standing FIXME in the code)
  7310. - When flushing RTF text, the insert code now considers text trailing
  7311. behind the insertion point (Fixes the bug where when replacing
  7312. the selected text via SelectedRTF the remainder of the line behind
  7313. the selection would stay on the first insertion line)
  7314. * TextBoxBase.cs:
  7315. - AppendText now updates the selection points after inserting text
  7316. - AppendText now ensures that the last tag (sometimes 0-length) of
  7317. the document is used for the style information (Fixes part of
  7318. bug #77220)
  7319. * TextControl.cs:
  7320. - Created new FontDefiniton class to allow describing partial style
  7321. changes
  7322. - StreamLine() now takes a lines argument, to allow it to decide
  7323. whether an encountered zero-length tag is the last in the document
  7324. (which must be kept to not loose the font/color contained in it,
  7325. for later appends)
  7326. - Created Combine() and Split() methods for Marker structs, to
  7327. support marker updates due to reformatted documents (soft line
  7328. wraps)
  7329. - Implemented Document.CaretTag setter
  7330. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  7331. of the last line (Not the cause, but also exposed by bug #77220)
  7332. - Added LineTag argument to InsertString method, to allow callers
  7333. to force a certain tag to be used (required to force use of the
  7334. trailing zero-length tag of a document)
  7335. - Now updating markers in Combine(), to avoid stale tag markers
  7336. - Added some method descriptions to aid maintenance
  7337. - Implemented new FormatText concept, allowing additive/subtractive
  7338. formatting by only specifying the components that are to be
  7339. changed. This was needed for resolving the RTB.SelectedColor/
  7340. RTB.SelectedFont fixmes
  7341. - Added Break() support method to allow breaking up linetags (used
  7342. for partial formatting)
  7343. - Added GenerateTextFormat() method. It is used for partial
  7344. formatting and allows to generate a full font/color from given
  7345. attributes and an existing tag.
  7346. 2006-02-26 Jackson Harper <[email protected]>
  7347. * XplatUIX11.cs: Use the correct caption height.
  7348. - Translate hittest coordinates to screen coords to match MS.
  7349. * XplatUIWin32.cs: When we create MDI windows we need to reset
  7350. some of the style flags, so we get a nice blank window, and can
  7351. draw all the decorations ourselves.
  7352. - Set a clipping rectangle on the non client paint event, the
  7353. window manager drawing code needs one.
  7354. * Form.cs: The window manager needs to know when the window state
  7355. has been updated.
  7356. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  7357. don't need to factor in border and title sizes in these
  7358. methods. TODO: Remove the args and fix the call points.
  7359. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  7360. properly.
  7361. - Let the driver set the cursors.
  7362. - Improve active window handling
  7363. - Correct sizes for title bars and buttons.
  7364. - Match MS drawing better
  7365. * MdiWindowManager.cs: We don't need to handle border style
  7366. updates specially anymore.
  7367. - Check for scrollbars when windows are done moving
  7368. - Handle Active properly.
  7369. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  7370. correctly. I am spewing the exception though, so we don't hide the
  7371. bugs.
  7372. 2006-02-26 Pedro Martinez Julia <[email protected]>
  7373. * DataGridViewRowPostPaintEventArgs.cs,
  7374. DataGridViewCellPaintingEventArgs.cs,
  7375. DataGridViewRowCollection.cs,
  7376. DataGridViewRowPrePaintEventArgs.cs,
  7377. DataGridViewCell.cs: Clear a few warnings and implement a few
  7378. exceptions that should be thrown.
  7379. 2006-02-22 Peter Dennis Bartok <[email protected]>
  7380. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  7381. 'inheriting' our parent's (non-default) cursor. (Part of
  7382. the fix for #77479)
  7383. 2006-02-22 Peter Dennis Bartok <[email protected]>
  7384. * XplatUIX11.cs: Fixed cast to make csc happy
  7385. 2006-02-22 Peter Dennis Bartok <[email protected]>
  7386. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  7387. it's for the client area (part of fix for #77479 and needed
  7388. for MDI window cursor handling)
  7389. * XplatUIX11.cs
  7390. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  7391. the appropriate default cursors and also passing the message
  7392. up the parent chain
  7393. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  7394. for non-client areas
  7395. 2006-02-15 Jackson Harper <[email protected]>
  7396. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  7397. is a real MDI window
  7398. 2006-02-14 Alexander Olk <[email protected]>
  7399. * X11DesktopColors.cs: Instead of checking the desktop session
  7400. string for "KDE" check if it starts with "KDE"
  7401. 2006-02-10 Jackson Harper <[email protected]>
  7402. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  7403. systems).
  7404. 2006-02-10 Alexander Olk <[email protected]>
  7405. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  7406. errors
  7407. * ColorDialog.cs:
  7408. - Got rid of the panel. All controls are now directly added to
  7409. the dialog form
  7410. - Changed to mono coding style
  7411. 2006-02-10 Jackson Harper <[email protected]>
  7412. * InternalWindowManager.cs: We don't need the set visibility to
  7413. false hack anymore now that peter has written beautiful shutdown
  7414. code.
  7415. 2006-02-10 Peter Dennis Bartok <[email protected]>
  7416. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  7417. where already explicitly destroyed
  7418. 2006-02-10 Jackson Harper <[email protected]>
  7419. * MdiClient.cs: Handle the case where windows are too high or to
  7420. the left and we need scrollbars.
  7421. 2006-02-10 Alexander Olk <[email protected]>
  7422. * MimeIcon.cs: Added some icons
  7423. * FileDialog.cs:
  7424. - Fixed bug #77477
  7425. - Got rid of the panel. All controls are now directly added to
  7426. the dialog form
  7427. - Changed to mono coding style
  7428. - On Linux "My Computer" and "My Network" will now show some
  7429. more usefull information. A new class, MasterMount, gathers
  7430. this information from /proc/mount. Updated MWFFileView to make
  7431. use of this information
  7432. - Fixed a bug that caused FileDialog to crash when
  7433. ".recently_used" file had a zero size
  7434. - FilterIndex does now what it should
  7435. - Some Refactoring
  7436. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  7437. FileDialog changes
  7438. 2006-02-09 Jackson Harper <[email protected]>
  7439. * ComboBox.cs: Don't touch if null.
  7440. 2006-02-09 Peter Dennis Bartok <[email protected]>
  7441. * Cursor.cs: 64bit safeness fix
  7442. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  7443. 2006-02-09 Jackson Harper <[email protected]>
  7444. * Form.cs: If a form is made into an MDI form update the styles so
  7445. all the props can get set correctly.
  7446. - Kill the mdi_container when we dont need it anymore.
  7447. * InternalWindowManager.cs: Add missing NOT
  7448. 2006-02-08 Jackson Harper <[email protected]>
  7449. * InternalWindowManager.cs: Respek clipping when drawing MDi
  7450. decorations.
  7451. 2006-02-08 Jackson Harper <[email protected]>
  7452. * Hwnd.cs: Add bits to track non client expose events.
  7453. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  7454. gives us a proper invalid rect and will allow for some nice
  7455. optimizations with NC client drawing
  7456. - MDI windows are children windows, so move their style handling
  7457. into the child window block.
  7458. * InternalWindowManager.cs: Remove a state reset that was
  7459. getting invoked at the wrong time. Fixes managed windows getting
  7460. into a 'stuck' captured state.
  7461. 2006-02-07 Peter Dennis Bartok <[email protected]>
  7462. * TextControl.cs (Document.ctor): Now initializing
  7463. selection_anchor. Fixes #77493
  7464. 2006-02-07 Jackson Harper <[email protected]>
  7465. * TrackBar.cs: The increment/decrements were backwards.
  7466. 2006-02-07 Mike Kestner <[email protected]>
  7467. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  7468. to the instance itself.
  7469. 2006-02-07 Peter Dennis Bartok <[email protected]>
  7470. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  7471. on ulongs and pointers, the size differs between 32bit and 64bit
  7472. systems.
  7473. 2006-02-07 Mike Kestner <[email protected]>
  7474. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  7475. for 64 bit platforms to work around a metacity bug.
  7476. 2006-02-07 Jackson Harper <[email protected]>
  7477. * TrackBar.cs: Process the input keys we need, and hookup to
  7478. KeyDown instead of using WndProc, so we get key messages.
  7479. 2006-02-06 Peter Dennis Bartok <[email protected]>
  7480. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  7481. machine we're on.
  7482. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  7483. we need to translate the XdndVersion atoms array before sending it
  7484. 2006-02-06 Peter Dennis Bartok <[email protected]>
  7485. * XplatUIX11.cs:
  7486. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  7487. number of bits for the property, not the number of bytes. The
  7488. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  7489. but would not crash since it specified 8 bits instead of 4 bits)
  7490. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  7491. defined as XID -> long in the C headers)
  7492. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  7493. references since those are now IntPtr to begin with
  7494. - Switched all Atom.XXX 'int' casts to IntPtr casts
  7495. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  7496. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  7497. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  7498. * X11Structs.cs:
  7499. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  7500. - Changed atom in HoverStruct to be IntPtr
  7501. * X11DnD.cs:
  7502. - Removed local DllImports, switched code to use those from XplatUIX11
  7503. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  7504. 2006-02-06 Mike Kestner <[email protected]>
  7505. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  7506. method signatures in the import region. There may still be some
  7507. lingering struct marshaling issues, as I didn't drill down into those.
  7508. Yet.
  7509. 2006-02-06 Jackson Harper <[email protected]>
  7510. * ComboBox.cs: Dont manually set the top_item, this is computed
  7511. when the scrollbar position is set.
  7512. 2006-02-06 Mike Kestner <[email protected]>
  7513. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  7514. startup crashes on amd64. There's other fixes needed. All pinvoke
  7515. usage of Atom needs to be mapped to IntPtr for example. And there are
  7516. likely other int/long issues to be addressed.
  7517. 2006-02-04 Alexander Olk <[email protected]>
  7518. * FileDialog.cs: One more...
  7519. 2006-02-03 Alexander Olk <[email protected]>
  7520. * FileDialog.cs: Next try
  7521. 2006-02-03 Alexander Olk <[email protected]>
  7522. * FileDialog.cs: First part of fix for #77464
  7523. 2006-02-03 Alexander Olk <[email protected]>
  7524. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  7525. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  7526. AcceptButton border drawing.
  7527. 2006-02-03 Peter Dennis Bartok <[email protected]>
  7528. * Form.cs: Moved positioning of form after auto scaling is applied,
  7529. otherwise it would possibly use wrong form size.
  7530. 2006-02-03 Peter Dennis Bartok <[email protected]>
  7531. * Control.cs (RecreateHandle): No need to re-create any child
  7532. controls, the child windows will get destroyed automatically by
  7533. the windowing system or driver, and re-created when the handle
  7534. is being accessed the first time. Fixes #77456
  7535. * Form.cs: No longer setting the form to closing if the handle is
  7536. being recreated. This seems like the right thing to do, don't
  7537. have a bug or testcase for this, though.
  7538. 2006-02-02 Peter Dennis Bartok <[email protected]>
  7539. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  7540. controls to avoid unwanted side effects
  7541. 2006-02-02 Peter Dennis Bartok <[email protected]>
  7542. * Control.cs:
  7543. - ScaleCore needs to scale the bounds, not the ClientSize of the
  7544. control. Fixes #77416.
  7545. - DefaultSize is 0,0 for control
  7546. * TextBoxBase.cs:
  7547. - DefaultSize is 100, 20
  7548. - SetBoundsCore: Now enforcing the height, no matter if the provided
  7549. height is more or less than the preferred one, as long as AutoSize
  7550. is on
  7551. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  7552. 2006-02-02 Peter Dennis Bartok <[email protected]>
  7553. * Control.cs:
  7554. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  7555. call unless both performLayout is true *and* we have a pending
  7556. layout change
  7557. - ResumeLayout: MS does not completely nest Suspend and Resume,
  7558. they bottom out at 0, fixed our code to match that.
  7559. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  7560. SetBoundsCore, we were updating even when we shouldn't. This fixes
  7561. swf-anchors mis-anchoring when resizing the app fast and lots.
  7562. - UpdateDistances: Now only setting the left and top distance if
  7563. we have a parent and are not suspended, this is based on
  7564. a suggestion by Don Edvaldson in bug #77355.
  7565. - OnVisibleChanged: Fixed logic when to create the control. We may
  7566. not create the control if we have no parent or if it's not visible;
  7567. switched to using Visible property instead of is_visible field
  7568. since the property also considers parent states. This fixes a bug
  7569. when starting Paint.Net
  7570. 2006-02-02 Jackson Harper <[email protected]>
  7571. * Form.cs: If the forms handle hasn't been created yet don't call
  7572. into xplatui to make it top most, just set the topmost flag on the
  7573. form in CreateParams
  7574. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  7575. 2006-02-01 Jackson Harper <[email protected]>
  7576. * ScrollableControl.cs: Refactored the Recalculate method a
  7577. little, this wasn't handling all the variants of bottom and right
  7578. bars needed to be added and added/removed based on their
  7579. counterparts being added/removed (which changes the drawable
  7580. size). Also we special case client widths and heights of 0 and
  7581. don't add the scrollbar for those.
  7582. 2006-02-01 Peter Dennis Bartok <[email protected]>
  7583. * XplatUIX11.cs:
  7584. - Added method to get AbsoluteGeometry(); currently unused, but might
  7585. be used in the future, if we try again to figure out toplevel
  7586. coordinates with some more crappy window managers
  7587. - Added FrameExtents() method to retrieve the WM set decoration size
  7588. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  7589. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  7590. * Hwnd.cs:
  7591. - Added whacky_wm tracking var for metacity
  7592. - Added logic to have default menu height if the actual menu height
  7593. has not yet been calculated (part of fix for #77426)
  7594. * Form.cs: Keep track whether client size has been set and re-set
  7595. it if a menu is added/removed afterwards (Fixes #77426)
  7596. 2006-01-31 Jackson Harper <[email protected]>
  7597. * Control.cs: When a new Site is set on the component attempt to
  7598. pull the AmbientProperties from it.
  7599. 2006-01-31 Peter Dennis Bartok <[email protected]>
  7600. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  7601. in the background of the owning form. Fixes #77332
  7602. 2006-01-31 Alexander Olk <[email protected]>
  7603. * MimeIcon.cs: Fix for #77409
  7604. 2006-01-31 Alexander Olk <[email protected]>
  7605. * XplatUIX11GTK.cs: Initial import
  7606. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  7607. * FixedSizeTextBox: fixes class signature
  7608. 2006-01-30 Jackson Harper <[email protected]>
  7609. * FixedSizeTextBox.cs: New internal class that represents a
  7610. textBox that will not be scaled.
  7611. * TreeView.cs:
  7612. * ComboBox.cs:
  7613. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  7614. standard TextBox.
  7615. 2006-01-30 Peter Dennis Bartok <[email protected]>
  7616. * XplatUIX11.cs: Retrieve default screen number instead of
  7617. assuming 0. Attempted fix for #77318
  7618. 2006-01-30 Peter Dennis Bartok <[email protected]>
  7619. * XplatUIWin32.cs:
  7620. - GetWindowPos: When a window is parented by FosterParent, use
  7621. the desktop instead of FosterParent as the base to get coordinates
  7622. - CreateWindow: Don't make FosterParent the parent window for Popups
  7623. if we don't want a taskbar entry, Popups automatically don't get one
  7624. * Hwnd.cs: Need to call remove to actually remove the key from the
  7625. hash table
  7626. 2006-01-30 Mike Kestner <[email protected]>
  7627. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  7628. 2006-01-30 Jackson Harper <[email protected]>
  7629. * TreeView.cs:
  7630. * TreeNode.cs: Raise events no matter how the treenode is
  7631. checked. Patch by Don Edvalson.
  7632. 2006-01-30 Jackson Harper <[email protected]>
  7633. * TreeNode.cs: Signature fix.
  7634. 2006-01-29 Alexander Olk <[email protected]>
  7635. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  7636. 2006-01-20 Mike Kestner <[email protected]>
  7637. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  7638. event forwarding when menus are active.
  7639. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  7640. Most of the patch is pdb's with a little rework.
  7641. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7642. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  7643. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  7644. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  7645. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  7646. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  7647. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  7648. the PaintWindowDecorations method
  7649. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  7650. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  7651. * MenuAPI.cs: Made tracker window invisible
  7652. * XplatUIWin32.cs:
  7653. - Removed GetMenuDC and ReleaseMenuDC methods
  7654. - Implemented the client=false path for PaintEventStart and
  7655. PaintEventEnd
  7656. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7657. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  7658. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  7659. styles
  7660. * Form.cs:
  7661. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  7662. the style
  7663. - CreateParams: Reworked the styles to match MS look'n'feel,
  7664. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  7665. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  7666. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7667. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  7668. window is not mapped, since otherwise every form that's being
  7669. created is considered minimized, which is wrong.
  7670. * Form.cs: Catching the exception and returning our internal value
  7671. instead
  7672. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7673. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  7674. SetWindowMinMax() to have means to tell the driver about the minimum,
  7675. maximum and maximized state window sizes. (Part of the fix for #76485)
  7676. * Form.cs:
  7677. - Implemented tracking of minimum and maximum window size, now calling
  7678. new SetWindowMinMax() driver method to tell the driver (Part of the
  7679. fix for #76485)
  7680. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  7681. (Completes fix for #76485)
  7682. - Calling new SetWindowMinMax driver method when the handle for a
  7683. form is created, to make sure the driver knows about it even if
  7684. the values have been set before the window was created
  7685. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  7686. to avoid messing up our anchoring calculations (partial fix
  7687. for #77355)
  7688. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  7689. * XplatUIX11.cs:
  7690. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  7691. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  7692. (and presumably other freedesktop.org compliant WMs). Left the
  7693. assumption unmapped=minimized, needed for SetVisible to work.
  7694. - Now setting the window state when creating windows
  7695. - Fixed SetVisible to consider/set the window state when mapping
  7696. a Form. We cannot set the state before it's mapped, and we cannot
  7697. use Form.WindowState once it's mapped (since it would ask the
  7698. driver and get 'normal'. Therefore, we grab the state before
  7699. mapping, map, and then set state.
  7700. - Implmemented SetWindowMinMax method; Metacity does not seem to
  7701. honor the ZoomHints, though.
  7702. * XplatUIWin32.cs:
  7703. - Removed MINMAXINFO (moved to XplatUIStructs)
  7704. - Added SetWindowMinMax stub (on Win32 the only way to set that
  7705. information is in response to the WM_GETMINMAXINFO message, which
  7706. is handled in Form.cs)
  7707. - Added logic to SetVisible to set the proper window state when a
  7708. form is made visible (fixes #75720)
  7709. 2006-01-26 Jackson Harper <[email protected]>
  7710. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  7711. same way we handle them with Invoke.
  7712. 2006-01-25 Peter Dennis Bartok <[email protected]>
  7713. * Form.cs:
  7714. - Added tracking of window state so CreateParams can return
  7715. the appropriate style
  7716. - Moved setting of WS_CAPTION style in CreateParams to allow
  7717. styles without caption
  7718. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  7719. control if the TextBox property is accessed. Fixes #77345
  7720. * Control.cs:
  7721. - get_Created: now uses is_disposed and is_created to determine
  7722. return value (suggested by Jackson)
  7723. - CreateHandle: No longer exits if the handle is being recreated
  7724. - RecreateHandle: If the handle is not yet created call the
  7725. appropriate method to create either control or handle. If the
  7726. control is already created CreateHandle will simply exit instead
  7727. of just creating the handle
  7728. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  7729. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  7730. is called.
  7731. * XplatUIX11.cs:
  7732. - When DestroyWindow is called, instead of waiting for the
  7733. DestroyNotification from X11, we directly post it to the WndProc
  7734. and immediately dispose the hwnd object.
  7735. Same applies to DestroyChildWindows, and this obsoletes the
  7736. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  7737. child windows before our own, to avoid X11 errors.
  7738. - Removed the direct sending of WM_PAINT on UpdateWindow
  7739. * XplatUIWin32.cs:
  7740. - Reworked DoEvents and GetMessage to allow access to internal queue
  7741. even when trying non-blocking access to the queue. Fixes #77335.
  7742. Based on a patch suggestion by Don Edvalson. The new private
  7743. GetMessage can now also be used as a backend for a PeekMessage
  7744. frontend version.
  7745. * XplatUI.cs: Improved debug output for CreateWindow
  7746. 2006-01-25 Jackson Harper <[email protected]>
  7747. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  7748. 2006-01-24 Jackson Harper <[email protected]>
  7749. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  7750. when we have a MaxDropItems lower then the selected index.
  7751. 2006-01-24 Jackson Harper <[email protected]>
  7752. * Control.cs: Don't allow selection of non visible controls, allow
  7753. selection of controls without parents.
  7754. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  7755. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  7756. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  7757. 2006-01-23 Jackson Harper <[email protected]>
  7758. * UpDownBase.cs: Make the textbox handle all the selection and
  7759. tabbing. This fixes tabing to updown controls.
  7760. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  7761. * TextBoxBase.cs: fixes exception thown the object was null
  7762. 2006-01-23 Jackson Harper <[email protected]>
  7763. * ButtonBase.cs: Just use the base CreateParams. They set
  7764. visibility and enabled correctly.
  7765. * ComboBox.cs:
  7766. * TrackBar.cs:
  7767. * MonthCalendar.cs: Lets let the base set as much of the
  7768. createparams as possible so we don't have duplicate code all over
  7769. the place.
  7770. 2006-01-22 Alexander Olk <[email protected]>
  7771. * ThemeGtk.cs: Added TrackBar and some experimental code to
  7772. get double buffering back
  7773. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  7774. * DataGrid.cs: Allows row number set internally higher than the last
  7775. when creating a new row. Restores the editing functionality.
  7776. 2006-01-20 Mike Kestner <[email protected]>
  7777. * MimeIcon.cs: delay Image creation until the icons are accessed
  7778. instead of creating 190 scaled images on GnomeHandler startup.
  7779. 2006-01-19 Peter Dennis Bartok <[email protected]>
  7780. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  7781. first call base before processing the event. Fixes #77279
  7782. 2006-01-19 Peter Dennis Bartok <[email protected]>
  7783. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  7784. that the stride for the GDI bitmap would match the stride of
  7785. a DIB or a Cursor.
  7786. 2006-01-19 Alexander Olk <[email protected]>
  7787. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  7788. 2006-01-19 Jackson Harper <[email protected]>
  7789. * ComboBox.cs: Hookup the text controls keydown event so we get
  7790. those when the text control has the focus.
  7791. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7792. * Label.cs: Now using the base events instead of defining new ones;
  7793. this allows us to just call the base properties without having to
  7794. duplicate all base property logic
  7795. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7796. * Label.cs: A label by default is not a tabstop (Fixes one of our
  7797. failing nunit tests)
  7798. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7799. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  7800. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  7801. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7802. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  7803. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  7804. This fixes #77218
  7805. * XplatUIWin32.cs:
  7806. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  7807. constructor creates images that can't be saved. Part of the fix
  7808. for #76103
  7809. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  7810. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  7811. bug fix for handling window state in forms properly)
  7812. 2006-01-18 Alexander Olk <[email protected]>
  7813. * ThemeGtk.cs: Simplify ScrollBar drawing
  7814. 2006-01-18 Jackson Harper <[email protected]>
  7815. * Splitter.cs: Set the default dock style for the splitter control
  7816. in the constructor.
  7817. 2006-01-18 Alexander Olk <[email protected]>
  7818. * ThemeGtk.cs: Corrected StateType and ShadowType for
  7819. gtk_paint_box
  7820. 2006-01-18 Alexander Olk <[email protected]>
  7821. * Control.cs: Make use of Theme.DoubleBufferingSupported
  7822. * ThemeGtk.cs:
  7823. - Added drawing for flat style buttons
  7824. - Added ScrollBar drawing
  7825. 2006-01-18 Alexander Olk <[email protected]>
  7826. * ThemeClearlooks.cs: Removed some unneeded code.
  7827. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  7828. 2006-01-17 Peter Dennis Bartok <[email protected]>
  7829. * LinkLabel.cs: We need to update the hover drawing when
  7830. leaving the control as well.
  7831. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  7832. * DataGrid.cs: Clicking on non empty areas in the columns
  7833. area was giving an exception
  7834. 2006-01-17 Jackson Harper <[email protected]>
  7835. * ThemeWin32Classic.cs:
  7836. * ListView.cs: Do not draw/clip the headers when the header style
  7837. is None.
  7838. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  7839. * DataGrid.cs: Fixes 77260
  7840. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  7841. * DataGrid.cs: Clicking on a column on a empty grid was giving
  7842. an exception
  7843. 2006-01-17 Peter Dennis Bartok <[email protected]>
  7844. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  7845. or any keypress will crash the grid.
  7846. 2006-01-17 Mike Kestner <[email protected]>
  7847. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  7848. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  7849. invisible/previously-visible items.
  7850. [Fixes #76909]
  7851. 2006-01-17 Alexander Olk <[email protected]>
  7852. * ThemeClearlooks.cs:
  7853. - Added CL_Draw_Button method; now other theme controls that are
  7854. not derived from button or do not have a button can draw buttons
  7855. too
  7856. - Updated ComboBox drawing
  7857. - Beautified RadioButton drawing
  7858. - Corrected drawing of bottom and left tabs
  7859. - Beautified DateTimePicker and MonthCalendar
  7860. - Added CPDrawButton and CPDrawRadioButton
  7861. 2006-01-16 Jackson Harper <[email protected]>
  7862. * ComboBox.cs: Set the initial value of the scrollbar to the
  7863. current index. Reduce the numbers of refreshs and IndexOfs called.
  7864. 2006-01-14 Alexander Olk <[email protected]>
  7865. * FileDialog.cs: When the file listview is focused hitting the
  7866. backspace key moves the fileview to the parent directory
  7867. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7868. * Form.cs:
  7869. - Added RecreateHandle call when changing taskbar visibility to
  7870. trigger reparenting in Win32 driver (Fixes #75719)
  7871. - If a window has minimize or maximize buttons, it cannot have
  7872. a help button
  7873. * XplatUIWin32.cs:
  7874. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  7875. the toplevel form with FosterParent (A toolwindow not on the
  7876. taskbar) (Fixes #75719)
  7877. - Made FosterParent a toolwindow
  7878. 2006-01-13 Alexander Olk <[email protected]>
  7879. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  7880. 2006-01-13 Alexander Olk <[email protected]>
  7881. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  7882. is currently over that control, make sure that tooltip_window.Text
  7883. gets updated
  7884. 2006-01-13 Mike Kestner <[email protected]>
  7885. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  7886. 2006-01-13 Jackson Harper <[email protected]>
  7887. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  7888. value passed. Also redraw the selected node when we recieve
  7889. focus, so tabbing between trees works correctly.
  7890. 2006-01-13 Alexander Olk <[email protected]>
  7891. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  7892. ~/.gconf/%gconf-tree.xml, so use
  7893. .gconf/desktop/gnome/interface/%gconf.xml
  7894. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7895. * TextControl.cs: Draw text in gray if control is disabled
  7896. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7897. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  7898. make sure it's always visible. Fixes #76680.
  7899. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7900. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  7901. 2006-01-13 Jonathan Chambers <[email protected]>
  7902. * PageSetupDialog.cs: Added.
  7903. * PrintDialog.cs: Attributes.
  7904. * PrintPreviewControl.cs: Updates.
  7905. * PrintPreviewDialog.cs: Updates.
  7906. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7907. * Control.cs: Undid my selection check fix, since it's not needed
  7908. * TextBoxBase.cs:
  7909. - Now considering the presence of hscroll/vscroll when sizing
  7910. vscroll/hscroll respectively. Fixed bug #77077
  7911. - Added Left/Up/Down/Right to IsInputKey list to prevent
  7912. ContainerControl from stealing them. This fixes what I broke
  7913. with my last checkin.
  7914. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7915. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  7916. I finally understand how the property can be set without a setter :-)
  7917. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7918. * Application.cs:
  7919. - Switched RunLoop to use static Message.Create to create a
  7920. Message object
  7921. - Added PreProcessMessage call in runloop for keyboard events; this
  7922. is part of the fix for #77219, I overlooked this originally in the
  7923. MSDN doc for PreProcessMessage
  7924. * Control.cs:
  7925. - Removed call to PreProcessMessage from handling of keyboard
  7926. messages; it's supposed to be done in the message pump
  7927. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  7928. per MSDN documentation.
  7929. - IsInputChar: All chars are input chars by default; removed the
  7930. parent calling chain, MS does not document that
  7931. - PreProcessMessage: If IsInputChar is true, we want to return false
  7932. to allow dispatching of the message
  7933. - When selecting the next control, now also check that we're not
  7934. selecting ourselves again and therefore return a false positive.
  7935. * TextBoxBase.cs:
  7936. - Tried to match return values for IsInputKey and ProcessDialogKey
  7937. to what MS returns; moved processing of our special keys outside
  7938. ProcessDialogKey since MS does not seem to return true on those.
  7939. - Moved code that previously was in ProcessDialogKey into new private
  7940. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  7941. - Reworked handling of WM_CHAR to not have to duplicate code from
  7942. Control.cs anymore, instead we simply call down to base.
  7943. 2006-01-12 Jackson Harper <[email protected]>
  7944. * ComboBox.cs: We always need to refresh the text area when
  7945. EndUpdate is called. Fixes the combobox in the file dialog.
  7946. * Control.cs: Don't create the creator_thread until the controls
  7947. handle is created. Also in InvokeRequired we check if the
  7948. creator_thread is null. This gives the effect of InvokeRequired
  7949. returning true if the controls handle is not created yet, and
  7950. matches MS.
  7951. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7952. * XplatUI.cs:
  7953. - Added StartLoop() driver method. This is used to allow drivers to
  7954. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  7955. loop for a particular thread
  7956. - Added EndLoop() driver method. This is called once the message
  7957. pump for the thread is shut down
  7958. - Added SupportsTransparency method to allow the driver to indicate
  7959. opacity support for windows
  7960. * Form.cs:
  7961. - Removed TODO attribute, completed AllowTransparency property
  7962. - Added documented logic to Opacity
  7963. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  7964. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  7965. versions of CompatibleTextRendering
  7966. * X11Structs.cs: Added opacity atom to our atom enumeration
  7967. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  7968. of a form might be set before it's reparented by the WM, and we need
  7969. the opacity value without calling up to Form)
  7970. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  7971. SupportsTransparency() driver methods
  7972. * Application.cs: Now calling StartLoop and EndLoop driver methods
  7973. * XplatUIX11.cs:
  7974. - Added opacity atom registration
  7975. - Added StartLoop()/EndLoop() methods. They're empty right now but
  7976. will need to get implemented when we switch to a per-thread queue
  7977. - Implemented SupportsTransparency() method
  7978. - Implemented SetWindowTransparency() method
  7979. - Added support for setting the opacity value when a window is
  7980. reparented (since the opacity needs to be set on the WM frame)
  7981. * XplatUIOSX.cs, XplatUIWin32.cs:
  7982. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  7983. 2006-01-12 Alexander Olk <[email protected]>
  7984. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  7985. 2006-01-12 Alexander Olk <[email protected]>
  7986. * FileDialog.cs: Added ToolTip for MWFFileView
  7987. * MimeIcon.cs: Rewrote GnomeHandler.
  7988. - Get currently used gnome icon theme from
  7989. ($HOME)/.gconf/%gconf-tree.xml
  7990. - Make use of inherited icon themes
  7991. - Support SVG icon themes like Tango via librsvg
  7992. 2006-01-12 Miguel de Icaza <[email protected]>
  7993. Revert's Jackson's revert which broke 2.0 builds. Fix both
  7994. builds.
  7995. * Application.cs: Move the use_compatible_text_rendering outside
  7996. the NET_2_0 define. If we ever need to use the
  7997. use_compatible_text_rendering on the individual controls they will
  7998. access the variable from the common shared code paths.
  7999. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8000. * XplatUI.cs:
  8001. - Added more granular debug options
  8002. - Added method to print both window text and id
  8003. - Switched debug output to use new Window() debug method
  8004. - Added IsEnabled() driver method
  8005. - Added EnableWindow() driver method
  8006. * Form.cs:
  8007. - Removed end_modal; no longer needed, new loop handles termination
  8008. via 'closing' variable
  8009. - If form is modal, setting DialogResult will now initiate loop
  8010. termination via 'closing' variable
  8011. - Added support for is_enabled/WS_DISABLED to CreateParams
  8012. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  8013. does all the work
  8014. - Removed code that's now in RunLoop from ShowDialog()
  8015. - Added various documented sanity checks to ShowDialog()
  8016. - Added handling of WM_DESTROY message; we set 'closing' on getting
  8017. the message to indicate the message pump to terminate
  8018. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  8019. send by the Application.ExitThread method. (We send the message
  8020. to destroy the window after all other events have been
  8021. processed through the queue, instead of destroying the handle
  8022. directly)
  8023. - Moved code from Close() method to WM_CLOSE handler; added logic
  8024. to only send close-related events if the form is not displayed
  8025. modal
  8026. * Splitter.cs (..ctor): Fixed typo in resource name
  8027. * Control.cs:
  8028. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  8029. brush now
  8030. - set_Cursor: Now only setting calling into XplatUI if the handle for
  8031. the control is already created; this avoids implict handle creation
  8032. or crashes if it's not created
  8033. - set_Enabled: Now setting the enabled state via the new driver method
  8034. instead of just tracking it
  8035. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  8036. - CreateControl: Reordered event firing and method calls to more
  8037. closely fire events in the order MS does. Now setting the
  8038. enabled state in the driver when creating the control.
  8039. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  8040. match MS order
  8041. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  8042. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  8043. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  8044. * Hwnd.cs:
  8045. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  8046. - Added EnabledHwnd property to easily allow a driver to find the
  8047. handle of the first enabled window in the parent chain (this is
  8048. used by drivers to pass up input events of disabled windows)
  8049. * XplatUIDriver.cs: Added IsEnabled() method
  8050. * Application.cs:
  8051. - Removed crude and obsolete exiting tracking variable
  8052. - Removed internal ModalRun(); replaced by RunLoop()
  8053. - Implemented private CloseForms() method to allow closing all
  8054. windows owned by a particular (or all) threads
  8055. - Exit() now properly closes all windows without forcing the message
  8056. pump to quit
  8057. - Removed obsolete InternalExit() method
  8058. - Changed Run() methods to use new RunLoop() message pump
  8059. - Implemented new RunLoop() method for both modal and non-modal forms
  8060. * CommonDialog.cs:
  8061. - get_CreateParams: Added setting of WS_DISABLED
  8062. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  8063. invoked via Form.ShowDialog()
  8064. * NativeWindow.cs: We don't remove the window from the collection when
  8065. the handle is destroyed; there might still be messages for it in the
  8066. queue (mainly the resulting WM_DESTROY); instead it will be removed
  8067. when Control calls InvalidateHandle in the WM_DESTROY handler
  8068. * XplatUIX11.cs:
  8069. - CreateWindow: Added logic to handle the WS_DISABLED window style
  8070. - EnableWindow: Implemented based on Hwnd.Enabled
  8071. - GetMessage: Reset PostQuitState so the method can be called again
  8072. - Implemented support for disabled windows (passing messages to the
  8073. first enabled parent) in handling all input messages
  8074. - Added optimizations for handling Expose events
  8075. - Implemeted new driver method IsEnabled()
  8076. - Now always resetting paint pending tracking vars when we start paint
  8077. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  8078. * XplatUIOSX.cs: Added IsEnabled method stub
  8079. * XplatUIWin32.cs: Implemented new IsEnabled() method
  8080. 2006-01-11 Jackson Harper <[email protected]>
  8081. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  8082. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  8083. variables a little.
  8084. * ColorDialog.cs: Clear out the old form before adding the new
  8085. panel.
  8086. 2006-01-11 Jackson Harper <[email protected]>
  8087. * X11Dnd.cs: Make sure to add all the text formats when adding
  8088. strings to the data object.
  8089. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  8090. do some redrawing too. Also change the UpdateNode to an
  8091. UpdateBelow so the newly added node gets painted.
  8092. 2006-01-11 Miguel de Icaza <[email protected]>
  8093. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  8094. LinkLabel.cs, PropertyGrid.cs: Implement the
  8095. UseCompatibleTextRendering property for 2.x
  8096. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  8097. 2006-01-11 Jackson Harper <[email protected]>
  8098. * TreeView.cs: Use the property for setting the selected node so
  8099. the correct events get raised.
  8100. * TreeNode.cs: Update the tree when the fore/back colours of a
  8101. node are set.
  8102. 2006-01-10 Jackson Harper <[email protected]>
  8103. * TreeView.cs: Allow setting SelectedNode to null.
  8104. 2006-01-9 Jonathan Chambers <[email protected]>
  8105. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  8106. 2006-01-9 Jonathan Chambers <[email protected]>
  8107. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  8108. 2006-01-9 Jonathan Chambers <[email protected]>
  8109. * PrintDialog.cs: Added attributes and set default property values.
  8110. 2006-01-9 Jonathan Chambers <[email protected]>
  8111. * PrintControllerWithStatusDialog.cs:
  8112. Added PrintControllerWithStatusDialog.
  8113. 2006-01-9 Jonathan Chambers <[email protected]>
  8114. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  8115. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  8116. 2006-01-9 Jonathan Chambers <[email protected]>
  8117. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  8118. 2006-01-09 Jonathan Chambers <[email protected]>
  8119. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  8120. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  8121. 2006-01-08 Alexander Olk <[email protected]>
  8122. * MimeIcon.cs: Added internal class SVGUtil.
  8123. 2006-01-08 Alexander Olk <[email protected]>
  8124. * FileDialog.cs: Don't crash if there are two files with the
  8125. same name but different locations.
  8126. 2006-01-08 John BouAntoun <[email protected]>
  8127. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  8128. dates across multiple month grids. Used to not highlight entire
  8129. month, but does now.
  8130. 2006-01-06 Jackson Harper <[email protected]>
  8131. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  8132. message loop. Change timer intervals to numbers that seem more
  8133. natural.
  8134. 2006-01-06 John BouAntoun <[email protected]>
  8135. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  8136. object for location info since screen object is now implemented.
  8137. 2006-01-05 Jackson Harper <[email protected]>
  8138. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  8139. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  8140. AsyncMethodResult, this is because we ALWAYS want the
  8141. ManualResetEvent to get set.
  8142. * Control.cs: When disposing use an async invoke to call shutdown
  8143. code, so that thigns don't block on the finalizer thread. Also
  8144. check if we even have a message loop before trying to send
  8145. messages, if we don't then don't bother sending messages.
  8146. - No more weak references for async methods
  8147. * XplatUIDriver.cs: No more weak references for async methods.
  8148. 2006-01-04 Alexander Olk <[email protected]>
  8149. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  8150. returns two FontFamily with the same name
  8151. 2006-01-04 Peter Dennis Bartok <[email protected]>
  8152. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  8153. drawing disabled text. Instead using the ColorGrayText color
  8154. 2006-01-04 Jackson Harper <[email protected]>
  8155. * TreeNode.cs: redraw the node when its image index is changed.
  8156. 2006-01-04 Peter Dennis Bartok <[email protected]>
  8157. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  8158. time I checked there are no others like it.
  8159. 2006-01-04 Jackson Harper <[email protected]>
  8160. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  8161. this gives the behavoir I was looking for.
  8162. * Control.cs: Special case Invoking EventHandlers, this matches MS
  8163. and fixes part of bug #76326.
  8164. 2006-01-04 Alexander Olk <[email protected]>
  8165. * ThemeClearlooks.cs, FileDialog.cs:
  8166. - Reflect the latest Theme class changes
  8167. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  8168. with DateTime
  8169. 2006-01-04 Alexander Olk <[email protected]>
  8170. * Theme.cs: Cache UI resource images and resize them if needed
  8171. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8172. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  8173. is called. This fixes the crash in Nexxia when setting the font
  8174. attributes in the chat. [However, RTF needs a look-over to make sure
  8175. that all SelectionXXX methods handle the special case that selection
  8176. is empty and therefore the change must be applied to all text starting
  8177. at the cursor/selection start]
  8178. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8179. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8180. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  8181. * X11Keyboard.cs: Switched to new way of calling PostMessage
  8182. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8183. * Theme.cs: Added theme interface for images to allow the theme to
  8184. control what images are used for things like FileDialog, MessageBox
  8185. icons, etc.
  8186. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  8187. 2006-01-03 Alexander Olk <[email protected]>
  8188. * FileDialog.cs:
  8189. - Removed some dead code
  8190. - Opening a recently used file does work now
  8191. - Small UI enhancements
  8192. - Refactoring
  8193. 2006-01-02 Alexander Olk <[email protected]>
  8194. * FileDialog.cs: Forgot too add __MonoCS__
  8195. 2006-01-02 Alexander Olk <[email protected]>
  8196. * FileDialog.cs: We are able to read recently used files now let's
  8197. go on and write them.
  8198. 2006-01-01 Alexander Olk <[email protected]>
  8199. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  8200. button
  8201. * MimeIcon.cs: Do a check for the top level media type also
  8202. 2005-12-31 Alexander Olk <[email protected]>
  8203. * ThemeClearlooks.cs:
  8204. - Added CPDrawStringDisabled
  8205. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  8206. some chars if the text doesn't fit into text_rect
  8207. - DrawListViewItem: If View = View.LargeIcon center the image;
  8208. rewrote the drawing of ListViewItem.Text if View =
  8209. View.LargeIcon
  8210. 2005-12-31 Alexander Olk <[email protected]>
  8211. * MimeIcon.cs: Use default KDE icon theme if there is no
  8212. "48x48" directory for the current icon theme, fixes #77114
  8213. * Mime.cs: Disable not working and actually not used code.
  8214. * ThemeWin32Classic.cs:
  8215. - Replace "new SolidBrush" in GetControlBackBrush and
  8216. GetControlForeBrush with ResPool.GetSolidBrush
  8217. - Changed DrawListViewItem from private to protected virtual
  8218. * FileDialog.cs:
  8219. - Added form.MaximizeBox = true
  8220. - Don't throw an exception if there is a broken symbolic link
  8221. 2005-12-23 Jackson Harper <[email protected]>
  8222. * TabControl.cs: Give the panels focus, keyboard navigation is
  8223. fixed so this works correctly now.
  8224. - We need these key events also.
  8225. * ToolBar.cs: Remove some of the poor mans double buffering.
  8226. 2005-12-24 Alexander Olk <[email protected]>
  8227. * ComboBox.cs: The internal TextBox now returns the focus.
  8228. 2005-12-23 Jackson Harper <[email protected]>
  8229. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  8230. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8231. * Control.cs: Removed debug code
  8232. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  8233. implicit children
  8234. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8235. * Control.cs: When creating the control, update the Z-order after
  8236. all it's children are created, too. (Fixes nexxia not showing
  8237. picturebox bug)
  8238. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8239. * Control.cs: Do not update the anchoring distances if layout is
  8240. suspended, instead do it once layout is resumed
  8241. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8242. * Control.cs:
  8243. - After many hours of debugging, for both Jackson and
  8244. myself, it turns out that it helps to set the parent of a control
  8245. if you want to actually see it onscreen. In the spirit of that
  8246. discovery, we're now setting the parent of the control and
  8247. it's children when the control's handle is created. This fix
  8248. will make Lutz Roeder's Reflector run happily.
  8249. - now just creating the handle instead of the whole control when
  8250. getting a graphics context for the control.
  8251. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8252. * ScrollableControl.cs: When calculating the canvas, don't consider
  8253. the scrollbar widths. Instead, predict if horizontal scrollbar
  8254. will affect canvas when deciding on vertical display and vice versa.
  8255. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8256. * RichTextBox.cs: Set default RTF font for documents that don't
  8257. have a font table (Fixes #77076)
  8258. 2005-12-22 Jackson Harper <[email protected]>
  8259. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  8260. clipboard. This prevents a NullRef in that case.
  8261. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  8262. clipboard. PRIMARY is for the currently selected text only. (We
  8263. should implement PRIMARY at some point.
  8264. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8265. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  8266. a Unicode function with a structure that was defined in Ansi way.
  8267. This fixes #76942.
  8268. 2005-12-21 Jackson Harper <[email protected]>
  8269. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  8270. on. Because thats how it rolls. (and this avoids it using ambient
  8271. colours).
  8272. * ThemeWin32Classic.cs: Use the proper back color for filling.
  8273. * Menu.cs: Use the system menu bar color for drawing menu
  8274. bars. Using the window back color will bring ambient colours into
  8275. the picture.
  8276. 2005-12-21 Alexander Olk <[email protected]>
  8277. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  8278. Bitmaps were created and not disposed.
  8279. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8280. * Control.cs (CreateControl): Don't do anything if the control is
  8281. already created, otherwise we'd fire the OnCreated event more than
  8282. once
  8283. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8284. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  8285. will always match. Instead return -1. Fixes #76464.
  8286. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8287. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  8288. neither the beginning nor the end of the line (Fixes bug #76479)
  8289. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8290. * Control.cs:
  8291. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  8292. where handle is invalid
  8293. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  8294. instead of slower linear search
  8295. * NativeWindow.cs: Don't remove the window from the hashtable until
  8296. after the driver has destroyed it (since the driver might use
  8297. Control.FromHandle to lookup the control object
  8298. * Hwnd.cs: Added DestroyPending property to track if a window is
  8299. already destroyed as far as the driver is concerned and only hasn't
  8300. yet notified the control
  8301. * XplatUIX11.cs:
  8302. - Activate(): Check if the window is still valid before using the
  8303. handle
  8304. - Implemented DestroyChildWindow() method to mark child windows as
  8305. destroyed when a window is destroyed. This prevents situations
  8306. where we might call an X method based on queued events for a
  8307. window that already has been destroyed but we haven't yet pulled
  8308. the destroy method from the queue.
  8309. - Added a call to the new DestroyChildWindow() method to the drivers
  8310. DestroyWindow code. Also now marking the destroyed window itself
  8311. as pending
  8312. 2005-12-20 Jackson Harper <[email protected]>
  8313. * StatusBar.cs:
  8314. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  8315. anymore. Just do them when needed, also track the rects of panels
  8316. so that we can optimize refreshing more in the future.
  8317. 2005-12-20 Alexander Olk <[email protected]>
  8318. * ColorDialog.cs: Fixed focus drawing in small color controls
  8319. 2005-12-19 Jackson Harper <[email protected]>
  8320. * InternalWindowManager.cs:
  8321. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  8322. moving windows works properly.
  8323. 2005-12-19 Peter Dennis Bartok <[email protected]>
  8324. * Control.cs:
  8325. - Removed call to InitLayout() from SetBoundsCore(); doc says
  8326. it's only called when a control is added to a container
  8327. - Split InitLayout logic, moved to separate UpdateDistances() method
  8328. since we need to perform those calculations more often than just
  8329. when adding the control to a container. (Needed to fix #77022)
  8330. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  8331. - Reduced the OnBindingContextChanged events count, don't send them
  8332. unless the control is created, we still aren't totally matching
  8333. MS, but I can't quite figure out some of their rules
  8334. 2005-12-18 Alexander Olk <[email protected]>
  8335. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  8336. stripes
  8337. 2005-12-18 Alexander Olk <[email protected]>
  8338. * ThemeClearlooks.cs:
  8339. - Updated ProgressBar drawing
  8340. - Corrected drawing of ScrollBars and scroll buttons
  8341. - Some temporary fixes for minor pixel artefacts
  8342. 2005-12-18 Peter Dennis Bartok <[email protected]>
  8343. * Control.cs:
  8344. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  8345. cause events to be sent in the same order as MS does.
  8346. - Added ChangeParent() method to trigger various OnXXXChanged events
  8347. that need to be fired when a parent changes (This is a reworking
  8348. of the patch from r54254, with the X11 errors fixed)
  8349. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  8350. since on MS we get OnLayoutChanged events when calling Clear()
  8351. - Changed Enabled property to consider parent state as well, if a
  8352. parent is not enabled, the control will not be either
  8353. - Changed Parent property to simply call Controls.Add() since that
  8354. now does all the work required, this way we avoid code duplication
  8355. - Threw in a few OnBindingsContextChanged calls to try and match
  8356. when MS sends them. We seem to send a few too many, though.
  8357. - Added call to CreateControl when adding the control to a parent.
  8358. We were never calling CreateControl. Still needs some work, in
  8359. some places we treat HandleCreated and ControlCreated as equal,
  8360. which is wrong
  8361. - Removed obsolete commented out code from UpdateZOrder()
  8362. 2005-12-18 Alexander Olk <[email protected]>
  8363. * ThemeClearlooks.cs: Updated TrackBar drawing.
  8364. 2005-12-17 Alexander Olk <[email protected]>
  8365. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  8366. 2005-12-17 Alexander Olk <[email protected]>
  8367. * FileDialog.cs: Add the Help button and the open readonly
  8368. checkbox only if needed
  8369. 2005-12-16 Jackson Harper <[email protected]>
  8370. * Control.cs: Make sure we have an active menu before trying to
  8371. process commands on it. Prevents menu-less forms from crashing
  8372. when Alt is pressed.
  8373. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  8374. Dieter Bremes.
  8375. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  8376. 2.0 build.
  8377. 2005-12-16 Jackson Harper <[email protected]>
  8378. * InternalWindowManager.cs: Don't translate tool windows screen
  8379. coordinates. This fixes windows 'bouncing' around when being moved.
  8380. 2005-12-15 Peter Dennis Bartok <[email protected]>
  8381. * TextBoxBase.cs:
  8382. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  8383. not quite MS compatible, MS uses that number only for single line
  8384. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  8385. the limit at 2GB)
  8386. - Now enforcing the MaxLength limit when entering characters
  8387. - Added argument to internal Paste() method to track if it's called
  8388. from programatically or via keyboard, since keyboard driven pastes
  8389. need to enforce max-length
  8390. - Added logic to Paste to only paste as many chars as MaxLength
  8391. allows
  8392. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  8393. * TextControl.cs:
  8394. - Added Length property to return number of characters in document
  8395. - Added private CharCount property which only tracks actual chars
  8396. in the document (no linefeeds) and fires event when CharCount
  8397. changes
  8398. - Added tracking of character count to all methods that alter it
  8399. - Added LengthChanged event to allow applications to subscribe
  8400. to any changes to the document
  8401. 2005-12-15 Peter Dennis Bartok <[email protected]>
  8402. * TextBox.cs:
  8403. - Removed local password_char field (moved to TextBoxBase)
  8404. - Now setting the document's password var when password is
  8405. set
  8406. * TextBoxBase.cs:
  8407. - Added password_char field (needed here so MultiLine can
  8408. access it)
  8409. - Added logic to MultiLine property setter to set the document's
  8410. variable when password display is allowed
  8411. - Removed debug code and made some debug code conditional
  8412. * TextControl.cs:
  8413. - Added RecalculatePasswordLine() method to handle special password
  8414. char only lines
  8415. - Added PasswordChar property, also added related tracking vars
  8416. - Draw() method now uses local text var for grabbing text to draw,
  8417. this var is set to line.text unless we're doing password display,
  8418. then it is set to the pre-generated all-password-chars line
  8419. - Added calling RecalculatePasswordLine() method for password lines
  8420. 2005-12-14 Peter Dennis Bartok <[email protected]>
  8421. * Hwnd.cs:
  8422. - Added Reparented property to allow tracking of Window Manager
  8423. reparenting actions (which affect X/Y calculations of toplevel
  8424. windows)
  8425. - Made ToString() print window handles in hex
  8426. * XplatUIX11.cs:
  8427. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  8428. determine if X/Y needs offsetting
  8429. - AddConfigureNotify(): Fixed offset calculations
  8430. - Now adds ReparentNotify messages into the queue
  8431. - Now processes ReparentNotify messages and causes a
  8432. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  8433. is reparented (as most likely it's X/Y coordinates are changed
  8434. due to that)
  8435. 2005-12-14 Jackson Harper <[email protected]>
  8436. * XplatUIX11.cs: Tool windows still need to respek focus.
  8437. 2005-12-14 Peter Dennis Bartok <[email protected]>
  8438. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  8439. have a working release
  8440. 2005-12-13 Jackson Harper <[email protected]>
  8441. * Form.cs: Update styles after setting the border style regardless
  8442. of whether or not the window is using a window manager.
  8443. 2005-12-13 Jackson Harper <[email protected]>
  8444. * Form.cs: We now hook into an internal window manager instead of just an
  8445. MDI subsystem, this is so we can have properly behaving tool windows.
  8446. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  8447. * InternalWindowManager.cs: New internal class that acts as a
  8448. window manager for tool windows and as a base for mdi windows.
  8449. * MdiWindowManager.cs: New class that acts as a window manager for
  8450. mdi windows.
  8451. 2005-12-12 Jackson Harper <[email protected]>
  8452. * Control.cs: Updates so we match behavoir for for implicit
  8453. controls. Fixes explosions in MDI.
  8454. 2005-12-12 Jackson Harper <[email protected]>
  8455. * Control.cs: Implement Invalidate (Region).
  8456. 2005-12-12 Peter Dennis Bartok <[email protected]>
  8457. * Control.cs:
  8458. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  8459. the same events as MS does. MS fires events for each property
  8460. except, for unknown reasons, Cursor, when the control is reparented.
  8461. I can't seem to totally match add/remove since MS also fires some
  8462. VisibleChanged events, which makes no sense. Consolidated the
  8463. parenting code into a separate method so it can be called from
  8464. both Add and Remove. set_Parent no longer needs any special logic
  8465. as it calls the parent's add method which implicitly fires
  8466. all events
  8467. - Removed some obsolete code and debug output
  8468. - Enabled state is inherited from parents, if this is enabled
  8469. 2005-12-08 Peter Dennis Bartok <[email protected]>
  8470. * Form.cs: Removed commented out code
  8471. 2005-12-08 Peter Dennis Bartok <[email protected]>
  8472. * Control.cs:
  8473. - Added internal version of Invoke, with additional argument
  8474. indicating if we're calling it from a Dispose() handler. That
  8475. way we can avoid BeginInvoke throwing an exception if we're
  8476. calling for an already destroyed window.
  8477. - Added a dispose argument to BeginInvokeInternal, and made the
  8478. check if a valid window handle chain exists conditional on
  8479. it not being a dispose call
  8480. - Removed code in DestroyHandle to destroy our children. Since we
  8481. now handle the WM_DESTROY message we will catch all our children
  8482. being destroyed.
  8483. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  8484. * Form.cs:
  8485. - Added a field to track the application context of the form.
  8486. - No need to set closing variable as response to WM_CLOSE, instead
  8487. we destroy the window. We also call PostQuitMessage if the form
  8488. has an application context (which makes it the main app form,
  8489. which, when closed terminates the app)
  8490. * XplatUI.cs:
  8491. - Dropped Exit() method, it's naming was confusing
  8492. - Added PostQuitMessage() which causes GetMessage to return false
  8493. once the message queue is empty
  8494. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  8495. PostQuitMessage()
  8496. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  8497. no longer a valid XplatUI method, but left it in since it's used
  8498. internally. Added empty PostQuitMessage() method.
  8499. * MenuAPI.cs: Replaced call to Exit() with call to
  8500. PostQuitMessage, even though this is probably no longer needed.
  8501. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  8502. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  8503. * Application.cs:
  8504. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  8505. - Removed old debug code that would call XplatUI for exception
  8506. display, enabled standard exception handling (Still not enabled
  8507. though, until NativeWindow's ExternalExceptionHandler define
  8508. is removed
  8509. * NativeWindow.cs:
  8510. - Added internal method to allow control to update NativeWindow
  8511. after a window has been destroyed
  8512. - Added handling of already destroyed windows when calling i
  8513. DestroyWindow
  8514. - Added removal of handle from list on ReleaseHandle
  8515. * XplatUIX11.cs:
  8516. - Dropped GetMessageResult var and related code
  8517. - Added PostQuitState to field to track if PostQuitMessage has been
  8518. called
  8519. - Dropped Exit() method
  8520. - Added PostQuitMessage() method
  8521. - GetMessage now will return false if PostQuitState is set and no
  8522. more messages are in the queue.
  8523. - Expose handler will no longer generate WM_PAINT messages if we are
  8524. in PostQuitState since it's very likely any windows have already
  8525. been destroyed, and since Hwnd won't get updated until we have
  8526. processed the DestroyNotify we'd be causing X errors.
  8527. 2005-12-07 Peter Dennis Bartok <[email protected]>
  8528. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  8529. Thanks to Mike for pointing out the err of my ways.
  8530. 2005-12-07 Peter Dennis Bartok <[email protected]>
  8531. * Control.cs(PreProcessMessage): Moved menu handling back, but
  8532. after all other key handling, to match MS (who handles Menu in
  8533. DefWndProc)
  8534. * Menu.cs (WndProc): Removed my brainfart
  8535. 2005-12-07 Peter Dennis Bartok <[email protected]>
  8536. * Control.cs(PreProcessMessage): Removed special menu handling
  8537. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  8538. 2005-12-07 Mike Kestner <[email protected]>
  8539. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  8540. state according in tracker.
  8541. * Menu.cs : promote tracker field to base class and provide a tracker
  8542. lookup capability. Add/Remove shortcuts dynamically if the top menu
  8543. has a tracker. Unparent items that are removed from the collection.
  8544. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  8545. * Theme*.cs: add always_show_hotkeys field to support configurability
  8546. of mnemonic display. win32 doesn't show mnemonics until Alt is
  8547. pressed.
  8548. 2005-12-07 Jackson Harper <[email protected]>
  8549. * MdiChildContext.cs: Use Control.ResetCursor.
  8550. * Control.cs: ResetCursor needs to set the property so that the
  8551. correct XplatUI call gets made.
  8552. 2005-12-07 Peter Dennis Bartok <[email protected]>
  8553. * Control.cs: More fixes to make our key events match MS. We
  8554. were not setting the modifier state on KeyData, and we were
  8555. not generating any events when Alt was pressed with a key
  8556. since handling of WM_SYSxxx was missing for the OnKey methods.
  8557. 2005-12-07 Jackson Harper <[email protected]>
  8558. * MdiChildContext.cs: reenable the sizing code.
  8559. - When the mouse leaves a window reset its cursor.
  8560. 2005-12-07 Alexander Olk <[email protected]>
  8561. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  8562. 2005-12-07 Peter Dennis Bartok <[email protected]>
  8563. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  8564. widths of Fixed3D borders
  8565. 2005-12-07 Jackson Harper <[email protected]>
  8566. * MdiClient.cs: Fix warnings. Earn Mike's love.
  8567. 2005-12-07 Alexander Olk <[email protected]>
  8568. * ThemeClearlooks.cs:
  8569. - Adjusted mouse over button color
  8570. - Added first parts of CheckBox drawing
  8571. - Added correct color for selected text background
  8572. - Fixed ComboBox drawing
  8573. - Added CPDrawBorder3D and CPDrawBorder
  8574. 2005-12-06 Peter Dennis Bartok <[email protected]>
  8575. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  8576. 2005-12-06 Peter Dennis Bartok <[email protected]>
  8577. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8578. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  8579. alert users via sound. We could add an enum arg with different
  8580. types of alerts in the future
  8581. 2005-12-06 Peter Dennis Bartok <[email protected]>
  8582. * Control.cs: Fix behaviour problems pointed out by Mike
  8583. 2005-12-05 Mike Kestner <[email protected]>
  8584. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  8585. prop setters. Calls parent.Refresh for now, but could be maybe be
  8586. optimized with an internal method on StatusBar at some point.
  8587. [Fixes #76513]
  8588. 2005-12-05 Peter Dennis Bartok <[email protected]>
  8589. * RichTextBox.cs: Implemented get_SelectionColor
  8590. 2005-12-05 Alexander Olk <[email protected]>
  8591. * ThemeClearlooks.cs:
  8592. - Removed dead code
  8593. - Draw black button border only if button is Form.AcceptButton
  8594. - Draw correct button color for pressed RadioButton if the mouse
  8595. has entered the button
  8596. - Updated ProgressBar drawing!
  8597. - Updated CPDrawSizeGrip drawing
  8598. - Updated StatusBarPanel drawing
  8599. 2005-12-05 Mike Kestner <[email protected]>
  8600. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  8601. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  8602. 2005-12-04 Alexander Olk <[email protected]>
  8603. * ThemeClearlooks.cs: Initial check-in, activate with
  8604. export MONO_THEME=clearlooks
  8605. * ThemeEngine.cs: Added ThemeClearlooks
  8606. 2005-12-03 Mike Kestner <[email protected]>
  8607. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  8608. [Fixes #76897]
  8609. 2005-12-02 Jackson Harper <[email protected]>
  8610. * Form.cs: If the child form has no menu the default main menu is
  8611. used as the active menu.
  8612. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8613. * ListBox.cs: Check if any items exist before trying to resolve
  8614. coordinates into items
  8615. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8616. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  8617. as the second color for the background hatch
  8618. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8619. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  8620. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  8621. sure that what we pass to FormatText is always 1-based. Fixes #76885
  8622. 2005-11-29 Miguel de Icaza <[email protected]>
  8623. * NumericUpDown.cs (EndInit): When we are done initializing,
  8624. reflect any updates on the UI.
  8625. 2005-12-02 Jackson Harper <[email protected]>
  8626. * ImplicitHScrollBar.cs:
  8627. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  8628. their container controls.
  8629. * TreeView.cs: Use the new implicit scrollbars.
  8630. 2005-12-02 Jackson Harper <[email protected]>
  8631. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  8632. can play with it.
  8633. * TreeNodeCollection.cs: If we remove the topnode we need to
  8634. update topnode to the next node in line.
  8635. - When clearing nodes go through the same process as removing
  8636. them, so they get depareneted and checked if they are top node.
  8637. 2005-12-01 Jackson Harper <[email protected]>
  8638. * TreeView.cs: When imagelists are used the image area is
  8639. selectable as well as the text.
  8640. - If there are no selected nodes select the first one.
  8641. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  8642. so don't do it more then we need to.
  8643. 2005-12-01 Jackson Harper <[email protected]>
  8644. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  8645. that arrows can be scaled.
  8646. 2005-12-01 Jackson Harper <[email protected]>
  8647. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  8648. fail. Patch by Dieter Bremes
  8649. 2005-11-30 Jackson Harper <[email protected]>
  8650. * Form.cs: Property is 2.0 only
  8651. * PrintDialog.cs: Signature fix.
  8652. 2005-11-30 Peter Dennis Bartok <[email protected]>
  8653. * TextControl.cs:
  8654. - No longer artificially moves text 2 pixels down (now that we have
  8655. borders this is no longer needed)
  8656. - Added calcs for left, hanging and right indent
  8657. 2005-11-23 Mike Kestner <[email protected]>
  8658. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  8659. 2005-11-30 Jackson Harper <[email protected]>
  8660. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  8661. get cloned as part of CloneMenu ().
  8662. * Menu.cs: Make sure the parent of the items get set correctly
  8663. when they are added. And the owners are notified of the changes.
  8664. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  8665. we can change the menu being displayed/handled by the form without
  8666. changing the menu assosciated with the form.
  8667. - Don't let Mdi children draw/handle menus.
  8668. 2005-11-30 Jackson Harper <[email protected]>
  8669. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  8670. a MenuChanged event. Just to make the API a little more
  8671. consistent.
  8672. * MainMenu.cs:
  8673. * MenuItem.cs: Use the new OnMenuChanged
  8674. * MdiChildContext.cs: Handle menu merging.
  8675. * Form.cs: Implement MergedMenu.
  8676. 2005-11-30 Jackson Harper <[email protected]>
  8677. * Menu.cs: We were misusing Add. Add goes behind the specified
  8678. index according to the docs, and does not replace the specified
  8679. index. So I added an Insert method.
  8680. 2005-11-30 Peter Dennis Bartok <[email protected]>
  8681. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  8682. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  8683. is for Jackson
  8684. * RichTextBox.cs: Added calls to base for DnD events
  8685. 2005-11-28 Peter Dennis Bartok <[email protected]>
  8686. * TextControl.cs:
  8687. - Fixed drag-selection related crash; style fixes
  8688. - Implemented undo class
  8689. o Implemented method to capture document state for specified
  8690. range in document tree
  8691. o Implemented method to restore captured document state
  8692. o Implemented cursor tracking
  8693. o Implemented basic undo stack
  8694. - Added undo cursor tracking to methods altering cursor location
  8695. - Added undo tracking to selection deletion (still missing
  8696. other text-altering hookups)
  8697. * RichTextBox.cs:
  8698. - Added SelectionLength property
  8699. - Implemented CanPaste()
  8700. - Implemented Paste()
  8701. - Added missing protected methods
  8702. - Fixed RTF->Document conversion; now uses font index 0 and color
  8703. index 0 as the default font for the parsed text
  8704. - Fixed RTF<->Document font size translation
  8705. - Fixed RTF generation, now properly handles cross-tag boundaries
  8706. for single line selection
  8707. - No longer always appends blank line to generated RTF
  8708. - Removed TODOs
  8709. - Added missing attributes
  8710. - Hooked up undo-related methods
  8711. * TextBoxBase.cs:
  8712. - Implemented Copy()
  8713. - Implemented Paste()
  8714. - Implemented Cut()
  8715. - Fixed caret mis-behaviour on backspace across line-boundaries
  8716. 2005-11-29 Jackson Harper <[email protected]>
  8717. * MdiClient.cs: Add a method for activating mdi children. Very
  8718. basic right now. I imagine someday it might need more girth.
  8719. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  8720. children windows names are added to the menu item.
  8721. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  8722. mdilist. This happens regardless of whether or not there are any
  8723. mdi windows to see in the list, and according to my tests happens
  8724. before the items are even added. Also happens if there isn't even
  8725. an mdi client to get windows from.
  8726. 2005-11-29 Alexander Olk <[email protected]>
  8727. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  8728. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  8729. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  8730. * DataGridTableStyle.cs:
  8731. - Create always the styles for the missing columns even if they are
  8732. provided by the user (not default table style)
  8733. * DataGrid.cs:
  8734. - Fixes bug 76770
  8735. - Fixes SetDataBinding (always re-attach source)
  8736. - Fixes SetNewDataSource (only clear styles if they are not for
  8737. this source)
  8738. - Expands OnTableStylesCollectionChanged to handle style refresh
  8739. and remove properly
  8740. 2005-11-29 Jackson Harper <[email protected]>
  8741. * FileDialog.cs: Implement missing bits, remove some dead
  8742. code.
  8743. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  8744. creation of the panel so that the options set on the dialog are
  8745. seen when the panel is created.
  8746. * TreeView.cs: raise a click when items are clicked.
  8747. 2005-11-29 Jackson Harper <[email protected]>
  8748. * MdiClient.cs: Pass some signature methods through to base.
  8749. 2005-11-28 Jackson Harper <[email protected]>
  8750. * ListView.cs: Raise the click event when items are clicked.
  8751. 2005-11-28 Jackson Harper <[email protected]>
  8752. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  8753. a nullref.
  8754. 2005-11-27 Alexander Olk <[email protected]>
  8755. * ThemeNice.cs: - Removed 1 pixel bitmaps
  8756. - Use SmoothingMode.AntiAlias where it makes sense
  8757. (ScrollButton arrow for example)
  8758. - Enhanced Button focus drawing
  8759. - Fixed ComboBox drawing (no artefacts anymore, focus
  8760. rectangle is back again, reduced size of ComboButton, etc.)
  8761. - Fixed RadioButton focus drawing for Appearence.Button
  8762. - Slight ScrollButton redesign
  8763. - Some LinearGradientBrush size fixes
  8764. - GroupBoxes have now rounded edges
  8765. - Fixed StatusBar drawing
  8766. 2005-11-25 Alexander Olk <[email protected]>
  8767. * ThemeNice.cs: - Remove dead code
  8768. - use correct background colors for menus, etc.
  8769. - Fake pixel drawing with 1 pixel bitmaps
  8770. 2005-11-24 Jackson Harper <[email protected]>
  8771. * MdiClient.cs: Size the scrollbars when resizing the window.
  8772. - Resize the maximized windows when the client is resized
  8773. * Form.cs: Make the child context available
  8774. 2005-11-23 Jackson Harper <[email protected]>
  8775. * MdiChildContext.cs: Don't size windows if they are maximized.
  8776. 2005-11-23 Mike Kestner <[email protected]>
  8777. * ContextMenu.cs: use MenuTracker.
  8778. * Control.cs: remove menu handle usage.
  8779. * Form.cs: remove menu handle usage.
  8780. * Hwnd.cs: remove menu handle usage.
  8781. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  8782. motion and clicks to the new Tracker handlers.
  8783. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  8784. and handle usage.
  8785. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  8786. Killed the MENU and MENUITEM data types and associated collections
  8787. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  8788. MenuTracker class that exposes the leftovers from the old MenuAPI
  8789. static methods. Restructured Capture handling so that only one grab is
  8790. done for the entire menu hierarchy instead of handing off grabs to
  8791. submenus. Tracker now has an invisible control to Capture when active.
  8792. * MenuItem.cs: add sizing accessors, kill Create
  8793. and handle usage.
  8794. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  8795. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  8796. MENU(ITEM). remove menu handle usage, use Menu directly.
  8797. * XplatUIDriver.cs: remove menu handle usage.
  8798. * XplatUIOSX.cs: remove menu handle usage.
  8799. * XplatUIWin32.cs: remove menu handle usage.
  8800. * XplatUIX11.cs: remove menu handle usage.
  8801. 2005-11-22 Jackson Harper <[email protected]>
  8802. * Hwnd.cs: Don't compute the menu size for
  8803. DefaultClientRectangle.
  8804. - Reenable menu sizes being computed for GetClienRectangle.
  8805. * Form.cs: Remove comment of trechery
  8806. 2005-11-22 Jackson Harper <[email protected]>
  8807. * Hwnd.cs: The adjustments for the menu bar are made when it is
  8808. attached to the form.
  8809. 2005-11-19 Jackson Harper <[email protected]>
  8810. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  8811. (just like on windows).
  8812. 2005-11-19 Jackson Harper <[email protected]>
  8813. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  8814. use real buttons anymore because they are in non client area. The
  8815. one TODO here is that I need to somehow invalidate a section of
  8816. the non client area.
  8817. 2005-11-18 Jackson Harper <[email protected]>
  8818. * Control.cs: Put the enum check back in now that MDI doesnt have
  8819. to use this to set border styles.
  8820. * Form.cs: Only set mdi child windows borders if the handle has
  8821. been created.
  8822. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  8823. this directly on to the driver.
  8824. - Get the move start position before adjusting for the titlebar
  8825. height, this fixes the windows "skipping" when they are first
  8826. moved.
  8827. 2005-11-18 Jackson Harper <[email protected]>
  8828. * XplatUIX11.cs: Just compute the mdi borders separately as they
  8829. don't totally match up with normal form borders.
  8830. 2005-11-18 Jackson Harper <[email protected]>
  8831. * Control.cs: Set WS_ styles for borders, so that the driver does
  8832. not have to retrieve the control instance to figure out what kind
  8833. of borders it should have.
  8834. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  8835. driver can know its an mdi child easily.
  8836. * XplatUIX11.cs: Get the border styles and whether the window is
  8837. MDI from the Styles and ExStyles params instead of having to get a
  8838. control. This prevents a chicken and egg problem.
  8839. 2005-11-18 Jackson Harper <[email protected]>
  8840. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  8841. 2005-11-18 Jackson Harper <[email protected]>
  8842. * MdiClient.cs: Calculate when to add and remove scrollbars
  8843. correctly.
  8844. * MdiChildContext.cs: Adjust the y position to take the titlebar
  8845. into account.
  8846. - No height for FormBorderStyle.None
  8847. 2005-11-18 Jackson Harper <[email protected]>
  8848. * Control.cs: Allow non enum values to be used for
  8849. InternalBorderStyle. MDI does this to set a special border style.
  8850. - New utility methods for converting points to/from client coords
  8851. - Add the newly created control to the Controls collection before
  8852. updating its style. This way UpdateStyle can walk the control
  8853. heirarchy to find the control if needed.
  8854. so I don't need to create a new Point object all the time.
  8855. * Form.cs: Let MDI windows handle their border styles.
  8856. - Set styles on MDI windows so the correct title style is derived.
  8857. * MdiChildContext.cs: Move all the painting and window handling
  8858. into the non client area.
  8859. - Use correct sizing and put correct buttons on frames based on
  8860. the FormBorderStyle.
  8861. - Notify the mdi client about scrolling
  8862. - Need to handle the buttons ourselves now, because they are all
  8863. in non client areas and we can't add controls there.
  8864. * MdiClient.cs: Halfway to scrolling, this implementation is
  8865. somewhat broken though, we need to check to make sure other
  8866. windows aren't causing scrolling before removing the bars. Also
  8867. the bars need to be drawn on top, maybe I can switch implicit
  8868. controls to be on top.
  8869. * Hwnd.cs: caption_height and tool_caption_height are now
  8870. properties of an hwnd, this way they can be set by the driver
  8871. based on the type of window they are. In X11 the window manager
  8872. handles the decorations so caption_height is zero unless its an
  8873. MDI window.
  8874. - Add 3 pixel borders for MDI windows (0xFFFF).
  8875. - Get rid of some code duplication, have DefaultClientRectanle
  8876. just call GetClientRectangle.
  8877. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  8878. Hwnd now.
  8879. - Set border styles differently for mdi windows.
  8880. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  8881. Hwnd now.
  8882. 2005-11-15 Mike Kestner <[email protected]>
  8883. * Menu.cs: when adding an item to the collection, if item is already
  8884. parented, remove it from the parent.
  8885. 2005-11-13 Alexander Olk <[email protected]>
  8886. * X11DesktopColors.cs: Added KDE support
  8887. 2005-11-11 Peter Dennis Bartok <[email protected]>
  8888. * XplatUIWin32.cs:
  8889. - Clipboard methods now can translate Rtf format
  8890. - No longer removes clipboard contents whenever a new format is added
  8891. to allow placing multiple formats on the clipboard
  8892. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  8893. will place all formats contained in it onto the clipboard. Also
  8894. now cleans the clipboard before placing a new object onto it
  8895. * RichTextBox.cs:
  8896. - Implemented set_Rtf
  8897. - Implemented set_SelectedRtf
  8898. - Created InsertRTFFromStream() method to allow single code base
  8899. for all properties and methods that insert RTF into document
  8900. - Removed debug output
  8901. * TextControl.cs:
  8902. - Fixed Delete(int) to fix up line numbers
  8903. - Fixed ReplaceSelection to combine start and end line
  8904. - Fixed serious DeleteChars bug that would leave the document tree
  8905. broken
  8906. - Improved DumpTree with several logic checks to detect broken
  8907. document trees
  8908. - Removed debug lines
  8909. - Fixed Caret.WordForward/WordBack moving code, now always also
  8910. updates caret.tag (fixes crash when word-selecting across tag
  8911. boundaries via keyboard)
  8912. - Added Insert() method for inserting multiline text into documents
  8913. - Fixed DeleteChars() calculation errors that would cause a broken
  8914. tag chain with multiple tag lines
  8915. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  8916. - Split() no longer moves caret if split is at caret location
  8917. - ReplaceSelection() now updates the cursor and re-displays it
  8918. - ReplaceSelection() now uses new Insert() method to avoid code
  8919. duplication
  8920. - FormatText() can now handle formatting partial lines
  8921. * TextBoxBase.cs:
  8922. - Append now uses new TextControl.Insert() method (this avoids
  8923. duplicate code)
  8924. - Implemented Ctrl-X (Cut) (
  8925. - Implemented Ctrl-C (Copy)
  8926. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  8927. regeneration when pasting text; roundtripping Copy&Paste within
  8928. edit control still fails due to some calculation bugs in GenerateRTF)
  8929. - The Delete key will now remove the current selection if it is visible
  8930. * TextBox.cs: Removed debug lines
  8931. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  8932. driver to be initialized and can't therefore be done via a static ctor)
  8933. 2005-11-10 Peter Dennis Bartok <[email protected]>
  8934. * TextControl.cs: Added backend code for finding char arrays and strings
  8935. * TextBoxBase.cs:
  8936. - Added mouse wheel scroll support
  8937. - Added support for VScroll and HScroll events
  8938. * RichTextBox.cs:
  8939. - Implemented all seven Find() variants
  8940. - Implemented GetCharFromPosition()
  8941. - Implemented GetCharIndexFromPosition()
  8942. - Implemented GetLineFromIndex()
  8943. - Implemented GetPositionFromCharIndex();
  8944. - Implemented SaveFile for PlainText and UnicodeText
  8945. - Fixed set_Font, now setting a new font applies that font to
  8946. the whole document
  8947. - Implemented generic Document to RTF converter
  8948. - Implemented SaveFile for RichText format (still missing unicode
  8949. conversion for non-ansi chars)
  8950. - Implemented get_Rtf
  8951. - Implemented get_SelectedRtf
  8952. 2005-11-09 Peter Dennis Bartok <[email protected]>
  8953. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  8954. to allow any captures to be released before triggering OnClick. This
  8955. way a click handler may capture the mouse without interference.
  8956. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  8957. This way we send them even though X may not allow a grab (if the window
  8958. isn't visible, for example)
  8959. 2005-11-08 Pedro Martinez Julia <[email protected]>
  8960. * DataGridViewRowEventArgs.cs: DataGridView implementation
  8961. * DataGridViewElement.cs: DataGridView implementation
  8962. * DataGridViewComboBoxCell.cs: DataGridView implementation
  8963. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  8964. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  8965. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  8966. * ImageLayout.cs: DataGridView implementation
  8967. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  8968. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  8969. * DataGridViewSelectionMode.cs: DataGridView implementation
  8970. * IDataGridViewEditingControl.cs: DataGridView implementation
  8971. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  8972. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  8973. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  8974. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  8975. * DataGridViewColumnSortMode.cs: DataGridView implementation
  8976. * DataGridView.cs: DataGridView implementation
  8977. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  8978. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  8979. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  8980. * Padding.cs: DataGridView implementation
  8981. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  8982. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  8983. * DataGridViewRowEventHandler.cs: DataGridView implementation
  8984. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  8985. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  8986. * DataGridViewButtonCell.cs: DataGridView implementation
  8987. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  8988. * DataGridViewEditMode.cs: DataGridView implementation
  8989. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  8990. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  8991. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  8992. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  8993. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  8994. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  8995. * DataGridViewCellEventHandler.cs: DataGridView implementation
  8996. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  8997. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  8998. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  8999. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  9000. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  9001. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  9002. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  9003. * QuestionEventArgs.cs: DataGridView implementation
  9004. * IDataGridViewEditingCell.cs: DataGridView implementation
  9005. * DataGridViewTriState.cs: DataGridView implementation
  9006. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  9007. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  9008. * DataGridViewColumnCollection.cs: DataGridView implementation
  9009. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  9010. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  9011. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  9012. * DataGridViewColumn.cs: DataGridView implementation
  9013. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  9014. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  9015. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  9016. * DataGridViewRow.cs: DataGridView implementation
  9017. * DataGridViewImageCellLayout.cs: DataGridView implementation
  9018. * DataGridViewImageCell.cs: DataGridView implementation
  9019. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  9020. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  9021. * DataGridViewHeaderCell.cs: DataGridView implementation
  9022. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  9023. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  9024. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  9025. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  9026. * QuestionEventHandler.cs: DataGridView implementation
  9027. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  9028. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  9029. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  9030. * DataGridViewCell.cs: DataGridView implementation
  9031. * DataGridViewCellEventArgs.cs: DataGridView implementation
  9032. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  9033. * DataGridViewCellStyle.cs: DataGridView implementation
  9034. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  9035. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  9036. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  9037. * TextFormatFlags.cs: DataGridView implementation
  9038. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  9039. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  9040. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  9041. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  9042. * DataGridViewButtonColumn.cs: DataGridView implementation
  9043. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  9044. * HandledMouseEventArgs.cs: DataGridView implementation
  9045. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  9046. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  9047. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  9048. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  9049. * DataGridViewRowCollection.cs: DataGridView implementation
  9050. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  9051. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  9052. * DataGridViewHitTestType.cs: DataGridView implementation
  9053. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  9054. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  9055. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  9056. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  9057. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  9058. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  9059. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  9060. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  9061. * DataGridViewContentAlignment.cs: DataGridView implementation
  9062. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  9063. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  9064. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  9065. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  9066. * DataGridViewPaintParts.cs: DataGridView implementation
  9067. * DataGridViewCellCollection.cs: DataGridView implementation
  9068. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  9069. * DataGridViewImageColumn.cs: DataGridView implementation
  9070. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  9071. * DataGridViewElementStates.cs: DataGridView implementation
  9072. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  9073. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  9074. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  9075. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  9076. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  9077. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  9078. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  9079. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  9080. * DataGridViewTextBoxCell.cs: DataGridView implementation
  9081. * DataGridViewBand.cs: DataGridView implementation
  9082. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  9083. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  9084. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  9085. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  9086. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  9087. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  9088. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  9089. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  9090. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  9091. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  9092. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  9093. 2005-11-08 Peter Dennis Bartok <[email protected]>
  9094. * ThemeWin32Classic.cs:
  9095. - Draw the outside focus rectangle around buttons
  9096. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  9097. doesn't use end caps for every dash of a line anymore. This
  9098. workaround ignores the forecolor.
  9099. 2005-11-08 Kornél Pál <[email protected]>
  9100. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  9101. endian safe.
  9102. 2005-11-07 Jackson Harper <[email protected]>
  9103. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  9104. 2005-11-07 Jackson Harper <[email protected]>
  9105. * ScrollableControl.cs: Calculate the maximum and change vars
  9106. (more) correctly so that scrollbars appear as a sensible size.
  9107. 2005-11-04 Jackson Harper <[email protected]>
  9108. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  9109. collection.
  9110. * TreeView.cs: When the tree is sorted null out the top_node so
  9111. that it is recalculated.
  9112. - Use dotted lines instead of dashed lines to match MS better.
  9113. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  9114. * ListView.cs:
  9115. - Implements key search for items. Useful when browsing files with FileDialog
  9116. - When changing view mode or when clear the items reset scrollbar positions
  9117. 2005-11-04 Jackson Harper <[email protected]>
  9118. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  9119. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  9120. as to what the method may do as there is no real way of creating a
  9121. derived CurrencyManager and calling the method.
  9122. 2005-11-03 Jackson Harper <[email protected]>
  9123. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  9124. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  9125. method which seems to just be used internally to refresh the tabs.
  9126. 2005-11-03 Jackson Harper <[email protected]>
  9127. * TabControl.cs: Implement the remove method. Fix some broken
  9128. comments.
  9129. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9130. * DateTimePicker.cs:
  9131. - Added missing DateTimePickerAccessibleObject class
  9132. - Added missing events
  9133. - Added OnFontChanged method
  9134. * Form.cs: Added missing attributes
  9135. * TreeView.cs: Added missing attributes
  9136. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9137. * GridItemCollection.cs: Fix signatures
  9138. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9139. * XplatUI.cs: Updated build rev/date
  9140. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  9141. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  9142. * Application.cs: Trigger context-specific ExitThread events
  9143. 2005-11-03 Jackson Harper <[email protected]>
  9144. * Menu.cs:
  9145. * MainMenu.cs:
  9146. * GridTableStylesCollection.cs:
  9147. * Timer.cs:
  9148. * TabPage.cs:
  9149. * HelpProvider.cs:
  9150. * StatusBar.cs:
  9151. * MonthCalendar.cs: Signature fixes
  9152. 2005-11-03 Jackson Harper <[email protected]>
  9153. * TreeNodeCollection.cs: Remove should not be virtual.
  9154. * TreeView.cs: Implement the last of the missing methods.
  9155. 2005-11-03 Jackson Harper <[email protected]>
  9156. * TreeNodeConverter.cs: Implement to get off my class-status back.
  9157. 2005-11-03 Jackson Harper <[email protected]>
  9158. * TreeView.cs: Hookup the bits for drag and drop.
  9159. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  9160. that nodes can be moved from tree to tree easily this just causes
  9161. all sorts of problems.
  9162. * TreeNodeCollection: Don't need to give treenodes an index and
  9163. treeview anymore when they are added, these are computed on the
  9164. fly. Also make sure to remove a node before its added.
  9165. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9166. * TextControl.cs:
  9167. - Added CaretSelection enum
  9168. - Added comparison methods to Marker struct, makes selection code
  9169. more readable
  9170. - Added SelectionStart and SelectionEnd as 'moveable' location for
  9171. the CaretDirection enum and handler
  9172. - Added selection_prev variable to track optimized invalidation for
  9173. word and line selection
  9174. - Added SelectionVisible property (returns true if there is a valid
  9175. selection)
  9176. - Switched CaretHasFocus to only display the caret if there is no
  9177. visible selection
  9178. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  9179. using the direct character index; should be much faster
  9180. - Added various conditional debug statements
  9181. - Fixed invalidation calculation for selection ranges
  9182. - Added ExpandSelection() method to support word and line selection
  9183. - Switched SetSelectionToCaret to use new Marker compare overloads
  9184. - Added central IsWordSeparator() method to determine word
  9185. separators/whitespace and FindWordSeparator() to streamline common
  9186. usage of IsWordSeparator()
  9187. * TextBoxBase.cs:
  9188. - Removed unneeded grabbed variable, it was just mirroring
  9189. Control.Capture
  9190. - No longer firing OnTextChanged event when Text setter is called,
  9191. since the base will fire the event for us
  9192. - Added handling of Ctrl-Up/Down selection
  9193. - Added handling of Shift-Cursorkey selection
  9194. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  9195. words
  9196. - Added handling of Shift and Ctrl-Shift-Home/End selection
  9197. - Removed some debug output
  9198. - Added handling for single/double/tripple-click to place caret/
  9199. select word/select line respectively (Fixes bug #76031)
  9200. - Added support for drag expansion of word/line selection
  9201. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  9202. current selection
  9203. 2005-11-02 Jackson Harper <[email protected]>
  9204. * X11Dnd.cs: If the drag is going to and from a MWF window just
  9205. copy the data instead of sending it out through the X Selection
  9206. mechanism.
  9207. 2005-11-02 Jackson Harper <[email protected]>
  9208. * X11Dnd.cs:
  9209. * XplatUIX11.cs: When in a drag we don't want motion notify
  9210. messages to get passed on to the other controls. This prevents
  9211. mouse move messages from showing up in the drag source.
  9212. 2005-11-02 Jackson Harper <[email protected]>
  9213. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  9214. the correct button is release to end a drag.
  9215. * XplatUIX11.cs: Make the button state internal so the drag system
  9216. can access it. Dragging needs to know about all button releases,
  9217. not just left button.
  9218. 2005-11-02 Miguel de Icaza <[email protected]>
  9219. * Form.cs (Icon): If the icon is null, reset the icon to the
  9220. default value.
  9221. * Cursor.cs: When writing the AND-mask bitmap do not include the
  9222. number of colors, but hardcode those to two (black and white),
  9223. fixes the loading of color cursors (Paint Dot Net).
  9224. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  9225. turn off autoscaling.
  9226. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  9227. 2005-11-02 Jackson Harper <[email protected]>
  9228. * X11Dnd.cs: Make sure to send a status message if the pointer
  9229. enters a control that can not accept a drop, otherwise the cursor
  9230. isn't updated correctly. Also tried to compress the lines of code
  9231. a bit.
  9232. 2005-11-02 Jackson Harper <[email protected]>
  9233. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  9234. set actions correctly. This isn't perfect as XDND and win32 have
  9235. some differences on how you allow actions. I'll clear this up by
  9236. adding a path for drag from MWF to MWF windows.
  9237. * XplatUIX11.cs: Hook into the dnd system.
  9238. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  9239. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  9240. previously shown but they are no longer need it. Very obvious when
  9241. browsing files with FileDialog.
  9242. 2005-11-01 Peter Dennis Bartok <[email protected]>
  9243. * Control.cs: We always need to call OnPaintBackground. We pretty much
  9244. ignore AllPaintingInWmPaint and always do the painting there, whether
  9245. it's set or not, since we always ignore the WM_ERASEBKGND message
  9246. (which we don't generate on X11). This fixes #76616.
  9247. * Panel.cs: Removed unneeded background painting. This happens properly
  9248. in Control.cs already
  9249. 2005-10-31 Mike Kestner <[email protected]>
  9250. * Menu.cs: Add items to collection before setting their index.
  9251. * MenuItem.cs : add range checking with ArgumentException like MS.
  9252. [Fixes #76510]
  9253. 2005-10-31 Jackson Harper <[email protected]>
  9254. * ListBox.cs: Invalidate if the area is visible at all not just
  9255. contained in the visible rect. Fixes unselection of semi visible
  9256. items.
  9257. 2005-10-31 Jackson Harper <[email protected]>
  9258. * Control.cs: Consistently name the dnd methods. Make them
  9259. internal so we can override them to match some MS behavoir
  9260. internally.
  9261. * Win32DnD.cs: Use the new consistent names.
  9262. 2005-10-31 Jackson Harper <[email protected]>
  9263. * TreeView.cs: Don't draw the selected node when we lose focus.
  9264. 2005-10-31 Jackson Harper <[email protected]>
  9265. * X11Dnd.cs: We still need to reset the state even though a full
  9266. reset isn't being done, otherwise status's still get sent all over
  9267. the place.
  9268. 2005-10-31 Jackson Harper <[email protected]>
  9269. * Control.cs: Make the dnd_aware flag internal so the dnd
  9270. subsystem can check it. Catch exceptions thrown in dnd handlers to
  9271. match MS behavoir.
  9272. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  9273. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  9274. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  9275. flags to reduce the number of dnd enters/status's sent.
  9276. 2005-10-31 Jackson Harper <[email protected]>
  9277. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  9278. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  9279. * PictureBox.cs: Fixes 76512
  9280. 2005-10-28 Jackson Harper <[email protected]>
  9281. * X11Dnd.cs: Early implementation to support winforms being a drag
  9282. source for data on X11. Also restructured the converters so they
  9283. can go both ways now.
  9284. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  9285. 2005-10-27 Peter Dennis Bartok <[email protected]>
  9286. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  9287. clipboard requests
  9288. 2005-10-27 Jackson Harper <[email protected]>
  9289. * TreeNode.cs: Implement serialization so my DnD examples will work.
  9290. 2005-10-24 Kornél Pál <[email protected]>
  9291. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  9292. TreeView.cs: Don't dispose objects that are not owned.
  9293. 2005-10-24 Peter Dennis Bartok <[email protected]>
  9294. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  9295. should retrieve the current cursor and report that, but XplatUI
  9296. doesn't (yet) have an interface for that (and I'm not sure I even
  9297. can, on X11)
  9298. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  9299. until any message loop processing is done (and the WM_SETCURSOR
  9300. replaces the cursor to the proper one)
  9301. * XplatUIX11.cs:
  9302. - Fixed override behaviour, we can't set the cursor globally on X11,
  9303. just for our windows.
  9304. - Invalidating the System.Drawing X11 display handle when we are
  9305. shutting down
  9306. * Control.cs: Fix to make csc happy
  9307. 2005-10-23 Peter Dennis Bartok <[email protected]>
  9308. * TextBoxBase.cs:
  9309. - get_Text: Add last line (without trailing newline) to returned
  9310. value (Fixes 76212)
  9311. - get_TextLength: Count last line in returned length
  9312. - ToString: Call Text property instead of duplicating code
  9313. 2005-10-23 Kornél Pál <[email protected]>
  9314. * ImageList.cs: Dispose ImageAttributes objects.
  9315. 2005-10-22 Kornél Pál <[email protected]>
  9316. * ImageList.cs: Use attribute constructors with less arguments where
  9317. possible.
  9318. 2005-10-22 Kornél Pál <[email protected]>
  9319. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  9320. Use typeof instead of strings when assembly is referenced. Added
  9321. some more comments.
  9322. 2005-10-21 Jackson Harper <[email protected]>
  9323. * ListView.cs: Raise a double click event. Also tried to somewhat
  9324. fix when the selectedindexchanged event is raised. Its still
  9325. broken though.
  9326. 2005-10-21 Jackson Harper <[email protected]>
  9327. * TreeView.cs: New method to invalidate the plus minus area of a
  9328. node without invalidating the whole node (maybe this can be used
  9329. in some more places).
  9330. * TreeNodeCollection.cs: When adding to an empty node we need to
  9331. invalidate its plus minus area so the little block shows up.
  9332. 2005-10-21 Jackson Harper <[email protected]>
  9333. * TreeView.cs: Make sure that when we invalidate a node the bounds
  9334. are big enough to cover the selected box and the focus
  9335. rectangle. Use a different colour for the lines connecting nodes
  9336. so they show up with all themes.
  9337. 2005-10-21 Peter Dennis Bartok <[email protected]>
  9338. * NativeWindow.cs: Don't call anything that could call into the driver,
  9339. we might be on a different thread.
  9340. 2005-10-21 Peter Dennis Bartok <[email protected]>
  9341. * Control.cs(Dispose): Since Dispose might run on a different thread,
  9342. make sure that we call methods that could call into the driver via
  9343. invoke, to avoid thread issues
  9344. 2005-10-21 Peter Dennis Bartok <[email protected]>
  9345. * XplatUI.cs: Removed finalizer
  9346. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  9347. not allowing to be called on the finalizer thread.
  9348. 2005-10-21 Kornél Pál <[email protected]>
  9349. * ImageList.cs:
  9350. - Reverted r51889 and r51891.
  9351. - Added ImageListItem class that stores unmodified image items and image
  9352. properties required to create list images until handle is created.
  9353. - Added AddItem and moved image creation logic to AddItemInternal.
  9354. - Added CreateHandle method that creates images based on unmodified items.
  9355. - Added DestroyHandle that changes state to store unmodified items.
  9356. - Add and AddStrip methods no more create handle.
  9357. - ReduceColorDepth has no return value.
  9358. - Dispose destroys handle.
  9359. - Modified other methods to reflect the above changes.
  9360. - Implemented key support.
  9361. - Added profile 2.0 members and attributes.
  9362. - Added private Reset and ShouldSerialize methods that provide the same
  9363. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  9364. them as they are private.
  9365. - Added some more comments about implementation details.
  9366. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  9367. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  9368. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  9369. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  9370. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  9371. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  9372. * DataGridColumnStyle.cs: Remove debug message
  9373. 2005-10-20 Jackson Harper <[email protected]>
  9374. * TreeView.cs: We can always get input keys regardless of whether
  9375. or not editing is enabled. They are used for navigation.
  9376. 2005-10-20 Jackson Harper <[email protected]>
  9377. * TreeNode.cs: Use the viewport rect for determining if a node
  9378. needs to be moved for visibility. Don't use Begin/End edit. This
  9379. calls a full refresh when its done.
  9380. * TreeView.cs: New SetBottom works correctly. Make the viewport
  9381. rect property internal so the treenodes can see it. When clicking
  9382. on a node we need to ensure that its visible because it might just
  9383. be partly visible when clicked.
  9384. 2005-10-20 Jackson Harper <[email protected]>
  9385. * TreeNodeCollection.cs: Remove debug code.
  9386. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  9387. * Datagrid.cs: Implements column sorting in Datagrid
  9388. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  9389. 2005-10-20 Jackson Harper <[email protected]>
  9390. * TreeNodeCollection.cs: Remove items properly. Update the correct
  9391. area after removing them.
  9392. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  9393. * Datagrid.cs: Should not call base.OnPaintBackground
  9394. 2005-10-20 Peter Dennis Bartok <[email protected]>
  9395. * XplatUIX11.cs (GetMessage):
  9396. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  9397. window instead of client window
  9398. - Now properly calculates NC_xBUTTONUP message coordinates
  9399. - ScreenToMenu now properly calculates it's coordinates of whole
  9400. window, since menus are in the whole window, not in the client
  9401. window
  9402. - Added WholeToScreen coordinate translation method
  9403. 2005-10-20 Peter Dennis Bartok <[email protected]>
  9404. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  9405. want to return a message, loop back to the beginning of the function
  9406. and grab the next real message to process instead.
  9407. 2005-10-20 Peter Dennis Bartok <[email protected]>
  9408. * Splitter.cs: Properly set limits if no filler control is used
  9409. 2005-10-19 Jackson Harper <[email protected]>
  9410. * ColorDialog.cs: Don't show the help button if it is not enabled
  9411. instead of disabling it (this is what MS does). Don't create the
  9412. panel until the dialog is run, otherwise the vars (such as
  9413. ShowHelp) are not set yet.
  9414. 2005-10-19 Jackson Harper <[email protected]>
  9415. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  9416. are reduced when adding nodes.
  9417. * TreeNode.cs:
  9418. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  9419. tree.
  9420. 2005-10-19 Jackson Harper <[email protected]>
  9421. * FolderBrowserDialog.cs: End editing our treeview so the window
  9422. actually gets refreshed.
  9423. 2005-10-18 Peter Dennis Bartok <[email protected]>
  9424. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  9425. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  9426. inside of WM_PAINT
  9427. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  9428. * MenuAPI.cs: Returns after Hidding window
  9429. * XplatUIX11.cs: Added TODO found while debugging menu issues
  9430. 2005-10-18 Peter Dennis Bartok <[email protected]>
  9431. * XplatUIX11.cs: Do not re-map the whole window when it's size
  9432. becomes non-zero unless it's supposed to be actually visible
  9433. 2005-10-18 Jackson Harper <[email protected]>
  9434. * TreeView.cs: We don't need to keep a count anymore.
  9435. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  9436. use the Grow method.
  9437. 2005-10-18 Jackson Harper <[email protected]>
  9438. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  9439. implement it manually here.
  9440. 2005-10-18 Jackson Harper <[email protected]>
  9441. * ImageList.cs: Dont kill the list when the colour depth is
  9442. changed, just change the colour depth of all the images.
  9443. - Same goes for setting the image size. Just resize them all
  9444. instead of killing the list softly.
  9445. 2005-10-18 Jackson Harper <[email protected]>
  9446. * Control.cs: Don't invalidate empty rectangles.
  9447. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  9448. * ListViewItem.cs:
  9449. - Adds checked item to the Checked/Item lists (where empty before)
  9450. - Do not add items to the Selected lists if they are already present
  9451. * ListView.cs:
  9452. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  9453. - When deleting items make sure that we delete them for the Selected
  9454. and Checked list also.
  9455. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  9456. * Label.cs: Dispose objects no longer used
  9457. * ThemeWin32Classic.cs: Dispose objects no longer used
  9458. 2005-10-18 Jackson Harper <[email protected]>
  9459. * TabControl.cs: Don't refresh the whole control when the tabs are
  9460. scrolled, we just need to refresh the tab area.
  9461. 2005-10-17 Jackson Harper <[email protected]>
  9462. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  9463. after handle when we need it.
  9464. 2005-10-17 Peter Dennis Bartok <[email protected]>
  9465. * Control.cs: When the parent size changes, recalculate anchor
  9466. positions. Partial fix for #76462
  9467. 2005-10-17 Peter Dennis Bartok <[email protected]>
  9468. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  9469. drawn. Fixes #76462
  9470. 2005-10-17 Jackson Harper <[email protected]>
  9471. * MonthCalendar.cs: Don't create the numeric up down until our
  9472. handle is created. Otherwise our handle is created in the
  9473. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  9474. yet.
  9475. 2005-10-17 Jackson Harper <[email protected]>
  9476. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  9477. correctly.
  9478. 2005-10-17 Rafael Teixeira <[email protected]>
  9479. * TreeNode.cs : small logical fix (was using local var instead of field)
  9480. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  9481. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  9482. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  9483. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  9484. 2005-10-16 Peter Dennis Bartok <[email protected]>
  9485. * Control.cs:
  9486. - Re-implemented anchoring code. My first version was really broken.
  9487. This fixes bug #76033. Unlike the previous implementation we will
  9488. no longer have round errors since all numbers are calculated from
  9489. scratch every time. Removed various anchor-related obsolete vars.
  9490. - InitLayout no longer causes layout event firing and layout to be
  9491. performed
  9492. 2005-10-16 Jackson Harper <[email protected]>
  9493. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  9494. which was broken).
  9495. 2005-10-16 Jackson Harper <[email protected]>
  9496. * TabControl.cs: Remove debug code.
  9497. 2005-10-16 Jackson Harper <[email protected]>
  9498. * XEventQueue.cs: Increase the default queue size (very simple
  9499. apps needed to grow the queue).
  9500. * Hwnd.cs: No finalizer so we don't need to suppress
  9501. finalization. Compute the invalid area manually so a new rectangle
  9502. does not newto be created.
  9503. * ScrollableControl.cs: Don't set any params (otherwise visibility
  9504. isn't set correctly).
  9505. * MdiChildContext.cs: New constructor takes the mdi parent so it
  9506. doesn't have to be computed and avoids a crash on windows. Draw
  9507. the window icon properly, and allow the text to be seen.
  9508. * Form.cs: Use new MdiChildContext constructor. Make sure the
  9509. child context isn't null in wndproc.
  9510. * TabControl.cs: Don't set focus, this is muddling keyboard
  9511. behavoir. Expand the tab rows when a window size increase will
  9512. allow extra tabs to be seen. Don't allow tabs smaller than the
  9513. width of a window to be scrolled out of view.
  9514. * TreeNode.cs:
  9515. * TreeView.cs: Use measure string to calculate a nodes width, the
  9516. width is cached and only updated when the text or the font is
  9517. changed. Don't check for expand/collapse clicks on the first level
  9518. nodes if root lines are disabled.
  9519. 2005-10-16 Ritvik Mayank <[email protected]>
  9520. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  9521. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  9522. * DataGridBoolColumn.cs: fixes warning
  9523. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  9524. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  9525. to match more to match more precisely the MS Net behavior
  9526. 2005-10-13 Peter Dennis Bartok <[email protected]>
  9527. * Hwnd.cs: Added field to track if window is mapped
  9528. * XplatUIX11.cs:
  9529. - Unmap windows if they become 0-size, re-map when
  9530. they are >0 again; fixes #76035
  9531. - Re-set our error handler after initializing X11Desktop
  9532. to override any error handlers Gtk or whatever was called
  9533. may have set.
  9534. 2005-10-13 Peter Dennis Bartok <[email protected]>
  9535. * CheckedListBox.cs: Removed unused vars
  9536. * ListView.cs: Fixed signatures
  9537. * RichTextBox.cs: Removed unused vars
  9538. * TextBoxBase.cs: Removed unused vars
  9539. * XplatUIWin32.cs: Removed unused vars
  9540. * XplatUIX11.cs: Removed unused vars
  9541. * XplatUI.cs: Updated version and date to latest published
  9542. 2005-10-13 Peter Dennis Bartok <[email protected]>
  9543. * Cursor.cs: Added private .ctor to work around a bug in
  9544. resourceset (Thanks to Geoff Norton for the help on this)
  9545. * SplitterEventArgs.cs: Made fields accessible so we don't
  9546. waste boatloads of objects and can reuse the same one
  9547. in Splitter
  9548. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  9549. any captions and borders when generating screen coordinates
  9550. * Splitter.cs: Reimplemented control, now fully complete, uses
  9551. rubberband drawing, supports and obeys all properties, has
  9552. proper cursors
  9553. 2005-10-13 Miguel de Icaza <[email protected]>
  9554. * Form.cs (Form): Setup default values for autoscale and
  9555. autoscale_base_size; Make these instance variables, not static
  9556. variables.
  9557. (OnLoad): on the first load, adjust the size of the form.
  9558. 2005-10-13 Peter Dennis Bartok <[email protected]>
  9559. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  9560. width argument to DrawReversibleRectangle()
  9561. * XplatUIWin32.cs, XplatUIX11.cs:
  9562. - Implemented width for DrawReversibleRectangle()
  9563. - Added logic to DrawReversibleRectangle that recognizes a zero
  9564. width or height and only draws a line in that situation
  9565. 2005-10-12 Peter Dennis Bartok <[email protected]>
  9566. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  9567. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  9568. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  9569. method (it uses our FosterParent window to get a graphics context)
  9570. 2005-10-12 Peter Dennis Bartok <[email protected]>
  9571. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  9572. and SetWindowBackground methods
  9573. * Control.cs:
  9574. - Setting proper ControlStyles
  9575. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  9576. EraseWindowBackground, instead we draw the window background
  9577. ourselves in PaintControlBackground. This behaviour is
  9578. required to match MS, where, when OnPaintBackground is not
  9579. called, the background is not drawn.
  9580. - Removed unneeded Refresh() in set_Text
  9581. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  9582. * XplatUIX11.cs:
  9583. - Created DeriveStyles method to translate from CreateParams to
  9584. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  9585. matches FormBorderStyle enum values)
  9586. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  9587. style calculations into single DeriveStyles method
  9588. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  9589. from redrawing the whole window on any resize or expose.
  9590. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  9591. all styles were applied to our whole/client window appropriately
  9592. - Removed EraseWindowBackground() and SetWindowBackground() methods
  9593. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  9594. no longer clear/redraw the background through X
  9595. - Removed handling of erase_pending bit, we have no use for it (or
  9596. so it seems)
  9597. * XplatUIOSX.cs:
  9598. - Removed generation and handling of WM_ERASEBKGND message
  9599. - Removed EraseWindowBackground() and SetWindowBackground() methods
  9600. - Removed handling of hwnd.ErasePending flag
  9601. * XplatUIWin32.cs:
  9602. - Removed EraseWindowBackground() and SetWindowBackground() methods
  9603. - We no longer call EraseWindowBackground on PaintEventStart, we
  9604. ignore the fErase flag, erasing is handled in Control in the
  9605. background handler
  9606. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  9607. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  9608. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  9609. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  9610. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  9611. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  9612. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  9613. 2005-10-12 Jonathan Chambers <[email protected]>
  9614. * PropertyGrids.cs: Get sub properties
  9615. * PropertyGridView.cs: Fix drawing code
  9616. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9617. * ListBox.cs: Fixes 76383
  9618. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9619. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  9620. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  9621. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  9622. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9623. * ComboBox.cs: Fixes border drawing
  9624. 2005-10-10 Miguel de Icaza <[email protected]>
  9625. * MimeIcon.cs: Ignore errors if the file can not be read.
  9626. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9627. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  9628. - Fixed border calculations
  9629. - Fixed horizontal scrolling in single column listboxes
  9630. - Fixed drawing issues
  9631. 2005-10-10 Peter Dennis Bartok <[email protected]>
  9632. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  9633. FormBorderStyle enum
  9634. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  9635. code to determine FormBorderStyles from CreateParams
  9636. * Form.cs:
  9637. - Fixed bug where we'd set the wrong window styles if we were
  9638. not creating an MDI window
  9639. - Added call to XplatUI.SetBorderStyle when form borders are set
  9640. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  9641. * Hwnd.cs:
  9642. - Removed obsolete edge style
  9643. - Switched from BorderStyle to FormBorderStyle
  9644. 2005-10-10 Jackson Harper <[email protected]>
  9645. * Form.cs: Use the property to get the window handle instead of
  9646. accessing it directly. Prevents a null reference exception.
  9647. 2005-10-10 Jackson Harper <[email protected]>
  9648. * TreeView.cs: Don't adjust the rect given to DrawString now that
  9649. our libgdiplus draws correctly.
  9650. 2005-10-08 Jackson Harper <[email protected]>
  9651. * TreeView.cs: Don't try to find the clicked on node if there are
  9652. no nodes in the tree.
  9653. 2005-10-08 Alexander Olk <[email protected]>
  9654. * RichTextBox.cs:
  9655. restore
  9656. 2005-10-08 Alexander Olk <[email protected]>
  9657. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  9658. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  9659. ErrorProvider.cs:
  9660. Use ResPool for brushes and dispose System.Drawing objects that
  9661. are not used anymore.
  9662. 2005-10-07 Jackson Harper <[email protected]>
  9663. * MdiChildContext.cs: Use the new borders instead of drawing them
  9664. ourselves.
  9665. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  9666. * Calling UpdateBounds after changing the window's BorderStyle
  9667. since the style can change the ClientSize
  9668. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9669. * Control.cs: Made PaintControlBackground virtual
  9670. * Panel.cs: Overriding PaintControlBackground instead of using paint
  9671. event; paint event method was interfering with 'real' users of the
  9672. event.
  9673. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  9674. * ThemeWin32Classic.cs: remove border drawing since it is handled
  9675. by the base control class now and was causing double border drawing.
  9676. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9677. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  9678. but it does seem to match MS behaviour. This fixes bug #75324
  9679. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9680. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  9681. somewhat hackish looking
  9682. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9683. * TextBoxBase.cs:
  9684. - We now accept Enter even if AcceptEnter is false, if the containing
  9685. form does not have an AcceptButton configured (fixes bug #76355)
  9686. - Calculations are now fixed to no longer use Width/Height, but
  9687. ClientSize.Width/Height, since we now support borders (this was
  9688. a result of fixing borders and therefore bug #76166)
  9689. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  9690. true (fixes bug #76354)
  9691. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9692. * Control.cs:
  9693. - Defaulting BorderStyle and setting it in XplatUI when our window
  9694. is created
  9695. - Added enum check to InternalBorderStyle setter
  9696. * XplatUIX11.cs:
  9697. - Added drawing of window borders
  9698. - Now properly calculates WM decorations offset for toplevel
  9699. windows (fixes bug #74763)
  9700. * XplatUIWin32.cs:
  9701. - Implemented BorderStyles for windows (we're letting win32 draw
  9702. the border for us)
  9703. - Fixed the signature for SetWindowLong
  9704. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  9705. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  9706. setting borders
  9707. * UpDownBase.cs: Remove drawing of borders, this is handled by
  9708. the driver, outside the client area
  9709. * ListView.cs: Removed bogus border calculations. The control should
  9710. be oblivious to borders, since those are not part of the client
  9711. area.
  9712. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  9713. * ThemeWin32Classic.cs: Removed border calculations from ListView
  9714. drawing code
  9715. 2005-10-06 Jackson Harper <[email protected]>
  9716. * MdiChildContext.cs: Clear out the old virtual position remove
  9717. all the unneeded calls to CreateGraphics.
  9718. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9719. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  9720. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9721. * Form.cs:
  9722. - Added loading and setting of our new default icon
  9723. - Only set icon if window is already created
  9724. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9725. * Label.cs:
  9726. - Do not explicitly set the foreground and background colors, to
  9727. allow inheriting from parents (fixes #76302)
  9728. - Use Control's InternalBorderStyle property to deal with borders
  9729. 2005-10-06 Jackson Harper <[email protected]>
  9730. * MdiChildContext.cs: Use the new xplatui function to draw a
  9731. reversible rect.
  9732. 2005-10-06 Jackson Harper <[email protected]>
  9733. * Form.cs: Add the parent before creating the child context cause
  9734. we need the parent when setting up the child.
  9735. 2005-10-06 Jackson Harper <[email protected]>
  9736. * FolderBrowserDialog.cs: redo the tree population code so a
  9737. second thread isn't used. Should be a lot faster and more stable
  9738. now.
  9739. 2005-10-05 Jackson Harper <[email protected]>
  9740. * TreeView.cs: There are no expand/collapse boxes if the node has
  9741. no children.
  9742. 2005-10-05 Jackson Harper <[email protected]>
  9743. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  9744. 2005-10-05 Alexander Olk <[email protected]>
  9745. * FileDialog.cs: Fix InitialDirectory
  9746. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  9747. * ComboBox.cs:
  9748. - Fixes changing between styles
  9749. - Fixes simple mode
  9750. - Fixes last item crashing when navigating with keyboard
  9751. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  9752. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  9753. 2005-10-05 Jackson Harper <[email protected]>
  9754. * TreeView.cs: If updating the root node do a full refresh.
  9755. * TreeNode.cs: The root node should be expanded by default. Also
  9756. added a utility prop to tell if we are the root node.
  9757. * TreeNodeCollection.cs: Only refresh if the node we are being
  9758. added to is expanded. Also added a comment on a potential
  9759. optimization.
  9760. 2005-10-04 Peter Dennis Bartok <[email protected]>
  9761. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  9762. in dispose method. Fixes #76330
  9763. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  9764. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  9765. - Implements vertical and horizontal scrolling using XplatUI
  9766. - Fixes keyboard navagation
  9767. - Fixes EnsureVisible
  9768. - Drawing fixes
  9769. - Handles and draws focus properly
  9770. 2005-10-04 Kornél Pál <[email protected]>
  9771. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  9772. Create handle. NET_2_0: Destroy handle when value is null.
  9773. 2005-10-03 Jackson Harper <[email protected]>
  9774. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  9775. revert and a new patch to prevent the thumb from refreshing so
  9776. much.
  9777. 2005-10-02 Jackson Harper <[email protected]>
  9778. * ScrollBar.cs: Don't update position if it hasn't actually
  9779. changed. This occurs when you hold down the increment/decrement
  9780. buttons and the thumb gets to the max/min.
  9781. 2005-10-01 Jackson Harper <[email protected]>
  9782. * Form.cs:
  9783. * MdiChildContext.cs:
  9784. * MdiClient.cs: Implement ActiveMdiChild in Form.
  9785. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  9786. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  9787. 2005-10-01 Peter Dennis Bartok <[email protected]>
  9788. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  9789. be found
  9790. 2005-09-30 Jackson Harper <[email protected]>
  9791. * ListBox.cs: Don't do a full refresh unless some data has
  9792. actually changed.
  9793. 2005-09-30 Jackson Harper <[email protected]>
  9794. * TreeView.cs: Make sure that the checkboxes size is factored in
  9795. even when not visible.
  9796. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9797. * FileDialog.cs: Fix Jordi's build break
  9798. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  9799. * FileDialog.cs:
  9800. - Use standard the Windows colours for the combobox as espected
  9801. - Dispose objects that use resouces when no longer need them
  9802. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9803. * X11DesktopColors.cs: Initial incomplete implementation
  9804. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  9805. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9806. * Theme.cs:
  9807. - Switched Theme color names to match the names defined in
  9808. System.Drawing.KnownColors. Life's hard enough, no need to make
  9809. it harder.
  9810. - Added setters to all theme color properties so themes can set
  9811. their color schemes. The setters also propagate the color changes
  9812. to System.Drawing.KnownColors via reflection
  9813. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  9814. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  9815. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  9816. use the new, more logical theme color names
  9817. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  9818. post-NT colors
  9819. * ThemeWin32Classic.cs:
  9820. - Removed code to set the old classic Windows colors. Instead it
  9821. now relies on the colors returned by System.Drawing.KnownColors
  9822. which will be either modern static colors (Unix) or colors
  9823. read from the user's configuration (Win32)
  9824. - Updated to use the new, more logical theme color names
  9825. - Switched DataGrid drawing code to use only Theme colors instead of
  9826. a mix of System.Drawing.KnownColors and Theme colors
  9827. - DrawFrameControl(): Removed code that fills the button area, the
  9828. fill would overwrite any previous fill done by a control. This
  9829. fixes bug #75338
  9830. - Added DrawReversibleRectangle() stub
  9831. * ScrollableControl.cs: Set visible state to false when scrollbars
  9832. are removed (pdn fix)
  9833. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  9834. DrawReversibleRectangle() method to allow drawing primitive
  9835. 'rubber bands'
  9836. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  9837. 2005-09-30 Kornél Pál <[email protected]>
  9838. * ImageList.cs: Add(Icon): Create handle.
  9839. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  9840. * ListView.cs:
  9841. * ThemeWin32Classic.cs:
  9842. - Fixes detail mode
  9843. - Sets clippings
  9844. - Issues with drawing
  9845. 2005-09-30 Kornél Pál <[email protected]>
  9846. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  9847. source has to be the ImageList.
  9848. 2005-09-30 Kornél Pál <[email protected]>
  9849. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  9850. 2005-09-30 Kornél Pál <[email protected]>
  9851. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  9852. 2005-09-30 Kornél Pál <[email protected]>
  9853. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  9854. 2005-09-29 Jonathan Chambers <[email protected]>
  9855. * GridItem.cs: Fixed TODOs
  9856. * GridItemCollection.cs: Added ICollection interface
  9857. 2005-09-30 Kornél Pál <[email protected]>
  9858. * ImageList.cs: Resize icons when needed.
  9859. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  9860. * ListViewItem.cs
  9861. - Fixes GetBounds and returns on screen rects
  9862. * ListView.cs:
  9863. - Fixes vertical and horzintal scrolling of items
  9864. * ThemeWin32Classic.cs:
  9865. - Fixes drawing
  9866. 2005-09-29 Raja R Harinath <[email protected]>
  9867. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  9868. 2005-09-29 Kornél Pál <[email protected]>
  9869. * ImageList.cs: Added comments about handle creation. Moved Handle,
  9870. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  9871. Handle is created in Add methods.
  9872. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  9873. * DataGridDrawingLogic.cs:
  9874. - Takes rows into account on Colum calculations
  9875. - Returns the column when clickig
  9876. * DataGrid.cs:
  9877. - Fixes default HitTestInfo values
  9878. - Fixes HitTestInfo.ToString
  9879. - Fixes ResetBackColor
  9880. 2005-09-28 Jackson Harper <[email protected]>
  9881. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  9882. sizing or cursor changes). Also added some temp code to draw the
  9883. titlebars text (Makes dev a little easier).
  9884. 2005-09-28 Kornél Pál <[email protected]>
  9885. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  9886. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  9887. * ListBox.cs: Fixes bug 76253
  9888. 2005-09-28 Kornél Pál <[email protected]>
  9889. * ImageList.cs: Added comments about the current implementation. Added
  9890. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  9891. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  9892. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  9893. with Bitmap.LockBits for better performance. Revised the whole file to
  9894. match MS.NET behaviour and provide better performance. Non-public
  9895. interface members are calling public members even when they throw
  9896. NotSupportedException for better maintainability. Moved ColorDepth,
  9897. ImageSize, ImageStream and TransparentColor implementations to
  9898. ImageCollection for better performance as these properties are not used
  9899. by ImageList.
  9900. * ImageListStreamer.cs: Added a new internal constructor that takes an
  9901. ImageList.ImageCollection and serializes Images based on
  9902. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  9903. match ImageList property name.
  9904. 2005-09-28 Kazuki Oikawa <[email protected]>
  9905. * ListBox.cs: Fixes IndexFromPoint for last item
  9906. 2005-09-27 Jackson Harper <[email protected]>
  9907. * Form.cs: Set the position of new mdi children correctly.
  9908. 2005-09-27 Jackson Harper <[email protected]>
  9909. * MdiClient.cs: New mdi children need to be added to the back of
  9910. the controls collection so the zorder is set correctly. Also add a
  9911. count of all the child windows that have been created.
  9912. 2005-09-27 Jackson Harper <[email protected]>
  9913. * Form.cs (CreateParams): Setup MDI forms correctly.
  9914. 2005-09-27 Jackson Harper <[email protected]>
  9915. * MdiChildContext.cs:
  9916. * MonthCalendar.cs:
  9917. * UpDownBase.cs:
  9918. * ListBox.cs:
  9919. * ListView.cs:
  9920. * TextBoxBase.cs:
  9921. * TreeView.cs:
  9922. * ScrollableControl.cs:
  9923. * ComboBox.cs: Add implicit controls using the new implict control
  9924. functionality in ControlCollection. Also try to block multiple
  9925. control add in a suspend/resume layout to save some cycles.
  9926. 2005-09-27 Jackson Harper <[email protected]>
  9927. * Control.cs: Add functionality to the controls collection to add
  9928. 'implicit controls' these are controls that are created by the
  9929. containing control but should not be exposed to the user. Such as
  9930. scrollbars in the treeview.
  9931. * Form.cs: The list var of the ControlsCollection is no longer
  9932. available because of the potential of implicit controls getting
  9933. ignored by someone accessing the list directly.
  9934. 2005-09-26 Peter Dennis Bartok <[email protected]>
  9935. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  9936. loose it's parent. (Fixed bug introduced in r49103 when we added
  9937. setting the child parent to null on Remove)
  9938. 2005-09-26 Gert Driesen <[email protected]>
  9939. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  9940. * Splitter.cs: Added missing attributes for BorderStyle property.
  9941. * TextBoxBase.cs: Marked Calculate* methods internal.
  9942. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  9943. MS.NET.
  9944. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  9945. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  9946. 2005-09-25 Jackson Harper <[email protected]>
  9947. * TreeView.cs: Update the node bounds correctly regardless of
  9948. whether the node is visible.
  9949. 2005-09-25 Jackson Harper <[email protected]>
  9950. * ImageList.cs: Don't dispose the image after it is added to the
  9951. image list. Only reformat images that need to be resized.
  9952. 2005-09-25 Jackson Harper <[email protected]>
  9953. * ImageList.cs: Don't set the format when changing the image.
  9954. 2005-09-25 Jackson Harper <[email protected]>
  9955. * TreeView.cs: We can't just assume the node has a font. Use the
  9956. treeviews font if no node font is available.
  9957. 2005-09-25 Jackson Harper <[email protected]>
  9958. * TreeView.cs: Allow the scrollbars to be reset with negative
  9959. values.
  9960. - Don't add scrollbars to negative sized windows.
  9961. 2005-09-23 Jackson Harper <[email protected]>
  9962. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  9963. old Mono.Posix. Also remove some stray code that shouldn't have
  9964. been committed.
  9965. 2005-09-23 Jackson Harper <[email protected]>
  9966. * TreeView.cs: Attempt at proper sizing of the horizontal
  9967. scrollbar. Also don't resize the scrollbars unless they are
  9968. visible.
  9969. 2005-09-23 Jackson Harper <[email protected]>
  9970. * TreeView.cs: We don't need to expand the invalid area when the
  9971. selection changes, as this is all drawn in the node's bounding
  9972. box. The area needs to be expanded (previous typo was contracting
  9973. it) when the focus rect moves.
  9974. 2005-09-23 Jackson Harper <[email protected]>
  9975. * TreeView.cs: Display the selection box under the correct
  9976. circumstances. We were rendering white text with no selection box
  9977. before.
  9978. 2005-09-23 Peter Dennis Bartok <[email protected]>
  9979. * TextControl.cs(Split): Now updates selection start/end if it points
  9980. into a line that's being split. Fixes a FIXME and bug #75258
  9981. 2005-09-23 Jackson Harper <[email protected]>
  9982. * Binding.cs:
  9983. * ListControl.cs: Don't use the path when retrieving binding
  9984. managers from the binding context. My bat sense tells me that the
  9985. path is only used on insertion.
  9986. 2005-09-22 Jackson Harper <[email protected]>
  9987. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  9988. 2005-09-22 Jackson Harper <[email protected]>
  9989. * Splitter.cs: There are special cursors used for splitting.
  9990. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  9991. 2005-09-22 Jackson Harper <[email protected]>
  9992. * Splitter.cs: Change the cursor appropriately when the splitter
  9993. is moused over, so the user actually knows there is a splitter
  9994. there.
  9995. 2005-09-22 Hisham Mardam Bey <[email protected]>
  9996. * Label.cs : Fix ToString method to give same output as MS.NET
  9997. 2005-09-22 Jackson Harper <[email protected]>
  9998. * TreeView.cs: Create the scrollbars when the handle is created
  9999. and add them right away, just make them invisble. Also account for
  10000. the window being shrunk vertically to the point that the vert
  10001. scrollbar needs to be added.
  10002. - Remove some 0.5 adjustments to get around anti aliasing issues.
  10003. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  10004. * MainMenu.cs: Fixes default value
  10005. * MenuItem.cs: Fixes default value
  10006. 2005-09-22 Kazuki Oikawa <[email protected]>
  10007. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  10008. 2005-09-21 Jackson Harper <[email protected]>
  10009. * Control.cs: Don't try to set the border style on the window if
  10010. it hasn't been created. When the window is created the border
  10011. style will be used.
  10012. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10013. * Control.cs (Update): Don't call XplatUI if we don't have a
  10014. window handle yet
  10015. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10016. * ContainerControl.cs: Instead of throwing an exception, print
  10017. a one-time warning about Validate not being implemented
  10018. * XplatUIWin32.cs: Removed debug output
  10019. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10020. * Control.cs: Only set XplatUI background if we expect the windowing
  10021. system to handle the background. This stops controls that draw their
  10022. own background from flickering
  10023. * XplatUIX11.cs: Support custom visuals and colormaps for window
  10024. creation. This allows, amongst other things, using MWF X11 windows
  10025. with OpenGL.
  10026. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10027. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  10028. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  10029. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  10030. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  10031. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  10032. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  10033. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  10034. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  10035. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  10036. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  10037. GridColumnStylesCollection.cs,
  10038. IDataGridColumnStyleEditingNotificationService.cs,
  10039. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  10040. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  10041. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  10042. TreeNodeCollection.cs, AmbientProperties.cs,
  10043. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  10044. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  10045. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  10046. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  10047. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  10048. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  10049. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  10050. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  10051. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  10052. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  10053. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  10054. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  10055. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  10056. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  10057. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  10058. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  10059. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  10060. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  10061. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  10062. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  10063. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  10064. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  10065. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  10066. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  10067. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  10068. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  10069. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  10070. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  10071. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  10072. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  10073. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  10074. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  10075. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  10076. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  10077. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  10078. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  10079. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  10080. 2005-09-21 Jackson Harper <[email protected]>
  10081. * TreeNode.cs: Call Before/After Expand not Collapse when
  10082. expanding.
  10083. 2005-09-20 Jackson Harper <[email protected]>
  10084. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  10085. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  10086. * ListViewItem.cs:
  10087. - Fixes bug 76120
  10088. - Fixes proper storing of subitems
  10089. - Fixes not updated items
  10090. 2005-09-20 Peter Dennis Bartok <[email protected]>
  10091. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  10092. things if our window handle isn't created yet. Also disabled
  10093. debug for TextBoxBase
  10094. 2005-09-20 Peter Dennis Bartok <[email protected]>
  10095. * MenuAPI.cs: Remove filtering of events to allow menu usage
  10096. 2005-09-20 Miguel de Icaza <[email protected]>
  10097. * Cursor.cs: Allow null to be passed to Cursor.Current.
  10098. 2005-09-20 Alexander Olk <[email protected]>
  10099. * ThemeWin32Classic.cs:
  10100. - Change some private methods/fields to protected virtual so that
  10101. they can be accessed and overriden in derived classes
  10102. - First refactoring of some methods. Derived themes now don't
  10103. need to duplicate the complete code from ThemeWin32Classic
  10104. * ThemeNice.cs:
  10105. - Added nice StatusBar
  10106. - Derive from ThemeWin32Classic and not Theme
  10107. - Removed duplicate ThemeWin32Classic code
  10108. 2005-09-20 Miguel de Icaza <[email protected]>
  10109. * Control.cs (ControlCollection.Add): If the value null is passed
  10110. the control is ignored.
  10111. Optimize this loop.
  10112. 2005-09-19 Peter Dennis Bartok <[email protected]>
  10113. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  10114. PostQuitMessage state.
  10115. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  10116. 2005-09-19 Peter Dennis Bartok <[email protected]>
  10117. * Application.cs: Our constructor will never get called, move
  10118. initialization to fields; fixes bug #75933
  10119. 2005-09-19 Hisham Mardam Bey <[email protected]>
  10120. * FileDialog.cs :
  10121. - Allow files to be selected properly using file name
  10122. combo box.
  10123. - Add ability to change diretory (absolute / relative)
  10124. using file name combo box.
  10125. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  10126. * ListBox.cs:
  10127. - Fixes Multicolumn listboxes item wrong calculations
  10128. - Allows to click when only one item is in the listbox
  10129. - Fixes crash when no items using keyboard navigation
  10130. 2005-09-16 Alexander Olk <[email protected]>
  10131. * ComboBox.cs: Reverted almost everything from the latest patch which
  10132. broke ComboBox
  10133. 2005-09-16 Kazuki Oikawa <[email protected]>
  10134. * ToolTip.cs:
  10135. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  10136. * ComboBox.cs:
  10137. - When DropDownStyle is Simple, it does not show scrollbar
  10138. to the last item of the list.
  10139. - When DropDownStyle is Simple, it crashed when the list was
  10140. scrolled down with the down cursor key.
  10141. - Fixed a bug that when DropDownStyle is DropDownList, the
  10142. selected item was not shown.
  10143. - The position of the selected item was not preserved when
  10144. the next dropdown happened.
  10145. * ThemeWin32Classic.cs:
  10146. - Items were wrapped at the right end.
  10147. * CheckedListBox.cs:
  10148. - Fixed Add method
  10149. * ListBox.cs:
  10150. - Items should be fully shown.
  10151. - When resizing and vertical scrollbar disappeared, the item
  10152. of index 0 should be on the top of the list.
  10153. - GetItemRectangle should consider the size of ver. scrollbar
  10154. * StatusBar.cs:
  10155. - SizingGrip area should not be allocated when it is not
  10156. displayed.
  10157. - Now it reflects MinWidth of the containing panel and
  10158. fixed a crash that happens when its width becomes so small.
  10159. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  10160. * CheckedListBox.cs: Fixes bug 76028
  10161. * ListBox.cs: Fixes bug 76028
  10162. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  10163. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  10164. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  10165. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  10166. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  10167. 2005-09-09 Jonathan Chambers <[email protected]>
  10168. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  10169. 2005-09-09 Jonathan Chambers <[email protected]>
  10170. * IRootGridEntry.cs: Added
  10171. * PropertyGridCommands.cs: Added
  10172. * PropertiesTab.cs: Added missing methods and property
  10173. * PropertyGridView.cs: Made class internal
  10174. * PropertyGridTextBox.cs: Made class internal
  10175. 2005-09-09 Alexander Olk <[email protected]>
  10176. * MimeIcon.cs: Try to check some other environment variables
  10177. if "DESKTOP_SESSION" returns "default"
  10178. 2005-09-09 Alexander Olk <[email protected]>
  10179. * ThemeNice.cs: Corrected background colors (e.g. menus)
  10180. * ColorDialog.cs: Use correct background colors for controls
  10181. 2005-09-09 Alexander Olk <[email protected]>
  10182. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  10183. 2005-09-08 Peter Dennis Bartok <[email protected]>
  10184. * RichTextBox.cs: Added initial implementation
  10185. * lang.cs: Removed. Was accidentally checked in long time ago
  10186. * TODO: Removed. Contents were obsolete
  10187. 2005-09-06 Jonathan Chambers <[email protected]>
  10188. * PropertiesTab.cs : Added
  10189. 2005-09-06 Jonathan Chambers <[email protected]>
  10190. * PropertyGrid.cs : Update
  10191. * PropertyGridView.cs : Update
  10192. * System.Windows.Forms.resx : Added images and strings
  10193. 2005-09-06 Peter Dennis Bartok <[email protected]>
  10194. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  10195. 2005-09-06 Peter Dennis Bartok <[email protected]>
  10196. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  10197. a busy loop right after the Ungrab the X11 display is otherwise
  10198. blocked
  10199. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  10200. * ThemeWin32Classic.cs: Optimise the use of clipping
  10201. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  10202. * DataGrid.cs: fixes recursion bug
  10203. 2005-09-03 Alexander Olk <[email protected]>
  10204. * ThemeNice.cs:
  10205. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  10206. - Cleanup
  10207. 2005-09-02 Alexander Olk <[email protected]>
  10208. * ThemeNice.cs: Draw nice ProgressBars
  10209. 2005-09-01 Miguel de Icaza <[email protected]>
  10210. * VScrollBar.cs: Another buglet found by Aaron's tool.
  10211. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  10212. bug finder.
  10213. 2005-08-30 Alexander Olk <[email protected]>
  10214. * ThemeNice.cs:
  10215. - Added nicer menu drawing
  10216. - Updated DrawTab
  10217. - some refactoring
  10218. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10219. * CreateParams.cs (ToString): Made output match MS
  10220. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  10221. handle is already created (to avoid forcing window creation)
  10222. * XplatUIX11.cs: Set window text to caption after creating window,
  10223. in case Text was set before window was created
  10224. * Form.cs: Use this.Text instead of a static string as caption
  10225. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10226. * NotifyIcon.cs: Don't set the window to visible; this screws
  10227. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  10228. OnPaint without a bitmap)
  10229. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  10230. happen very often anyway; we could add the check to the WM_PAINT
  10231. event generation code
  10232. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10233. * NotifyIcon.cs: Fill the icon area with a background color, to
  10234. avoid 'residue' when transparent icons are drawn
  10235. * XplatUIX11.cs:
  10236. - Handle whole_window == client_window when destroying windows
  10237. - SystrayAdd(): Set client_window to whole_window value to
  10238. get mouse and other events passed to NotifyIcon
  10239. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10240. * Form.cs: Set proper default for Opacity property
  10241. * NotifyIcon.cs:
  10242. - ShowSystray(): Don't bother creating telling the OS
  10243. about the systray item if no icon is provided
  10244. - Now handles WM_NCPAINT message to deal with whole/client window
  10245. split
  10246. - Create window as visible to not get caught by Expose optimization
  10247. * Hwnd.cs: Removed debug message
  10248. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  10249. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  10250. PaintEventStart/End to use new client argument
  10251. * TextBoxBase.cs:
  10252. - Commented out debug messages
  10253. - Switched PaintEventStart/End to use new client argument
  10254. * XplatUI.cs: Added client window bool to PaintEventStart()/
  10255. PaintEventEnd() calls, to support drawing in non-client areas
  10256. * XplatUIDriver.cs:
  10257. - Added client window bool to PaintEventStart()/PaintEventEnd()
  10258. calls, to support drawing in non-client areas
  10259. - Added conditional compile to allow using MWF BeginInvoke
  10260. on MS runtime
  10261. * XplatUIX11.cs:
  10262. - Added some conditional debug output
  10263. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  10264. whole/client window split
  10265. - Implemented handling of client argument to PaintEventStart()/End()
  10266. * Control.cs:
  10267. - Throw exception if BeginInvoke() is called and the window handle
  10268. or one of the window's parent handles is not created
  10269. - Added conditional compile to allow using MWF BeginInvoke on
  10270. MS runtime
  10271. - get_Parent(): Only sets parent if handle is created. This avoids
  10272. forcing window handle creation when parent is set.
  10273. - Now fires Layout and Parent changed events in proper order
  10274. - Switched to use Handle instead of window.Handle for Z-Order setting,
  10275. the get_Parent() patch above causes us to possibly get null for 'window'
  10276. - Implemented handling of client argument to PaintEventStart()/End()
  10277. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  10278. default handling)
  10279. - Now sends a Refresh() to all child windows when Refresh() is called
  10280. 2005-08-29 Peter Dennis Bartok <[email protected]>
  10281. * Form.cs: Added (non-functional) Opacity property
  10282. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  10283. 2005-08-29 Alexander Olk <[email protected]>
  10284. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  10285. use export MONO_THEME=nice to activate it.
  10286. Currently supported controls:
  10287. - Button
  10288. - ComboBox
  10289. - ScrollBar
  10290. - TabControl (TabAlignment.Top only, other will follow)
  10291. * ThemeEngine.cs: Add theme nice
  10292. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  10293. if enabled
  10294. 2005-08-25 Jonathan Chambers <[email protected]>
  10295. * Splitter.cs: Resize docked control and its neighbor.
  10296. 2005-08-24 Rafael Teixeira <[email protected]>
  10297. -- Making Windows with Menus layout correctly --
  10298. * Form.cs : The first leg of the fix
  10299. Menu setter - adjust Client Size as needed to make space for the menu
  10300. SetClientSizeCore - doesn't call base version to be able to pass the
  10301. menu handle to XplatUI.CalculateWindowRect
  10302. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  10303. * XplatUIX11.cs: The critical second leg of the fix
  10304. GetWindowPos needs to use a recalculated client_rect
  10305. so that resizing the window doesn't break layout of child controls.
  10306. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  10307. Lots of \t\n killed
  10308. 2005-08-23 Peter Dennis Bartok <[email protected]>
  10309. * Label.cs: Now properly recalculates width and height on Font and Text
  10310. changes if AutoSize is set
  10311. 2005-08-19 Rafael Teixeira <[email protected]>
  10312. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  10313. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  10314. * ImageList.cs: Makes ToString method compatible with MS
  10315. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  10316. * MenuAPI.cs: fixes bug 75716
  10317. 2005-08-11 Umadevi S <[email protected]>
  10318. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  10319. 2005-08-11 Umadevi S <[email protected]>
  10320. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  10321. 2005-08-10 Umadevi S <[email protected]>
  10322. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  10323. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  10324. * Menu.cs: fixes bug 75700
  10325. * MenuAPI.cs: fixes navigation issues
  10326. 2005-08-09 Umadevi S <[email protected]>
  10327. * CheckedListBox.cs - simple fix for GetItemChecked.
  10328. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  10329. * ComboBox.cs: Serveral fixes
  10330. * ListBox.cs: Serveral fixes
  10331. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  10332. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  10333. * ListBox.cs: Fixes FindString methods
  10334. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  10335. * DataGrid.cs: fixes bugs exposed by new tests
  10336. 2005-08-04 Peter Dennis Bartok <[email protected]>
  10337. * Mime.cs: Compile Mono assembly references only if compiling
  10338. with Mono (Allows to build with VS.Net again)
  10339. 2005-07-28 Marek Safar <[email protected]>
  10340. * Control.cs (PaintControlBackground): Draw background image
  10341. corrrectly.
  10342. (CheckForIllegalCrossThreadCalls): Stubbed.
  10343. * Form.cs (OnCreateControl): Center when should be centered.
  10344. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  10345. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  10346. * Binding.cs: Binding to properties should be case unsensitive
  10347. 2005-07-18 [email protected]
  10348. * DataGrid.cs: fixes setmember order
  10349. 2005-07-07 Alexander Olk <[email protected]>
  10350. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  10351. * FileDialog.cs: FileDialog is now resizable and uses the new
  10352. MimeIconEngine
  10353. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  10354. * DataGridTextBoxColumn.cs: default value
  10355. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  10356. * GridTableStylesCollection.cs: fixes checking MappingName
  10357. * DataGridDrawingLogic.cs: fixes drawing logic issues
  10358. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  10359. * DataGrid.cs: fixes
  10360. 2005-07-06 Alexander Olk <[email protected]>
  10361. * MimeGenerated.cs: Use case sensitive comparer for
  10362. NameValueCollections
  10363. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  10364. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  10365. * ThemeWin32Classic.cs: bug fixes, code refactoring
  10366. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  10367. * DataGrid.cs: bug fixes, code refactoring
  10368. * DataGridTextBox.cs: bug fixes, code refactoring
  10369. * DataGridColumnStyle.cs: bug fixes, code refactoring
  10370. * Theme.cs: bug fixes, code refactoring
  10371. 2005-07-01 Peter Bartok <[email protected]>
  10372. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  10373. and other text box usage
  10374. 2005-07-01 Jackson Harper <[email protected]>
  10375. * TabControl.cs: Make sure the bottom of the tab covers the pages
  10376. border.
  10377. 2005-06-30 Peter Bartok <[email protected]>
  10378. * Form.cs (ShowDialog): Assign owner of the dialog
  10379. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  10380. might have been moved to a tag with different height
  10381. 2005-06-30 Jackson Harper <[email protected]>
  10382. * Form.cs: Don't create an infinite loop when setting focus
  10383. * MenuItem.cs: Don't dirty the parents if we don't have any
  10384. 2005-06-29 Ben Maurer <[email protected]>
  10385. * LibSupport.cs: Rename
  10386. 2005-06-29 Peter Bartok <[email protected]>
  10387. * TextBoxBase.cs: Re-align caret after deleting a character
  10388. * TextControl.cs:
  10389. - DeleteChars(): Ensure that tag covers the provided position
  10390. - StreamLine(): Drop reference for dropped tag
  10391. 2005-06-29 Peter Bartok <[email protected]>
  10392. * TextControl.cs:
  10393. - Selections now work properly, anchoring at the initial location
  10394. and properly extending in either direction (SetSelectionToCaret(),
  10395. SetSelectionStart() and SetSelectionEnd())
  10396. - No longer redraws the whole control on selection change, now
  10397. calculates delta between previous and new selection and only
  10398. invalidates/redraws that area
  10399. - Fixed FindPos() math off-by-one errors
  10400. - Changed DeleteChars() to verify the provided tag covers the
  10401. provided position, selections may have a tag that doesn't cover
  10402. the position if the selection is at a tag border
  10403. - Fixed off-by-one errors in DeleteChars()
  10404. - Added missing streamlining check in DeleteChars() to remove
  10405. zero-length tags
  10406. - Implemented Invalidate() method, now properly calculates exposures
  10407. between two given lines/positions
  10408. - Implemented SetSelection()
  10409. - Obsoleted and removed FixupSelection()
  10410. - Improved RecalculateDocument() logic, removing code duplication
  10411. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  10412. * LibSupport.cs: changes to match different input/output arguments.
  10413. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  10414. * LibSupport.cs: added libsupport.so init routine.
  10415. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  10416. * ControlBindingsCollection.cs
  10417. - Throws an exception on null datasource when adding
  10418. - Checks for duplicated bindings when adding
  10419. 2005-06-28 Jackson Harper <[email protected]>
  10420. * TreeView.cs (OnKeyDown): Support left and right properly
  10421. (navigates as well as expanding and collapsing.
  10422. - Add support for Multiply, this expands all the selected nodes
  10423. children.
  10424. - Fix some tabbing.
  10425. 2005-06-28 Jackson Harper <[email protected]>
  10426. * TreeView.cs: Implement keyboard navigation, currently supports,
  10427. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  10428. support for toggling checkboxes with the space bar.
  10429. 2005-06-28 Jackson Harper <[email protected]>
  10430. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  10431. tree.
  10432. 2005-06-28 Jackson Harper <[email protected]>
  10433. * TreeView.cs: Add missing event.
  10434. 2005-06-27 Peter Bartok <[email protected]>
  10435. * TextControl.cs:
  10436. - Made line ending size configurable (now allows for counting
  10437. lineendings as \n or \r\n)
  10438. - Added margin to viewport to keep caret visible on right side
  10439. - Fixed translation routines for line/pos to documentpos to consider
  10440. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  10441. - Fixed some line-endings to be unix style
  10442. - Fixed Document.FormatText to perform it's calculations 1-based
  10443. - Added descriptions for a few methods that might otherwise get
  10444. used wrong
  10445. - Added NOTE section with some basic conventions to remember at
  10446. the top of the file
  10447. - Major fixup for RichTextBox selection drawing:
  10448. * Fixed crashes when multiple tags on a single line were selected
  10449. * fixed selection box drawing not overlaying text
  10450. * fixed bogus offset calculation for tags not starting at index 1
  10451. * Switched behaviour from using multiple Substrings of a
  10452. StringBuilder.ToString() to using multiple
  10453. StringBuilder.ToString(start, length) statements, hoping this is
  10454. faster (kept original version commented out in the code, in case
  10455. original version was faster)
  10456. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  10457. alignment != Left
  10458. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  10459. call it as well
  10460. 2005-06-27 Jackson Harper <[email protected]>
  10461. * TabControl.cs: Move to the left and right with the arrow
  10462. keys. These keys don't cycle beyond first and last like
  10463. tab. Refresh all the tabs when scrolling them to the left or
  10464. right.
  10465. 2005-06-27 Jackson Harper <[email protected]>
  10466. * TabControl.cs:
  10467. - ToString: Added method
  10468. - CreateParams: Remove TODO and comment
  10469. - OnKeyDown: Cycle through bounds properly.
  10470. - SelectedIndex: Scroll to the right or left if we need to
  10471. display the newly selected tab.
  10472. 2005-06-23 Jackson Harper <[email protected]>
  10473. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  10474. set.
  10475. 2005-06-23 Jackson Harper <[email protected]>
  10476. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  10477. CTRL-SHIFT-TAB, and HOME, END are there any others?
  10478. 2005-06-23 Jackson Harper <[email protected]>
  10479. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  10480. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  10481. * DataGridTextBoxColumn.cs: fixes and enhancements
  10482. * ThemeWin32Classic.cs: fixes and enhancements
  10483. * DataGridBoolColumn.cs: fixes and enhancements
  10484. * DataGridDrawingLogic.cs: fixes and enhancements
  10485. * CurrencyManager.cs: fixes and enhancements
  10486. * DataGrid.cs: fixes and enhancements
  10487. * DataGridColumnStyle.cs: fixes and enhancements
  10488. 2005-06-22 Jackson Harper <[email protected]>
  10489. * TabControl.cs: Add some missing methods that just call into the
  10490. base. Make the TabPageCollection's IList interface behave in the
  10491. same manner as the MS implementation.
  10492. 2005-06-22 Peter Bartok <[email protected]>
  10493. * TextControl.cs: Added sanity check
  10494. * TextBoxBase.cs:
  10495. - Fixed wrapping behaviour, don't set wrap on single line controls
  10496. (this fixes the breakage of colordialog introduced in an earlier
  10497. checkin)
  10498. - Added rudimentary support for autoscrolling right-aligned controls
  10499. (still needs fixing, also, center alignment scroll is missing)
  10500. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  10501. * ScrollBar.cs: Fixes thumbpos on Maximum values
  10502. 2005-06-21 Jonathan Chambers <[email protected]>
  10503. * PropertyGridView.cs: Pass context information to UITypeEditors
  10504. 2005-06-21 Peter Bartok <[email protected]>
  10505. * TextBoxBase.cs:
  10506. - Now calling PositionCaret with absolute space coordinates
  10507. - Enabled vertical scrolling
  10508. - Better tracking of scrollbar changes, tied into WidthChange
  10509. event
  10510. - Improved cursor tracking
  10511. - Removed debug output
  10512. * TextControl.cs:
  10513. - PositionCaret coordinates are now works in absolute space, not
  10514. the canvas
  10515. - Improved tracking of document size
  10516. - Added events for width and height changes
  10517. 2005-06-21 Peter Bartok <[email protected]>
  10518. * Form.cs: Set focus to active control when form is activated
  10519. * TextControl.cs:
  10520. - Added word-wrap functionality to RecalculateLine()
  10521. - Added some short function descriptions for VS.Net to aid in
  10522. writing dependent controls
  10523. - Added Caret property, returning the current coords of the caret
  10524. - Added ViewPortWidth and ViewPortHeight properties
  10525. - Added Wrap property
  10526. - Added CaretMoved event
  10527. - Removed some old debug code
  10528. - Split() can now create soft splits
  10529. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  10530. - Added method to format existing text
  10531. - Fixed size/alignment calculations to use viewport
  10532. - RecalculateDocument now can handle changing line-numbers while
  10533. calculating lines
  10534. * TextBox.cs:
  10535. - Added some wrap logic, we don't wrap if alignment is not left
  10536. - Added casts for scrollbar var, base class switched types to
  10537. also support RichTextBoxA
  10538. - Implemented handling of scrollbar visibility flags
  10539. * TextBoxBase.cs:
  10540. - Switched scrollbars type to RichTextBoxScrollBars to support
  10541. RichTextBox
  10542. - Added tracking of canvas width/height
  10543. - Switched scrollbars to be not selectable (to keep focus on text)
  10544. - Added central CalculateDocument() method to handle all redraw
  10545. requirements
  10546. - Added ReadOnly support
  10547. - Added WordWrap support
  10548. - Fixed handling of Enter key (we now treat it as a DialogKey)
  10549. - Fixed caret positioning when h or v scroll is not zero
  10550. - Fixed placing/generation of vertical scrollbar
  10551. - Added CalculateScrollBars() method to allow updating scrollbar
  10552. limits and visibility
  10553. - Fixed handling of horizontal scroll
  10554. - Added handling of vertical scroll
  10555. - Implemented auto-'jump' when caret moves to close to a left or
  10556. right border and there is text to be scrolled into view (currently
  10557. there's the potential for a stack overflow, until a bug in
  10558. scrollbar is fixed)
  10559. 2005-06-21 Geoff Norton <[email protected]>
  10560. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  10561. 2005-06-19 Alexander Olk <[email protected]>
  10562. * Mime.cs:
  10563. - added inodes.
  10564. - return application/x-zerosize for files with size zero
  10565. (if no extension pattern matches).
  10566. - check matches collection for strings too.
  10567. - return only the first mime type if the name value
  10568. collection has more than one mime type.
  10569. 2005-06-18 Jonathan Chambers <[email protected]>
  10570. * PropertyGrid.cs: Cleaned up some TODOs
  10571. * PropertyGridView.cs: Added support for UITypeEditors
  10572. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  10573. * DataGrid.cs: clears cached value
  10574. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  10575. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  10576. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  10577. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  10578. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  10579. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  10580. * ThemeWin32Classic.cs: fixes colour
  10581. 2005-06-15 Peter Bartok <[email protected]>
  10582. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  10583. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  10584. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  10585. * Control.cs: Added some MWFCategory and MWFDescription attributes
  10586. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  10587. 2005-06-15 Alexander Olk <[email protected]>
  10588. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  10589. usage
  10590. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  10591. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  10592. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  10593. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  10594. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  10595. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  10596. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  10597. 2005-06-13 Jackson Harper <[email protected]>
  10598. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  10599. isn't printed when the user enables dropping. (X11 does accept
  10600. drops).
  10601. 2005-06-13 Jackson Harper <[email protected]>
  10602. * TreeView.cs: Remove some TODOS.
  10603. 2005-06-13 Jackson Harper <[email protected]>
  10604. * Form.cs: Hook into the mdi framework.
  10605. * MdiClient.cs: Use the base control collections add method so
  10606. parents get setup correctly. Set the default back colour and dock
  10607. style.
  10608. * MdiChildContext.cs: New class, this bad actor handles an
  10609. instance of an MDI window. Right now there is only basic
  10610. support. You can drag, close, and resize windows. Minimize and
  10611. Maximize are partially implemented.
  10612. 2005-06-13 Jackson Harper <[email protected]>
  10613. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  10614. freaky when both vals are negative. NOTE: There are probably other
  10615. places in XplatUIX11 that this needs to be done.
  10616. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  10617. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  10618. * DataGridColumnStyle.cs: fixes signature
  10619. 2005-06-12 Jackson Harper <[email protected]>
  10620. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  10621. windows.
  10622. 2005-06-11 Jackson Harper <[email protected]>
  10623. * StatusBarPanel.cs: Signature cleanups. Implement
  10624. BeginInit/EndInit.
  10625. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  10626. * DataGridTextBoxColumn.cs: Honors aligment
  10627. * GridColumnStylesCollection.cs: Contains is case unsensitive
  10628. * GridTableStylesCollection.cs: several fixes
  10629. * DataGridTableStyle.cs: default column creation
  10630. * DataGridDrawingLogic.cs: fixes
  10631. * CurrencyManager.cs: ListName property
  10632. * DataGrid.cs: multiple styles support
  10633. * DataGridColumnStyle.cs: fixes
  10634. 2005-06-10 Peter Bartok <[email protected]>
  10635. * Control.cs(Select): Moved SetFocus call to avoid potential
  10636. loops if controls change the active control when getting focus
  10637. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  10638. the up/down buttons
  10639. 2005-06-10 Matthias Felgner <[email protected]>
  10640. * ImageListConverter.cs: Implemented
  10641. 2005-06-10 John BouAntoun <[email protected]>
  10642. * MonthCalendar.cs: Wired in NumericUpDown control for year
  10643. 2005-06-10 John BouAntoun <[email protected]>
  10644. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  10645. DoubleClick events, since they are not meant to be fired.
  10646. 2005-06-09 Peter Bartok <[email protected]>
  10647. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  10648. Jonathan's standalone controls into MWF, implemented missing
  10649. events, attributes and methods; added xxxAccessible classes
  10650. * AccessibleObject.cs: Made fields internal so other classes
  10651. can change them if needed
  10652. 2005-06-09 Jonathan Gilbert <[email protected]>
  10653. * UpDownBase.cs: Complete implementation
  10654. * NumericUpDown.cs: Complete implementation
  10655. * DomainUpDown.cs: Complete implementation
  10656. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  10657. * DataGridTextBoxColumn.cs: drawing fixes
  10658. * DataGridCell.cs: fixes ToString method to match MSNet
  10659. * DataGridTableStyle.cs: fixes
  10660. * DataGridBoolColumn.cs: fixes, drawing
  10661. * DataGridDrawingLogic.cs: fixes, new methods
  10662. * DataGridTextBox.cs: Keyboard and fixes
  10663. * DataGrid.cs:
  10664. - Keyboard navigation
  10665. - Scrolling fixes
  10666. - Row selection (single, multiple, deletion, etc)
  10667. - Lots of fixes
  10668. 2005-06-07 Jackson Harper <[email protected]>
  10669. * ThemeWin32Classic.cs: Clear the background area when drawing
  10670. buttons.
  10671. 2005-06-06 Peter Bartok <[email protected]>
  10672. * ImageListStreamer.cs: Fixed signature for GetData
  10673. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  10674. * ComboBox.cs:
  10675. - Added missing ChildAccessibleObject class
  10676. - Added missing OnXXXFocus overrides, switched to using those
  10677. instead of the event handler
  10678. * Control.cs:
  10679. - Added Parent property for ControlAccessibleObject
  10680. - Fixed signatures
  10681. - Fixed attributes
  10682. - Added ResetBindings()
  10683. * ListBindingConverter.cs: Implemented some methods
  10684. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  10685. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  10686. * ContainerControl.cs: Fixed signature, now subscribing to the
  10687. ControlRemoved event instead of overriding the handler, LAMESPEC
  10688. * CurrencyManager.cs: Added missing attribute
  10689. * MonthCalendar.cs: Added missing properties
  10690. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  10691. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  10692. 2005-06-06 Gaurav Vaish and Ankit Jain
  10693. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  10694. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  10695. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  10696. * Control.cs: fixes CreateParams Width / Height.
  10697. 2005-06-05 Peter Bartok <[email protected]>
  10698. * Win32DnD.cs: Removed compilation warnings
  10699. 2005-06-05 Peter Bartok <[email protected]>
  10700. * Control.cs (CreateParams): Since we don't know if one of the
  10701. properties we use is overridden, lets make sure if we fail accessing
  10702. we continue with a backup plan
  10703. 2005-06-05 Peter Bartok <[email protected]>
  10704. * Win32DnD.cs:
  10705. - Removed debug output
  10706. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  10707. struct
  10708. - Plugged resource leak
  10709. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  10710. MS size
  10711. 2005-06-05 Peter Bartok <[email protected]>
  10712. * XplatUIWin32.cs: Removed DnD code
  10713. * Win32DnD.cs: Implemented drop source and drop target functionality
  10714. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  10715. * UpDownBase.cs: remove duplicate addition of event, enable some code
  10716. that was commented out.
  10717. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  10718. Validate input when a key is pressed. It works fine now for every
  10719. combination of Hexadecimal. Only missing some drawing love when sharing
  10720. space with other controls.
  10721. 2005-06-04 Peter Bartok <[email protected]>
  10722. * Control.cs:
  10723. - We need to pass a window for DragDrop, so enable callback events
  10724. - Added DnD callback events when being a DragSource
  10725. * XplatUI.cs (StartDrag): Added window handle argument
  10726. * XplatUIDriver.cs (StartDrag): Added window handle argument
  10727. * QueryContinueDragEventArgs: Made fields internally accessible so
  10728. drivers can set them
  10729. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  10730. can set them
  10731. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  10732. * DataGridTextBoxColumn.cs: column text editing
  10733. * DataGridTableStyle.cs: Respect columns styles created by the user
  10734. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  10735. * DataGridBoolColumn.cs: bool column editing
  10736. * DataGrid.cs: fixes to scrolling, properties, etc
  10737. * DataGridTextBox.cs: handle keyboard
  10738. * DataGridColumnStyle.cs: fixes
  10739. 2005-06-02 Jackson Harper <[email protected]>
  10740. * ImageListStreamer.cs: Somewhat broken implementation of
  10741. GetObjectData. The RLE needs some work to match MS properly.
  10742. 2005-06-02 Jackson Harper <[email protected]>
  10743. * X11Dnd.cs: Attempting to keep at least one file in MWF
  10744. monostyled.
  10745. 2005-06-02 Peter Bartok <[email protected]>
  10746. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  10747. that way
  10748. 2005-06-02 Peter Bartok <[email protected]>
  10749. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  10750. * XplatUI.cs: Added DoDragDrop() method
  10751. * XplatUIDriver.cs: Added DoDragDrop() method
  10752. 2005-06-02 Jackson Harper <[email protected]>
  10753. * Splitter.cs: Implement BorderStyle.
  10754. 2005-06-02 Jackson Harper <[email protected]>
  10755. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  10756. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  10757. X11 using XDND.
  10758. 2005-06-02 Peter Bartok <[email protected]>
  10759. * DataObject.cs:
  10760. - Added Data setter
  10761. - Fixed broken insertion code for SetData, now also
  10762. overwrites any existing entry of the same format name
  10763. * Hwnd.cs: Added list of pointers that automatically gets
  10764. freed when the window is disposed
  10765. * XplatUI.cs: Call driver initialization method when loading
  10766. a driver
  10767. * Control.cs:
  10768. - OnDragLeave takes EventArgs, not DragEventArgs
  10769. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  10770. supported
  10771. - Forces style update when drop state changes
  10772. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  10773. not perfect since we cannot (yet) call the IDataObject.GetData()
  10774. method, we keep getting 0x80004005 error, dunno why)
  10775. 2005-06-02 Peter Bartok <[email protected]>
  10776. * DragEventArgs.cs: Make fields internal so we can cache the
  10777. object and re-set the fields from XplatUI
  10778. 2005-06-02 Jackson Harper <[email protected]>
  10779. * Control.cs: Add some internal methods so the DnD subsystem can
  10780. raise DnD events. Also call into the driver when AllowDrop is set.
  10781. * XplatUI.cs:
  10782. * XplatUIDriver.cs: New method for setting whether or not a window
  10783. is allowed to accept drag and drop messages.
  10784. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  10785. * ScrollBar.cs: Make sure that values sent in Scroll events
  10786. are always between Maximum and Minimum.
  10787. 2005-06-01 Marek Safar <[email protected]>
  10788. * Menu.cs: Call MenuChanged when menuitem visibility has been
  10789. changed.
  10790. * MenuItem.cs: Rebuild menu when item is (not) visible.
  10791. * MainMenu.cs: MainMenu has special MenuChanged.
  10792. * Theme.cs: Caption and FrameBorderSize are not fixed.
  10793. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  10794. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  10795. * XplatUIX11.cs,
  10796. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  10797. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  10798. 2005-05-30 Jackson Harper <[email protected]>
  10799. * DataFormat.cs: We can't statically initialize this stuff because
  10800. it calls into the xplatui and could create a loop. So we lazy init
  10801. it.
  10802. 2005-05-28 Jackson Harper <[email protected]>
  10803. * Control.cs: Proper implementation of Product(Name/Version).
  10804. 2005-05-27 Jackson Harper <[email protected]>
  10805. * DataObject.cs: Dont crash if no data is found.
  10806. 2005-05-26 Rafael Teixeira <[email protected]>
  10807. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  10808. as per status page, guessing it should be set to true
  10809. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  10810. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  10811. * DataGridTableStyle.cs: set proper formatting text, def header text
  10812. * ThemeWin32Classic.cs: new themable paramaters
  10813. * DataGridBoolColumn.cs: paint check box, get data, fixes
  10814. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  10815. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  10816. * DataGridColumnStyle.cs: fixes
  10817. * Theme.cs: new themable paramaters
  10818. 2005-05-26 Peter Bartok <[email protected]>
  10819. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  10820. 2005-05-24 Jonathan S. Chambers <[email protected]>
  10821. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  10822. 2005-05-24 Peter Bartok <[email protected]>
  10823. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  10824. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  10825. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  10826. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  10827. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  10828. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  10829. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  10830. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  10831. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  10832. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  10833. missing attributes, etc
  10834. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  10835. 2005-05-24 Peter Bartok <[email protected]>
  10836. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  10837. when user tries to get help
  10838. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  10839. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  10840. to suppress warnings
  10841. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  10842. avoid unreachable code warning
  10843. 2005-05-20 Peter Bartok <[email protected]>
  10844. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  10845. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10846. * DataGridTextBoxColumn.cs: Basic painting methods
  10847. * DataGridTableStyle.cs: Set table style in the column
  10848. * ThemeWin32Classic.cs: Use Theme for colors
  10849. * DataGridDrawingLogic.cs: Implement more drawing
  10850. * DataGrid.cs: drawing, theming, enhacements, fixes
  10851. * DataGridColumnStyle.cs: fixes, drawing
  10852. * Theme.cs: theming for Datagrid
  10853. 2005-05-20 Peter Bartok <[email protected]>
  10854. * Cursor.cs: Implemented GetObjectData() method
  10855. 2005-05-20 Peter Bartok <[email protected]>
  10856. * Cursors.cs: Added setting of cursor name
  10857. * Cursor.cs:
  10858. - Implemented constructors
  10859. - Implemented Draw and DrawStretched
  10860. - Implemented Current property
  10861. - Implemented == and != operators
  10862. - Implemented Dispose()
  10863. - Implemented ToString
  10864. - Added missing attributes
  10865. * XplatUIX11.cs:
  10866. - Added missing reset for OverrideCursor when DoEvents is called
  10867. - Fixed creation of cursor, logic was wrong
  10868. * XplatUIWin32.cs:
  10869. - Added missing reset for OverrideCursor when DoEvents is called
  10870. - Fixed creation of cursor, bit arrays were swapped
  10871. * Clipboard.cs: Removed obsolete MonoTODO attribute
  10872. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10873. * ComboBox.cs: fixes OnSelectedItemChanged
  10874. * ControlBindingsCollection.cs: fixes item range check
  10875. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10876. * UpDownBase.cs:
  10877. - Calc preferred height properly
  10878. - Implement missing properties
  10879. * NumericUpDown.cs: Implement missing events
  10880. 2005-05-19 Jackson Harper <[email protected]>
  10881. * TabControl.cs: New method that resizes the tab pages before
  10882. redrawing them. This as needed as the control is double buffered
  10883. and sizing will not be recalculated unless ResizeTabPages is
  10884. called.
  10885. * TabPage.cs: Set base.Text instead of Text in the constructor so
  10886. that UpdateOwner does not get called. Use the new Redraw method of
  10887. TabControl instead of Refresh so the sizing is recalculated.
  10888. * ThemeWin32Classic.cs: Draw the text for button tabs.
  10889. 2005-05-19 Jackson Harper <[email protected]>
  10890. * Control.cs: Paint control background images. Fix typo where
  10891. PaintControlBackground was not getting called correctly.
  10892. 2005-05-19 Peter Bartok <[email protected]>
  10893. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  10894. I can investigate, apparently I broke FileDialog
  10895. 2005-05-19 Marek Safar <[email protected]>
  10896. * AxHost.cs: Some simple properties.
  10897. * Control.cs: window must be accessible after ctor.
  10898. * Form.cs: Added TransparencyKey property.
  10899. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  10900. * XplatUIWin32.cs: SetBorderStyle implemented.
  10901. 2005-05-18 Peter Bartok <[email protected]>
  10902. * DataObject.cs: Entries are not global but particular to the
  10903. DataObject, now it behaves that way
  10904. * XplatUIWin32.cs: Implemented Clipboard methods
  10905. * Clipboard.cs: Implemented
  10906. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  10907. * XplatUIOSX.cs: Updated to final clipboard prototypes
  10908. * XplatUIX11.cs: Implemented Clipboard methods
  10909. * XplatUIDriver.cs: Updated to final clipboard prototypes
  10910. * XplatUIStructs.cs:
  10911. - Added BITMAPINFOHEADER struct
  10912. - Added ClipboardFormats enum
  10913. * X11Structs.cs:
  10914. - Added ClipboardStruct
  10915. - Added Atom enum items for clipboard types
  10916. - Fixed atom types for Selection event structures
  10917. * DataFormats.cs:
  10918. - Added internal properties and methods for drivers to enumerate
  10919. all known formats
  10920. - Switched initialization method to allow drivers to assign their
  10921. own IDs even for the MS predefined clipboard IDs
  10922. * XplatUI.cs: Updated to final clipboard interface
  10923. 2005-05-18 Jonathan S. Chambers <[email protected]>
  10924. * PropertyGridView.cs: Fixed compiler warnings.
  10925. 2005-05-18 Jonathan S. Chambers <[email protected]>
  10926. * PropertyGrid.cs: Added some event calls
  10927. * PropertyGridView.cs: Change drawing code to use double buffering
  10928. * PropertyGridTextBox.cs: Changed Text property name
  10929. * GridItem.cs: Added Bounds property.
  10930. * GridEntry.cs: Added Bounds property.
  10931. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  10932. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  10933. since GetType() may not return the correct type if the object is
  10934. a remoting proxy.
  10935. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  10936. * TreeNodeCollection.cs: fixes get/set item ranges
  10937. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  10938. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  10939. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  10940. * ComboBox.cs: Fix item range comparation
  10941. * ListView.cs: Fix item range comparation
  10942. 2005-05-03 Alexander Olk <[email protected]>
  10943. * FontDialog.cs:
  10944. - Clear example panel when OnPaint is called
  10945. - Better solution for displaying the example panel text
  10946. - Select default indexes in the ListBoxes
  10947. 2005-05-11 Geoff Norton <[email protected]>
  10948. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  10949. 2005-05-11 Peter Bartok <[email protected]>
  10950. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  10951. * SelectionRangeConverter.cs: Implemented
  10952. * PropertyGrid.cs: Fixed attribute value
  10953. * Control.cs:
  10954. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  10955. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  10956. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  10957. that's common to all drivers. First methods to go there are
  10958. Sebastien Pouliot's CAS Stack Propagation helper methods
  10959. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  10960. Sebastien Pouliot for CAS Stack Propagation
  10961. 2005-05-11 Geoff Norton <[email protected]>
  10962. * OSXStructs.cs:
  10963. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  10964. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  10965. * DataGridTextBoxColumn.cs: fixed some members
  10966. * GridColumnStylesCollection.cs: indexed column is case insensitive
  10967. * DataGridTableStyle.cs: fixes
  10968. * ThemeWin32Classic.cs: add new theme parameter
  10969. * Theme.cs: add new theme parameter
  10970. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  10971. * DataGrid.cs: fixes, new internal properties, etc.
  10972. * DataGridColumnStyle.cs: allows to set grid value
  10973. *
  10974. 2005-05-10 Peter Bartok <[email protected]>
  10975. * AccessibleObject.cs:
  10976. - Removed MonoTODO attribute on help, method is correct
  10977. - Fixed Bounds property
  10978. * AxHost.cs: Moved MonoTODO
  10979. * ButtonBase.cs: Now setting AccessibleObject properties
  10980. * RadioButton.cs: Setting proper AccessibleObject role
  10981. * CheckBox.cs: Setting proper AccessibleObject role
  10982. * ControlBindingsCollection.cs: Added properties, methods and attributes
  10983. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  10984. userdefined DataFormats.Format items as well
  10985. * ListControl.cs: Removed data_member from the public eye
  10986. * OpenFileDialog.cs:
  10987. - Made class sealed
  10988. - Added missing attributes
  10989. * SaveFileDialog.cs: Added missing attributes
  10990. * ImageListStreamer.cs: Fixed code that caused warnings
  10991. * LinkLabel.cs: Removed unreachable code
  10992. * TreeView.cs: Fixed code that caused warnings
  10993. * PropertyGridView.cs: Fixed code that caused warnings
  10994. * GridColumnStylesCollection.cs: Added missing attributes
  10995. * GridTableStylesCollection: Added missing attribute
  10996. * PropertyManager: Added .ctor
  10997. * SecurityIDType: Added
  10998. * DataObject.cs: Implemented class
  10999. * LinkArea.cs: Added missing attribute
  11000. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  11001. * RadioButton.cs: call base method to allow to fire OnClick event
  11002. * UpDownBase.cs: OnMouseUp call base method
  11003. * CheckedListBox.cs: call base method before returning
  11004. * TrackBar.cs: call base method before returning
  11005. 2005-05-10 Peter Bartok <[email protected]>
  11006. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  11007. for messages
  11008. 2005-05-10 Peter Bartok <[email protected]>
  11009. * DataFormats.cs: Implemented
  11010. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  11011. XplatUIX11.cs: Added Clipboard APIs
  11012. * XplatUIWin32.cs: Implemented Clipboard APIs
  11013. * FolderBrowserDialog.cs: Added missing event, attributes
  11014. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  11015. * CheckBox.cs: call base method to allow to fire OnClick event
  11016. 2005-05-09 Sebastien Pouliot <[email protected]>
  11017. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  11018. 2005-05-06 Peter Bartok <[email protected]>
  11019. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  11020. * Screen.cs: Implemented
  11021. * HelpNavigator.cs: Added
  11022. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  11023. property
  11024. * HelpProvider.cs: Implemented all we can do until we have a CHM
  11025. help library (which means that "What's This" does work now)
  11026. 2005-05-06 Jackson Harper <[email protected]>
  11027. * XplatUIX11.cs: Fix waking up the main loop.
  11028. 2005-05-05 Peter Bartok <[email protected]>
  11029. * XplatUI.cs: Updated revision
  11030. * Form.cs: Removed enless loop
  11031. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  11032. * Label.cs (OnPaint): Added call to base.OnPaint()
  11033. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  11034. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  11035. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  11036. * AxHost.cs: Added
  11037. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  11038. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  11039. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  11040. reuse of ToolTipWindow by other controls
  11041. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  11042. * XplatUIX11.cs: Now clipping drawing area (experimental)
  11043. * PictureBox.cs: Moved base.OnPaint() call to end of method
  11044. * Theme.cs: Fixed ToolTip abstracts to match new format
  11045. * ErrorProvider.cs: Implemented
  11046. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  11047. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  11048. * LinkLabel.cs:
  11049. - Adds cursors
  11050. - Handles focus
  11051. - Implements LinkBehavior
  11052. - Fixes many issues
  11053. 2005-05-03 Jackson Harper <[email protected]>
  11054. * ListView.cs: Calculate the scrollbar positioning on resize and
  11055. paint, so they get put in the correct place.
  11056. 2005-05-03 Alexander Olk <[email protected]>
  11057. * ColorDialogs.cs: The small color panels are now handled by
  11058. SmallColorControl. This fixes drawing of the focus rectangle
  11059. and adds a 3D border.
  11060. 2005-05-03 Peter Bartok <[email protected]>
  11061. * Control.cs: Modified version of Jonathan Chamber's fix for
  11062. double-buffering
  11063. 2005-05-03 Jackson Harper <[email protected]>
  11064. * ListView.cs: Remove redraw variable. Control now handles whether
  11065. or not a redraw needs to be done, and will only raise the paint
  11066. event if redrawing is needed.
  11067. 2005-05-03 Jackson Harper <[email protected]>
  11068. * Splitter.cs: No decorations for the splitter form. Cache the
  11069. hatch brush.
  11070. 2005-05-03 Jackson Harper <[email protected]>
  11071. * TreeView.cs: Use dashed lines to connect nodes. Use the
  11072. ControlPaint method for drawing the focus rect instead of doing
  11073. that in treeview.
  11074. 2005-05-02 Peter Bartok <[email protected]>
  11075. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  11076. 2005-04-29 Jackson Harper <[email protected]>
  11077. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  11078. entire image buffer. Just clear the clipping rectangle.
  11079. 2005-04-29 Jackson Harper <[email protected]>
  11080. * ThemeWin32Classic.cs: Don't draw list view items that are
  11081. outside the clipping rectangle.
  11082. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  11083. * ListBox.cs: added horizontal item scroll
  11084. 2005-04-29 Jackson Harper <[email protected]>
  11085. * ThemeWin32Classic.cs: Remove some old debug code that was
  11086. causing flicker with the new double buffering code.
  11087. 2005-04-29 John BouAntoun <[email protected]>
  11088. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  11089. behave like combobox and comboboxlist (still not sure if this is
  11090. correct though).
  11091. 2005-04-28 Jackson Harper <[email protected]>
  11092. * ThemeWin32Classic.cs: Don't fill the middle of progress
  11093. bars. This fills areas outside of the clip bounds that don't need
  11094. to be filled.
  11095. 2005-04-28 Jackson Harper <[email protected]>
  11096. * Control.cs: Don't expose functionality to touch the image buffers.
  11097. * ProgressBar.cs:
  11098. * ListView.cs: We do not need to (and no longer can) manipulate
  11099. the image buffers directly. All of this is handled by Control.
  11100. 2005-04-28 Peter Bartok <[email protected]>
  11101. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  11102. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  11103. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  11104. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  11105. * Combobox:
  11106. - Adjust control's height for non-simple comboboxes (bug fix)
  11107. - Remove dead code
  11108. * MenuAPI.cs: remove unused var
  11109. * ScrollBar.cs: remove unsed var
  11110. * ListBox.cs: unselect items when clearing
  11111. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  11112. * ListControl.cs: honors OnPositionChanged and default Selected Item
  11113. * ListBox.cs: unselect items when clearing
  11114. 2005-04-27 Jackson Harper <[email protected]>
  11115. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  11116. if a "correct" keyboard is not found. This will make us not crash,
  11117. but might give some users bad keyboard layouts...seems to be the
  11118. same thing rewind does.
  11119. 2005-04-27 Jackson Harper <[email protected]>
  11120. * BindingManagerBase.cs: Attach the current/position changed
  11121. handlers to their respective events.
  11122. 2005-04-27 Jackson Harper <[email protected]>
  11123. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  11124. not just a blit.
  11125. * ThemeWin32Classic.cs: Don't fill the background for picture
  11126. boxes. This could overright user drawing.
  11127. * ComboBox.cs: Just fill the clipping rect not the entire client
  11128. rect when drawing the background. This prevents pieces of the
  11129. image buffer from getting overwritten and is theoretically faster.
  11130. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  11131. * ComboBox.cs: Databinding support fixes, fire missing events
  11132. * ListControl.cs: implement missing methods and properties, fixes
  11133. * ThemeWin32Classic.cs: Databiding support on Drawing
  11134. * CheckedListBox.cs: Databinding support fixes, fire missing events
  11135. * ListBox.cs: Databinding support fixes, fire missing events
  11136. 2005-04-25 Peter Bartok <[email protected]>
  11137. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  11138. 2005-04-25 Jackson Harper <[email protected]>
  11139. * TreeView.cs: Use the horizontal scrollbars height not width when
  11140. determining how much of the client area is available.
  11141. 2005-04-25 Jackson Harper <[email protected]>
  11142. * Control.cs: Double buffering is handled differently now. As per
  11143. the spec, the extra buffer is created in the WM_PAINT message and
  11144. passed down to the control's drawing code.
  11145. * GroupBox.cs:
  11146. * Label.cs:
  11147. * CheckBox.cs:
  11148. * ProgressBar.cs:
  11149. * RadioButton.cs:
  11150. * ColorDialog.cs:
  11151. * ComboBox.cs:
  11152. * PropertyGridView.cs:
  11153. * UpDownBase.cs:
  11154. * MessageBox.cs:
  11155. * MenuAPI.cs:
  11156. * ListView.cs:
  11157. * ButtonBase.cs:
  11158. * SizeGrip.cs:
  11159. * ScrollBar.cs:
  11160. * ListBox.cs:
  11161. * TrackBar.cs:
  11162. * ToolBar.cs:
  11163. * PictureBox.cs:
  11164. * DateTimePicker.cs:
  11165. * StatusBar.cs:
  11166. * TreeView.cs: Update to new double buffering system.
  11167. * MonthCalendar.cs: Uncomment block, as Capture is now
  11168. working. Update to new double buffering
  11169. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  11170. * PaintEventArgs.cs: New internal method allows us to set the
  11171. graphics object. This is used for double buffering.
  11172. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  11173. rectangle. The internal paint_area var has been removed from
  11174. StatusBar. The clipping rect should be used instead.
  11175. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  11176. * TabPage.cs: The RefreshTabs method was removed, so just call the
  11177. tab controls Refresh method now.
  11178. * TabControl.cs: Update to new double buffering. Make sure the
  11179. handle is created before sizing the tab pages, otherwise we will
  11180. get stuck in a loop.
  11181. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  11182. * LinkLabel.cs: Fix typo, bug #74719; patch
  11183. from Borja Sanchez Zamorano
  11184. 2005-04-22 Jackson Harper <[email protected]>
  11185. * TreeNode.cs: Implement Handle stuff.
  11186. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  11187. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  11188. * DataGridTextBoxColumn.cs: call base constructors, fixes
  11189. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  11190. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  11191. * DataGridTableStyle.cs: implements create default column styles
  11192. * DataGridBoolColumn.cs: which types can handle
  11193. * DataGrid.cs: missing methods, fixes, new functionality
  11194. * DataGridColumnStyle.cs: fixes
  11195. 2005-04-20 Alexander Olk <[email protected]>
  11196. * FolderBrowserDialog.cs:
  11197. - Use a thread to fill the TreeView
  11198. - Adjusted some sizes
  11199. 2005-04-19 Peter Bartok <[email protected]>
  11200. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  11201. property. Fixes #74360.
  11202. 2005-04-19 Jackson Harper <[email protected]>
  11203. * XEventQueue.cs: Lock when getting the lockqueue size.
  11204. * PictureBox.cs: Call base OnPaint
  11205. 2005-04-19 Peter Bartok <[email protected]>
  11206. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  11207. messages were no longer being processed (this broke BeginInvoke)
  11208. 2005-04-18 Jackson Harper <[email protected]>
  11209. * TreeView.cs: buglet that caused node images to get drawn
  11210. regardless of whether or not they were in the clipping rectangle.
  11211. 2005-04-18 Jackson Harper <[email protected]>
  11212. * CurrencyManager.cs: There are four rules for GetItemProperties:
  11213. - If the type is an array use the element type of the array
  11214. - If the type is a typed list, use the type
  11215. - If the list contains an Item property that is not an object, use
  11216. that property
  11217. - use the first element of the list if there are any elements in
  11218. the list.
  11219. 2005-04-17 Jackson Harper <[email protected]>
  11220. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  11221. click. This handles offsets for scrolling properly and reduces
  11222. memory. Also fixed GetNode to not offset now that TopNode works
  11223. properly.
  11224. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  11225. 2005-04-17 Jackson Harper <[email protected]>
  11226. * CursorConverter.cs: Initial implementation.
  11227. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  11228. * ListControl.cs: work towards complex data binding support on ListControl
  11229. * CurrencyManager.cs: work towards complex data binding support on ListControl
  11230. * ListBox.cs: work towards complex data binding support on ListControl
  11231. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  11232. * GridTableStylesCollection.cs: fixes name and constructor
  11233. * DataGridTableStyle.cs: fixes
  11234. * DataGridBoolColumn.cs: fixes names and constructors
  11235. * DataGrid.cs: define methods and properties. Some init implementations
  11236. * DataGridCell.cs: define methods and properties. Some init implementations
  11237. * GridTablesFactory.cs: Define methods and properties
  11238. 2005-04-15 Geoff Norton <[email protected]>
  11239. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  11240. graphics port changes. We still want the coordinates in global screen
  11241. coordinates.
  11242. 2005-04-14 Jackson Harper <[email protected]>
  11243. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  11244. check plus minus or checkbox clicks unless those features are enabled.
  11245. 2005-04-14 Jackson Harper <[email protected]>
  11246. * TreeView.cs: Add methods for setting the top and bottom visible
  11247. nodes. TreeNode::EnsureVisible uses these methods.
  11248. * TreeNode.cs: Implement EnsureVisible
  11249. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  11250. * Form.cs: Pospone menu assignation if the window has not been created yet
  11251. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  11252. size and position
  11253. 2005-04-12 Jackson Harper <[email protected]>
  11254. * TreeView.cs: Set the TopNode properly when scrolling
  11255. occurs. This has the added benifit of reducing the amount of
  11256. walking that needs to be done when drawing. Also removed an old
  11257. misleading TODO.
  11258. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  11259. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  11260. * Timer.cs: fixes interval setting when the timer is already enabled
  11261. 2005-04-10 Alexander Olk <[email protected]>
  11262. * FolderBrowserDialog.cs: First approach
  11263. 2005-04-09 Peter Bartok <[email protected]>
  11264. * FolderBrowserDialog: Added
  11265. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  11266. * LinkLabel.cs: move drawing code into the theme
  11267. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  11268. * Theme.cs: define DrawLinkLabel method
  11269. 2005-04-05 Jackson Harper <[email protected]>
  11270. * BindingContext.cs: Use weak references so these bad actors don't
  11271. stay alive longer then they need to.
  11272. 2005-04-05 Jackson Harper <[email protected]>
  11273. * ListControl.cs: Basic implementation of complex databinding.
  11274. * ComboBox.cs:
  11275. * ListBox.cs: Add calls to ListControl databinding methods.
  11276. 2005-04-05 Alexander Olk <[email protected]>
  11277. * FileDialog.cs:
  11278. - Don't change PopupButtonState to Normal when the
  11279. PopupButton gets pressed several times.
  11280. - Renamed ButtonPanel to PopupButtonPanel
  11281. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  11282. * ColorDialog.cs: Use cached objects instead of creating them
  11283. * LinkLabel.cs: Use cached objects instead of creating them
  11284. * Splitter.cs: Use cached objects instead of creating them
  11285. * FontDialog.cs: Use cached objects instead of creating them
  11286. * PropertyGridView.cs: Use cached objects instead of creating them
  11287. * MessageBox.cs: Use cached objects instead of creating them
  11288. * FileDialog.cs: Use cached objects instead of creating them
  11289. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  11290. * TreeView.cs: Use cached objects instead of creating them
  11291. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  11292. * Control.cs: use Equals to compare the font since no == op
  11293. * ScrollBar.cs: use Equals to compare the font since no == op
  11294. 2005-04-04 Alexander Olk <[email protected]>
  11295. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  11296. 2005-04-01 Jackson Harper <[email protected]>
  11297. * Binding.cs: Implement IsBinding.
  11298. * BindingManagerBase.cs:
  11299. * PropertyManager.cs:
  11300. * CurrencyManager.cs: Add IsSuspended property.
  11301. 2005-04-01 Jackson Harper <[email protected]>
  11302. * Binding.cs: Had some IsAssignableFrom calls backwards.
  11303. 2005-04-01 Jackson Harper <[email protected]>
  11304. * Binding.cs: Handle null data members when pulling data.
  11305. * PropertyManager.cs: Handle the data member being a property that
  11306. does not exist.
  11307. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  11308. * DataGridTextBoxColumn.cs: fixes signature
  11309. * DataGrid.cs: calls right constructor
  11310. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  11311. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  11312. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  11313. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  11314. * DataGridTableStyle.cs: implements DataGridTableStyle
  11315. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  11316. * DataGridTextBox.cs: implements DataGridTextBox
  11317. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  11318. 2005-03-31 Alexander Olk <[email protected]>
  11319. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  11320. 2005-03-29 Peter Bartok <[email protected]>
  11321. * Application.cs:
  11322. - Properly implemented CompanyName property
  11323. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  11324. returns a path that includes CompanyName, ProductName and
  11325. Version (fixes bug #70330)
  11326. 2005-03-29 Stefan Buehler <[email protected]>
  11327. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  11328. fixes bug #72588.
  11329. 2005-03-28 Alexander Olk <[email protected]>
  11330. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  11331. - Added ReadOnly CheckBox
  11332. - Further refactoring: moved some code from Open-/SaveFileDialog
  11333. to FileDialog
  11334. 2005-03-28 Alexander Olk <[email protected]>
  11335. * OpenFileDialog.cs: Fixed CheckFileExists
  11336. * FileDialog.cs:
  11337. Moved FileView and DirComboBox outside FileDialog class.
  11338. They can now be used outside FileDialog
  11339. 2005-03-27 Alexander Olk <[email protected]>
  11340. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  11341. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  11342. 2005-03-27 Alexander Olk <[email protected]>
  11343. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  11344. - Added missing CreatePrompt property in SaveDialog
  11345. - Overall SaveDialog handling should be better now
  11346. - Added non standard ShowHiddenFiles property
  11347. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  11348. - Added InitialDirectory and RestoreDirectory support
  11349. 2005-03-26 Alexander Olk <[email protected]>
  11350. * FileDialog.cs: Made dirComboBox usable
  11351. 2005-03-24 Alexander Olk <[email protected]>
  11352. * FileDialog.cs: Added Filter support (case sensitiv)
  11353. 2005-03-24 Jackson Harper <[email protected]>
  11354. * TabControl.cs: Need a couple more pixels for the lines.
  11355. 2005-03-23 Jackson Harper <[email protected]>
  11356. * TabControl.cs: Give the tab page focus when it is selected.
  11357. 2005-03-23 Jackson Harper <[email protected]>
  11358. * TabControl.cs: Account for the drawing of tabs borders when
  11359. invalidating. If the slider was clicked dont do click detection on
  11360. the tabs.
  11361. 2005-03-23 Jackson Harper <[email protected]>
  11362. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  11363. 2005-03-22 Jonathan Chambers <[email protected]>
  11364. * CategoryGridEntry.cs: Added
  11365. * GridItem.cs: Added helper properties
  11366. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  11367. * GridEntry.cs: Updated code for collection
  11368. * PropertyGrid.cs: Cleaned up some formatting
  11369. * PropertyGridView.cs: Added drop down functionality for enums.
  11370. * GridItemCollection.cs: Added enumerator logic
  11371. * PropertyGridEntry.cs: Added
  11372. 2005-03-19 Alexander Olk <[email protected]>
  11373. * FileDialog.cs:
  11374. - Removed unnecessary commented code
  11375. - Fixed handling for entering the filename manually in the combobox
  11376. 2005-03-19 Alexander Olk <[email protected]>
  11377. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  11378. 2005-03-18 Peter Bartok <[email protected]>
  11379. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  11380. them being touching the border
  11381. 2005-03-18 Peter Bartok <[email protected]>
  11382. * TextControl.cs: Quick hack to center text better
  11383. 2005-03-18 Peter Bartok <[email protected]>
  11384. * ControlPaint.cs:
  11385. - Don't throw NotImplemented exceptions, just print a notice once
  11386. instead (requested by Miguel). This makes running existing SWF
  11387. apps a bit easier
  11388. * Control.cs:
  11389. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  11390. - Added context menu trigger on right click
  11391. * Panel.cs: Trigger invalidate on resize
  11392. * StatusBar.cs:
  11393. - Removed old double-buffer drawing
  11394. - Added ResizeRedraw style to force proper update of statusbar
  11395. * ListView.cs:
  11396. - Removed debug output
  11397. * ThemeWin32Classic.cs:
  11398. - Fixed drawing of status bar, now draws Text property if there
  11399. are no defined panels
  11400. 2005-03-18 Jackson Harper <[email protected]>
  11401. * ImageList.cs: When the image stream is set pull all the images
  11402. from it.
  11403. * ImageListStreamer.cs: Implement reading image list streams.
  11404. 2005-03-18 Peter Bartok <[email protected]>
  11405. * ThemeWin32Classic.cs (DrawPictureBox):
  11406. - Fixed calculations for centered drawing
  11407. - Fixed drawing for normal mode, not scaling the image on normal
  11408. 2005-03-18 Peter Bartok <[email protected]>
  11409. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  11410. textbox
  11411. * FileDialog.cs:
  11412. - Made Open/Save button the accept button for FileDialog
  11413. - Tied the cancel button to the IButtonControl cancel button
  11414. - Save/Open now properly builds the pathname
  11415. - Now handles user-entered text
  11416. - Preventing crash on right-click if no item is selected
  11417. - Fixed Text property, now uses contents of textbox
  11418. - Fixed SelectedText property, now just returns the text part that
  11419. is selected in the text box
  11420. 2005-03-18 Jackson Harper <[email protected]>
  11421. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  11422. rect, make sure to de-adjust the interior rect after drawing the
  11423. tab text.
  11424. 2005-03-18 Peter Bartok <[email protected]>
  11425. * MenuAPI.cs: Remove menu *before* executing selected action to
  11426. prevent the menu from 'hanging around'
  11427. 2005-03-17 Geoff Norton <[email protected]>
  11428. * XplatUIOSX.cs: Implemented WorkingArea property
  11429. 2005-03-17 Peter Bartok <[email protected]>
  11430. * XplatUIX11.cs: Fixed menu coord calculations
  11431. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  11432. for calculating offsets
  11433. 2005-03-17 Peter Bartok <[email protected]>
  11434. * Hwnd.cs: Do not consider menu presence for default client
  11435. rectangle location/size
  11436. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  11437. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  11438. translation functions
  11439. * FileDialog.cs: Fixed (what I presume is a) typo
  11440. 2005-03-17 Jonathan Gilbert <[email protected]>
  11441. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  11442. X access (avoids X-Async errors)
  11443. 2005-03-16 Jackson Harper <[email protected]>
  11444. * TabControl.cs: Raise the SelectedIndexChanged event.
  11445. 2005-03-16 Alexander Olk <[email protected]>
  11446. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  11447. - Removed vertical ToolBar and replaced it with a custom panel
  11448. (desktop and home button already work)
  11449. - Added Help button (some controls get resized or relocated then)
  11450. - Draw correct text depending on Open or Save.
  11451. - Fixed some typos...
  11452. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  11453. * ScrollBar.cs:
  11454. - Only change Maximum and Minimum when need it (bug fix)
  11455. 2005-03-15 Peter Bartok <[email protected]>
  11456. * Form.cs: Use Handle for icon, to trigger creation if
  11457. the window does not yet exist
  11458. * Control.cs:
  11459. - CanSelect: Slight performance improvement
  11460. - Focus(): Preventing possible recursion
  11461. - Invalidate(): Removed ControlStyle based clear flag setting
  11462. - WM_PAINT: fixed logic for calling OnPaintBackground
  11463. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  11464. EraseWindowBackground if the control doesn't paint background
  11465. * XplatUIWin32.cs:
  11466. - Moved EraseWindowBackground() method to internal methods
  11467. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  11468. is sent via SendMessage on BeginPaint call on Win32
  11469. * XplatUIX11.cs:
  11470. - Added EraseWindowBackground() method
  11471. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  11472. PaintEventStart, which more closely matches Win32 behaviour
  11473. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  11474. - Fixed SetFocus() to properly deal with client and whole windows
  11475. * Hwnd.cs: Added ErasePending property
  11476. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  11477. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  11478. 2005-03-12 Geoff Norton <[email protected]>
  11479. * XplatUIOSX.cs:
  11480. - Fix hard loop when timers exist.
  11481. - Fix bugs with middle and right click for 3 button mice.
  11482. 2005-03-11 Peter Bartok <[email protected]>
  11483. * XplatUIX11.cs:
  11484. - get_WorkingArea: Need to call X directly, GetWindowPos only
  11485. returns cached data now
  11486. - Added sanity check to GetWindowPos hwnd usage
  11487. 2005-03-11 Jackson Harper <[email protected]>
  11488. * BindingManagerBase.cs: This method isn't used anymore as
  11489. PullData now updates the data in the control.
  11490. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  11491. * Form.cs: fixes menu drawing on X11
  11492. * MenuAPI.cs: fixes menu drawing on X11
  11493. 2005-03-11 Peter Bartok <[email protected]>
  11494. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  11495. from Jonathan Gilbert; should fix bug #73606
  11496. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  11497. in Screen coordinates. Thanks, Jordi.
  11498. * Form.cs: Added missing attribute
  11499. 2005-03-11 Peter Bartok <[email protected]>
  11500. * Form.cs:
  11501. - Rudimentary Mdi support
  11502. - Removed outdated FormParent code
  11503. - Implemented lots of missing properties and methods, still missing
  11504. transparency support
  11505. - Added missing attributes
  11506. - Implemented support for MaximumBounds
  11507. - Added firing of various events
  11508. * XplatUI.cs: Added SetIcon() method
  11509. * XplatUIDriver.cs: Added SetIcon() abstract
  11510. * XplatUIOSX.cs: Stubbed out SetIcon() method
  11511. * XplatUIX11.cs:
  11512. - Implemented SetIcon() support
  11513. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  11514. - Switched to unix line endings
  11515. * XplatUIWin32.cs:
  11516. - Made POINT internal so for can access it as part of MINMAX
  11517. - Implemented SetIcon() support
  11518. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  11519. native Mdi support again, might have to go managed)
  11520. * Control.cs: Now fires the StyleChanged event
  11521. * MdiClient.cs: Added; still mostly empty
  11522. 2005-03-10 Peter Bartok <[email protected]>
  11523. * SaveFileDialog.cs: Added emtpy file
  11524. 2005-03-08 Peter Bartok <[email protected]>
  11525. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  11526. in turn triggers OnCreateContro) when creating a handle for the
  11527. first time.
  11528. * TextControl.cs: Fixed endless loop in certain cases when
  11529. replacing the current selection
  11530. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  11531. * ScrollBar.cs:
  11532. - Honors NewValue changes in Scroll events allowing apps to change it
  11533. - Adds First and Last Scroll events
  11534. - Fixes Thumb events
  11535. 2005-03-07 Peter Bartok <[email protected]>
  11536. * Hwnd.cs: Added DefaultClientRectangle property
  11537. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  11538. more detailed debug information
  11539. * XplatUIX11.cs:
  11540. - Fixed size-change feedback loop, where we would pull an old size
  11541. off the queue and mistakenly change our window's size to an
  11542. earlier value
  11543. - Now compressing ConfigureNotify events, to reduce looping and
  11544. redraw issues
  11545. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  11546. is called
  11547. 2005-03-07 Jackson Harper <[email protected]>
  11548. * Binding.cs: Push data pushes from data -> property. Check if the
  11549. property is readonly when attempting to set it.
  11550. 2005-03-07 Jackson Harper <[email protected]>
  11551. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  11552. instead of IsSubclassOf. Pulling data now sets the value on the
  11553. control.
  11554. * PropertyManager.cs:
  11555. * CurrencyManager.cs: Just need to pull data when updating now,
  11556. because PullData will set the value on the control.
  11557. 2005-03-04 Jackson Harper <[email protected]>
  11558. * Binding.cs: Implement data type parsing and converting on pulled
  11559. data. TODO: Are there more ways the data can be converted?
  11560. 2005-03-04 Jackson Harper <[email protected]>
  11561. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  11562. controls Validating method so we can repull the data when the
  11563. control loses focus.
  11564. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  11565. * ColumnHeader.cs:
  11566. - Fixes null string format
  11567. * ListView.cs:
  11568. - Adds enum type checks
  11569. - Fixes redrawing and recalc need after changing some properties
  11570. - Fixes on focus_item set after the event
  11571. - Fixes adding columns after the control has been created
  11572. * ThemeWin32Classic.cs:
  11573. - Fixes CheckBox focus rectangle
  11574. - Fixes ColumnHeader drawing
  11575. 2005-03-03 Jackson Harper <[email protected]>
  11576. * Binding.cs: Bind to <Property>Changed events so we can detect
  11577. when properties are changed and update the data.
  11578. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  11579. * ImageList.cs:
  11580. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  11581. - Fixes ImageList constructor with ImageList container
  11582. - Fixes image scaling (wrong parameters at DrawImage)
  11583. 2005-02-02 Jackson Harper <[email protected]>
  11584. * Binding.cs: Make property searches case-insensitive. Eliminate
  11585. some duplicated code.
  11586. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  11587. * ComboBox.cs:
  11588. - Handle focus event
  11589. - Fix scrollbar events
  11590. - Discard highlighted item if remove it
  11591. - Fixes SelectedItem with strings
  11592. 2005-03-01 Peter Bartok <[email protected]>
  11593. * Control.cs:
  11594. - Fixed Visible property, now follows (once again) parent chain
  11595. to return false if any control in the chain is visible=false
  11596. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  11597. - Fixed several places where is_visible instead of Visible was used
  11598. - Implemented FIXME related to focus selection when setting focused
  11599. control to be invisible
  11600. * XplatUIWin32.cs: Now using proper method to find out if window is
  11601. visible. Thanks to Jordi for pointing it out
  11602. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  11603. * ComboBox.cs: show/hide scrollbar instead of creating it
  11604. 2005-02-27 Jackson Harper <[email protected]>
  11605. * CurrencyManager.cs: Add PositionChanged stuff.
  11606. 2005-02-27 Peter Bartok <[email protected]>
  11607. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  11608. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  11609. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  11610. * XplatUIX11.cs:
  11611. - Implemented GetMenuDC()
  11612. - Implemented GetMenuOrigin()
  11613. - Implemented ReleaseMenuDC()
  11614. - Implemented generation of WM_NCPAINT message
  11615. - Implemented generation and handling of WM_NCCALCSIZE message
  11616. * Form.cs: Added debug helper message for Jordi's menu work
  11617. * Hwnd.cs:
  11618. - Modified ClientRect property; added setter, fixed getter to handle
  11619. setting of ClientRect
  11620. - Added MenuOrigin property
  11621. 2005-02-26 Peter Bartok <[email protected]>
  11622. * XplatUIX11.cs:
  11623. - Destroys the caret if a window that's being destroyed contains it
  11624. - Ignores expose events coming from the X11 queue for windows that
  11625. already are destroyed
  11626. - Now uses the proper variable for handling DestroyNotify, before we
  11627. marked the wrong window as destroyed
  11628. - Improved/added some debug output
  11629. 2005-02-26 Peter Bartok <[email protected]>
  11630. * X11Keyboard.cs: Fixes to work on 64bit systems
  11631. 2005-02-26 Peter Bartok <[email protected]>
  11632. * Control.cs:
  11633. - Now calling OnHandleDestroyed from DestroyHandle()
  11634. instead of Dispose()
  11635. - Removed bogus call to controls.Remove() from DestroyHandle()
  11636. 2005-02-26 Peter Bartok <[email protected]>
  11637. * Control.cs: Properly destroy child windows when our handle is
  11638. destroyed
  11639. 2005-02-25 Peter Bartok <[email protected]>
  11640. * XplatUI.cs:
  11641. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  11642. - Alphabetized Static Methods and Subclasses
  11643. * XplatUIX11.cs:
  11644. - Added XException class to allow custom handling of X11 exceptions
  11645. - Created custom X11 error handler, tied into XException class
  11646. - Added support for MONO_XEXCEPTIONS env var to allow the user
  11647. to either throw an exception on X errors or continue running
  11648. after displaying the error
  11649. - Added handling of DestroyNotify message
  11650. - Added handler for CreateNotify message (still disabled)
  11651. - Improved (tried to at least) Where method to provide file and lineno
  11652. * X11Structs.cs:
  11653. - Added XErrorHandler delegate
  11654. - Added XRequest enumeration (to suppor translation of errors)
  11655. 2005-02-25 Jackson Harper <[email protected]>
  11656. * PropertyManager.cs: Implement editing features
  11657. * CurrencyManager.cs:
  11658. * Binding.cs: First attempt at UpdateIsBinding
  11659. * BindingManagerBase.cs: Call UpdateIsBinding before
  11660. pushing/pulling data.
  11661. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  11662. * MenuAPI.cs: Respect disabled items
  11663. * ThemeWin32Classic.cs
  11664. - Caches ImageAttributes creation for DrawImageDisabled
  11665. - Fixes vertical menu line drawing
  11666. - Draws disabled arrows in disable menu items
  11667. 2005-02-24 Peter Bartok <[email protected]>
  11668. * Hwnd.cs:
  11669. - Added UserData property to allow associating arbitrary objects
  11670. with the handle
  11671. - Fixed leak; now removing Hwnd references from static windows array
  11672. * XplatUIWin32.cs:
  11673. - Fixed Graphics leak in PaintEventEnd
  11674. - Removed usage of HandleData, switched over to Hwnd class
  11675. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  11676. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  11677. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  11678. * ScrollBar.cs: Fixes bug
  11679. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  11680. keyboard navigation enhancements
  11681. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  11682. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  11683. * GroupBox.cs: Add control styles
  11684. * Label.cs: Add control styles
  11685. * UpDownBase.cs: Add control styles
  11686. * ListBox.cs: Add control styles
  11687. * XplatUIWin32.cs: Fixes wrong parameter order
  11688. 2005-02-23 Chris Bacon <[email protected]>
  11689. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  11690. 2005-02-23 Jackson Harper <[email protected]>
  11691. * PropertyManager.cs: Implement property binding. This doesn't
  11692. seem to work yet though as (I think) there are some bugs in
  11693. System.ComponentModel.PropertyDescriptor.
  11694. * BindingContext.cs: Use new PropertyManager constructor.
  11695. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  11696. * ProgressBar.cs: use clip region in ProgressBar
  11697. * ThemeWin32Classic.cs: use clip region in ProgressBar
  11698. 2004-02-22 Jackson Harper <[email protected]>
  11699. * BindingsCollection.cs: Remove some debug code.
  11700. 2005-02-22 Jackson Harper <[email protected]>
  11701. * BindingContext.cs:
  11702. * ControlBindingsCollection.cs:
  11703. * CurrencyManager.cs:
  11704. * Binding.cs:
  11705. * BindingManagerBase.cs: Initial implementation
  11706. * BindingsCollection.cs: Add an internal contains method that the
  11707. BindingManagerBase uses to ensure bindings aren't added twice to
  11708. the collection.
  11709. * PropertyManager.cs: Stubbed out.
  11710. * Control.cs:
  11711. * ContainerControl.cs: Hook up databinding
  11712. 2005-02-22 Geoff Norton <[email protected]>
  11713. * XplatUIOSX.cs:
  11714. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  11715. Fixed Invalidate/Update chain.
  11716. Fixed tons of other minor bugs (this is almost a complete rewrite).
  11717. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  11718. * ComboBox.cs: do subcontrol creation when the control is created
  11719. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11720. * Label.cs: fixes image drawing (image and imagelist)
  11721. * ThemeWin32Classic.cs: cache brushes
  11722. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11723. * Form.cs: Move menu drawing code to Theme class
  11724. * ComboBox.cs: Move ComboBox drawing code to Theme class
  11725. * MenuItem.cs: Move menu drawing code to Theme class
  11726. * MenuAPI.cs: Move menu drawing code to Theme class
  11727. * ThemeWin32Classic.cs: New methods
  11728. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  11729. * ListBox.cs: Move Listbox drawing code to Theme class
  11730. * Theme.cs: New methods
  11731. 2005-02-20 Peter Bartok <[email protected]>
  11732. * Control.cs:
  11733. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  11734. only process mnemonics on those)
  11735. - Fixed event sequence for key handling; first calling
  11736. ProcessKeyEventArgs now
  11737. * TextBoxBase.cs:
  11738. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  11739. for processing non-character keys
  11740. - Fixed WM_CHAR to generate proper event sequence before processing
  11741. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  11742. generation
  11743. 2005-02-19 Peter Bartok <[email protected]>
  11744. * UserControl.cs: Added TextChanged event; added attributes
  11745. * SizeGrip.cs: Implemented resizing and optional display of grip
  11746. * Form.cs: Fixed attribute
  11747. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11748. Changed meaning of ScrollWindow bool argument; instead of the
  11749. clear attribute (which will be true usually anyway), it gives the
  11750. option of moving child controls as well.
  11751. * XplatUIX11.cs:
  11752. - Changed to match new ScrollWindow argument
  11753. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  11754. now handles the implicit parent window a WM puts around us
  11755. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  11756. to work)
  11757. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  11758. * TreeView.cs: Adjusted to new ScrollWindow arguments
  11759. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11760. * Form.cs: Menu integration with non-client area
  11761. * MenuItem.cs: Menu integration with non-client area
  11762. * MenuAPI.cs: Menu integration with non-client area
  11763. 2005-02-18 Peter Bartok <[email protected]>
  11764. * MethodInvoker.cs: Added
  11765. * MdiLayout.cs: Added
  11766. * SendKeys.cs: Started implementation
  11767. * ErrorIconAlignment.cs: Added
  11768. 2005-02-18 Peter Bartok <[email protected]>
  11769. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  11770. * Form.cs: Added handling for Menu-related Non-client messages
  11771. 2005-02-17 Peter Bartok <[email protected]>
  11772. * UpDownBase.cs: Fixed typo, compilation errors
  11773. * DomainUpDown.cs: Fixed attribute value
  11774. 2005-02-16 Miguel de Icaza <[email protected]>
  11775. * UpDownBase.cs: Attach entry events.
  11776. Propagate events.
  11777. Add ForeColor property, Focused, InterceptArrowKeys (interception
  11778. does not work yet).
  11779. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  11780. * Form.cs:
  11781. - Redraw non client are on Setmenu
  11782. - Calc proper menu starting point
  11783. 2005-02-17 Peter Bartok <[email protected]>
  11784. * Application.cs: Fixed message_filter check
  11785. 2005-02-17 Peter Bartok <[email protected]>
  11786. * Application.cs: Now calls registered message filters
  11787. * DockStyle.cs: Fixed attribute
  11788. * Form.cs: Fixed attribute
  11789. * Menu.cs: Fixed attribute
  11790. * ToolTip.cs: Fixed attribute
  11791. * TreeNode.cs: Added missing attributes and arranged in regions
  11792. * PropertyGrid.cs: Fixed signatures
  11793. * TreeNodeCollection.cs: Added attributes
  11794. * Splitter.cs: Added missing attributes; arranged into regions
  11795. * TabPage.cs: Added missing attributes; arranged into regions
  11796. * TextBoxBase.cs: Added missing attributes
  11797. * TextBox.cs: Added missing attributes
  11798. * ArrangeDirection.cs: Added missing attributes
  11799. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  11800. * ToolBarButton.cs: Fixed attributes
  11801. * AnchorStyles.cs: Fixed attribute
  11802. * TrackBar.cs: Fixed attributes
  11803. * TabControl.cs: Added missing attributes and arranged into regions
  11804. * ToolBar.cs: Fixed attribute
  11805. * StatusBar.cs: Fixed signature, organized into regions and added
  11806. attributes
  11807. * StatusBarPanel.cs: Fixed attributes
  11808. * ContentsResizedEventArgs.cs: Implemented
  11809. * ContentsResizedEventHandler.cs: Implemented
  11810. * DateBoldEventArgs.cs: Implemented
  11811. * DateBoldEventHandler.cs: Implemented
  11812. * UpDownEventArgs.cs: Implemented
  11813. * UpDownEventHandler.cs: Implemented
  11814. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  11815. * Form.cs: first Menu NC refactoring
  11816. * MenuAPI.cs: first Menu NC refactoring
  11817. 2005-02-16 Peter Bartok <[email protected]>
  11818. * ImeMode.cs: Added missing attributes
  11819. * Menu.cs: Fixed attribute
  11820. * GroupBox.cs: Fixed attribute
  11821. * Label.cs: Fixed attribute
  11822. * ColorDialog.cs (RunDialog): Removed TODO attribute
  11823. * ComboBox.cs: Fixed attributes
  11824. * ListControl.cs: Added missing attributes
  11825. * PropertyGrid.cs: Fixed attributes
  11826. * Control.cs: Fixed attributes
  11827. * ListViewItem.cs: Added TypeConverter attribute
  11828. * NotifyIcon.cs: Fixed attributes
  11829. * ListView.cs: Fixed attributes
  11830. * ButtonBase.cs: Fixed attribute
  11831. * ImageList.cs: Added missing attributes
  11832. * ContainerControl.cs: Fixed signature
  11833. * CheckedListBox.cs: Fixed attribute; added missing attributes
  11834. * Panel.cs: Fixed attributes
  11835. * PropertyTabChangedEventArgs.cs: Added missing attribute
  11836. * PropertyValueChangedEventArgs.cs: Added missing attribute
  11837. * Binding.cs: Fixed attribute
  11838. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  11839. * ListBox.cs: Fixed attribute; added missing attributes;
  11840. * ScrollableControl.cs: Added missing attributes
  11841. * PictureBox.cs: Added missing attributes; implemented missing property
  11842. * DateTimePicker.cs: Added missing attributes
  11843. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  11844. * MonthCalendar.cs: Fixed attributes
  11845. * StatusBarPanel.cs: Added missing attributes
  11846. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  11847. 2005-02-16 Peter Bartok <[email protected]>
  11848. * TextBoxBase.cs: The previous method to enforce height yet remember
  11849. the requested high was less than ideal, this is an attempt to do
  11850. it better.
  11851. * Control.cs: Added comment about possible problem
  11852. * Copyright: Updated format
  11853. * GridItemType.cs: Fixed swapped values
  11854. 2005-02-15 Jackson Harper <[email protected]>
  11855. * BaseCollection.cs: Use property so we never access an
  11856. uninitialized list. Also initialize the list in the property.
  11857. 2005-02-15 Peter Bartok <[email protected]>
  11858. * GroupBox.cs (ProcessMnemonic): Implemented
  11859. * Label.cs (ProcessMnemonic): Implemented
  11860. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  11861. hotkeys
  11862. 2005-02-15 Peter Bartok <[email protected]>
  11863. * RadioButton.cs (ProcessMnemonic): Implemented
  11864. * CheckBox.cs (ProcessMnemonic): Implemented
  11865. * Control.cs:
  11866. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  11867. handling
  11868. - Added internal method to allow calling ProcessMnemonic from other
  11869. controls
  11870. * ContainerControl.cs:
  11871. - Started support for handling validation chain handling
  11872. - Implemented ProcessMnemonic support
  11873. - Added Select() call to Active, to make sure the active control
  11874. receives focus
  11875. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  11876. FormParent rewrite)
  11877. * ThemeWin32Classic.cs:
  11878. - DrawCheckBox(): Fixed stringformat to show hotkeys
  11879. - DrawRadioButton(): Fixed stringformat to show hotkeys
  11880. * CommonDialog.cs: Removed WndProc override, not needed
  11881. 2005-02-14 Peter Bartok <[email protected]>
  11882. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  11883. missed those in the rewrite
  11884. 2005-02-14 Miguel de Icaza <[email protected]>
  11885. * NumericUpDown.cs (Increment, ToString): Add.
  11886. (DecimalPlaces): implement.
  11887. Add attributes.
  11888. * UpDownBase.cs: Add the designer attributes.
  11889. 2005-02-13 Peter Bartok <[email protected]>
  11890. * Panel.cs: Removed border_style, now in Control
  11891. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  11892. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  11893. 2005-02-13 Peter Bartok <[email protected]>
  11894. * MouseButtons.cs: Added missing attributes
  11895. * XplatUIStructs.cs: Added enumeration for title styles
  11896. * LeftRightAlignment.cs: Added missing attributes
  11897. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  11898. it compatible with Graphics.FromHwnd()
  11899. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  11900. * Keys.cs: Added missing attributes
  11901. * SelectionRange.cs: Added missing attributes
  11902. * SelectionRangeConverter.cs: Added
  11903. * XplatUI.cs:
  11904. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  11905. ReleaseMenuDC methods
  11906. - Renamed ReleaseWindow to UngrabWindow
  11907. - Added proper startup notice to allow version identification
  11908. * Form.cs:
  11909. - Added missing attributes
  11910. - Removed FormParent concept
  11911. * Label.cs: Removed border_style field, now in Control
  11912. * RadioButton.cs: Now properly selects RadioButton when focus is
  11913. received
  11914. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  11915. * Control.cs:
  11916. - Added missing attributes
  11917. - Added borderstyle handling
  11918. - Removed FormParent concept support
  11919. - Fixed calls to XplatUI to match changed APIs
  11920. - Fixed bug that would case us to use disposed Graphics objects
  11921. - Removed unneeded internal methods
  11922. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  11923. - SelectNextControl(): Fixed to properly check common parents
  11924. * TextBoxBase.cs: Removed border_style field (now in Control)
  11925. * MessageBox.cs:
  11926. - Patch by Robert Thompson ([email protected]): Added icon support,
  11927. fixed calculations for form size
  11928. - Added support for localized strings and icons
  11929. - Improved form size calculations, added border
  11930. * ListView.cs: Removed border_style field (now in Control)
  11931. * X11Structs.cs: Moved several structs from X11 driver here
  11932. * X11Keyboard.cs: Changed debug message
  11933. * Application.cs: Removed FormParent concept support
  11934. * CommonDialog.cs:
  11935. - Resetting end_modal flag
  11936. - Removed FormParent concept support
  11937. * NativeWindow.cs: Removed FormParent concept support
  11938. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  11939. Client area and Non-Client whole window to allow support for WM_NC
  11940. messages
  11941. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  11942. prevent using it until it supports Hwnd as per Geoff Norton's request
  11943. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  11944. * PictureBox.cs: Removed border_style field, now in Control
  11945. * XplatUIWin32.cs: Added new driver methods
  11946. 2005-02-12 Peter Bartok <[email protected]>
  11947. * OpacityConverter.cs: Implemented
  11948. * Hwnd.cs: Internal class to support drivers that need to emulate
  11949. client area/non-client area window behaviour
  11950. 2005-02-11 Peter Bartok <[email protected]>
  11951. * KeysConverter.cs: Implemented
  11952. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  11953. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  11954. * LinkLabel: Added missing attributes
  11955. * MainMenu.cs: fixes ToString
  11956. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  11957. * ListBox.cs: fixes event position
  11958. * TrackBar.cs: adds missing attributes and events
  11959. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  11960. * MenuItem.cs: Use SystemInformation and bug fixes
  11961. * MenuAPI.cs: Use SystemInformation and bug fixes
  11962. 2005-02-09 Jackson Harper <[email protected]>
  11963. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  11964. their keystate otherwise things like VK_MENU get stuck "on".
  11965. 2005-02-09 Kazuki Oikawa <[email protected]>
  11966. * ListBox.cs: Fixes AddRange bug
  11967. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  11968. * ProgressBar.cs
  11969. - Add missing attributes
  11970. - Add missing method
  11971. * CheckedListBox.cs: Added missing attributes
  11972. - Add missing attributes
  11973. - Remove extra method
  11974. * ComboBox.cs: Added missing attributes
  11975. * VScrollBar.cs: Added missing attributes
  11976. * ScrollBar.cs: Added missing attributes
  11977. * ListBox.cs: Fixes signature, add missing consts
  11978. * LinkArea.cs: Added missing attributes
  11979. 2005-02-08 Peter Bartok <[email protected]>
  11980. * Menu.cs: Added missing attributes
  11981. * MainMenu.cs: Added missing attributes
  11982. * GroupBox.cs: Added missing attributes
  11983. * Label.cs: Added missing attributes
  11984. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  11985. * ColorDialog.cs:
  11986. - Added Instance and Options properties
  11987. - Added missing attributes
  11988. * Cursor.cs: Made Serializable
  11989. * NotifyIcon: Added missing attributes
  11990. * MenuItem.cs: Added missing attributes
  11991. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  11992. * Panel.cs: Added Missing attributes
  11993. * MonthCalendar.cs: Fixed CreateParams
  11994. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  11995. * LinkLabel.cs:
  11996. - Fixes signature
  11997. - Fixes issues with links
  11998. - Adds the class attributes
  11999. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  12000. * ComboBox.cs:
  12001. - Fixes button when no items available in dropdown
  12002. - Fixes repainting problems
  12003. - Adds the class attributes
  12004. 2005-02-07 Geoff Norton <[email protected]>
  12005. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  12006. the current theme. Cache these on startup.
  12007. 2005-02-07 Jackson Harper <[email protected]>
  12008. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  12009. the scrollbar buttons when they are depressed.
  12010. 2005-02-07 Geoff Norton <[email protected]>
  12011. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  12012. Get the display size from the main displayid. We currently dont
  12013. support multiple display configurations.
  12014. 2005-02-07 Geoff Norton <[email protected]>
  12015. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  12016. 2005-02-07 Miguel de Icaza <[email protected]>
  12017. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  12018. 2005-02-05 Jonathan Chambers <[email protected]>
  12019. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  12020. 2005-02-04 Jackson Harper <[email protected]>
  12021. * ThemeWin32Classic.cs: Respect the clipping rect when
  12022. drawing. Only fill the intersection of clips and rects so there
  12023. isn't a lot of large fills.
  12024. * ScrollBar.cs: Pass the correct clipping rect to the theme
  12025. engine. Remove some debug code.
  12026. 2005-02-05 John BouAntoun <[email protected]>
  12027. * DateTimePicker.cs:
  12028. - Fixed crash on DateTime.Parse, use Constructor instead
  12029. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  12030. * MenuItem.cs:
  12031. * MenuAPI.cs:
  12032. - Owner draw support (MeasureItem and DrawItem)
  12033. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  12034. * Menu.cs:
  12035. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  12036. - Fixes MenuItems.Add range
  12037. * MenuItem.cs:
  12038. - MergeMenu and Clone and CloneMenu functions
  12039. 2005-02-03 Jackson Harper <[email protected]>
  12040. * ScrollBar.cs: Make abstract
  12041. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  12042. is abstract.
  12043. 2005-02-03 Jackson Harper <[email protected]>
  12044. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  12045. all the unneeded refreshes and uses invalidates with properly
  12046. computed rects.
  12047. 2005-02-03 Peter Bartok <[email protected]>
  12048. * ComponentModel.cs: Added
  12049. * IDataGridEditingService.cs: Added
  12050. * Timer.cs: Added missing attributes
  12051. * ToolTip.cs: Added missing attributes
  12052. 2005-02-03 Jonathan Chambers <[email protected]>
  12053. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  12054. 2005-02-03 Peter Bartok <[email protected]>
  12055. * ListBox.cs: Added missing attributes
  12056. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  12057. * ListBox.cs:
  12058. - Fixes font height after font change
  12059. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  12060. 2005-02-02 Peter Bartok <[email protected]>
  12061. * HandleData.cs: Introduced static methods to allow class
  12062. to be more self-contained and track it's own HandleData objects
  12063. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  12064. HandleData to use new static methods
  12065. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  12066. * Combobox.cs:
  12067. - Fixes default size and PreferredHeight
  12068. - Missing events
  12069. - ObjectCollection.Insert implementation
  12070. * ListControl.cs
  12071. - Fixes signature
  12072. * ListBox.cs:
  12073. - Several fixes
  12074. - ObjectCollection.Insert implementation
  12075. - No selection after clean
  12076. - Small fixes
  12077. 2005-01-31 John BouAntoun <[email protected]>
  12078. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  12079. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  12080. * Combobox.cs:
  12081. - Caches ItemHeight calculation for OwnerDrawVariable
  12082. - Handles dropdown properly
  12083. - Fixes several minor bugs
  12084. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  12085. * ListBox.cs:
  12086. - Fixes 71946 and 71950
  12087. - Fixes changing Multicolumn on the fly
  12088. - Fixes keyboard navigation on Multicolumn listboxes
  12089. 2005-01-31 Geoff Norton <[email protected]>
  12090. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  12091. crash reporter log.
  12092. 2005-01-31 Geoff Norton <[email protected]>
  12093. * XplatUIOSX.cs: Allow applications to actually exit.
  12094. 2005-01-31 Geoff Norton <[email protected]>
  12095. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  12096. their parent at creation time rather than lazily later. Fixes a major
  12097. regression we were experiencing.
  12098. 2005-01-31 John BouAntoun <[email protected]>
  12099. * ThemeWin32Classic.cs: more date time picker painting fixes
  12100. * DateTimePicker.cs: more monthcalendar drop down fixes
  12101. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  12102. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  12103. * ScrollBar.cs:
  12104. - When moving the thumb going outside the control should stop the moving
  12105. - Adds the firing of missing events
  12106. - Fixes no button show if Size is not specified
  12107. - End / Home keys for keyboard navigation
  12108. 2005-01-30 Peter Bartok <[email protected]>
  12109. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  12110. sanity check to prevent theoretical loop
  12111. * XplatUIWin32.cs (SetVisible): Removed debug output
  12112. * XplatUIX11.cs (SystrayChange): Added sanity check
  12113. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  12114. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  12115. behaviour, valid until the X11 client window rewrite is done
  12116. * TextBox.cs (ctor): Setting proper default foreground and background
  12117. colors
  12118. 2005-01-30 John BouAntoun <[email protected]>
  12119. * Theme: Added DrawDateTimePicker to interface
  12120. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  12121. * DateTimePicker.cs: Created (still needs keys and painting code)
  12122. * DateTimePickerFormat.cs: added
  12123. * MonthCalendar.cs: fixed CreateParams for popup window mode
  12124. 2005-01-29 Peter Bartok <[email protected]>
  12125. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  12126. this should also the calculations for ligher/darker
  12127. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  12128. 2005-01-29 Peter Bartok <[email protected]>
  12129. * ArrangeDirection.cs: Added
  12130. * ArrangeStartingPositon.cs: Added
  12131. * SystemInformation.cs: Implemented
  12132. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12133. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  12134. used by SystemInformation class
  12135. * X11Strucs.cs: Added XSizeHints structure
  12136. * MenuAPI.cs:
  12137. - Fixed CreateParams to make sure the menu window is always visible
  12138. - TrackPopupMenu: Added check to make sure we don't draw the
  12139. menu offscreen
  12140. 2005-01-29 Peter Bartok <[email protected]>
  12141. * HandleData.cs: Added method for altering invalid area
  12142. * TextBoxBase.cs: Implemented TextLength
  12143. 2005-01-28 Peter Bartok <[email protected]>
  12144. * XplatUIX11.cs: Improvement over last patch, not sending
  12145. the WM_PAINT directly anymore, instead we scroll any pending
  12146. exposed areas and let the system pick out the WM_PAINT later
  12147. 2005-01-28 Peter Bartok <[email protected]>
  12148. * SWF.csproj: Deleted, no longer used. Instead,
  12149. Managed.Windows.Forms/SWF.csproj should be used
  12150. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  12151. directly, to avoid a potential race condition with the next
  12152. scroll
  12153. 2005-01-28 Peter Bartok <[email protected]>
  12154. * XplatUI.cs: Made class internal
  12155. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  12156. * CheckedListBox.cs:
  12157. - Draw focus
  12158. - Fixed Drawing
  12159. - Missing methods and events
  12160. 2005-01-27 Peter Bartok <[email protected]>
  12161. * Application.cs (Run): Don't use form if we don't have one
  12162. 2005-01-27 Peter Bartok <[email protected]>
  12163. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  12164. 2005-01-27 Peter Bartok <[email protected]>
  12165. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  12166. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  12167. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  12168. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  12169. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  12170. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  12171. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12172. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  12173. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12174. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12175. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12176. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  12177. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  12178. * Combobox.cs:
  12179. - Draw focus on Simple Combobox
  12180. - Fixes drawing issues
  12181. - fixes 71834
  12182. 2005-01-27 Peter Bartok <[email protected]>
  12183. * Form.cs:
  12184. - Place window in default location, instead of hardcoded 0/0
  12185. - Send initial LocationChanged event
  12186. * Control.cs:
  12187. - UpdateBounds after creation to find out where the WM placed us
  12188. - Make sure that if the ParentForm changes location the Form
  12189. is notified
  12190. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  12191. to the root, but to whatever the WM placed around us.
  12192. Translate to root coordinates before returning toplevel
  12193. coordinates
  12194. * XplatUIWin32.cs: Removed debug output
  12195. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  12196. flag to GetWindowPos, to allow translation of coordinates on X11
  12197. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  12198. * ListBox.cs: connect LostFocus Event
  12199. 2005-01-27 Peter Bartok <[email protected]>
  12200. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  12201. XplatUIX11.cs: Extended the Systray API
  12202. * Form.cs: Removed debug output
  12203. * Application.cs: Fixed focus assignment, always need to call
  12204. XplatUI.Activate() since Form.Activate() has rules that may
  12205. prevent activation
  12206. * NotifyIcon.cs: Should be complete now
  12207. * ToolTip.cs: Worked around possible timer bug
  12208. 2005-01-27 Jackson Harper <[email protected]>
  12209. * TabControl.cs:
  12210. - Only invalidate the effected tabs when the
  12211. selected index changes. This reduces drawing and gets rid of some
  12212. flicker.
  12213. - Only refresh if the tabs need to be shifted, otherwise only
  12214. invalidate the slider button.
  12215. - On windows the tabs are not filled to right if the slider is
  12216. visible.
  12217. 2005-01-27 Jackson Harper <[email protected]>
  12218. * TabControl.cs: Only refresh on mouseup if we are showing the
  12219. slider. Also only invalidate the button whose state has changed.
  12220. 2005-01-26 Peter Bartok <[email protected]>
  12221. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  12222. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  12223. and SystrayRemove() methods
  12224. * XplatUIOSX.cs: Stubbed Systray methods
  12225. * XplatUIX11.cs:
  12226. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  12227. methods
  12228. - Fixed broken XChangeProperty calls (marshalling messed up things)
  12229. * X11Structs.cs: Added enums and structs required for Size hinting
  12230. * NotifyIcon.cs: Added & implemented
  12231. 2005-01-26 Jackson Harper <[email protected]>
  12232. * TabControl.cs: Space vertically layed out tabs properly.
  12233. 2005-01-26 Peter Bartok <[email protected]>
  12234. * Form.cs (CreateClientParams): Always set the location to 0,0
  12235. since we're a child window.
  12236. * Control.cs (SetVisibleCore): Always explicitly setting the location
  12237. of a toplevel window, apparently X11 doesn't like to move windows
  12238. while they're not mapped.
  12239. 2005-01-26 Jackson Harper <[email protected]>
  12240. * TabControl.cs: Implement FillToRight size mode with vertically
  12241. rendered tabs.
  12242. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  12243. * ControlPaint.cs, ThemeWin32Classic.cs
  12244. - Fixes DrawFocusRectangle
  12245. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  12246. * MenuAPI.cs:
  12247. - MenuBar tracking only starts when item is first clicked
  12248. - Fixes menu hidding for multiple subitems
  12249. - Unselect item in MenuBar when item Executed
  12250. - Fixes bug 71495
  12251. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  12252. * ListControl.cs:
  12253. - IsInputKey for ListBox
  12254. * ListBox.cs:
  12255. - Focus item
  12256. - Shift and Control item selection
  12257. - Implement SelectionMode.MultiExtended
  12258. - Fixes RightToLeft
  12259. * ComboBox.cs:
  12260. - IsInputKey implemented
  12261. - Do not generate OnTextChangedEdit on internal txt changes
  12262. 2005-01-23 Peter Bartok <[email protected]>
  12263. * AccessibleObject.cs: Partially implemented Select()
  12264. * MonthCalendar.cs: Added missing attributes and events
  12265. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  12266. form can properly override CreateParams.
  12267. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12268. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  12269. Control performs Invalidate & Update
  12270. * NativeWindow (CreateHandle): Added special handling for Form
  12271. and Form.FormParent classes to allow overriding of From.CreateParams
  12272. * Control.cs:
  12273. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  12274. name 'owner'
  12275. - ControlNativeWindow: Added Owner property
  12276. - Removed usage of Refresh() on property changes, changed into
  12277. Invalidate(), we need to wait until the queue is processed for
  12278. updates, direct calls might cause problems if not all vars for
  12279. Paint are initialized
  12280. - Added call to UpdateStyles() when creating the window, to set any
  12281. styles that CreateWindow might have ignored.
  12282. - Added support for Form CreateParent overrides to UpdateStyles()
  12283. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  12284. CreateParams are now properly overridable
  12285. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  12286. CreateParams are now properly overridable
  12287. 2005-01-23 Miguel de Icaza <[email protected]>
  12288. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  12289. OnTextBoxChanged.
  12290. Capture LostFocus and OnTextBoxChanged. The later introduces a
  12291. recursive invocation that I have not figured out yet.
  12292. Reset the timer when not using (it was accumulating).
  12293. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  12294. user has made changes that require validation.
  12295. Reset changing to avoid loops.
  12296. 2005-01-22 Miguel de Icaza <[email protected]>
  12297. * NumericUpDown.cs: Display value at startup.
  12298. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  12299. ValidateEditText.
  12300. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  12301. filled in. Added some basic parsing of text.
  12302. Still missing the OnXXX method overrides, and figuring out the
  12303. events that must be emitted.
  12304. * UpDownBase.cs: Handle UserEdit on the Text property.
  12305. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  12306. * ComboBox.cs:
  12307. - Fixes IntegralHeight
  12308. - ToString method
  12309. 2005-01-21 Jackson Harper <[email protected]>
  12310. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  12311. is set so that the page visibility is updated and the tabs are
  12312. sized correctly.
  12313. 2005-01-21 Jackson Harper <[email protected]>
  12314. * TabControl.cs: Use cliping rectangle for blitting. Give the
  12315. theme the clipping rect so we can do clipping while
  12316. drawing. Remove some debug code.
  12317. 2005-01-21 Jackson Harper <[email protected]>
  12318. * TabPage.cs: Add a new method so tab pages can force the tab
  12319. control to recalculate the tab page sizes.
  12320. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  12321. sizes.
  12322. 2005-01-20 Jackson Harper <[email protected]>
  12323. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  12324. 2005-01-20 Jackson Harper <[email protected]>
  12325. * TreeView.cs: Set the bounds for nodes properly. They were
  12326. getting screwed up when checkboxes were not enabled, but images
  12327. were.
  12328. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  12329. * ListBox.cs:
  12330. - Owner draw support
  12331. - Fixes
  12332. 2005-01-20 Jackson Harper <[email protected]>
  12333. * XplatUIStructs.cs: More misc keys
  12334. * X11Keyboard.cs: Ignore some control keys.
  12335. 2005-01-20 Jackson Harper <[email protected]>
  12336. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  12337. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  12338. 2005-01-19 Peter Bartok <[email protected]>
  12339. * Control.cs: Un-selecting the control when it is loosing focus
  12340. 2005-01-19 Jackson Harper <[email protected]>
  12341. * TreeView.cs: Hook up to the text controls leave event so we can
  12342. end editing when the users clicks outside the text box.
  12343. 2005-01-19 Jackson Harper <[email protected]>
  12344. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  12345. get set in the conversion array.
  12346. 2005-01-19 Peter Bartok <[email protected]>
  12347. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  12348. focus is properly set
  12349. * Button.cs:
  12350. - Added missing attributes
  12351. - removed styles, those are already set in the base class
  12352. * ButtonBase.cs:
  12353. - Added missing attributes
  12354. - Added clip window styles
  12355. * CheckBox.cs: Added missing attributes
  12356. * CommonDialog.cs:
  12357. - FormParentWindow.CreateParams: Added required clip styles
  12358. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  12359. also filters modifier keys
  12360. * MessageBox.cs:
  12361. - Added assignment of Accept and Cancel button to enable Enter
  12362. and Esc keys in MessageBox dialogs
  12363. - FormParentWindow.CreateParams: Added required clip styles
  12364. * RadioButton.cs: Added missing attributes
  12365. * TextControl.cs: No longer draws selection if control does not
  12366. have focus
  12367. * TextBoxBase.cs:
  12368. - Now draws simple rectangle around test area to make it obvious
  12369. there's a control. This is a hack until we properly support borders
  12370. - A few simple fixes to support selections better, now erases selected
  12371. text when typing, and resets selection when using movement keys
  12372. 2005-01-19 Miguel de Icaza <[email protected]>
  12373. * UpDownBase.cs: Added some new properties.
  12374. * DomainUpDown.cs: Implement a lot to get my test working.
  12375. 2005-01-19 Geoff Norton <[email protected]>
  12376. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  12377. 2005-01-19 Geoff Norton <[email protected]>
  12378. * OSXStructs (WindowAttributes): Fixed csc complaints
  12379. 2005-01-19 Geoff Norton <[email protected]>
  12380. * XplayUIOSX.cs:
  12381. OSXStructs.cs: Initial refactor to move enums and consts into
  12382. OSXStructs and use them in the driver for greater readability.
  12383. 2005-01-19 Geoff Norton <[email protected]>
  12384. * XplatUIOSX.cs: Initial support for Standard Cursors.
  12385. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  12386. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  12387. * ComboBox.cs: ability to change style when the ctrl is already
  12388. created, missing methods and events, bug fixes, signature fixes
  12389. 2005-01-19 Peter Bartok <[email protected]>
  12390. * Cursors.cs (ctor): Added ctor to fix signature
  12391. 2005-01-18 Peter Bartok <[email protected]>
  12392. * Button.cs: Implemented DoubleClick event
  12393. * ButtonBase.cs:
  12394. - Fixed keyboard handling to behave like MS, where the press of
  12395. Spacebar is equivalent to a mousedown, and the key release is
  12396. equivalent to mouseup. Now a spacebar push will give the same
  12397. visual feedback like a mouse click.
  12398. - Added missing attributes
  12399. - Added ImeModeChanged event
  12400. - Added support for generating DoubleClick event for derived classes
  12401. * CheckBox.cs:
  12402. - Implemented DoubleClick event
  12403. - Added missing attributes
  12404. * CommonDialog.cs: Added missing attribute
  12405. * ContextMenu.cs: Added missing attributes
  12406. * RadioButton.cs:
  12407. - AutoChecked buttons do not allow to be unselected when clicked
  12408. (otherwise we might end up with no selected buttons in a group)
  12409. - Added missing attributes
  12410. - Implemented DoubleClickEvent
  12411. * ThreadExceptionDialog.cs: Enabled TextBox code
  12412. 2005-01-18 Peter Bartok <[email protected]>
  12413. * Form.cs: Removed debug output
  12414. * Button.cs: Added support for DoubleClick method
  12415. 2005-01-18 Peter Bartok <[email protected]>
  12416. * Form.cs:
  12417. - Added method to parent window that allows triggering size
  12418. calculations when a menu is added/removed
  12419. - set_Menu: Cleaned up mess from early days of Form and Control,
  12420. now properly triggers a recalc when a menu is added/removed
  12421. - Added case to select form itself as focused form if no child
  12422. controls exist
  12423. - Added PerformLayout call when showing dialog, to ensure properly
  12424. placed controls
  12425. * Control.cs:
  12426. - Select(): Made internal so Form can access it
  12427. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  12428. status
  12429. * Application.cs (Run): Removed hack and calls PerformLayout instead
  12430. to trigger calculation when Form becomes visible
  12431. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  12432. * ComboBox.cs: fixes for ownerdraw
  12433. 2005-01-18 Peter Bartok <[email protected]>
  12434. * TextControl.cs:
  12435. - Sentinel is no longer static, each Document gets it's own, this
  12436. avoids locking or alternatively overwrite problems when more
  12437. than one text control is used simultaneously.
  12438. - Switched to use Hilight and HilightText brushes for text selection
  12439. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  12440. 2005-01-18 Peter Bartok <[email protected]>
  12441. * Control.cs:
  12442. - Hooked up the following events:
  12443. o ControlAdded
  12444. o ControlRemoved
  12445. o HandleDestroyed
  12446. o ImeModeChanged
  12447. o ParentChanged
  12448. o TabStopChanged
  12449. o Invalidated
  12450. o SystemColorsChanged
  12451. o ParentFontChanged
  12452. o Move
  12453. - Removed debug output
  12454. - Added a call to the current theme's ResetDefaults when a color change
  12455. is detected
  12456. * Form.cs: Now setting the proper ImeMode
  12457. * Theme.cs: Defined a method to force recreation of cached resources
  12458. and rereading of system defaults (ResetDefaults())
  12459. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  12460. 2005-01-17 Peter Bartok <[email protected]>
  12461. * Control.cs: Added missing attributes
  12462. 2005-01-17 Jackson Harper <[email protected]>
  12463. * TreeNode.cs: Implement editing. Add missing properties selected
  12464. and visible.
  12465. * TreeView.cs: Implement node editing. Also some fixes to use
  12466. Invalidate (invalid area) instead of Refresh when selecting.
  12467. 2005-01-17 Peter Bartok <[email protected]>
  12468. * Control.cs:
  12469. - Implemented InvokeGotFocus() method
  12470. - Implemented InvokeLostFocus() method
  12471. - Implemented InvokePaint() method
  12472. - Implemented InvokePaintBackground() method
  12473. - Implemented InvokeClick() method
  12474. - Implemented FindForm() method
  12475. - Implemented RectangleToClient() method
  12476. - Implemented ClientToRectangle() method
  12477. - Implemented ResetBackColor() method
  12478. - Implemented ResetCursor() method
  12479. - Implemented ResetFont() method
  12480. - Implemented ResteForeColor() method
  12481. - Implemented ResetImeMode() method
  12482. - Implemented ResetLeftToRight() method
  12483. - Implemented ResetText() method
  12484. - Implemented Scale() methods
  12485. - Implemented ScaleCore() method
  12486. - Implemented Update() method
  12487. - Removed unused variables
  12488. - Stubbed AccessibilityNotifyClients and
  12489. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  12490. with those yet)
  12491. - Now setting proper default for RightToLeft property
  12492. - Fixed bug in SetClientSizeCore that would cause windows to get
  12493. really big
  12494. - Now sending Click/DoubleClick events
  12495. - Now selecting controls when left mouse button is clicked on
  12496. selectable control
  12497. * AccessibleEvents.cs: Added
  12498. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  12499. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  12500. * XplatUIWin32.cs: Implemented UpdateWindow() method
  12501. * XplatUIX11.cs: Implemented UpdateWindow() method
  12502. * Form.cs: Removed stray semicolon causing CS0162 warning
  12503. * ThemeWin32Classic.cs: Fixed unused variable warnings
  12504. * ScrollableControl.cs: Now calls base method for ScaleCore
  12505. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  12506. style to avoid interference with internal click handler (which is
  12507. different than standard Control click handling)
  12508. * RadioButton.cs:
  12509. - Now unchecks all sibling radio buttons when control is
  12510. selected (Fixes #68756)
  12511. - Removed internal tabstop variable, using the one inherited from
  12512. Control
  12513. 2005-01-17 Jackson Harper <[email protected]>
  12514. * NavigateEventArgs.cs: Fix base type.
  12515. * LinkLabel.cs: Sig fix
  12516. 2005-01-17 Jackson Harper <[email protected]>
  12517. * TreeView.cs: Only invalidate the effected nodes bounds when
  12518. selecting nodes.
  12519. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  12520. * XplatUIWin32.cs: fixes Win32 marshaling
  12521. * XplatUIX11.cs: fixes method signature
  12522. 2005-01-17 Peter Bartok <[email protected]>
  12523. * XplatUIX11.cs: Clean up resources when we no longer need them
  12524. 2005-01-17 Peter Bartok <[email protected]>
  12525. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  12526. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  12527. and DestroyCursor() methods.
  12528. * Cursor.cs: Partially implemented, now supports standard cursors;
  12529. still contains some debug code
  12530. * Cursors.cs: Implemented class
  12531. * Control.cs:
  12532. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  12533. appropriate cursor
  12534. - Implemented Cursor property
  12535. - Replaced break; with return; more straightforwar and possibly
  12536. faster
  12537. - Now properly setting the result for WM_HELP
  12538. * X11Structs.cs: Added CursorFontShape enum
  12539. * XplatUIStructs.cs:
  12540. - Added StdCursor enum (to support DefineStdCursor() method)
  12541. - Added HitTest enum (to support sending WM_SETCURSOR message)
  12542. * XplatUIX11.cs:
  12543. - Now sends the WM_SETCURSOR message
  12544. - Implemented new cursor methods
  12545. * XplatUIOSX.cs: Stubbed new cursor methods
  12546. * XplatUIWin32.cs:
  12547. - Implemented new cursor methods
  12548. - Added GetSystemMetrics function and associated enumeration
  12549. 2005-01-15 Peter Bartok <[email protected]>
  12550. * Control.cs:
  12551. - WndProc(): Now handles EnableNotifyMessage
  12552. - SelectNextControl(): Fixed bug where if no child or sibling
  12553. controls exist we looped endlessly
  12554. 2005-01-14 Jackson Harper <[email protected]>
  12555. * TreeView.cs: Recalculate the tab pages when a new one is added
  12556. so that the proper bounding rects are created.
  12557. 2005-01-14 Jackson Harper <[email protected]>
  12558. * TreeView.cs: Draw a gray box instead of a grip in the lower
  12559. right hand corner when there are both horizontal and vertical
  12560. scroll bars.
  12561. 2005-01-14 Jackson Harper <[email protected]>
  12562. * Control.cs: When erasing backgrounds use FromHwnd instead of
  12563. FromHdc when there is a NULL wparam. This occurs on the X driver.
  12564. * XplatUIX11.cs: Set the wparam to NULL.
  12565. 2005-01-13 Jackson Harper <[email protected]>
  12566. * PictureBox.cs: Implement missing methods (except ToString, need
  12567. to test that on windows) and events. When visibility is changed we
  12568. need to redraw the image because the buffers are killed. When size
  12569. is changed refresh if the sizemode needs it.
  12570. 2005-01-13 Peter Bartok <[email protected]>
  12571. * Control.cs (SelectNextControl): Was using wrong method to select
  12572. a control
  12573. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  12574. * ComboBox.cs: fixes dropstyle
  12575. 2005-01-13 Peter Bartok <[email protected]>
  12576. * Form.cs:
  12577. - Implemented Select() override
  12578. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  12579. - Now sets keyboard focus on startup
  12580. * Control.cs (SelectNextControl): Now properly handles directed=true
  12581. * TextBoxBase.cs:
  12582. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  12583. - Added (really bad) focus rectangle (mostly for testing)
  12584. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  12585. to enforce redraw on focus changes
  12586. * ContainerControl.cs:
  12587. - Fixed detection of Shift-Tab key presses
  12588. - Fixed traversal with arrow keys
  12589. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  12590. gonna keep this or if it's complete yet
  12591. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  12592. * ComboBox.cs: missing properties, fixes
  12593. 2005-01-13 Peter Bartok <[email protected]>
  12594. * Panel.cs (ctor): Setting Selectable window style to off
  12595. * Splitter.cs (ctor): Setting Selectable window style to off
  12596. * GroupBox.cs (ctor): Setting Selectable window style to off
  12597. * Label.cs (ctor): Setting Selectable window style to off
  12598. 2005-01-12 Miguel de Icaza <[email protected]>
  12599. * UpDownBase.cs (InitTimer): If the timer has been already
  12600. created, enable it.
  12601. Use a TextBox instead of a Label.
  12602. 2005-01-12 Jackson Harper <[email protected]>
  12603. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  12604. draw the connecting node lines (when ShowLines is true).
  12605. * TreeNode.cs: The nodes index can now be updated. This is used
  12606. when a node collection is sorted.
  12607. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  12608. insert or an existing unsorted node collection can be sorted.
  12609. 2005-01-12 Peter Bartok <[email protected]>
  12610. * ContainerControl.cs: Implemented ProcessDialogKeys()
  12611. 2005-01-12 Peter Bartok <[email protected]>
  12612. * Control.cs:
  12613. - Implemented SelectNextControl() method
  12614. - Several focus related bug fixes
  12615. - Fixed Docking calculations to match MS documentation and
  12616. behaviour
  12617. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  12618. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  12619. bug fixes
  12620. 2005-01-12 Peter Bartok <[email protected]>
  12621. * Control.cs:
  12622. - Fixed broken Contains() method
  12623. - Implemented GetNextControl() method. Finally. This is the pre-
  12624. requisite for focus handling.
  12625. 2005-01-12 Peter Bartok <[email protected]>
  12626. * OSXStrucs.cs: Added
  12627. 2005-01-12 Peter Bartok <[email protected]>
  12628. * XplatUIWin32.cs:
  12629. - Removed PeekMessageFlags
  12630. - Implemented SetWindowStyle() method
  12631. * XplatUIStructs.cs: Added PeekMessageFlags
  12632. * X11Structs: Added missing border_width field to XWindowChanges struct
  12633. * XplatUIX11.cs:
  12634. - PeekMessage: Now throws exception if flags which are not yet
  12635. supported are passed
  12636. - Implemented SetWindowStyle() method
  12637. - Fixed SetZOrder to handle AfterHwnd properly
  12638. * XplatUI.cs: Added SetWindowStyle() method
  12639. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  12640. * Control.cs:
  12641. - Implemented UpdateStyles() method
  12642. - Implemented UpdateZOrder() method
  12643. * XplatUIOSX.cs: Added SetWindowStyle() stub
  12644. 2005-01-12 Geoff Norton <[email protected]>
  12645. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  12646. button mouse).
  12647. 2005-01-11 Jackson Harper <[email protected]>
  12648. * TreeView.cs: Still need to draw lines to siblings even if out of
  12649. the current node is out of the clip.
  12650. 2005-01-11 Jackson Harper <[email protected]>
  12651. * TreeView.cs: When setting the hbar/vbar/grip position use
  12652. SetBounds so that perform layout is only called once. Also suspend
  12653. and resume layout so layout is only done once for all controls.
  12654. - Removed some debug fluff
  12655. * SizeGrip.cs: Call base implmentation in overriding methods.
  12656. - When visibility is changed the drawing buffers are killed so we
  12657. need to redraw.
  12658. 2005-01-11 Jackson Harper <[email protected]>
  12659. * TreeView.cs: Calculate the open node count while drawing. This
  12660. saves us an entire tree traversal for every paint operation. Use
  12661. a member var for the open node count so less vars are passed around.
  12662. 2005-01-11 John BouAntoun <[email protected]>
  12663. * MonthCalendar.cs:
  12664. - fixed selection to use mousemove, not mouse polling on timer
  12665. * ThemeWin32Classic.cs
  12666. - removed redundant unused variable "no_more_content"
  12667. 2005-01-11 Peter Bartok <[email protected]>
  12668. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  12669. are pending, so it now calls PeekMessage instead of GetMessage;
  12670. implemented a incomplete version of PeekMessage
  12671. 2005-01-11 Peter Bartok <[email protected]>
  12672. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  12673. I18n issues
  12674. * TextBoxBase.cs: Added sending of TextChanged event
  12675. 2005-01-10 Jackson Harper <[email protected]>
  12676. * TreeView.cs: Try not to draw outside the clipping rectangle on
  12677. each node element.
  12678. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  12679. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  12680. 2005-01-10 Jackson Harper <[email protected]>
  12681. * TreeView.cs:
  12682. - Implement fast scrolling. Now only the newly
  12683. exposed nodes are drawn and the old image is moved using the
  12684. XplatUI::ScrollWindow method.
  12685. - Factor in height of nodes when calculating whether or not the
  12686. node is in the clipping rect.
  12687. 2005-01-10 Jackson Harper <[email protected]>
  12688. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  12689. 2005-01-10 Peter Bartok <[email protected]>
  12690. * Application.cs: Added temporary hack to resolve all our resize
  12691. required issues on startup. This will get fixed properly at
  12692. some point in the future
  12693. 2005-01-10 Jackson Harper <[email protected]>
  12694. * SizeGrip.cs: New internal class that is used as a sizing
  12695. grip control...hence the name.
  12696. 2005-01-10 Peter Bartok <[email protected]>
  12697. * Control.cs: Implemented proper TabIndex handling, now assigning
  12698. a tabindex when a control is added to a container
  12699. * GroupBox.cs (ctor): Now sets the Container style bit, required
  12700. for Control.GetNextControl()
  12701. 2005-01-09 Jackson Harper <[email protected]>
  12702. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  12703. 2005-01-09 Peter Bartok <[email protected]>
  12704. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  12705. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  12706. an overload for ScrollWindow to allow only scrolling a rectangle
  12707. 2005-01-09 Peter Bartok <[email protected]>
  12708. * Form.cs:
  12709. - Implemented SetDesktopBounds method
  12710. - Implemented SetDesktopLocation method
  12711. 2005-01-08 Jackson Harper <[email protected]>
  12712. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  12713. the node count has changed, this removes to VScroll::Refresh calls
  12714. when drawing.
  12715. 2005-01-08 Geoff Norton <[email protected]>
  12716. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  12717. 2005-01-07 Jackson Harper <[email protected]>
  12718. * TreeNode.cs: Just update the single node when it is
  12719. checked. Don't refresh after toggling, the Expand/Collapse already
  12720. handles this.
  12721. * TreeView.cs: Respect clipping a little more when drawing. Try
  12722. not to redraw things that don't need to be redrawn. Just hide the
  12723. scrollbars when they are no longer needed instead of removing
  12724. them, so they don't have to be created again and again.
  12725. 2005-01-07 Geoff Norton <[email protected]>
  12726. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  12727. coordinates to window space to place the caret properly, FIXED.
  12728. Implement GetWindowState & SetWindowState
  12729. 2005-01-06 Peter Bartok <[email protected]>
  12730. * Form.cs:
  12731. - Implemented ClientSize property
  12732. - Implemented DesktopBounds property
  12733. - Implemented DesktopLocation property
  12734. - Implemented IsRestrictedWindow property
  12735. - Implemented Size property
  12736. - Implemented TopLevel property
  12737. - Implemented FormWindowState property
  12738. * Control.cs:
  12739. - Implemented GetTopLevel() method
  12740. - Implemented SetTopLevel() method
  12741. * X11Structs.cs (Atom):
  12742. - Added AnyPropertyType definition
  12743. - Added MapState definiton and updated XWindowAttribute struct
  12744. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  12745. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  12746. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  12747. * XplatUIWin32.cs:
  12748. - Implemented GetWindowState() and SetWindowState() methods
  12749. - Fixed Win32GetWindowLong return type
  12750. * XplatUIX11.cs:
  12751. - Introduced central function for sending NET_WM messages
  12752. - Implemented GetWindowState() and SetWindowState() methods
  12753. * TextBoxBase.cs (set_Lines):
  12754. - Now uses Foreground color for text added via Text property (Duh!)
  12755. - Added code to remember programmatically requested size (fixes
  12756. behaviour when Multiline is set after Size)
  12757. - Added AutoSize logic
  12758. 2005-01-06 Jackson Harper <[email protected]>
  12759. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  12760. 2005-01-06 Jackson Harper <[email protected]>
  12761. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  12762. set to less then 0.
  12763. 2005-01-06 Jackson Harper <[email protected]>
  12764. * ScrollableControl.cs: Lazy init the scrollbars.
  12765. 2005-01-06 Jackson Harper <[email protected]>
  12766. * Theme.cs: Speed up getting pens and solid brushes, by using
  12767. their ARGB as a hash instead of tostring and not calling Contains.
  12768. 2005-01-06 Peter Bartok <[email protected]>
  12769. * Form.cs:
  12770. - Implemented OnActivated and OnDeactivate event trigger
  12771. - Implemented Activate() method
  12772. - Fixed ShowDialog() to activate the form that was active before
  12773. the dialog was shown
  12774. * XplatUIX11.cs:
  12775. - Added global active_window var that tracks the currently active
  12776. X11 window
  12777. - Now always grabs Property changes from the root window to always
  12778. catch changes on the active window property
  12779. - Added code to PropertyNotify handler to send Active/Inactive
  12780. messages when state changes. This puts X11 and Win32 en par on
  12781. WM_ACTIVATE notifications (except for double notifications when
  12782. the user clicks away from our modal window to another one of our
  12783. windows)
  12784. 2005-01-05 Jackson Harper <[email protected]>
  12785. * ImageList.cs: Implment ctor
  12786. 2005-01-05 Geoff Norton <[email protected]>
  12787. * XplatUIOSX.cs: Implement Activate/SetTopmost
  12788. 2005-01-05 Geoff Norton <[email protected]>
  12789. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  12790. 2005-01-05 Geoff Norton <[email protected]>
  12791. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  12792. 2005-01-05 Peter Bartok <[email protected]>
  12793. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  12794. XplatUIOSX.cs: Added GetActive method to return the currently
  12795. active window for the application (or null, if none is active)
  12796. * Form.cs:
  12797. - Implemented ActiveForm
  12798. - Commented out owner assignment for modal dialogs (causes problems
  12799. on Win32, since the owner will be disabled)
  12800. - Reworked some Active/Focus handling (still incomplete)
  12801. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  12802. (causes problems on Win32, since the owner will be disabled)
  12803. * IWin32Window: Added ComVisible attribute
  12804. 2005-01-05 Peter Bartok <[email protected]>
  12805. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  12806. required XplatUI functions.
  12807. 2005-01-05 Peter Bartok <[email protected]>
  12808. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  12809. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  12810. to implement focus and activation handling; still incomplete and
  12811. with debug output
  12812. 2005-01-04 Peter Bartok <[email protected]>
  12813. * TextBoxBase.cs: Changed access level for Document property to
  12814. match switch to internal for TextControl
  12815. 2005-01-04 Peter Bartok <[email protected]>
  12816. * AccessibleObject: Added ComVisible attribute
  12817. 2005-01-04 Jackson Harper <[email protected]>
  12818. * X11Keyboard.cs: Remove unneeded var.
  12819. 2005-01-04 Jackson Harper <[email protected]>
  12820. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  12821. but PAINT.
  12822. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  12823. ClientMessage. This makes apps exit cleanly (more often).
  12824. 2005-01-04 Jackson Harper <[email protected]>
  12825. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  12826. handling focus, return correct colors and fonts,
  12827. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  12828. handle selection, horizontal scrolling, and mouse interaction.
  12829. 2005-01-04 Peter Bartok <[email protected]>
  12830. * ICommandExecutor.cs: Added
  12831. * IDataGridColumnStyleEditingNotificationService.cs: Added
  12832. * IFeatureSupport.cs: Added
  12833. * IFileReaderService.cs: Added
  12834. * IDataObject.cs: Added ComVisible attribute
  12835. * AmbientProperties.cs: Added
  12836. * BaseCollection.cs: Added missing attributes
  12837. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  12838. * BaseCollection.cs: Added missing attributes
  12839. * Binding.cs: Added TypeConverter attribute
  12840. * BindingContext.cs: Added DefaultEvent attribute
  12841. * BindingsCollection.cs: Added DefaultEvent attribute
  12842. * Button.cs: Added DefaultValue attribute
  12843. * DragEventArgs.cs: Added ComVisible attribute
  12844. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  12845. * KeyEventArgs.cs: Added ComVisible attribute
  12846. * KeyPressEventArgs.cs: Added ComVisible attribute
  12847. * MouseEventArgs.cs: Added ComVisible attribute
  12848. * NavigateEventArgs.cs: Added
  12849. * NavigateEventHandler.cs: Added
  12850. * FeatureSupport.cs: Added
  12851. * OSFeature.cs: Added
  12852. * Theme.cs: Added abstract Version property to support OSFeature
  12853. * ThemeWin32Classic.cs: Added Version property to
  12854. support OSFeature.Themes
  12855. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  12856. the proper styles to avoid background drawing are set, also doesn't
  12857. match MS signature
  12858. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  12859. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  12860. * ScrollEventArgs.cs: Added ComVisible attribute
  12861. * SplitterEventArgs.cs: Added ComVisible attribute
  12862. * AccessibleSelection.cs: Added Flags attribute
  12863. * Appearance.cs: Added ComVisible attribute
  12864. * Border3DSide.cs: Added ComVisible attribute
  12865. * Border3DStyle.cs: Added ComVisible attribute
  12866. * BorderStyle.cs: Added ComVisible attribute
  12867. * DragAction.cs: Added ComVisible attribute
  12868. * ErrorBlinkStyle.cs: Added
  12869. * ScrollEventType.cs: Added ComVisible attribute
  12870. * AnchorStyles.cs: Added Editor attribute
  12871. * DockStyle.cs: Added Editor attribute
  12872. * HorizontalAlignment.cs: Added ComVisible attribute
  12873. * HelpEventArgs.cs: Added ComVisible attribute
  12874. * PaintEventArgs.cs: Added IDisposable
  12875. 2005-01-04 Peter Bartok <[email protected]>
  12876. * TextControl.cs: Switched Line, LineTag and Document classes to
  12877. internal
  12878. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  12879. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  12880. Simple mode, fixes, IntegralHeight, etc.
  12881. 2005-01-04 Peter Bartok <[email protected]>
  12882. * TextBoxBase.cs: Using proper font variable now
  12883. 2005-01-04 Peter Bartok <[email protected]>
  12884. * Form.cs (ShowDialog): Set parent to owner, if provided
  12885. * GroupBox.cs: Removed unused vars
  12886. * TextControl.cs:
  12887. - Added GetHashCode() for Document and LineTag classes
  12888. - Removed unused variables
  12889. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  12890. to allow translation between continuous char position and line/pos
  12891. * CheckBox.cs: Removed vars that are provided by base class
  12892. * RadioButton.cs: Removed vars that are provided by base class, added
  12893. new keyword where required
  12894. * LinkLabel.cs: Added new keyword where required
  12895. * Control.cs (WndProc): Removed unused variable
  12896. * TextBoxBase.cs:
  12897. - Finished SelectionLength property
  12898. - Implemented SelectionStart property
  12899. - Implemented Text property
  12900. - Removed unused vars
  12901. * MessageBox.cs: Added new keyword where required
  12902. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  12903. WndProc signature
  12904. * MenuAPI.cs: Added new keyword where required
  12905. * ButtonBase.cs: Removed vars that are provided by base class, added
  12906. new keyword where required
  12907. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  12908. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  12909. into this)
  12910. * Application.cs (Run): Now triggers the ThreadExit event
  12911. * CommonDialog.cs: Added new keyword where required; now properly sets
  12912. parent (owner) for dialog
  12913. * XplatUIX11.cs: Commented out unused vars
  12914. * StatusBar.cs: Fixed signature for Text property
  12915. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  12916. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  12917. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  12918. TrackBar.cs, MonthCalendar.cs: remove unused vars
  12919. 2005-01-03 Jackson Harper <[email protected]>
  12920. * ThemeWin32Classic.cs:
  12921. * X11Keyboard.cs: Remove unused vars.
  12922. 2005-01-03 Peter Bartok <[email protected]>
  12923. * TextBox.cs:
  12924. - set_Text: Tied into TextControl
  12925. - set_TextAlignment: Tied into TextControl
  12926. * TextControl.cs:
  12927. - Added alignment properties and implemented alignment handling
  12928. and drawing (still has a bug, not generating proper expose events)
  12929. - Added new Line() constructor to allow passing the line alignment
  12930. - Fixed selection setting, properly handling end<start now
  12931. - Added aligment considerations to RecalculateDocument()
  12932. * TextBoxBase.cs:
  12933. - Now properly enforces control height for single line controls
  12934. - Added support for CharacterCasing
  12935. - Added IsInputKey override
  12936. - Fixed Keys.Enter logic
  12937. - Added SetBoundsCore override
  12938. - Fixed mouse selection handling
  12939. 2005-01-03 Jackson Harper <[email protected]>
  12940. * TreeView.cs:
  12941. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  12942. - Checkboxes are always aligned to the bottom of the node,
  12943. regardless of item height.
  12944. - Use the node bounds to draw the text so we can center it when
  12945. the item height is greater then the font height.
  12946. - Node::Bounds are only the text part of the node.
  12947. * TreeNode.cs: New method to combine collapsing and unchecking all
  12948. nodes recursively.
  12949. 2005-01-02 Jackson Harper <[email protected]>
  12950. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  12951. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  12952. tree when a check is changed. TODO: Only refresh the checked node.
  12953. 2004-12-30 Jackson Harper <[email protected]>
  12954. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  12955. * TreeNode.cs: When collapsing make sure to never collapse the
  12956. root node.
  12957. 2004-12-29 Jackson Harper <[email protected]>
  12958. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  12959. 2004-12-28 Zoltan Varga <[email protected]>
  12960. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  12961. 2004-12-28 Peter Bartok <[email protected]>
  12962. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  12963. not yet assigned
  12964. 2004-12-28 Peter Bartok <[email protected]>
  12965. * Control.cs (WndProc): Added WM_HELP handler, now generates
  12966. HelpRequested event
  12967. * Form.cs: Added HelpButton property and required support code
  12968. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  12969. 2004-12-28 Peter Bartok <[email protected]>
  12970. * CommonDialog.cs:
  12971. - Made DialogForm.owner variable internal
  12972. - Added check to ensure owner form is set before setting
  12973. owner properties in CreateParams
  12974. 2004-12-28 Geoff Norton <[email protected]>
  12975. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  12976. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  12977. GetCursorPos. Fix major visibility issues. Rework the windowing
  12978. system to support borderless/titleless windows (implements menus).
  12979. Fix GetWindowPos. Implement initial background color support for
  12980. views.
  12981. 2004-12-28 Peter Bartok <[email protected]>
  12982. * Form.cs (get_CreateParams): Make sure we have an owner before using
  12983. the owner variable. Implement proper default if no owner exists
  12984. 2004-12-28 Peter Bartok <[email protected]>
  12985. * In preparation for making Managed.Windows.Forms the default build target
  12986. for System.Windows.Forms, the following stubbed files were added.
  12987. Dialogs are currently being implemented by contributors and are only
  12988. short-term place holders.
  12989. * ColorDialog.cs: Initial check-in (minmal stub)
  12990. * DataGrid.cs: Initial check-in (minimal stub)
  12991. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  12992. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  12993. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  12994. * FontDialog.cs: Initial check-in (minimal stub)
  12995. * FileDialog.cs: Initial check-in (minimal stub)
  12996. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  12997. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  12998. * OpenFileDialog: Initial check-in (minimal stub)
  12999. * IComponentEditorPageSite.cs: Initial check-in
  13000. * Splitter.cs: Initial check-in (for Jackson)
  13001. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  13002. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  13003. * TextBox.cs: Initial check-in; still needs some wiring to
  13004. TextControl backend
  13005. * Form.cs: Implemented ControlBox property
  13006. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  13007. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  13008. * TextControl.cs: Added selection functionality; added todo header
  13009. * TextBoxBase.cs:
  13010. - Implemented Lines property
  13011. - Implemented TextHeight property
  13012. - Implemented SelectedText property
  13013. - Implemented SelectionLength property
  13014. - Implemented SelectAll method
  13015. - Implemented ToString method
  13016. - Removed and cleaned up some debug code
  13017. - Implemented (still buggy) mouse text selection
  13018. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  13019. * ComboBox.cs: Complete DropDownList implementation, fixes.
  13020. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  13021. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  13022. * ComboBoxStyle.cs: ComboBoxStyle enum
  13023. * ComboBox.cs: Initial work on ComboBox control
  13024. 2004-12-21 Peter Bartok <[email protected]>
  13025. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  13026. forward so that anything that creates a window gets the default,
  13027. also no longer uses Visible property in CreateParams to avoid
  13028. walking up the parent chain and possibly get the wrong visible
  13029. status. Fixed IsVisible to no longer walk up to the parent.
  13030. 2004-12-21 Peter Bartok <[email protected]>
  13031. * Form.cs (ShowDialog): Unset modality for the proper window
  13032. 2004-12-20 Peter Bartok <[email protected]>
  13033. * CommonDialog.cs: Initial check-in
  13034. 2004-12-20 Peter Bartok <[email protected]>
  13035. * Control.cs (Visible): Now uses the parent window instead of the
  13036. client area window for the property
  13037. * Form.cs
  13038. - ShowDialog(): Now uses the proper window for modality
  13039. - The default visibility state for the form parent is now false. This
  13040. will prevent the user from seeing all the changes to the form and
  13041. its controls before the application hits Application.Run()
  13042. - Removed some stale commented out code
  13043. * NativeWindow.cs:
  13044. - Added FindWindow() method to have a method to check for existence
  13045. of a window handle
  13046. - Added ability to override default exception handling (for example
  13047. when debugging with VS.Net; to do this the ExternalExceptionHandler
  13048. define must be set
  13049. - Removed some useless debug output
  13050. * XplatUIX11.cs:
  13051. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  13052. not working as expected
  13053. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  13054. property to allow switching back to the modal window if focus is
  13055. given to another one of our windows (Application Modal)
  13056. - Now only sets override_redirect if we create a window
  13057. without WS_CAPTION
  13058. - Moved EventMask selection before mapping of newly created window
  13059. so we can catch the map event as well
  13060. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  13061. - Added various Atom related DllImports
  13062. - Implemented Exit() method
  13063. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  13064. in the CreateParams
  13065. * MessageBox.cs: Now properly deals with the FormParent window by
  13066. providing an override the FormParent CreateParams property to
  13067. set as POPUP instead of OVERLAPPED window.
  13068. 2004-12-19 Geoff Norton <[email protected]>
  13069. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  13070. Minor code cleanup.
  13071. 2004-12-19 Geoff Norton <[email protected]>
  13072. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  13073. 2004-12-18 Peter Bartok <[email protected]>
  13074. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  13075. implementing SetModal() method
  13076. 2004-12-18 Peter Bartok <[email protected]>
  13077. * X11Structs.cs (XGCValues): Fixed type of function element
  13078. * XplatUI.cs: Added ScrollWindow() method
  13079. * XplatUIDriver.cs: Added ScrollWindow() abstract
  13080. * XplatUIWin32.cs: Implemented ScrollWindow() method
  13081. * XplatUIX11.cs: Implemented ScrollWindow() method
  13082. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  13083. 2004-12-17 Geoff Norton <[email protected]>
  13084. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  13085. Some more keyboard support (INCOMPLETE)
  13086. 2004-12-17 Peter Bartok <[email protected]>
  13087. * TextControl.cs:
  13088. - Added color attribute to line tags.
  13089. - Added color argument to all functions dealing with tags
  13090. - Added color argument support to various functions
  13091. - Fixed miss-calculation of baseline/shift in certain circumstances
  13092. * TextBoxBase.cs: Added new color option to test code
  13093. 2004-12-17 Jackson Harper <[email protected]>
  13094. * TreeNode.cs:
  13095. * MonthCalendar.cs: Signature fixes
  13096. 2004-12-17 Geoff Norton <[email protected]>
  13097. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  13098. keyboard event moved it. Create a new graphics context for each paint resolves this
  13099. 2004-12-17 Geoff Norton <[email protected]>
  13100. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  13101. Make caret exist and go blink blink. Initial keyboard support.
  13102. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  13103. works.
  13104. 2004-12-17 Jackson Harper <[email protected]>
  13105. * XplatUIStructs.cs: Updated set of virtual keycodes.
  13106. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  13107. 2004-12-17 Jackson Harper <[email protected]>
  13108. * XplatUIX11.cs: Prune old keyboard code.
  13109. 2004-12-17 Jackson Harper <[email protected]>
  13110. * XplatUIX11.cs: When generating mouse wparams get the modifier
  13111. keys from the ModifierKeys property.
  13112. 2004-12-17 Jackson Harper <[email protected]>
  13113. * X11Keyboard.cs: Send up/down input when generating
  13114. messages. Remove some unused vars.
  13115. 2004-12-17 Jackson Harper <[email protected]>
  13116. * TabControl.cs:
  13117. * TreeView.cs: get rid of warnings.
  13118. 2004-12-17 Jackson Harper <[email protected]>
  13119. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  13120. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  13121. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  13122. CheckedListBox.cs: Implementation
  13123. 2004-12-17 Peter Bartok <[email protected]>
  13124. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  13125. 2004-12-16 Peter Bartok <[email protected]>
  13126. * TextControl.cs:
  13127. - InsertCharAtCaret(): Fixed start pos fixup
  13128. - CaretLine_get: No longer derives the line from the tag, the tag
  13129. could be stale if lines in the document have been added or deleted
  13130. - RebalanceAfterDelete(): Fixed bug in balancing code
  13131. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  13132. - Line.Streamline(): Now can also elminate leading empty tags
  13133. - DumpTree(): Added a few more tests and prevented exception on
  13134. uninitialized data
  13135. - Added Debug section for Combining lines
  13136. - Delete(): Now copies all remaining properties of a line
  13137. * TextBoxBase.cs:
  13138. - Left mousebutton now sets the caret (and middle button still acts
  13139. as formatting tester, which must go away soon)
  13140. - Added Debug section for Deleting/Combining lines
  13141. - Fixed calculations for UpdateView after Combining lines
  13142. 2004-12-16 Peter Bartok <[email protected]>
  13143. * TextControl.cs: Now properly aligns text on a baseline, using the
  13144. new XplatUI.GetFontMetrics() method. Simplified several calculations
  13145. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  13146. defined
  13147. 2004-12-16 Peter Bartok <[email protected]>
  13148. * XplatUI.cs: Added GetFontMetrics() method
  13149. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  13150. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  13151. into libgdiplus, our private GetFontMetrics function
  13152. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  13153. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  13154. 2004-12-16 Jackson Harper <[email protected]>
  13155. * XplatUIStruct.cs: Add enum for dead keys
  13156. * X11Keyboard.cs: Map and unmap dead keys.
  13157. 2004-12-16 Jackson Harper <[email protected]>
  13158. * X11Keyboard.cs: Detect and use the num lock mask.
  13159. 2004-12-16 Peter Bartok <[email protected]>
  13160. * Control.cs (CreateGraphics): Added check to make sure the
  13161. handle of the window exists before calling Graphics.FromHwnd()
  13162. 2004-12-16 Peter Bartok <[email protected]>
  13163. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  13164. contains a lot of code that's not supposed to be there for the
  13165. real thing, but required for developing/testing the textbox
  13166. backend.
  13167. 2004-12-16 Peter Bartok <[email protected]>
  13168. * TextControl.cs:
  13169. - Fixed Streamline method
  13170. - Added FindTag method to Line
  13171. - Added DumpTree method for debugging
  13172. - Added DecrementLines() method for deleting lines
  13173. - Fixed UpdateView to update the cursor to end-of-line on single-line
  13174. updates
  13175. - Added PositionCaret() method
  13176. - Fixed MoveCaret(LineDown) to move into the last line, too
  13177. - Added InsertChar overload
  13178. - Fixed InsertChar tag offset calculations
  13179. - Added DeleteChar() method
  13180. - Added Combine() method for folding lines
  13181. - Fixed Delete() method, no longer allocates wasted Line object and
  13182. now copies all properties when swapping nodes
  13183. - Delete() method now updates document line counter
  13184. 2004-12-15 Jackson Harper <[email protected]>
  13185. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  13186. * X11Keyboard.cs: Expose the currently selected modifier keys
  13187. through a property.
  13188. 2004-12-15 Peter Bartok <[email protected]>
  13189. * TextControl.cs: Initial check-in. Still incomplete
  13190. 2004-12-15 Jackson Harper <[email protected]>
  13191. * TreeNode.cs:
  13192. * TreeView.cs: Fix build on csc (second time today ;-))
  13193. 2004-12-15 Jackson Harper <[email protected]>
  13194. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  13195. is calculated and use this for click testing.
  13196. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  13197. 2004-12-15 Jackson Harper <[email protected]>
  13198. * TreeView.cs: Pass the nodes image index to the image list when
  13199. drawing that image.
  13200. 2004-12-15 Jackson Harper <[email protected]>
  13201. * X11Keyboard.cs: Set messages hwnd.
  13202. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  13203. post_message calls.
  13204. 2004-12-15 Jackson Harper <[email protected]>
  13205. * X11Keyboard.cs: Fix to compile with csc.
  13206. 2004-12-15 Jackson Harper <[email protected]>
  13207. * X11Structs.cs: Add key mask values
  13208. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  13209. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  13210. down/up foo into WM_CHAR foo
  13211. * KeyboardLayouts.cs: Common keyboard layouts
  13212. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  13213. post messages into the main queue.
  13214. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  13215. * Button.cs: implement ProcessMnemonic
  13216. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  13217. brushes everytime
  13218. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  13219. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  13220. 2004-12-12 John BouAntoun <[email protected]>
  13221. * MonthCalendar.cs: Implemented click-hold for next/previous month
  13222. and date selection
  13223. 2004-12-11 Peter Bartok <[email protected]>
  13224. * X11Structs.cs:
  13225. - Added XKeyboardState (moved from XplatUIX11.cs)
  13226. - Added XCreateGC related enums and structures
  13227. - Added GXFunction for XSetFunction
  13228. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  13229. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  13230. CaretVisible() calls
  13231. * ToolTip.cs: Added code to prevent stealing focus from app windows
  13232. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  13233. DestroyCaret, SetCaretPos and CaretVisible)
  13234. * XplatUIX11.cs:
  13235. - Added implementation for caret functions
  13236. - Moved hover variables into a struct, to make it a bit easier
  13237. on the eyes and to debug
  13238. - Removed XKeyboardState (moved to XplatUIX11.cs)
  13239. - Moved Keyboard properties into the properties region
  13240. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  13241. call to get a graphics context for our control
  13242. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  13243. * TreeView.cs: Fixed bug. No matter what color was set it would always
  13244. return SystemColors.Window
  13245. * XplatUIWin32.cs: Implemented caret overrides
  13246. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  13247. * ListBox.cs: fire events, implement missing methods and properties,
  13248. sorting.
  13249. 2004-12-10 John BouAntoun <[email protected]>
  13250. * MonthCalendar.cs: invalidation bug fixing
  13251. * ThemeWin32Classic.cs: paint fixing
  13252. 2004-12-09 Geoff Norton <[email protected]>
  13253. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  13254. prepare the CGContextRef there now.
  13255. 2004-12-09 John BouAntoun <[email protected]>
  13256. * MonthCalendar.cs:
  13257. - optimisationL only invalidate areas that have changed
  13258. * ThemeWin32Classic.cs:
  13259. - only paint parts that intersect with clip_area
  13260. 2004-12-09 Peter Bartok <[email protected]>
  13261. * Application.cs: Undid changes from r37004 which cause problems
  13262. on X11
  13263. 2004-12-09 Ravindra <[email protected]>
  13264. * ToolBar.cs: Added support for displaying ContextMenu
  13265. attached to a button on ToolBar.
  13266. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  13267. property.
  13268. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  13269. * Label.cs: autosize works in text change and removes unnecessary
  13270. invalidate
  13271. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  13272. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  13273. remove warnings
  13274. 2004-12-08 Geoff Norton <[email protected]>
  13275. * XplatUIOSX.cs: Added mouse move/click/grab support
  13276. Remove some debugging WriteLines not needed anymore.
  13277. Add window resizing/positioning.
  13278. Fix visibility on reparenting.
  13279. 2004-12-08 Peter Bartok <[email protected]>
  13280. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  13281. 2004-12-07 Geoff Norton <[email protected]>
  13282. * XplatUIOSX.cs: Initial checkin
  13283. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  13284. 2004-12-03 Ravindra <[email protected]>
  13285. * ListView.cs: Added some keybindings and fixed scrolling.
  13286. ScrollBars listen to ValueChanged event instead of Scroll
  13287. Event. This would let us take care of all changes being
  13288. done in the scrollbars' values programmatically or manually.
  13289. * ListView.cs (CanMultiselect): Added a check for shift key.
  13290. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  13291. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  13292. of ListViewSubItemCollection as well.
  13293. 2004-12-06 Peter Bartok <[email protected]>
  13294. * Control.cs (Parent): Added check and exception to prevent
  13295. circular parenting
  13296. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  13297. * ListBox.cs: implemented clipping, selection single and multiple,
  13298. bug fixing
  13299. 2004-12-03 Ravindra <[email protected]>
  13300. * ListView.cs (ListView_KeyDown):
  13301. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  13302. when CTRL key is pressed.
  13303. * ListViewItem.cs (Selected): Fixed setting the property.
  13304. 2004-12-03 Marek Safar <[email protected]>
  13305. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  13306. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  13307. MinimizeBox, ShowInTaskbar, TopMost properties.
  13308. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  13309. will be implemented).
  13310. 2004-12-03 Marek Safar <[email protected]>
  13311. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  13312. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  13313. tests.
  13314. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  13315. * TreeView.cs: BackColor is Colors.Window.
  13316. 2004-12-01 Jackson Harper <[email protected]>
  13317. * TreeView.cs: When resizing the tree if the user is making it
  13318. smaller we don't get expose events, so we need to handle adding
  13319. the horizontal scrollbar in the size changed handler as well as
  13320. the expose handler.
  13321. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  13322. * DrawItemState.cs: fixes wrong enum values
  13323. 2004-12-01 Jackson Harper <[email protected]>
  13324. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  13325. 2004-12-01 Jackson Harper <[email protected]>
  13326. * NodeLabelEditEventArgs.cs:
  13327. * NodeLabelEditEventHandler.cs:
  13328. * OpenTreeNodeEnumerator.cs:
  13329. * TreeNode.cs:
  13330. * TreeNodeCollection.cs:
  13331. * TreeView.cs:
  13332. * TreeViewAction.cs:
  13333. * TreeViewCancelEventArgs.cs:
  13334. * TreeViewCancelEventHandler.cs:
  13335. * TreeViewEventArgs.cs:
  13336. * TreeViewEventHandler.cs: Initial implementation.
  13337. 2004-12-01 Ravindra <[email protected]>
  13338. * ListView.cs (CalculateListView): Fixed scrolling related
  13339. calculations. Also, removed some debug statements from other
  13340. places.
  13341. * ListViewItem.cs: Changed access to 'selected' instance variable
  13342. from private to internal.
  13343. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  13344. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  13345. * ThemeWin32Classic.cs: remove cache of brush and pens for
  13346. specific controls and use the global system, fixes scrollbutton
  13347. bugs (for small sizes, disabled, etc)
  13348. * ScrollBar.cs: does not show the thumb for very small controls
  13349. (as MS) and allow smaller buttons that the regular size
  13350. 2004-12-01 Miguel de Icaza <[email protected]>
  13351. * UpDownBase.cs: Add abstract methods for the interface.
  13352. Add new virtual methods (need to be hooked up to TextEntry when it
  13353. exists).
  13354. Add override methods for most features.
  13355. Computes the size, forces the height of the text entry.
  13356. * NumericUpDown.cs: Put here the current testing code.
  13357. * Set eol-style property on all files that do not have mixed line
  13358. endings, to minimize the future problems. There are still a few
  13359. files with mixed endings, and someone should choose whether they
  13360. want to move it or not.
  13361. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  13362. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  13363. System.Colors
  13364. 2004-11-30 Ravindra <[email protected]>
  13365. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  13366. drawing and replaced use of SystemColors by theme colors.
  13367. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  13368. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  13369. same ListViewItem is being added more than once.
  13370. 2004-11-30 John BouAntoun <[email protected]>
  13371. * MonthCalendar.cs:
  13372. - ControlStyles love to make the control not flicker
  13373. 2004-11-30 Peter Bartok <[email protected]>
  13374. * CharacterCasing.cs: Added
  13375. 2004-11-29 Peter Bartok <[email protected]>
  13376. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  13377. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  13378. I am removing these files as they conflict with already completed
  13379. work. While it is fantastic to get contributions to MWF, I
  13380. respectfully ask that everyone please coordinate their contributions
  13381. through mono-winforms-list or #mono-winforms at this time. We're
  13382. explicitly avoiding stubbing and don't want controls that don't have
  13383. their basic functionality implemented in svn. Please also see
  13384. http://www.mono-project.com/contributing/winforms.html
  13385. 2004-11-29 Marek Safar <[email protected]>
  13386. * Application.cs (ModalRun): Don't hang after exit.
  13387. * Theme.cs: New TreeViewDefaultSize property.
  13388. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  13389. with less hardcoded SystemColors constant.
  13390. Implemented TreeViewDefaultSize.
  13391. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  13392. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  13393. 2004-11-29 John BouAntoun <[email protected]>
  13394. * MonthCalendar.cs:
  13395. - Fix NextMonthDate and PrevMonthDate click moving calendar
  13396. 2004-11-26 John BouAntoun <[email protected]>
  13397. * MonthCalendar.cs:
  13398. - Fix usage of ScrollChange Property when scrolling months
  13399. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  13400. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  13401. - Fixes menu destroying
  13402. - Support adding and removing items on already created menus
  13403. 2004-11-26 John BouAntoun <[email protected]>
  13404. * MonthCalendar.cs:
  13405. - Re-worked all bolded dates handling to match win32
  13406. * ThemeWin32Classic.cs:
  13407. - Fixed rendering with bolded dates
  13408. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  13409. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  13410. - Horizontal scroolbar
  13411. - Multicolumn
  13412. - Fixes
  13413. 2004-11-25 John BouAntoun <[email protected]>
  13414. * MonthCalendar.cs:
  13415. - Fix Usage of MaxSelectionCount from SelectionRange
  13416. - Fixed Shift + Cursor Selection
  13417. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  13418. - Fixed normal cursor selection to be compat with win32
  13419. - Fixed Shift + Mouse Click selection
  13420. 2004-11-24 Peter Bartok <[email protected]>
  13421. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  13422. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  13423. * XplatUIX11.cs:
  13424. - CreatedKeyBoardMsg now updates keystate with Alt key
  13425. - Added workaround for timer crash to CheckTimers, Jackson will
  13426. develop a proper fix and check in later
  13427. - Implemented DispatchMessage
  13428. - Removed calling the native window proc from GetMessage (call
  13429. now moved to DispatchMessage)
  13430. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  13431. the keydata (Fixes bug #69831)
  13432. * XplatUIWin32.cs:
  13433. - (DispatchMessage): Switched to return IntPtr
  13434. - Added DllImport for SetFocus
  13435. 2004-11-24 Ravindra <[email protected]>
  13436. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  13437. background drawing.
  13438. * ListViewItem.cs: Fixed various properties, calculations
  13439. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  13440. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  13441. and some internal properties. Fixed MouseDown handler and Paint
  13442. method.
  13443. 2004-11-24 John BouAntoun <[email protected]>
  13444. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  13445. 2004-11-24 John BouAntoun <[email protected]>
  13446. * ContainerControl.cs: correct accidental check in of local changes
  13447. 2004-11-24 John BouAntoun <[email protected]>
  13448. * ThemeWin32Classic.cs:
  13449. - Fixed Drawing Last month in grid (sometimes not showing)
  13450. * MonthCalendar.cs:
  13451. - Fixed title width calculation bug (makeing title small)
  13452. 2004-11-23 Peter Bartok <[email protected]>
  13453. * XplatUIX11.cs:
  13454. - Added generation of WM_MOUSEHOVER event
  13455. - Added missing assignment of async_method atom
  13456. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  13457. 2004-11-23 John BouAntoun <[email protected]>
  13458. * ThemeWin32Classic.cs:
  13459. - Fixed Drawing of today circle when showtodaycircle not set
  13460. - fixed drawing of first and last month in the grid (gay dates)
  13461. * MonthCalendar.cs:
  13462. - Fixed Drawing of today circle
  13463. - Fixed drawing of grady dates
  13464. - Fixed HitTest for today link when ShowToday set to false
  13465. - Fixed DefaultSize to obey ShowToday
  13466. 2004-11-23 John BouAntoun <[email protected]>
  13467. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  13468. * System.Windows.Forms/Theme.cs
  13469. * MonthCalendar.cs: added for MonthCalendar
  13470. * SelectionRange.cs: added for MonthCalendar
  13471. * Day.cs: added for MonthCalendar: added for MonthCalendar
  13472. * DateRangeEventArgs.cs: added for MonthCalendar
  13473. * DateRangeEventHandler.cs: added for MonthCalendar
  13474. 2004-11-22 Ravindra <[email protected]>
  13475. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  13476. property.
  13477. 2004-11-22 Miguel de Icaza <[email protected]>
  13478. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  13479. event handler.
  13480. * NumericUpDown.cs: Added new implementation.
  13481. * UpDownBase.cs: Added new implementation.
  13482. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  13483. implementations.
  13484. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  13485. implementations.
  13486. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  13487. methods.
  13488. 2004-11-21 Miguel de Icaza <[email protected]>
  13489. * Timer.cs (Dispose): Should call the base dispose when
  13490. overriding.
  13491. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  13492. * ScrollBar.cs: updates thumb position when max, min or increment
  13493. is changed
  13494. 2004-11-21 Ravindra <[email protected]>
  13495. * ListView.cs: Implemented item selection, activation and
  13496. column header style. Fixed properties to do a redraw, if
  13497. required. Added support for MouseHover, DoubleClick, KeyDown
  13498. and KeyUp event handling and some minor fixes.
  13499. * ListViewItem.cs: Fixed constructor.
  13500. * ThemeWin32Classic.cs: Improved drawing for ListView.
  13501. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  13502. * ThemeWin32Classic.cs: initial listbox drawing code
  13503. * DrawMode.cs: new enumerator
  13504. * ListControl.cs: stubbed class
  13505. * ListBox.cs: initial implementation
  13506. * Theme.cs: new methods definitions
  13507. * SelectionMode.cs: new enumerator
  13508. 2004-11-17 Peter Bartok <[email protected]>
  13509. * XplatUIWin32.cs: Added double-click events to the class style
  13510. * Control.cs (WndProc):
  13511. - Added handling of click-count to MouseDown/ MouseUp events.
  13512. - Added handling of middle and right mouse buttons
  13513. - Removed old debug code
  13514. 2004-11-17 Jackson Harper <[email protected]>
  13515. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  13516. 2004-11-17 Ravindra <[email protected]>
  13517. * ListView.cs: Added event handling for MouseMove/Up/Down.
  13518. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  13519. * ThemeWin32Classic.cs: We need to clear the graphics context and
  13520. draw column header in a proper state.
  13521. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  13522. * Menu.cs: fixes signature
  13523. 2004-11-16 Peter Bartok <[email protected]>
  13524. * XplatUIX11.cs (GetMessage): Implemented generation of
  13525. double click mouse messages
  13526. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  13527. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  13528. not by menu
  13529. 2004-11-11 Peter Bartok <[email protected]>
  13530. * HandleData.cs: Added Visible property
  13531. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  13532. HandleData
  13533. * XplatUIX11.cs: Removed old debug leftovers
  13534. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  13535. * Control.cs (WndProc): Removed old debug leftovers,
  13536. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  13537. needed WM_SIZE handling
  13538. 2004-11-11 Jackson Harper <[email protected]>
  13539. * OwnerDrawPropertyBag.cs:
  13540. * TreeViewImageIndexConverter.cs: Initial implementation
  13541. 2004-11-10 Jackson Harper <[email protected]>
  13542. * ThemeWin32Classic.cs:
  13543. * TabControl.cs: instead of moving tabs by the slider pos just
  13544. start drawing at the tab that is offset by the slider. This way
  13545. scrolling always moves by exactly one tab.
  13546. 2004-11-10 Jackson Harper <[email protected]>
  13547. * TabControl.cs: You can only scroll left when the slider has
  13548. already ben moved right.
  13549. 2004-11-10 Jackson Harper <[email protected]>
  13550. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  13551. the clip area.
  13552. 2004-11-10 Jackson Harper <[email protected]>
  13553. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  13554. clip area.
  13555. 2004-11-09 Jackson Harper <[email protected]>
  13556. * TabControl.cs (CalcXPos): New helper method so we can determine
  13557. the proper place to start drawing vertical tabs.
  13558. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  13559. 2004-11-09 Jackson Harper <[email protected]>
  13560. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  13561. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  13562. and Bottom, left and right are illegal values for this and
  13563. multiline is enabled when the alignment is set to left or right.
  13564. (DrawTab): Each alignment block should draw the text itself now
  13565. because Left requires special love. Also add rendering for Left
  13566. aligned tabs.
  13567. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  13568. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  13569. does not destroy the windows, removes debugging messages
  13570. 2004-11-09 jba <[email protected]>
  13571. * ThemeWin32Classic.cs
  13572. (DrawButtonBase): Fix verticle text rect clipping in windows
  13573. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  13574. rendering and incorrect text rect clipping
  13575. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  13576. rendering and incorrect text rect clipping
  13577. 2004-11-08 Jackson Harper <[email protected]>
  13578. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  13579. bottom when they are bottom aligned so the bottoms of the tabs get
  13580. displayed.
  13581. * TabControl.cs (DropRow): Move rows up instead of down when the
  13582. tab control is bottom aligned.
  13583. 2004-11-08 13:59 pbartok
  13584. * XplatUIX11.cs:
  13585. - Added handling for various window styles
  13586. - Added handling for popup windows
  13587. - Added SetTopmost handling
  13588. 2004-11-08 13:55 pbartok
  13589. * XplatUIWin32.cs:
  13590. - Added argument to SetTopmost method
  13591. - Fixed broken ClientToScreen function
  13592. 2004-11-08 13:53 pbartok
  13593. * XplatUIStructs.cs:
  13594. - Added missing WS_EX styles
  13595. 2004-11-08 13:53 pbartok
  13596. * XplatUI.cs, XplatUIDriver.cs:
  13597. - Added argument to SetTopmost
  13598. 2004-11-08 13:52 pbartok
  13599. * X11Structs.cs:
  13600. - Added XSetWindowAttributes structure
  13601. - Improved XWindowAttributes structure
  13602. - Added SetWindowValuemask enum
  13603. - Added window creation arguments enum
  13604. - Added gravity enum
  13605. - Added Motif hints structure
  13606. - Added various Motif flags and enums
  13607. - Added PropertyMode enum for property functions
  13608. 2004-11-08 13:50 pbartok
  13609. * Form.cs:
  13610. - Fixed arguments for updated SetTopmost method
  13611. 2004-11-08 13:49 pbartok
  13612. * ToolTip.cs:
  13613. - Fixed arguments for updated SetTopmost function
  13614. - Fixed usage of PointToClient
  13615. 2004-11-08 13:44 pbartok
  13616. * MenuAPI.cs:
  13617. - Added Clipping of children and siblings
  13618. 2004-11-08 13:41 pbartok
  13619. * MainMenu.cs:
  13620. - Removed SetMenuBarWindow call. We do this in Form.cs
  13621. 2004-11-08 13:40 jackson
  13622. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  13623. scrolling jimmi in the correct location with bottom aligned tabs
  13624. 2004-11-08 13:36 pbartok
  13625. * ContainerControl.cs:
  13626. - Implemented BindingContext
  13627. - Implemented ParentForm
  13628. 2004-11-08 12:46 jackson
  13629. * TabControl.cs: Put bottom rendered tabs in the right location
  13630. 2004-11-08 07:15 jordi
  13631. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  13632. removes dead code
  13633. 2004-11-05 17:30 jackson
  13634. * TabControl.cs: When selected tabs are expanded make sure they
  13635. don't go beyond the edges of the tab control
  13636. 2004-11-05 14:57 jackson
  13637. * TabControl.cs: Reset show_slider so if the control is resized to
  13638. a size where it is no longer needed it's not displayed anymore
  13639. 2004-11-05 13:16 jackson
  13640. * TabControl.cs: Make tab pages non visible when added to the
  13641. control
  13642. 2004-11-05 12:42 jackson
  13643. * TabControl.cs: Implement SizeMode.FillToRight
  13644. 2004-11-05 12:16 jackson
  13645. * Control.cs: Do not call CreateHandle if the handle is already
  13646. created
  13647. 2004-11-05 11:46 jackson
  13648. * TabControl.cs: Remove superflous call to CalcTabRows
  13649. 2004-11-05 09:07 jackson
  13650. * XplatUIX11.cs: Update for Mono.Posix changes
  13651. 2004-11-05 07:00 ravindra
  13652. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  13653. scrolling.
  13654. 2004-11-04 22:47 jba
  13655. * ThemeWin32Classic.cs:
  13656. - Fix Button rendering for FlatStyle = Flat or Popup
  13657. - Fix RadioButton and CheckBox rendering when Appearance = Button
  13658. (normal and flatstyle).
  13659. - Correct outer rectangle color when drawing focus rectangle
  13660. - Adjust button bounds to be 1 px smaller when focused
  13661. - Make button not draw sunken 3d border when pushed (windows compat)
  13662. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  13663. - Offset the text in RadioButton and Checkbox when being rendered as
  13664. a button.
  13665. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  13666. radiobuttons
  13667. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  13668. - Fixed disabled text rendering for normally rendered radiobuttons
  13669. 2004-11-04 10:26 jackson
  13670. * TabControl.cs: Recalculate tab rows when resizing
  13671. 2004-11-04 07:47 jordi
  13672. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  13673. collection completion, drawing issues, missing features
  13674. 2004-11-04 05:03 ravindra
  13675. * ScrollBar.cs:
  13676. - We need to recalculate the Thumb area when
  13677. LargeChange/maximum/minimum values are changed.
  13678. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  13679. than minimum. This is required to handle the case if large_change is
  13680. more than max, and use LargeChange property instead of large_change
  13681. variable.
  13682. - We return max+1 when large_change is more than max, like MS does.
  13683. 2004-11-04 04:29 ravindra
  13684. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  13685. - Changed default value signatures (prefixed all with ListView).
  13686. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  13687. ListView.
  13688. - Fixed calculations for ListViewItem and implemented Clone()
  13689. method.
  13690. 2004-11-04 04:26 ravindra
  13691. * Theme.cs, ThemeWin32Classic.cs:
  13692. - Changed default ListView values signatures (prefixed all with
  13693. ListView).
  13694. - Fixed default size values for VScrollBar and HScrollBar.
  13695. - Fixed DrawListViewItem method.
  13696. 2004-11-04 04:05 ravindra
  13697. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  13698. 2004-11-04 04:04 ravindra
  13699. * ImageList.cs: Implemented the missing overload for Draw method.
  13700. 2004-11-03 19:29 jackson
  13701. * TabControl.cs: Handle dropping rows on selection properly
  13702. 2004-11-03 11:59 jackson
  13703. * TabControl.cs: remove debug code
  13704. 2004-11-03 11:52 jackson
  13705. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  13706. the scrolly widgerywoo
  13707. 2004-11-02 13:52 jackson
  13708. * TabControl.cs: Resize the tab pages and tabs when the tab control
  13709. is resized
  13710. 2004-11-02 13:40 jackson
  13711. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  13712. selected tab to the bottom
  13713. 2004-11-02 13:39 jackson
  13714. * TabPage.cs: Store the tab pages row
  13715. 2004-11-02 12:33 jordi
  13716. * MenuItem.cs: fixes handle creation
  13717. 2004-11-02 11:42 jackson
  13718. * TabControl.cs: signature fix
  13719. 2004-11-02 08:56 jackson
  13720. * TabControl.cs: Calculate whether the tab is on an edge properly.
  13721. Remove top secret debugging code
  13722. 2004-11-01 19:57 jackson
  13723. * TabControl.cs: Add click handling, and proper sizing
  13724. 2004-11-01 19:47 jackson
  13725. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  13726. tab controls
  13727. 2004-11-01 19:39 jackson
  13728. * TabPage.cs: add internal property to store the bounds of a tab
  13729. page
  13730. 2004-10-30 04:23 ravindra
  13731. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  13732. values.
  13733. 2004-10-30 04:21 ravindra
  13734. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  13735. fixed calculations.
  13736. 2004-10-30 03:06 pbartok
  13737. * XplatUIX11.cs:
  13738. - Removed extension of DllImported libs
  13739. 2004-10-29 09:55 jordi
  13740. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  13741. navigation, itemcollection completion, menu fixes
  13742. 2004-10-27 22:58 pbartok
  13743. * XplatUIX11.cs:
  13744. - Now throws a nice error message when no X display could be opened
  13745. 2004-10-26 13:51 jordi
  13746. * ListView.cs: removes warning
  13747. 2004-10-26 03:55 ravindra
  13748. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  13749. ThemeWin32Classic.cs: Some formatting for my last checkins.
  13750. 2004-10-26 03:36 ravindra
  13751. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  13752. control and default values.
  13753. 2004-10-26 03:35 ravindra
  13754. * Theme.cs: Added some default values for ListView control.
  13755. 2004-10-26 03:33 ravindra
  13756. * ToolBar.cs: ToolBar should use the user specified button size, if
  13757. there is any. Added a size_specified flag for the same.
  13758. 2004-10-26 03:33 ravindra
  13759. * ColumnHeader.cs: Added some internal members and calculations for
  13760. ColumnHeader.
  13761. 2004-10-26 03:32 ravindra
  13762. * ListViewItem.cs: Calculations for ListViewItem.
  13763. 2004-10-26 03:31 ravindra
  13764. * ListView.cs: Added some internal members and calculations for
  13765. ListView.
  13766. 2004-10-22 13:31 jordi
  13767. * MenuAPI.cs: speedup menus drawing
  13768. 2004-10-22 13:16 jackson
  13769. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  13770. expose event
  13771. 2004-10-22 11:49 jackson
  13772. * Control.cs: oops
  13773. 2004-10-22 11:41 jackson
  13774. * Control.cs: Check to see if the window should have its background
  13775. repainted by X when drawing.
  13776. 2004-10-22 11:31 jackson
  13777. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  13778. clear is true, this way we do not get flicker from X repainting the
  13779. background
  13780. 2004-10-22 11:28 jackson
  13781. * XEventQueue.cs: Queue properly
  13782. 2004-10-21 09:38 jackson
  13783. * XEventQueue.cs: Fix access modifier
  13784. 2004-10-21 09:36 jackson
  13785. * XEventQueue.cs: Don't loose messages
  13786. 2004-10-21 09:22 jackson
  13787. * XEventQueue.cs: Don't loose messages
  13788. 2004-10-20 04:15 jordi
  13789. * BootMode.cs: enum need it by SystemInfo
  13790. 2004-10-19 21:58 pbartok
  13791. * XplatUIWin32.cs:
  13792. - Small sanity check
  13793. 2004-10-19 21:56 pbartok
  13794. * Form.cs:
  13795. - Added private FormParentWindow class which acts as the container
  13796. for our form and as the non-client area where menus are drawn
  13797. - Added/Moved required tie-ins to Jordi's menus
  13798. - Fixed/Implemented the FormStartPosition functionality
  13799. 2004-10-19 21:52 pbartok
  13800. * Control.cs:
  13801. - Removed unneeded locals
  13802. - Added code to all size and location properties to understand and
  13803. deal with the parent container of Form
  13804. 2004-10-19 21:33 pbartok
  13805. * Application.cs:
  13806. - Fixed to deal with new Form subclasses for menus
  13807. 2004-10-19 17:48 jackson
  13808. * XEventQueue.cs: commit correct version of file
  13809. 2004-10-19 16:50 jackson
  13810. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  13811. 2004-10-19 16:15 jordi
  13812. * MenuAPI.cs: MenuBarCalcSize returns the height
  13813. 2004-10-19 08:31 pbartok
  13814. * Control.cs:
  13815. - Added missing call to PreProcessMessage before calling OnXXXKey
  13816. methods
  13817. 2004-10-19 00:04 ravindra
  13818. * ToolTip.cs: Fixed constructor.
  13819. 2004-10-18 09:31 jordi
  13820. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  13821. 2004-10-18 09:26 jordi
  13822. * MenuItem.cs: fixes MenuItem class signature
  13823. 2004-10-18 08:56 jordi
  13824. * MenuAPI.cs: prevents windows from showing in the taskbar
  13825. 2004-10-18 00:28 ravindra
  13826. * ToolTip.cs: Suppressed a warning message.
  13827. 2004-10-18 00:27 ravindra
  13828. * Control.cs: Default value of visible property must be true.
  13829. 2004-10-17 23:19 pbartok
  13830. * ToolTip.cs:
  13831. - Complete implementation
  13832. 2004-10-17 23:19 pbartok
  13833. * XplatUIX11.cs:
  13834. - Added EnableWindow method
  13835. - Added SetModal stub
  13836. - Added generation of WM_ACTIVATE message (still needs testing)
  13837. - Added SetTopMost stub
  13838. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  13839. 2004-10-17 23:17 pbartok
  13840. * XplatUIWin32.cs:
  13841. - Removed VirtualKeys to XplatUIStructs
  13842. - Implemented SetTopMost method
  13843. - Implemented EnableWindow method
  13844. - Bugfix in ScreenToClient()
  13845. - Bugfixes in ClientToScreen()
  13846. 2004-10-17 22:51 pbartok
  13847. * XplatUIStructs.cs:
  13848. - Added WS_EX styles to WindowStyles enumeration
  13849. 2004-10-17 22:50 pbartok
  13850. * XplatUI.cs, XplatUIDriver.cs:
  13851. - Added method for enabling/disabling windows
  13852. - Added method for setting window modality
  13853. - Added method for setting topmost window
  13854. 2004-10-17 22:49 pbartok
  13855. * ThemeWin32Classic.cs:
  13856. - Added ToolTip drawing code
  13857. 2004-10-17 22:49 pbartok
  13858. * Theme.cs:
  13859. - Added ToolTip abstracts
  13860. 2004-10-17 22:47 pbartok
  13861. * Form.cs:
  13862. - Fixed Form.ControlCollection to handle owner relations
  13863. - Added Owner/OwnedForms handling
  13864. - Implemented Z-Ordering for owned forms
  13865. - Removed unneeded private overload of ShowDialog
  13866. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  13867. so I hope)
  13868. - Fixed Close(), had wrong default
  13869. - Added firing of OnLoad event
  13870. - Added some commented out debug code for Ownership handling
  13871. 2004-10-17 22:16 pbartok
  13872. * Control.cs:
  13873. - Fixed/implemented flat list of controls
  13874. 2004-10-17 22:14 pbartok
  13875. * Application.cs:
  13876. - Added code to simulate modal dialogs on Win32
  13877. 2004-10-17 16:11 jordi
  13878. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  13879. mouse event
  13880. 2004-10-17 13:39 jordi
  13881. * MenuAPI.cs: menu drawing fixes
  13882. 2004-10-15 09:10 ravindra
  13883. * StructFormat.cs: General Enum.
  13884. 2004-10-15 09:09 ravindra
  13885. * SizeGripStyle.cs: Enum for Form.
  13886. 2004-10-15 09:08 ravindra
  13887. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  13888. in Theme for ListView.
  13889. 2004-10-15 09:06 ravindra
  13890. * ColumnHeader.cs: Flushing some formatting changes.
  13891. 2004-10-15 09:05 ravindra
  13892. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  13893. style.
  13894. 2004-10-15 09:03 ravindra
  13895. * ListView.cs: Implemented Paint method and fixed coding style.
  13896. 2004-10-15 07:34 jordi
  13897. * MenuAPI.cs: fix for X11
  13898. 2004-10-15 07:32 ravindra
  13899. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  13900. - Renamed Paint() method to Draw() for clarity. Also, moved
  13901. DrawImage() to OnPaint().
  13902. 2004-10-15 07:25 ravindra
  13903. * CheckBox.cs, RadioButton.cs:
  13904. - Removed Redraw (), we get it from ButtonBase.
  13905. - Implemented Paint (), to do class specific painting.
  13906. 2004-10-15 07:16 ravindra
  13907. * ButtonBase.cs:
  13908. - Redraw () is not virtual now.
  13909. - Added an internal virtual method Paint (), so that
  13910. derived classes can do their painting on their own.
  13911. - Modified OnPaint () to call Paint ().
  13912. 2004-10-15 06:43 jordi
  13913. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  13914. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  13915. 2004-10-15 00:30 ravindra
  13916. * MessageBox.cs:
  13917. - MessageBox on windows does not have min/max buttons.
  13918. This change in CreateParams fixes this on Windows. We
  13919. still need to implement this windowstyle behavior in
  13920. our X11 driver.
  13921. 2004-10-14 05:14 ravindra
  13922. * ToolBar.cs:
  13923. - Changed Redraw () to do a Refresh () always.
  13924. - Fixed the MouseMove event handling when mouse is pressed,
  13925. ie drag event handling.
  13926. - Replaced the usage of ToolBarButton.Pressed property to
  13927. ToolBarButton.pressed internal variable.
  13928. 2004-10-14 05:10 ravindra
  13929. * ToolBarButton.cs:
  13930. - Added an internal member 'inside' to handle mouse move
  13931. with mouse pressed ie mouse drag event.
  13932. - Changed 'Pressed' property to return true only when
  13933. 'inside' and 'pressed' are both true.
  13934. - Some coding style love.
  13935. 2004-10-14 00:17 ravindra
  13936. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  13937. public method.
  13938. 2004-10-14 00:15 ravindra
  13939. * ButtonBase.cs: Redraw () related improvements.
  13940. 2004-10-14 00:14 ravindra
  13941. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  13942. removed unnecessary calls to Button.Show () method.
  13943. 2004-10-13 17:50 pbartok
  13944. * XplatUIX11.cs:
  13945. - Formatting fix
  13946. - Removed destroying of window until we solve the problem of X
  13947. destroying the window before us on shutdown
  13948. 2004-10-13 16:32 pbartok
  13949. * ButtonBase.cs:
  13950. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  13951. 2004-10-13 14:18 pbartok
  13952. * XplatUIX11.cs:
  13953. - Added code to destroy the X window
  13954. 2004-10-13 14:18 pbartok
  13955. * XplatUIWin32.cs:
  13956. - Added code to destroy a window
  13957. 2004-10-13 14:12 pbartok
  13958. * ButtonBase.cs:
  13959. - Added the Redraw on Resize that got dropped in the last rev
  13960. 2004-10-13 09:06 pbartok
  13961. * ThemeWin32Classic.cs:
  13962. - Path from John BouAntoun:
  13963. * Fix check rendering (centre correctly for normal style, offset
  13964. correctly for FlatStyle).
  13965. * Fix border color usage (use backcolor) for FlatStyle.Popup
  13966. * Use checkbox.Capture instead of checkbox.is_pressed when
  13967. rendering flatstyle states.
  13968. 2004-10-12 21:48 pbartok
  13969. * ThemeWin32Classic.cs:
  13970. - Removed all occurences of SystemColors and replaced them with the
  13971. matching theme color
  13972. 2004-10-12 21:41 pbartok
  13973. * ThemeWin32Classic.cs:
  13974. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  13975. him using the function for flatstyle drawing
  13976. - Changed functions to use the new version of CPDrawBorder3D
  13977. 2004-10-12 21:15 pbartok
  13978. * ControlPaint.cs:
  13979. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  13980. match MS documentation. They need to return defined colors if the
  13981. passed color matches the configured control color. Thanks to John
  13982. BouAntoun for pointing this out.
  13983. 2004-10-12 20:57 pbartok
  13984. * Control.cs:
  13985. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  13986. color is changed
  13987. 2004-10-12 20:46 pbartok
  13988. * CheckBox.cs:
  13989. - Fix from John BouAntoun: Now properly sets the Appearance property
  13990. 2004-10-12 20:45 pbartok
  13991. * ThemeWin32Classic.cs:
  13992. - Fixes from John BouAntoun: now handles forecolors and backcolors
  13993. for flatstyle rendered controls much better; It also fixes normal
  13994. checkbox rendering when pushed or disabled.
  13995. 2004-10-08 02:50 jordi
  13996. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  13997. work
  13998. 2004-10-07 08:56 jordi
  13999. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  14000. 2004-10-06 03:59 jordi
  14001. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  14002. XplatUIWin32.cs: removes warnings from compilation
  14003. 2004-10-05 12:23 jackson
  14004. * RadioButton.cs: Fix ctor
  14005. 2004-10-05 11:10 pbartok
  14006. * MessageBox.cs:
  14007. - Partial implementation by Benjamin Dasnois
  14008. 2004-10-05 10:15 jackson
  14009. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  14010. by John BouAntoun
  14011. 2004-10-05 03:07 ravindra
  14012. * ToolBar.cs:
  14013. - Removed a private method, Draw ().
  14014. - Fixed the ButtonDropDown event handling.
  14015. - Fixed MouseMove event handling.
  14016. 2004-10-05 03:04 ravindra
  14017. * ThemeWin32Classic.cs:
  14018. - Added DrawListView method and ListViewDefaultSize property.
  14019. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  14020. - Changed DOS style CRLF to Unix format (dos2unix).
  14021. 2004-10-05 03:03 ravindra
  14022. * Theme.cs:
  14023. - Added DrawListView method and ListViewDefaultSize property.
  14024. 2004-10-05 02:42 ravindra
  14025. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  14026. clicks on DropDown arrow.
  14027. 2004-10-04 22:56 jackson
  14028. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  14029. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  14030. Control handle the buffers, derived classes should not have to
  14031. CreateBuffers themselves.
  14032. 2004-10-04 21:20 jackson
  14033. * StatusBar.cs: The control handles resizing the buffers now.
  14034. 2004-10-04 21:18 jackson
  14035. * Control.cs: When resizing the buffers should be invalidated. This
  14036. should be handled in Control not in derived classes.
  14037. 2004-10-04 14:45 jackson
  14038. * TabPage.cs: oops
  14039. 2004-10-04 02:14 pbartok
  14040. * LeftRightAlignment.cs:
  14041. - Initial check-in
  14042. 2004-10-04 01:09 jordi
  14043. * ThemeWin32Classic.cs: fixes right button position causing right
  14044. button not showing on horizontal scrollbars
  14045. 2004-10-02 13:12 pbartok
  14046. * XplatUIX11.cs:
  14047. - Simplified the Invalidate method by using an X call instead of
  14048. generating the expose ourselves
  14049. - Added an expose when the window background is changed
  14050. - Implemented ClientToScreen method
  14051. 2004-10-02 13:08 pbartok
  14052. * XplatUIWin32.cs:
  14053. - Added Win32EnableWindow method (test for implementing modal
  14054. dialogs)
  14055. - Added ClientToScreen method and imports
  14056. 2004-10-02 13:07 pbartok
  14057. * XplatUI.cs, XplatUIDriver.cs:
  14058. - Added ClientToScreen coordinate translation method
  14059. 2004-10-02 13:06 pbartok
  14060. * KeyPressEventArgs.cs:
  14061. - Fixed access level for constructor
  14062. 2004-10-02 13:06 pbartok
  14063. * NativeWindow.cs:
  14064. - Changed access level for the window_collection hash table
  14065. 2004-10-02 13:05 pbartok
  14066. * Form.cs:
  14067. - Added KeyPreview property
  14068. - Added Menu property (still incomplete, pending Jordi's menu work)
  14069. - Implemented ProcessCmdKey
  14070. - Implemented ProcessDialogKey
  14071. - Implemented ProcessKeyPreview
  14072. 2004-10-02 13:02 pbartok
  14073. * Control.cs:
  14074. - Added private method to get the Control object from the window
  14075. handle
  14076. - Implemented ContextMenu property
  14077. - Implemented PointToScreen
  14078. - Implemented PreProcessMessage
  14079. - Implemented IsInputChar
  14080. - Implemented IsInputKey
  14081. - Implemented ProcessCmdKey
  14082. - Completed ProcessKeyEventArgs
  14083. - Fixed message loop to call the proper chain of functions on key
  14084. events
  14085. - Implemented ProcessDialogChar
  14086. - Implemented ProcessDialogKey
  14087. - Implemented ProcessKeyMessage
  14088. - Implemented ProcessKeyPreview
  14089. - Added RaiseDragEvent stub (MS internal method)
  14090. - Added RaiseKeyEvent stub (MS internal method)
  14091. - Added RaiseMouseEvent stub (MS Internal method)
  14092. - Added RaisePaintEvent stub (MS Internal method)
  14093. - Added ResetMouseEventArgs stub (MS Internal method)
  14094. - Implemented RtlTranslateAlignment
  14095. - Implemented RtlTranslateContent
  14096. - Implemented RtlTranslateHorizontal
  14097. - Implemented RtlTranslateLeftRight
  14098. - Added generation of KeyPress event
  14099. 2004-10-02 05:57 ravindra
  14100. * ListViewItem.cs: Added attributes.
  14101. 2004-10-02 05:32 ravindra
  14102. * ListView.cs: Added attributes.
  14103. 2004-10-01 11:53 jackson
  14104. * Form.cs: Implement the Close method so work on MessageBox can
  14105. continue.
  14106. 2004-09-30 14:06 pbartok
  14107. * XplatUIX11.cs:
  14108. - Bug fixes
  14109. 2004-09-30 11:34 jackson
  14110. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  14111. 2004-09-30 07:26 ravindra
  14112. * ListViewItemConverter.cs: Converter for ListViewItem.
  14113. 2004-09-30 07:26 ravindra
  14114. * SortOrder.cs: Enum for ListView control.
  14115. 2004-09-30 07:25 ravindra
  14116. * ColumnHeader.cs: Supporting class for ListView control.
  14117. 2004-09-30 07:24 ravindra
  14118. * ListView.cs, ListViewItem.cs: Initial implementation.
  14119. 2004-09-30 07:20 ravindra
  14120. * ItemActivation.cs: Enum for ListView Control.
  14121. 2004-09-29 20:29 pbartok
  14122. * XplatUIX11.cs:
  14123. - Added lookup of pixel value for background color; tries to get a
  14124. color 'close' to the requested color, it avoids having to create a
  14125. colormap. Depending on the display this could mean the used color
  14126. is slightly off the desired color. Might have to change it to a more
  14127. resource intensive colormap approach, but it will work as a
  14128. workaround to avoid red screens.
  14129. 2004-09-29 14:27 jackson
  14130. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  14131. 2004-09-28 12:44 pbartok
  14132. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  14133. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  14134. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  14135. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  14136. TrackBar.cs, VScrollBar.cs:
  14137. - Streamlined Theme interfaces:
  14138. * Each DrawXXX method for a control now is passed the object for
  14139. the control to be drawn in order to allow accessing any state the
  14140. theme might require
  14141. * ControlPaint methods for the theme now have a CP prefix to avoid
  14142. name clashes with the Draw methods for controls
  14143. * Every control now retrieves it's DefaultSize from the current
  14144. theme
  14145. 2004-09-28 12:17 jackson
  14146. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  14147. drawing
  14148. 2004-09-24 14:57 jackson
  14149. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  14150. Gives us a nice little performance boost.
  14151. 2004-09-24 12:02 jackson
  14152. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  14153. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  14154. Control and supporting classes. Initial checkin
  14155. 2004-09-23 13:08 jackson
  14156. * Form.cs: Temp build fixage
  14157. 2004-09-23 01:39 ravindra
  14158. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  14159. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  14160. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  14161. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  14162. EventHandlers needed by ListView Control.
  14163. 2004-09-22 14:12 pbartok
  14164. * ScrollableControl.cs:
  14165. - Implemented DockPadding property
  14166. - Implemented AutoScroll property
  14167. - Implemented AutoScrollMargin property
  14168. - Implemented AutoScrollMinSize property
  14169. - Implemented AutoScrollPosition property
  14170. - Implemented DisplayRectangle property (still incomplete)
  14171. - Implemented CreateParams property
  14172. - Implemented HScroll property
  14173. - Implemented VScroll property
  14174. - Implemented OnVisibleChanged property
  14175. 2004-09-22 14:09 pbartok
  14176. * Form.cs:
  14177. - Added Form.ControllCollection class
  14178. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  14179. RemoveOwnedForm (still incomplete, missing on-top and common
  14180. minimize/maximize behaviour)
  14181. - Added StartPosition property (still incomplete, does not use when
  14182. creating the form)
  14183. - Added ShowDialog() methods (still incomplete, missing forcing the
  14184. dialog modal)
  14185. 2004-09-22 14:05 pbartok
  14186. * Application.cs:
  14187. - Added message loop for modal dialogs
  14188. 2004-09-22 14:02 pbartok
  14189. * GroupBox.cs:
  14190. - Fixed wrong types for events
  14191. 2004-09-22 14:00 pbartok
  14192. * Shortcut.cs, FormWindowState.cs:
  14193. - Fixed wrong values
  14194. 2004-09-22 12:01 jackson
  14195. * Control.cs: Text is never null
  14196. 2004-09-20 22:14 pbartok
  14197. * XplatUIWin32.cs:
  14198. - Fixed accessibility level for Idle handler
  14199. 2004-09-20 18:54 jackson
  14200. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14201. XplatUIX11.cs: New message loop that uses poll so we don't get a
  14202. busy loop
  14203. 2004-09-17 10:43 pbartok
  14204. * ScrollBar.cs:
  14205. - Fixed behaviour of arrow buttons. Now properly behaves like
  14206. Buttons (and like Microsoft's scrollbar arrow buttons)
  14207. 2004-09-17 10:14 pbartok
  14208. * ScrollBar.cs:
  14209. - Added missing release of keyboard/mouse capture
  14210. 2004-09-17 06:18 jordi
  14211. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  14212. Theme.cs: Very early menu support
  14213. 2004-09-16 17:45 pbartok
  14214. * XplatUIWin32.cs:
  14215. - Fixed sending a window to the front
  14216. - Added overload for SetWindowPos to avoid casting
  14217. 2004-09-16 17:44 pbartok
  14218. * Control.cs:
  14219. - Added SendToBack and BringToFront methods
  14220. 2004-09-16 07:00 ravindra
  14221. * Copyright: Added Novell URL.
  14222. 2004-09-16 07:00 ravindra
  14223. * ToolBar.cs: Invalidate should be done before redrawing.
  14224. 2004-09-15 21:19 ravindra
  14225. * ColumnHeaderStyle.cs: Enum for ListView Control.
  14226. 2004-09-15 21:18 ravindra
  14227. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  14228. ListView Control.
  14229. 2004-09-13 18:26 jackson
  14230. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  14231. properly
  14232. 2004-09-13 18:13 jackson
  14233. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  14234. a second thread and post messages into the main threads message
  14235. queue. This makes timing much more consistent. Both win2K and XP
  14236. have a minimum timer value of 15 milliseconds, so we now do this
  14237. too.
  14238. 2004-09-13 15:18 pbartok
  14239. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14240. XplatUIX11.cs:
  14241. - Added Z-Ordering methods
  14242. 2004-09-13 10:56 pbartok
  14243. * Form.cs:
  14244. - Fixed #region names
  14245. - Moved properties and methods into their proper #regions
  14246. 2004-09-13 10:51 pbartok
  14247. * Form.cs:
  14248. - Added Accept and CancelButton properties
  14249. - Added ProcessDialogKey() method
  14250. 2004-09-13 08:18 pbartok
  14251. * IWindowTarget.cs:
  14252. - Initial check-in
  14253. 2004-09-10 21:50 pbartok
  14254. * Control.cs:
  14255. - Added DoDragDrop() [incomplete]
  14256. - Properly implemented 'Visible' handling
  14257. - Added SetVisibleCore()
  14258. - Implemented FindChildAtPoint()
  14259. - Implemented GetContainerControl()
  14260. - Implemented Hide()
  14261. 2004-09-10 19:28 pbartok
  14262. * Control.cs:
  14263. - Moved methods into their appropriate #regions
  14264. - Reordered methods within regions alphabetically
  14265. 2004-09-10 18:57 pbartok
  14266. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14267. - Added method to retrieve text from window
  14268. 2004-09-10 18:56 pbartok
  14269. * Control.cs:
  14270. - Moved some internal functions into the internal region
  14271. - Implemented FontHeight
  14272. - Implemented RenderRightToLeft
  14273. - Implemented ResizeRedraw
  14274. - Implemented ShowFocusCues
  14275. - Implemented ShowKeyboardCues
  14276. - Implemented FromChildHandle
  14277. - Implemented FromHandle
  14278. - Implemented IsMnemonic
  14279. - Implemented ReflectMessage
  14280. - All public and protected Static Methods are now complete
  14281. 2004-09-10 16:54 pbartok
  14282. * Control.cs:
  14283. - Implemented remaining missing public instance properties
  14284. - Alphabetized some out of order properties
  14285. 2004-09-10 05:51 ravindra
  14286. * PictureBox.cs: Added a check for null image.
  14287. 2004-09-10 00:59 jordi
  14288. * GroupBox.cs: remove cvs tag
  14289. 2004-09-09 05:25 ravindra
  14290. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  14291. 2004-09-09 05:23 ravindra
  14292. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  14293. parent redraw.
  14294. 2004-09-09 02:28 pbartok
  14295. * ThemeWin32Classic.cs:
  14296. - Improve disabled string look
  14297. 2004-09-09 01:15 jordi
  14298. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  14299. args and handler
  14300. 2004-09-08 23:56 ravindra
  14301. * ItemBoundsPortion.cs: It's enum, not a class!
  14302. 2004-09-08 23:47 ravindra
  14303. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  14304. Enums for Form.
  14305. 2004-09-08 21:13 ravindra
  14306. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  14307. ListView control.
  14308. 2004-09-08 21:03 ravindra
  14309. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  14310. avoid crash.
  14311. 2004-09-08 21:01 ravindra
  14312. * ScrollableControl.cs: Removed unreachable code.
  14313. 2004-09-08 06:45 jordi
  14314. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  14315. 2004-09-08 01:00 jackson
  14316. * XplatUIX11.cs: Only run the timers when updating the message
  14317. queue. This effectively gives X messages a higher priority then
  14318. timer messages. Timers still need love though
  14319. 2004-09-07 14:01 jackson
  14320. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  14321. this for us and the handle is no longer valid.
  14322. 2004-09-07 13:59 jackson
  14323. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  14324. loop that manages to not crash. TODO: Add poll and cleanup timers
  14325. 2004-09-07 11:12 jordi
  14326. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  14327. 2004-09-07 03:40 jordi
  14328. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  14329. fixes, methods, multiple links
  14330. 2004-09-06 06:55 jordi
  14331. * Control.cs: Caches ClientRectangle rectangle value
  14332. 2004-09-05 02:03 jordi
  14333. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  14334. certain situations
  14335. 2004-09-04 11:10 jordi
  14336. * Label.cs: Refresh when font changed
  14337. 2004-09-02 16:24 pbartok
  14338. * Control.cs:
  14339. - Added sanity check to creation of double buffer bitmap
  14340. 2004-09-02 16:24 pbartok
  14341. * ButtonBase.cs:
  14342. - Fixed selection of text color
  14343. - Fixed handling of resize event; now properly recreates double
  14344. buffering bitmap
  14345. - Added missing assignment of TextAlignment
  14346. - Added proper default for TextAlignment
  14347. 2004-09-02 14:26 pbartok
  14348. * RadioButton.cs:
  14349. - Added missing RadioButton.RadioButtonAccessibleObject class
  14350. 2004-09-02 14:26 pbartok
  14351. * Control.cs:
  14352. - Added missing Control.ControlAccessibleObject class
  14353. - Started to implement Select()ion mechanisms, still very incomplete
  14354. 2004-09-02 14:25 pbartok
  14355. * AccessibleObject.cs:
  14356. - Added missing methods
  14357. 2004-09-02 14:23 pbartok
  14358. * AccessibleNavigation.cs, AccessibleSelection.cs:
  14359. - Initial check-in
  14360. 2004-09-02 10:32 jordi
  14361. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  14362. pool for pens, brushes, and hatchbruses
  14363. 2004-09-01 15:30 jackson
  14364. * StatusBar.cs: Fix typo
  14365. 2004-09-01 14:44 pbartok
  14366. * RadioButton.cs:
  14367. - Fixed state
  14368. 2004-09-01 14:39 pbartok
  14369. * Button.cs, RadioButton.cs:
  14370. - Functional initial check-in
  14371. 2004-09-01 14:01 pbartok
  14372. * CheckBox.cs:
  14373. - Added missing default
  14374. - Added missing region mark
  14375. 2004-09-01 09:10 jordi
  14376. * Label.cs: fixes method signatures, new methods, events, fixes
  14377. autosize
  14378. 2004-09-01 07:19 jordi
  14379. * Control.cs: Init string variables with an empty object
  14380. 2004-09-01 04:20 jordi
  14381. * Control.cs: fires OnFontChanged event
  14382. 2004-08-31 20:07 pbartok
  14383. * ButtonBase.cs:
  14384. - Enabled display of strings
  14385. 2004-08-31 20:05 pbartok
  14386. * Form.cs:
  14387. - Added (partial) implementation of DialogResult; rest needs to be
  14388. implemented when the modal loop code is done
  14389. 2004-08-31 19:55 pbartok
  14390. * CheckBox.cs:
  14391. - Fixed to match the removal of the needs_redraw concept
  14392. 2004-08-31 19:55 pbartok
  14393. * ButtonBase.cs:
  14394. - Removed the rather odd split between 'needs redraw' and redrawing
  14395. - Now handles the events that require regeneration (ambient
  14396. properties and size)
  14397. 2004-08-31 19:41 pbartok
  14398. * Control.cs:
  14399. - Added firing of BackColorChanged event
  14400. - Added TopLevelControl property
  14401. - Fixed handling of WM_ERASEBKGRND message
  14402. 2004-08-31 12:49 pbartok
  14403. * ButtonBase.cs:
  14404. - Removed debug
  14405. - Minor fixes
  14406. 2004-08-31 12:48 pbartok
  14407. * CheckBox.cs:
  14408. - Finished (famous last words)
  14409. 2004-08-31 04:35 jordi
  14410. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  14411. scrolling bugs, adds new methods
  14412. 2004-08-30 14:42 pbartok
  14413. * CheckBox.cs:
  14414. - Implemented CheckBox drawing code
  14415. 2004-08-30 14:42 pbartok
  14416. * ButtonBase.cs:
  14417. - Made Redraw() and CheckRedraw() virtual
  14418. - Improved mouse up/down/move logic to properly track buttons
  14419. 2004-08-30 09:44 pbartok
  14420. * CheckBox.cs:
  14421. - Updated to fix broken build. Not complete yet.
  14422. 2004-08-30 09:28 pbartok
  14423. * CheckState.cs:
  14424. - Initial checkin
  14425. 2004-08-30 09:17 pbartok
  14426. * Appearance.cs:
  14427. - Initial check-in
  14428. 2004-08-27 16:12 ravindra
  14429. * ToolBarButton.cs: Added TypeConverter attribute.
  14430. 2004-08-27 16:07 ravindra
  14431. * ImageIndexConverter.cs: Implemented.
  14432. 2004-08-27 14:17 pbartok
  14433. * Control.cs:
  14434. - Removed unneeded stack vars
  14435. - First attempt to fix sizing issues when layout is suspended
  14436. 2004-08-25 15:35 jordi
  14437. * ScrollBar.cs: more fixes to scrollbar
  14438. 2004-08-25 14:04 ravindra
  14439. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  14440. Added the missing divider code and grip for ToolBar Control.
  14441. 2004-08-25 13:20 pbartok
  14442. * Control.cs:
  14443. - Control now properly passes the ambient background color to child
  14444. controls
  14445. 2004-08-25 13:20 jordi
  14446. * ScrollBar.cs: small bug fix regarding bar position
  14447. 2004-08-25 12:33 pbartok
  14448. * Timer.cs:
  14449. - Now only calls SetTimer or KillTimer if the enabled state has
  14450. changed
  14451. 2004-08-25 12:33 pbartok
  14452. * XplatUIWin32.cs:
  14453. - Fixed timer handling, now seems to work
  14454. - Improved error message for window creation
  14455. 2004-08-25 12:32 pbartok
  14456. * Control.cs:
  14457. - Fixed generation of MouseUp message
  14458. 2004-08-25 12:29 jordi
  14459. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  14460. and fixes for progressbar
  14461. 2004-08-24 18:43 ravindra
  14462. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  14463. in ToolBar control.
  14464. 2004-08-24 17:15 pbartok
  14465. * Panel.cs:
  14466. - Added #region
  14467. - Added missing events
  14468. - Alphabetized
  14469. 2004-08-24 17:14 pbartok
  14470. * StatusBar.cs, PictureBox.cs:
  14471. - Now uses Control's CreateParams
  14472. 2004-08-24 16:36 pbartok
  14473. * XplatUIX11.cs:
  14474. - Fixed background color handling
  14475. - Fixed sending of enter/leave events on a grab
  14476. 2004-08-24 16:35 pbartok
  14477. * X11Structs.cs:
  14478. - Refined definitions for CrossingEvent
  14479. 2004-08-24 12:37 jordi
  14480. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  14481. formmating, methods signature, and adds missing events
  14482. 2004-08-24 12:24 jordi
  14483. * Control.cs: fire OnEnabledChanged event
  14484. 2004-08-24 11:17 pbartok
  14485. * XplatUIWin32.cs:
  14486. - Implemented SetTimer() and KillTimer()
  14487. 2004-08-24 11:16 pbartok
  14488. * XplatUIX11.cs:
  14489. - Now uses Remove instead of Add to kill the timer
  14490. 2004-08-24 10:16 jackson
  14491. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  14492. picture boxes in the theme now. Draw picture box borders and obey
  14493. sizing modes
  14494. 2004-08-24 05:49 jackson
  14495. * Timer.cs: Remove top secret debugging code
  14496. 2004-08-24 05:34 jackson
  14497. * PictureBox.cs: Temp hack to make picture boxes draw their full
  14498. image
  14499. 2004-08-24 05:29 jackson
  14500. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14501. XplatUIX11.cs: Move timers to the driver level. On X they are
  14502. queued by the driver and checked on idle.
  14503. 2004-08-24 01:07 jackson
  14504. * XplatUIX11.cs: Use a queue for async messages instead of passing
  14505. them as ClientMessages since that was totally broken. Also simply
  14506. check for events and return an idle message if none are found. This
  14507. gives us an idle handler, and prevents deadlocking when no messages
  14508. are in the queue.
  14509. 2004-08-23 18:19 ravindra
  14510. * XplatUIWin32.cs: Removed the unwanted destructor.
  14511. 2004-08-23 17:27 pbartok
  14512. * ButtonBase.cs:
  14513. - Finishing touches. Works now, just needs some optimizations.
  14514. 2004-08-23 16:53 jordi
  14515. * ScrollBar.cs: small fix
  14516. 2004-08-23 16:45 pbartok
  14517. * Application.cs:
  14518. - Removed debug output
  14519. - Simplifications
  14520. 2004-08-23 16:43 jordi
  14521. * ScrollBar.cs: [no log message]
  14522. 2004-08-23 16:10 pbartok
  14523. * Form.cs:
  14524. - Fixed handling of WM_CLOSE message
  14525. - Removed debug output
  14526. 2004-08-23 16:09 pbartok
  14527. * Application.cs:
  14528. - Added handling of Idle event
  14529. - Added handling of form closing
  14530. - Fixed reporting of MessageLoop property
  14531. - Removed some unneeded code, should provide a bit of a speedup
  14532. 2004-08-23 15:22 pbartok
  14533. * Control.cs:
  14534. - Added InitLayout() method
  14535. - Added code to properly perform layout when Anchor or Dock property
  14536. is changed
  14537. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  14538. LAMESPEC, tried to do it in a way that makes sense
  14539. 2004-08-23 14:10 jordi
  14540. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  14541. properties and methods
  14542. 2004-08-23 13:55 pbartok
  14543. * Control.cs:
  14544. - Properly fixed Jordi's last fix
  14545. - Now uses Cursor's Position property instead of calling XplatUI
  14546. directly
  14547. 2004-08-23 13:44 jordi
  14548. * PaintEventHandler.cs: Adding missing attribute
  14549. 2004-08-23 13:39 pbartok
  14550. * Cursor.cs:
  14551. - Implemented Position property
  14552. 2004-08-23 13:39 pbartok
  14553. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14554. - Added method to move mouse cursor
  14555. 2004-08-23 13:39 pbartok
  14556. * XplatUIX11.cs:
  14557. - Fixed setting of background color
  14558. - Added method to move mouse cursor
  14559. 2004-08-23 13:16 jordi
  14560. * Control.cs: avoids null exception
  14561. 2004-08-22 17:46 jackson
  14562. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  14563. PictureBox
  14564. 2004-08-22 17:40 jackson
  14565. * XplatUIX11.cs: Add some missing locks
  14566. 2004-08-22 15:10 pbartok
  14567. * Control.cs, Form.cs:
  14568. - Removed OverlappedWindow style from Control, instead it's default
  14569. now is child
  14570. - Made form windows OverlappedWindow by default
  14571. 2004-08-22 13:34 jackson
  14572. * ScrollBar.cs: Update the position through the Value property so
  14573. the OnValueChanged event is raised.
  14574. 2004-08-22 12:04 pbartok
  14575. * SWF.csproj:
  14576. - Added Cursor.cs and UserControl.cs
  14577. 2004-08-22 12:03 pbartok
  14578. * Cursor.cs:
  14579. - Started implementation, not usable yet
  14580. 2004-08-22 12:00 pbartok
  14581. * UserControl.cs:
  14582. - Implemented UserControl (complete)
  14583. 2004-08-21 19:20 ravindra
  14584. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  14585. 2004-08-21 18:49 ravindra
  14586. * ToolBar.cs: Probably this completes the missing attributes in
  14587. toolbar control.
  14588. 2004-08-21 18:03 ravindra
  14589. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  14590. Fixed toolbar control signatures.
  14591. 2004-08-21 16:32 pbartok
  14592. * LinkLabel.cs:
  14593. - Signature Fixes
  14594. 2004-08-21 16:30 pbartok
  14595. * Label.cs:
  14596. - Signature fixes
  14597. 2004-08-21 16:19 pbartok
  14598. * Control.cs, Label.cs:
  14599. - Signature fixes
  14600. 2004-08-21 15:57 pbartok
  14601. * ButtonBase.cs:
  14602. - Added loads of debug output for development
  14603. - Fixed typo in method name
  14604. 2004-08-21 15:52 pbartok
  14605. * ToolBarButtonClickEventArgs.cs:
  14606. - Added missing base class
  14607. 2004-08-21 14:53 pbartok
  14608. * Control.cs:
  14609. - Updated to match new GrabWindow signature
  14610. 2004-08-21 14:51 pbartok
  14611. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14612. - Added method to get default display size
  14613. 2004-08-21 14:23 pbartok
  14614. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14615. - Added method to query current grab state
  14616. - Added argument to allow confining a grab to a window
  14617. 2004-08-21 14:22 pbartok
  14618. * Keys.cs:
  14619. - Added [Flags] attribute so that modifiers can be used in bitwise
  14620. ops
  14621. 2004-08-21 14:21 pbartok
  14622. * TrackBar.cs, ScrollBar.cs:
  14623. - Replaced direct XplatUI calls with their Control counterpart
  14624. 2004-08-21 13:32 pbartok
  14625. * Control.cs:
  14626. - Implemented Created property
  14627. 2004-08-21 13:28 pbartok
  14628. * Control.cs:
  14629. - Implemented ContainsFocus
  14630. 2004-08-21 13:26 pbartok
  14631. * Control.cs:
  14632. - Implemented CausesValidation
  14633. 2004-08-21 13:21 pbartok
  14634. * Control.cs:
  14635. - Implemented CanFocus
  14636. - Implemented CanSelect
  14637. - Implemented Capture
  14638. 2004-08-21 12:35 pbartok
  14639. * XplatUIWin32.cs:
  14640. - Fixed bug with Async message handling
  14641. - Implemented getting the ModifierKeys
  14642. 2004-08-21 12:32 jackson
  14643. * AsyncMethodResult.cs: Make sure we have the mutex before we
  14644. release it. Fixes BeginInvoke on windows
  14645. 2004-08-21 11:31 pbartok
  14646. * XplatUIWin32.cs, XplatUIX11.cs:
  14647. - Drivers now return proper mouse state
  14648. 2004-08-21 10:54 jackson
  14649. * Control.cs: Implement EndInvoke
  14650. 2004-08-21 10:48 jackson
  14651. * Timer.cs: Remove unneeded finalizer
  14652. 2004-08-20 19:52 ravindra
  14653. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  14654. in mouse event handling in the ToolBar control.
  14655. 2004-08-20 19:50 ravindra
  14656. * ImageList.cs: Changed draw method to use the arguments passed in
  14657. to draw the image.
  14658. 2004-08-20 18:58 pbartok
  14659. * XplatUIStructs.cs:
  14660. - Added private message for async communication
  14661. 2004-08-20 17:38 ravindra
  14662. * Control.cs: Made RightToLeft property virtual and removed a
  14663. Console.WriteLine.
  14664. 2004-08-20 14:39 jordi
  14665. * ThemeGtk.cs: use style_attach
  14666. 2004-08-20 14:39 pbartok
  14667. * XplatUIWin32.cs:
  14668. - Added jackson's Async code from X11 to Win32
  14669. 2004-08-20 14:09 pbartok
  14670. * SWF.csproj:
  14671. - Added all new files
  14672. 2004-08-20 14:09 pbartok
  14673. * Control.cs:
  14674. - Added call to set window background color
  14675. 2004-08-20 14:03 pbartok
  14676. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  14677. - Added method for setting the window background
  14678. 2004-08-20 14:02 pbartok
  14679. * XplatUIWin32.cs:
  14680. - Added method for setting the background color
  14681. - Added handling for erasing the window background
  14682. 2004-08-20 13:45 jordi
  14683. * TrackBar.cs: fixes timer, new properties and methods
  14684. 2004-08-20 13:34 jackson
  14685. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  14686. correct thread
  14687. 2004-08-20 13:22 jackson
  14688. * Timer.cs: Timer Tick events are now handed through Controls Async
  14689. mechanism so the callbacks are executed in the same thread as X
  14690. 2004-08-20 13:19 jackson
  14691. * XplatUIDriver.cs: Expose functionality to send async messages
  14692. through the driver
  14693. 2004-08-20 13:18 jackson
  14694. * Control.cs: Implement Begininvoke
  14695. 2004-08-20 13:14 jackson
  14696. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  14697. messages through the driver
  14698. 2004-08-20 13:12 jackson
  14699. * XplatUIX11.cs: Lock before all X operations. Also added Async
  14700. method functionality through XSendEvent
  14701. 2004-08-20 13:11 jackson
  14702. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  14703. This will screw up on 64 bit systems)
  14704. 2004-08-20 13:10 jackson
  14705. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  14706. Async messages through X/Win32
  14707. 2004-08-19 19:39 pbartok
  14708. * XplatUIX11.cs:
  14709. - Updated code to match new HandleData.DeviceContext type
  14710. 2004-08-19 19:38 pbartok
  14711. * HandleData.cs:
  14712. - Made DeviceContext a generic object to allow usage from various
  14713. drivers
  14714. - Added support for queueing Windows messages
  14715. 2004-08-19 19:37 pbartok
  14716. * XplatUIWin32.cs:
  14717. - Added generation of MouseEnter, MouseLeave and MouseHover events
  14718. - Added cleanup on EndPaint
  14719. 2004-08-19 19:17 pbartok
  14720. * Control.cs:
  14721. - Added handling of WM_MOUSEHOVER
  14722. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  14723. code
  14724. 2004-08-19 18:55 jordi
  14725. * ThemeGtk.cs: fixes button order
  14726. 2004-08-19 18:12 jordi
  14727. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  14728. 2004-08-19 17:09 pbartok
  14729. * Control.cs:
  14730. - Added Right property
  14731. - Added RightToLeft property
  14732. 2004-08-19 16:27 jordi
  14733. * ThemeGtk.cs: experimental GTK theme support
  14734. 2004-08-19 16:26 jordi
  14735. * ITheme.cs, Theme.cs: move themes from an interface to a class
  14736. 2004-08-19 16:25 jordi
  14737. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  14738. theme enhancaments
  14739. 2004-08-19 16:04 pbartok
  14740. * XplatUIX11.cs:
  14741. - Added colormap basics
  14742. - Added a way to re-initialize with a different display handle
  14743. - Fixed setting of the window background color
  14744. - Added various X11 imports related to colors and colormaps
  14745. 2004-08-19 15:51 pbartok
  14746. * X11Structs.cs:
  14747. - Removed packing hints (Paolo suggested this a while back)
  14748. - fixed colormap type
  14749. - Added default Atom types
  14750. - Added Screen and color structs and enums
  14751. 2004-08-19 15:39 pbartok
  14752. * ImageList.cs:
  14753. - Added missing Draw() method
  14754. - Added missing RecreateHandle event
  14755. 2004-08-19 15:30 pbartok
  14756. * Form.cs:
  14757. - Added handling of WM_CLOSE
  14758. 2004-08-18 13:16 jordi
  14759. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  14760. a table
  14761. 2004-08-18 09:56 jordi
  14762. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  14763. 2004-08-17 15:31 ravindra
  14764. * SWF.csproj: Updated project.
  14765. 2004-08-17 15:25 pbartok
  14766. * Control.cs:
  14767. - Drawing improvement; don't call UpdateBounds if we are not visible
  14768. (or have been minimized)
  14769. 2004-08-17 15:24 pbartok
  14770. * XplatUIWin32.cs:
  14771. - Finished IsVisible
  14772. - Added Win32GetWindowPlacement
  14773. 2004-08-17 15:08 jackson
  14774. * Panel.cs: Initial checkin of the Panel
  14775. 2004-08-17 14:25 pbartok
  14776. * Control.cs:
  14777. - Fixed broken handling of default window sizes
  14778. 2004-08-17 13:29 jackson
  14779. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  14780. has a large startup time.
  14781. 2004-08-17 10:25 jackson
  14782. * HandleData.cs: union areas properly
  14783. 2004-08-17 10:12 jackson
  14784. * HandleData.cs: union areas properly
  14785. 2004-08-16 20:00 ravindra
  14786. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  14787. 2004-08-16 18:48 ravindra
  14788. * ToolBar.cs: Added attributes.
  14789. 2004-08-16 17:17 ravindra
  14790. * SWF.csproj: Updated project.
  14791. 2004-08-16 17:16 jackson
  14792. * XplatUIX11.cs: Check for more expose events before sending a
  14793. WM_PAINT so they can all be grouped together. This makes dragging a
  14794. window across another window redraw in a sane way.
  14795. 2004-08-16 15:47 pbartok
  14796. * Control.cs:
  14797. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  14798. support OnMouseEnter/Leave()
  14799. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  14800. exposure handling
  14801. 2004-08-16 15:46 pbartok
  14802. * XplatUIStructs.cs, XplatUIX11.cs:
  14803. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  14804. OnMouseEnter/Leave()
  14805. 2004-08-16 15:34 jackson
  14806. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  14807. sure messages get the message field set to WM_NULL if they are not
  14808. handled.
  14809. 2004-08-16 15:24 jackson
  14810. * HandleData.cs: HandleData is used for storing message information
  14811. for window handles
  14812. 2004-08-15 17:23 ravindra
  14813. * ColorDepth.cs: Added attribute.
  14814. 2004-08-15 17:23 ravindra
  14815. * SWF.csproj: Updated project for ToolBar Control.
  14816. 2004-08-15 17:20 ravindra
  14817. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  14818. control and also dos2unix format.
  14819. 2004-08-15 17:13 ravindra
  14820. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  14821. ToolBarButtonClickEventArgs.cs,
  14822. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  14823. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  14824. 2004-08-15 15:31 pbartok
  14825. * ButtonBase.cs:
  14826. - First (mostly) working version
  14827. 2004-08-13 16:15 pbartok
  14828. * Control.cs:
  14829. - Fixed Anchor default
  14830. 2004-08-13 15:43 pbartok
  14831. * Control.cs:
  14832. - Changed GetCursorPos signature
  14833. 2004-08-13 15:42 pbartok
  14834. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14835. - Changed signature for GetCursorPos
  14836. 2004-08-13 15:25 pbartok
  14837. * XplatUIX11.cs:
  14838. - Cleanup
  14839. - Fixed resizing/exposure handling
  14840. 2004-08-13 15:22 jordi
  14841. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  14842. with tickposition
  14843. 2004-08-13 14:55 jordi
  14844. * TrackBar.cs: change from wndproc to events
  14845. 2004-08-13 13:00 jordi
  14846. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14847. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  14848. 2004-08-13 12:53 pbartok
  14849. * XplatUIWin32.cs:
  14850. - Changed GetWindowPos to also provide client area size
  14851. - Fixed broken prototypes for several win32 functions
  14852. 2004-08-13 12:53 pbartok
  14853. * XplatUI.cs, XplatUIDriver.cs:
  14854. - Changed GetWindowPos to also provide client area size
  14855. 2004-08-13 12:52 pbartok
  14856. * XplatUIX11.cs:
  14857. - Added generation of WM_POSCHANGED
  14858. - Changed GetWindowPos to also provide client area size
  14859. 2004-08-13 12:52 pbartok
  14860. * Control.cs:
  14861. - Added Dispose() and destructor
  14862. - Fixed resizing and bounds calculation
  14863. - Fixed Layout
  14864. - Added memory savings for invisible windows
  14865. 2004-08-13 12:46 jordi
  14866. * TrackBar.cs: adds timer and grap window
  14867. 2004-08-13 10:25 jackson
  14868. * Timer.cs: SWF Timer
  14869. 2004-08-12 16:59 pbartok
  14870. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14871. - Implemented method to get current mouse position
  14872. 2004-08-12 14:29 jordi
  14873. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  14874. enhancement, fix mouse problems, highli thumb, etc
  14875. 2004-08-12 13:31 pbartok
  14876. * Control.cs:
  14877. - Fixed Anchoring bugs
  14878. 2004-08-12 13:01 jackson
  14879. * StatusBar.cs: Don't forget things
  14880. 2004-08-12 12:54 jackson
  14881. * ThemeWin32Classic.cs: Handle owner draw status bars
  14882. 2004-08-12 12:54 jackson
  14883. * StatusBar.cs: Implement missing properties, events, and methods.
  14884. Handle mouse clicking
  14885. 2004-08-12 10:19 jackson
  14886. * StatusBarPanelClickEventArgs.cs,
  14887. StatusBarPanelClickEventHandler.cs: Classes for handling status
  14888. bar panel click events
  14889. 2004-08-12 10:10 jackson
  14890. * Control.cs: Add missing properties
  14891. 2004-08-12 09:46 pbartok
  14892. * BindingsManagerBase.cs:
  14893. - Name changed to BindingManagerBase.cs
  14894. 2004-08-12 09:25 jordi
  14895. * ScrollableControl.cs: calls ctrlbase instead of exeception
  14896. 2004-08-11 16:28 pbartok
  14897. * InputLanguageChangingEventArgs.cs:
  14898. - Never check in before compiling. Fixes the last check-in
  14899. 2004-08-11 16:26 pbartok
  14900. * InputLanguageChangingEventArgs.cs:
  14901. - More signature fixes
  14902. 2004-08-11 16:20 pbartok
  14903. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  14904. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  14905. ImageListStreamer.cs, InputLanguage.cs,
  14906. InputLanguageChangedEventArgs.cs,
  14907. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  14908. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  14909. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  14910. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14911. - Signature fixes
  14912. 2004-08-11 16:16 pbartok
  14913. * Application.cs:
  14914. - Fixed Signature
  14915. - Added .Net 1.1 method
  14916. 2004-08-11 15:25 pbartok
  14917. * SWF.csproj:
  14918. - Fixed BindingManagerBase.cs filename
  14919. 2004-08-11 15:22 pbartok
  14920. * BindingManagerBase.cs:
  14921. - Was checked in with wrong filename
  14922. 2004-08-11 14:50 pbartok
  14923. * SWF.csproj:
  14924. - Updated
  14925. 2004-08-11 13:41 jordi
  14926. * XplatUIWin32.cs: Fixes ClientRect
  14927. 2004-08-11 13:19 pbartok
  14928. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14929. XplatUIX11.cs:
  14930. - We had SetWindowPos and MoveWindow to set window positions and
  14931. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  14932. keep SetWindowPos as matching counterpart
  14933. - Added some X11 sanity checking
  14934. 2004-08-11 12:59 pbartok
  14935. * Control.cs:
  14936. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  14937. (It seems that SetBounds is just a front for SetBoundsCore and
  14938. SetBoundsCore updates the underlying window system and
  14939. UpdateBounds is responsible for updating the variables associated
  14940. with the Control and sending the events)
  14941. - Major cleanup of Size handling; we now have two sizes, client_size
  14942. and bounds. Bounds defines the window with decorations, client_size
  14943. without them.
  14944. 2004-08-11 12:55 pbartok
  14945. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14946. - Added method to calculate difference between decorated window and
  14947. raw client area
  14948. 2004-08-11 12:54 pbartok
  14949. * Label.cs:
  14950. - Forcing redraw on resize
  14951. 2004-08-11 11:43 pbartok
  14952. * ImageList.cs:
  14953. - Removed disposing of the actual images when the list is disposed
  14954. 2004-08-11 09:13 pbartok
  14955. * Control.cs:
  14956. - Now properly reparents windows
  14957. 2004-08-11 08:37 pbartok
  14958. * Control.cs:
  14959. - Duh!
  14960. 2004-08-11 07:47 pbartok
  14961. * Control.cs:
  14962. - Rewrote the collection stuff. Might not be as fast now, not
  14963. keeping the number of children around and accessible directly, but
  14964. it's more straightforward
  14965. 2004-08-11 07:44 pbartok
  14966. * AccessibleObject.cs:
  14967. - Fixed to match ControlCollection rewrite
  14968. 2004-08-11 07:43 pbartok
  14969. * ImageList.cs:
  14970. - Added missing creation of the collection list
  14971. 2004-08-10 20:08 jackson
  14972. * StatusBar.cs: Get the paint message from WndProc
  14973. 2004-08-10 19:31 jackson
  14974. * ThemeWin32Classic.cs: Create Brushes as little as possible
  14975. 2004-08-10 19:20 jackson
  14976. * UICues.cs: Add Flags attribute
  14977. 2004-08-10 19:19 jackson
  14978. * StatusBarPanel.cs: Signature cleanup
  14979. 2004-08-10 19:10 jackson
  14980. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  14981. Initial implementation of status bar item drawing
  14982. 2004-08-10 17:27 jordi
  14983. * TrackBar.cs: add missing methods, properties, and restructure to
  14984. hide extra ones
  14985. 2004-08-10 16:24 jackson
  14986. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  14987. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  14988. attribute
  14989. 2004-08-10 13:21 jordi
  14990. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  14991. enhancements and standarize on win colors defaults
  14992. 2004-08-10 12:52 jackson
  14993. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  14994. ThemeWin32Classic.cs: Implement DrawItem functionality
  14995. 2004-08-10 12:47 jordi
  14996. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  14997. 2004-08-10 12:32 jordi
  14998. * Control.cs: throw ontextchange event
  14999. 2004-08-10 11:43 pbartok
  15000. * Control.cs:
  15001. - Added more to the still unfinished Dock/Anchor layout code
  15002. 2004-08-10 11:39 pbartok
  15003. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  15004. - Added GetWindowPos method
  15005. 2004-08-10 11:36 pbartok
  15006. * XplatUIWin32.cs:
  15007. - Implemented several methods
  15008. 2004-08-10 09:47 jackson
  15009. * TrackBar.cs: Allow control to handle buffering
  15010. 2004-08-10 09:41 jackson
  15011. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  15012. 2004-08-10 09:24 jackson
  15013. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  15014. 2004-08-10 09:09 jackson
  15015. * StatusBar.cs: Let Control handle all the buffering.
  15016. 2004-08-10 09:08 jackson
  15017. * Control.cs: Control will now handle the buffering code, so each
  15018. control does not have to implement this.
  15019. 2004-08-10 08:34 jackson
  15020. * XplatUIDriver.cs: Use default colors from the theme
  15021. 2004-08-09 17:12 pbartok
  15022. * ImageList.cs:
  15023. - Fixed several bugs Ravindra pointed out
  15024. 2004-08-09 16:11 pbartok
  15025. * Control.cs:
  15026. - Added incomplete dock layout code
  15027. - Added support for mouse wheel
  15028. 2004-08-09 16:09 pbartok
  15029. * XplatUIX11.cs:
  15030. - Added handling for middle and right mousebutton
  15031. - Added handling for mouse wheel
  15032. - Added handling for key state and mouse state and position
  15033. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  15034. messages
  15035. 2004-08-09 15:40 jackson
  15036. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  15037. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  15038. checkin
  15039. 2004-08-09 15:37 jackson
  15040. * StatusBar.cs: Initial implementation of StatusBar
  15041. 2004-08-09 15:36 jackson
  15042. * ITheme.cs: Add support for drawing status bar and getting status
  15043. bar item sizes
  15044. 2004-08-09 15:35 pbartok
  15045. * MouseButtons.cs:
  15046. - Fixed values
  15047. 2004-08-09 15:34 jackson
  15048. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  15049. status bar item sizes
  15050. 2004-08-09 15:21 jackson
  15051. * ThemeWin32Classic.cs: Use known colors for default control
  15052. colours
  15053. 2004-08-09 15:12 jackson
  15054. * ThemeWin32Classic.cs: Make the default font static, it is static
  15055. in control so this doesn't change functionality and creating fonts
  15056. is sloooooow.
  15057. 2004-08-09 14:56 pbartok
  15058. * X11Structs.cs:
  15059. - Added GrabMode enum
  15060. 2004-08-09 14:55 pbartok
  15061. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15062. - Removed Run method, was only required for initial development
  15063. 2004-08-09 14:51 pbartok
  15064. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15065. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  15066. capture
  15067. 2004-08-09 13:48 pbartok
  15068. * XplatUIX11.cs:
  15069. - Fixed default sizing for child windows
  15070. 2004-08-09 12:56 pbartok
  15071. * XplatUIX11.cs:
  15072. - Added generation of WM_DESTROY message
  15073. - Added handling of window manager induced shutdown
  15074. 2004-08-09 11:31 jackson
  15075. * ThemeWin32Classic.cs: New names for control properties
  15076. 2004-08-09 11:25 jackson
  15077. * Control.cs: Use new color names
  15078. 2004-08-09 11:02 jackson
  15079. * XplatUI.cs: Get default window properties from the theme
  15080. 2004-08-09 11:01 jackson
  15081. * ITheme.cs: The theme engine now controls default window
  15082. properties
  15083. 2004-08-09 11:00 jackson
  15084. * ThemeWin32Classic.cs: Add default window color properties
  15085. 2004-08-09 10:17 jackson
  15086. * ThemeWin32Classic.cs: Use correct default back color
  15087. 2004-08-09 10:05 jackson
  15088. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  15089. the theme now.
  15090. 2004-08-09 09:56 jackson
  15091. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  15092. 2004-08-09 09:54 jackson
  15093. * Control.cs: Get default properties from the theme.
  15094. 2004-08-09 09:53 jackson
  15095. * ITheme.cs: Themes now handle default control properties
  15096. 2004-08-09 09:53 jackson
  15097. * ThemeWin32Classic.cs: Themes now handle default control
  15098. properties so coloring will be consistent
  15099. 2004-08-08 16:54 jordi
  15100. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  15101. 2004-08-08 15:08 jordi
  15102. * XplatUIX11.cs: fixes keyboard crash
  15103. 2004-08-08 13:47 jordi
  15104. * Label.cs: add cvs header info
  15105. 2004-08-08 12:09 jackson
  15106. * ThemeWin32Classic.cs: Add pen_buttonface
  15107. 2004-08-08 11:52 jordi
  15108. * Label.cs, LinkLabel.cs: [no log message]
  15109. 2004-08-08 11:34 jordi
  15110. * ThemeWin32Classic.cs: Use Windows Standard Colours
  15111. 2004-08-07 17:32 jordi
  15112. * TrackBar.cs: throw exceptions of invalid enums values
  15113. 2004-08-07 17:31 jordi
  15114. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  15115. draw method name
  15116. 2004-08-07 16:56 jackson
  15117. * HorizontalAlignment.cs: Initial checkin
  15118. 2004-08-07 13:16 jordi
  15119. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  15120. methods
  15121. 2004-08-07 13:05 jordi
  15122. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  15123. GetSysColor defines
  15124. 2004-08-06 18:01 pbartok
  15125. * ThemeWin32Classic.cs:
  15126. - Fixed some rounding issues with float/int
  15127. 2004-08-06 18:00 jackson
  15128. * DockStyle.cs, AnchorStyles.cs:
  15129. Add flags and serializable attributes.
  15130. 2004-08-06 17:46 pbartok
  15131. * XplatUIX11.cs:
  15132. - Implemented GetParent
  15133. 2004-08-06 17:18 pbartok
  15134. * TrackBar.cs:
  15135. - Fixed some rounding issues with float/int
  15136. 2004-08-06 17:17 pbartok
  15137. * X11Structs.cs, XplatUIX11.cs:
  15138. - Fixed Refresh and Invalidate
  15139. 2004-08-06 15:30 pbartok
  15140. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  15141. - Fixed recursive loop when resizing
  15142. - Improved/fixed redrawing on expose messages
  15143. 2004-08-06 09:53 jordi
  15144. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  15145. keyboard navigation
  15146. 2004-08-06 08:02 pbartok
  15147. * X11Structs.cs, XplatUIX11.cs:
  15148. - Fixed reparenting
  15149. - Fixed window border creation
  15150. 2004-08-05 15:38 pbartok
  15151. * XplatUIX11.cs:
  15152. - Attempted fix for reparenting problems
  15153. 2004-08-04 15:14 pbartok
  15154. * Control.cs:
  15155. - Fixed Invalidation bug (calculated wrong client area)
  15156. - Added ClientSize setter
  15157. 2004-08-04 15:13 pbartok
  15158. * Form.cs:
  15159. - Added AutoScale properties
  15160. 2004-08-04 15:13 pbartok
  15161. * SWF.csproj:
  15162. - Added latest files
  15163. 2004-08-04 14:11 pbartok
  15164. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15165. XplatUIX11.cs:
  15166. - Added Invalidate handling
  15167. 2004-08-03 17:09 jordi
  15168. * XplatUIDriver.cs: fixes spelling mistake
  15169. 2004-07-27 09:53 jordi
  15170. * TrackBar.cs: fixes trackbar events, def classname, methods
  15171. signature
  15172. 2004-07-27 09:29 jordi
  15173. * ScrollBar.cs: fixes scrollbar events
  15174. 2004-07-27 04:38 jordi
  15175. * Control.cs: changes to be able to run winforms samples
  15176. 2004-07-26 11:42 jordi
  15177. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  15178. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  15179. 2004-07-26 05:41 jordi
  15180. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  15181. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  15182. implementation
  15183. 2004-07-22 09:22 jordi
  15184. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  15185. check link overlapping, implement events, and fixes
  15186. 2004-07-21 10:28 jordi
  15187. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  15188. 2004-07-21 10:19 jordi
  15189. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  15190. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  15191. LinkLabelLinkClickedEventArgs.cs,
  15192. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  15193. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  15194. implementation
  15195. 2004-07-19 13:09 jordi
  15196. * Control.cs, Label.cs: label control re-written: added missing
  15197. functionlity, events, and properties
  15198. 2004-07-19 10:49 jordi
  15199. * Control.cs: fixes SetBounds logic
  15200. 2004-07-19 01:29 jordi
  15201. * Control.cs: Call RefreshWindow only if the window has created
  15202. 2004-07-15 14:05 pbartok
  15203. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  15204. - Implemented ImageList and ImageList.ImageCollection classes
  15205. - Added ColorDepth enumeration
  15206. - Updated SWF VS.Net project
  15207. 2004-07-15 11:06 jordi
  15208. * XplatUIStructs.cs: added MsgButons enum
  15209. 2004-07-15 11:03 jordi
  15210. * Control.cs: added basic mouse handeling events
  15211. 2004-07-15 03:38 jordi
  15212. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  15213. Vertical TrackBar control implementation
  15214. 2004-07-13 09:33 jordi
  15215. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  15216. 2004-07-13 09:31 jordi
  15217. * Control.cs, Form.cs: commit: new properties and fixes form size
  15218. problems
  15219. 2004-07-09 14:13 miguel
  15220. * ProgressBar.cs: Spelling
  15221. 2004-07-09 11:25 pbartok
  15222. * ProgressBar.cs:
  15223. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  15224. faster
  15225. 2004-07-09 11:17 miguel
  15226. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  15227. * ProgressBar.cs: Fixed spelling for `block'
  15228. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  15229. style guidelines.
  15230. Avoid using the += on rect.X, that exposed a bug in the compiler.
  15231. 2004-07-08 23:21 pbartok
  15232. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  15233. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  15234. BaseCollection.cs, Binding.cs, BindingContext.cs,
  15235. BindingMemberInfo.cs, BindingsCollection.cs,
  15236. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  15237. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  15238. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  15239. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  15240. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  15241. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  15242. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  15243. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  15244. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  15245. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  15246. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  15247. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  15248. InputLanguageChangedEventArgs.cs,
  15249. InputLanguageChangedEventHandler.cs,
  15250. InputLanguageChangingEventArgs.cs,
  15251. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  15252. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  15253. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  15254. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  15255. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  15256. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  15257. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  15258. QueryAccessibilityHelpEventArgs.cs,
  15259. QueryAccessibilityHelpEventHandler.cs,
  15260. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  15261. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  15262. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  15263. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  15264. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  15265. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  15266. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  15267. XplatUIX11.cs, lang.cs:
  15268. - Initial check-in