ChangeLog 676 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283
  1. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  2. * MdiWindowManager.cs:
  3. - Handle a click on the form's icon to show the
  4. system menu (when maximized). Fixes #79775.
  5. - Change the existing click handler for the form's
  6. icon when not maximized to show on MouseUp.
  7. Fixes #79776.
  8. * Form.cs: In OnResize only layout the mdi child's
  9. parent if it actually has a parent. Might not if
  10. the window is closing.
  11. 2006-11-23 Gert Driesen <[email protected]>
  12. * MdiClient.cs: Ignore active MDI client for text of parent, if
  13. child has no text set.
  14. 2006-11-23 Gert Driesen <[email protected]>
  15. * ToolBar.cs: Fixed ToString to match MS.
  16. 2006-11-22 Andreia Gaita <[email protected]>
  17. * NumericUpDown:
  18. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  19. update inner values on set. Fixes #79966.
  20. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  21. - Fix hexadecimal parsing.
  22. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  23. parent. Fixes #79957
  24. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  25. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  26. the actual size has to be queried, since if height /
  27. width is negative Win32 changes it to 0.
  28. Fixes #79999 on Windows.
  29. * XplatUIX11.cs: Set height / width to 0 if negative
  30. in SetWindowPos. Fixes #79999 on Linux.
  31. 2006-11-22 Everaldo Canuto <[email protected]>
  32. * ThemeWin32Classic.cs: Fix text redenring when button is
  33. pressed.
  34. 2006-11-22 Everaldo Canuto <[email protected]>
  35. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  36. and later navigate by mouse. Fixes #79528.
  37. 2006-11-21 Everaldo Canuto <[email protected]>
  38. * ToolBar.cs: Set default value for TabStop to false in
  39. constructor, it fixes remaining behavior of bug #79863.
  40. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  41. * MdiWindowManager.cs:
  42. * InternalWindowManager.cs:
  43. - Moved a few methods specific to Mdi from
  44. InternalWindowManager to MdiWindowManager.
  45. Fixes #79996.
  46. 2006-11-21 Chris Toshok <[email protected]>
  47. * XplatUIOSX.cs: stub out InvalidateNC.
  48. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  49. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  50. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  51. * XplatUIDriver.cs: add InvalidateNC abstract method.
  52. * XplatUI.cs: add InvalidateNC.
  53. 2006-11-21 Everaldo Canuto <[email protected]>
  54. * ToolBar.cs: Invalidate complete button area when pressed status
  55. was changed.
  56. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  57. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  58. by 1 when button is pressed.
  59. 2006-11-20 Everaldo Canuto <[email protected]>
  60. * ToolButton.cs: Invalidate middle of DropDown button when
  61. ToolBar theres DropDownArrows.
  62. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  63. fix DropDown drawing operations.
  64. 2006-11-20 Chris Toshok <[email protected]>
  65. * NativeWindow.cs: fix the formatting of functions ('{' on the
  66. following line), and enable the thread exception dialog.
  67. * Application.cs: remove the duplicate exception catching from
  68. here.
  69. 2006-11-20 Everaldo Canuto <[email protected]>
  70. * Toolbar.cs: Triggers button click event when click on icon
  71. of dropdown ToolBarButton. Fixes #79912.
  72. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  73. * Theme.cs:
  74. * ThemeWin32Classic.cs:
  75. - Added a property WindowBorderFont to enable themeing
  76. of mdi child windows' Text.
  77. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  78. * InternalWindowManager.cs:
  79. * Form.cs:
  80. * MdiClient.cs:
  81. * MdiWindowManager.cs:
  82. - If mdi child is maximized, set mdi parent's
  83. text to "Parent - [Child]". Fixes #79770.
  84. - If there is any maximized mdi child windows, only the active
  85. window (and any new windows) is maximized, the rest are normal.
  86. - On a WindowState change only save mdi child's window bounds
  87. if the old window state was normal. Fixes #79774.
  88. - The scroll bars are now calculated on hopefully all
  89. necessary events. Fixed #79771 / #79844->6 / #79906.
  90. - MdiClient.SizeScrollBars() now takes into account docked
  91. controls in the parent when calculating available space.
  92. - InternalWindowManager now always repaints the entire title
  93. area. Fixes #79844->1/4/5.
  94. - Added RequestNCRecalc on mdi child windowstate changes.
  95. Fixes #79772.
  96. 2006-11-20 Mike Kestner <[email protected]>
  97. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  98. in the MouseUp handler of the listbox and move the return handling
  99. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  100. 2006-11-20 Everaldo Canuto <[email protected]>
  101. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  102. 2006-11-17 Alexander Olk <[email protected]>
  103. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  104. working in 1.2.x anymore. So, updated.
  105. 2006-11-19 Gert Driesen <[email protected]>
  106. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  107. NumberGroupSeparator of current culture instead of assuming en-US.
  108. Fixed bug #79967.
  109. 2006-11-17 Mike Kestner <[email protected]>
  110. * Control.cs: Add the concept of implicit bounds setting so that
  111. dock/undock round trips preserve explicitly set size/locations.
  112. Fixes #79313.
  113. 2006-11-17 Alexander Olk <[email protected]>
  114. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  115. can't handle those filters. (Fixes bug #79961)
  116. 2006-11-17 Chris Toshok <[email protected]>
  117. [ fixes the exit/crashes associated with #79835. it's clearly
  118. suboptimal though, we need to figure out a better way to solve
  119. this. ]
  120. * PrintPreviewControl.cs: deal with the new invalid printer
  121. exceptions.
  122. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  123. and return false (so CommonDialog.ShowDialog doesn't actually show
  124. the form.)
  125. * PrintDialog.cs: enable/disable the Ok button depending on
  126. whether or not the printer is valid.
  127. * CommonDialog.cs (ShowDialog): only actually show the form if
  128. RunDialog returns true.
  129. 2006-11-17 Jackson Harper <[email protected]>
  130. * TextControl.cs: When soft splitting a line, mark it as a soft
  131. split line. Also carry over the current line break to the next
  132. line.
  133. 2006-11-17 Chris Toshok <[email protected]>
  134. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  135. only want to shift the part of the invalid area that overlaps the
  136. area we're scrolling. we also don't want to clear the invalid
  137. area unless the invalid area was entirely contained within the
  138. scrolling area.
  139. 2006-11-16 Chris Toshok <[email protected]>
  140. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  141. also make sure to free the memory returned by XGetWindowProperty
  142. in GetText().
  143. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  144. 2006-11-16 Chris Toshok <[email protected]>
  145. * XplatUI.cs: add a new super secret way to get at the totally
  146. unsupported X11 backend.
  147. 2006-11-16 Gert Driesen <[email protected]>
  148. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  149. 2006-11-16 Jackson Harper <[email protected]>
  150. * TreeView.cs: Allow more explicit setting of top node position
  151. for scrollbars. Slower algo, but more accurate.
  152. - CollapseAll should maintain the current top node.
  153. * TextBoxBase.cs: When positioning the caret, use the line, pos
  154. method, since the x, y method does not grab the correct tag, and
  155. the caret height never gets set correctly. (Maybe I should just do
  156. away with the caret having its own height, and always use the
  157. carets current tag for height).
  158. 2006-11-16 Jonathan Pobst <[email protected]
  159. [Fixes 79778, 79923]
  160. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  161. Parent to the FosterParent instead.
  162. 2006-11-16 Jackson Harper <[email protected]>
  163. * TreeView.cs: Need to recalc the topnode when we expand or
  164. collapse. The scrolling methods can't handle this on their own,
  165. since they use differences between the last scroll position, and
  166. those difference get completely messed up since we are expanding
  167. nodes. This problem should probably be fixed in the scrolling
  168. methods, so they can figure out exactly where they are, but this
  169. will slow things down a little.
  170. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  171. strings, makes nunit-gui look a lot nicer.
  172. 2006-11-16 Chris Toshok <[email protected]>
  173. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  174. the broken multithreaded event handling we have in here. File
  175. this entry under "Why we should move to the new X11 backend".
  176. Any thread can make it into UpdateMessageQueue, which gets events
  177. from the X socket - some of which could belong to hwnds being
  178. managed by a different thread. We can also have multiple threads
  179. in UpdateMessageQueue at the same time, with each one reading from
  180. the X socket. This leads to many problems, with the following
  181. solutions:
  182. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  183. EnqueueLocked.
  184. The MotionNotify compression we do can't work across threads
  185. (without locking the entire queue, perhaps) since we call
  186. hwnd.Queue.Peek, so we just punt and don't compress motion events
  187. unless the owning thread is the one which got the X event.
  188. ConfigureNotify is another fun one, since it modifies the hwnd's
  189. bounds and then enqueues the event. We add a lock to Hwnd which
  190. is held when setting configure_pending to true (and enqueuing the
  191. event).
  192. There is a race wrt the wake socket. we need to make sure that
  193. only 1 thread is waiting on that socket, or else a thread could
  194. sleep waiting for data that never comes. It's difficult (but not
  195. impossible) to make happen, because it seems to require something
  196. like the following:
  197. 1. Thread 1 polls on wake_receive
  198. 2. poll returns saying there's data to be read on
  199. wake_receive.
  200. 3. Thread 2 polls on wake_receive and immediately returns
  201. saying there's data to be read.
  202. 4. Thread 2 reads the wakeup byte from wake_receive
  203. 5. Thread 1 attempts to read the wakeup byte from
  204. wake_receive.
  205. 6. Thread 2 exits (due to a form closing, perhaps).
  206. 7. Thread 1 blocks forever.
  207. Fun, eh?
  208. Fixing the Expose handling isn't done yet, and the races inherent
  209. in that piece of code are responsible for the drawing mistakes you
  210. see when generating expose events in a MT app (like NPlot). This
  211. one is the likely to be the hardest to bandaid, and it doesn't
  212. appear to cause anything but drawing problems. The other issues
  213. caused apps to exit or hang.
  214. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  215. called from a different thread than the one that should be calling
  216. these functions.
  217. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  218. 2006-11-15 Chris Toshok <[email protected]>
  219. * Application.cs: null out the context's MainForm when we exit
  220. RunLoop. Fixes a newly checked in unit test as well as the last
  221. ODE from bug #79933.
  222. 2006-11-15 Chris Toshok <[email protected]>
  223. * Form.cs (set_Owner): allow a null value so we can clear the
  224. form's owner.
  225. (Dispose): set all our owned_form's Owner properties to null, and
  226. clear the owned_forms collection.
  227. (WM_CLOSE): clean up this a little bit.. still not right though.
  228. * ApplicationContext.cs: OnMainFormClosed should only call
  229. ExitThreadCore if the main form isn't recreating. Fixes unit
  230. test.
  231. 2006-11-15 Jonathan Pobst <[email protected]>
  232. [Fixes 78346]
  233. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  234. 2006-11-15 Jonathan Pobst <[email protected]>
  235. [Fixes 79433]
  236. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  237. keep popup window types from stealing focus from the main form
  238. on Windows.
  239. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  240. * MenuAPI.cs: Set above flag to true.
  241. 2006-11-15 Chris Toshok <[email protected]>
  242. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  243. the button being released is not in wParam.
  244. 2006-11-15 Jonathan Pobst <[email protected]>
  245. * Form.cs: Add the released button to MouseEventArgs.Button
  246. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  247. on Win32.
  248. 2006-11-15 Chris Toshok <[email protected]>
  249. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  250. GetText(). untested because it's unused in our implementation.
  251. Control.Text always caches the text, even if
  252. ControlStyles.CacheText is not set.
  253. fixes bug #79939.
  254. 2006-11-15 Chris Toshok <[email protected]>
  255. [ fixes #79933 ]
  256. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  257. message. no hiding, no disposing.
  258. in the WM_CLOSE handler, hide the form if it's modal.
  259. 2006-11-15 Chris Toshok <[email protected]>
  260. * XplatUIX11.cs: use AddExpose instead of sending a message.
  261. fixes textbox border drawing.
  262. 2006-11-15 Chris Toshok <[email protected]>
  263. * PropertyGridView.cs: keep from crashing on mouse move/down when
  264. the property grid is empty.
  265. 2006-11-14 Jackson Harper <[email protected]>
  266. * TextControl.cs: Make PageUp and PageDown more like the MS
  267. versions.
  268. * TextBoxBase.cs: When we set the text property position the
  269. cursor at the beginning of the document.
  270. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  271. * Form.cs: if a mdi child's WindowState has changed
  272. before it's creation, it would display wrong control
  273. buttons.
  274. 2006-11-14 Alexander Olk <[email protected]>
  275. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  276. (Fixes bug #79927)
  277. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  278. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  279. the window gets to paint its borders even if the window is
  280. getting smaller.
  281. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  282. otherwise the old control buttons would still be painted
  283. if the window gets bigger.
  284. * PaintEventArgs.cs: add an internal method so that the clip
  285. rectangle can be changed.
  286. 2006-11-13 Chris Toshok <[email protected]>
  287. [ fixes bug #79745 ]
  288. * NotifyIcon.cs: lots of cleanup.
  289. * X11Structs.cs: add an enum for XEMBED messages.
  290. * XplatUIX11.cs: reindent one of the giant switch statements, it
  291. was taking up an additional tab stop, and this file is already way
  292. too wide for my laptop's screen.
  293. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  294. we get it, resize the hwnd to the WMNormalHints max_width/height.
  295. 2006-11-13 Jackson Harper <[email protected]>
  296. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  297. teh simple way.
  298. 2006-11-13 Chris Toshok <[email protected]>
  299. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  300. #79898. force a reference to the Region to stick around so the
  301. unmanaged object isn't collected (rendering our handle in the MSG
  302. stale).
  303. 2006-11-13 Chris Toshok <[email protected]>
  304. * XplatUIX11.cs: fix #79917 for window managers which support
  305. using XStoreName on the raw utf8, and we need to convert to
  306. COMPOUND_TEXT if it's non-latin1.
  307. 2006-11-13 Chris Toshok <[email protected]>
  308. * Form.cs (set_DialogResult): we need to set closing to false if
  309. we're setting our result to None. fixes bug #79908.
  310. 2006-11-13 Jackson Harper <[email protected]>
  311. * TextControl.cs: When formatting text, compute the adjusted tag
  312. lengths correctly, using FindTag for the end tag instead of trying
  313. to figure it out outselves.
  314. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  315. the item, ItemHeight doesn't work, because trees with large
  316. imagelists use those for their height
  317. * TreeView.cs: ActualItemHeight factors in the image height
  318. - compute left edge of checkboxes correctly
  319. - when expanding/collapsing move the bottom down one pixel, so we
  320. aren't moving part of the node
  321. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  322. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  323. stack in PaintEventStart so that it won't get disposed by the gc
  324. before reaching PaintEventEnd.
  325. 2006-11-13 Jackson Harper <[email protected]>
  326. * TextBoxBase.cs: Don't select the word if we are on a line with
  327. no text.
  328. - We don't need to position the caret on mouse up, since the mouse
  329. move handler should be doing this
  330. - When double clicking a blank line, the caret is advanced to the
  331. next line.
  332. 2006-11-13 Gert Driesen <[email protected]>
  333. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  334. 2006-11-12 Gert Driesen <[email protected]>
  335. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  336. Fixes part of bug #79910.
  337. 2006-11-11 Alexander Olk <[email protected]>
  338. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  339. (bug #79903). Some minor string updates to match ms.
  340. 2006-11-10 Alexander Olk <[email protected]>
  341. * FileDialog.cs: Don't add an extension if the filename
  342. already ends with that extension.
  343. 2006-11-10 Jackson Harper <[email protected]>
  344. * TreeView.cs: Use the currently highlighted node for the
  345. BeforeSelect event.
  346. * TextBoxBase.cs: There is no need to expand selection on
  347. MouseMove.
  348. - CanUndo means 'is there any undo operations', not 'is undo
  349. allowed on this textcontrol. Fixed ClearUndo unit test.
  350. 2006-11-10 Andreia Gaita <[email protected]>
  351. * Button.cs: only perform click when button is Selectable (so as
  352. not to activate default buttons when they're disabled)
  353. * Control.cs: Rewrite of the SelectNextControl and related
  354. methods. HandleClick now selects next control if the current one
  355. is being disabled.
  356. * Form.cs: OnActivated selects next active control only if Load
  357. has already occurred. If Load hasn't run, there's no point in
  358. selecting here, Load might change the state of controls.
  359. * FocusTest.cs: Tests marked as working again for these fixes
  360. 2006-11-10 Chris Toshok <[email protected]>
  361. * XplatUIX11.cs: a couple of fixes.
  362. - use XInternAtoms with almost all the atoms we need to register,
  363. instead of many, many calls to XInternAtom. should help a bit on
  364. startup time, at the expense of making the code look a little
  365. worse.
  366. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  367. isn't reparented (which seems to be a clue that we're running fon
  368. compiz) and they have an Owner form. This fixes the tool windows
  369. in paint.net when running under compiz.
  370. - when setting the opacity of a window, support both the case
  371. where the window has been reparented and also when it hasn't been.
  372. Since compiz/beryl doesn't seem to reparent windows, and these are
  373. the only window managers which support translucency, I'm not sure
  374. why we need the hwnd.reparented case at all.. but leave it in.
  375. now we get translucent windows in paint.net under compiz/beryl.
  376. 2006-11-10 Alexander Olk <[email protected]>
  377. * FileDialog.cs: Always return the value for FilterIndex that
  378. was set. Internally convert it to values that make sense.
  379. 2006-11-10 Everaldo Canuto <[email protected]>
  380. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  381. 2006-11-10 Everaldo Canuto <[email protected]>
  382. * Toolbar.cs: Change default value of DropDownArrows to true, the
  383. signature still using false to make it compatible with MS but the
  384. initial value is true. Fixes #79855.
  385. 2006-11-10 Alexander Olk <[email protected]>
  386. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  387. only available on Linux.
  388. 2006-11-09 Everaldo Canuto <[email protected]>
  389. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  390. reduce number of calls to redraw method during toolbar creation.
  391. 2006-11-09 Mike Kestner <[email protected]>
  392. * ListView.cs : raise SelectedIndexChanged when an item is selected
  393. programmatically via the Item.Selected property. Gert's nice
  394. ListViewSelectedIndexChanged test fixture now runs clean.
  395. 2006-11-09 Mike Kestner <[email protected]>
  396. * ListView.cs : raise SelectedIndexChanged when a selected item is
  397. removed from the item collection using Remove or RemoveAt.
  398. 2006-11-09 Mike Kestner <[email protected]>
  399. * ListView.cs : raise SelectedIndexChanged once per selected item
  400. for compat with MS. Fixes #79849+.
  401. 2006-11-09 Chris Toshok <[email protected]>
  402. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  403. we need to (if we have any tab pages). Fixes unit test.
  404. 2006-11-09 Chris Toshok <[email protected]>
  405. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  406. width is 0, not 3. Fixes a unit test.
  407. 2006-11-09 Mike Kestner <[email protected]>
  408. * ListView.cs : use Implicit scrollbars so that focus isn't
  409. stolen from the listview when they are clicked. Fixes #79850.
  410. 2006-11-09 Chris Toshok <[email protected]>
  411. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  412. have a root item. Fixes #79879.
  413. 2006-11-09 Alexander Olk <[email protected]>
  414. * FileDialog.cs:
  415. - Fix ToString ()
  416. - An ArgumentException is now thrown if a wrong filter
  417. is applied (matches ms). The previous filter doesn't change
  418. anymore if an exception is thrown.
  419. - Changing the FileName property also affects FileNames
  420. * ColorDialog.cs: The length of the CustomColors array is always
  421. 16. It doesn't matter if we use a smaller array or null to update
  422. or change the custom colors property.
  423. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  424. for RootFolder if we get a undefined value.
  425. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  426. * StatusBarPanel.cs:
  427. - Width is set to MinWidth if Width is smaller than
  428. MinWidth. Fixes #79842.
  429. - MinWidth now always overrides Width (MSDN says MinWidth
  430. is set to Width when AutoSize = None, but they do not
  431. behave like that).
  432. - Style has now the the correct default value.
  433. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  434. * TrackBar.cs:
  435. - The control is completely invalidated on
  436. Got/LostFocus to draw the focus rectangle correctly.
  437. - When AutoSize then height is always 45 (width for
  438. vertical controls).
  439. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  440. on the mouse when moved and it doesn't move when grabbed
  441. until the mouse moves as well. Also fixed some wrong
  442. calculations when clicking on the thumb (control thought
  443. click was outside of thumb and didn't grab it).
  444. Fixes some of the issues in #79718.
  445. 2006-11-08 Everaldo Canuto <[email protected]>
  446. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  447. 2006-11-08 Chris Toshok <[email protected]>
  448. * PropertyGridView.cs: only call ToggleValue if the item is not
  449. readonly.
  450. 2006-11-08 Jackson Harper <[email protected]>
  451. * TextBoxBase.cs: The RichTextBox and textbox have very different
  452. word selection methods. Implement the textbox's simple word
  453. selection here, and let the RichTextBox override and provide it's
  454. own.
  455. - Don't do extra selection on mouseup
  456. * RichTextBox.cs: Use the documents word selection algorithm, I
  457. think ideally, this function will be pulled into the
  458. RichTextBox.cs code someday.
  459. 2006-11-08 Chris Toshok <[email protected]>
  460. * RootGridEntry.cs: new class to represent GridItemType.Root.
  461. * CategoryGridEntry.cs: reformat, and add boilerplate.
  462. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  463. returns the UI parent anyway, and we need special handling to
  464. implement the GetTarget method in the face of it. Also, implement
  465. Select().
  466. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  467. a root grid item, and use that instead of PropertyGrid.grid_items.
  468. Also, make use of TypeConverters (and add limitted support for
  469. ICustomTypeDescriptors) when initially populating the grid.
  470. Arrays now show up more or less properly.
  471. 2006-11-08 Chris Toshok <[email protected]>
  472. * Application.cs: set the modal dialog to non modal after we close
  473. it. Fixes bug #79866.
  474. 2006-11-08 Jackson Harper <[email protected]>
  475. * TextControl.cs: When combining lines carry over the line end
  476. style from the end line.
  477. - Invalidate the selected area when setting it, if it is visible.
  478. * TextBoxBase.cs: Only rich text box can do full line selects.
  479. - Make sure to set the cursor position when there is a click,
  480. otherwise two clicks in separate areas could cause a large chunk
  481. to be selected.
  482. 2006-11-07 Everaldo Canuto <[email protected]>
  483. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  484. Fixes #79863.
  485. 2006-11-07 Everaldo Canuto <[email protected]>
  486. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  487. time. Remove tooltips when ToolButton click events. Fixes #79856.
  488. 2006-11-07 Everaldo Canuto <[email protected]>
  489. * MenuAPI.cs: Ignore right click for menu actions and fixes
  490. menu border when clicked. Fixes #79846.
  491. 2006-11-07 Everaldo Canuto <[email protected]>
  492. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  493. MouseState after create wParam for message, this fixes mouse button
  494. equal none in mouse up events.
  495. 2006-11-07 Andreia Gaita <[email protected]>
  496. * Control.cs : Focus() now calls Select to set the Container's
  497. Active Control and to give it focus. To avoid infinite recursion
  498. (because ActiveControl also calls Focus at one point), a check
  499. is made in Focus with the help of a new internal variable
  500. is_focusing.
  501. 2006-11-07 Mike Kestner <[email protected]>
  502. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  503. if there's a selection. Fixes #79849.
  504. 2006-11-07 Gert Driesen <[email protected]>
  505. * PropertyGrid.cs: Avoid fixed height of help description label.
  506. Fixes part of bug #79829.
  507. 2006-11-07 Chris Toshok <[email protected]>
  508. * XplatUIX11.cs: fix #79790 again, by using the
  509. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  510. 2006-11-07 Everaldo Canuto <[email protected]>
  511. * ToolBar.cs: Fix left click checking.
  512. 2006-11-07 Chris Toshok <[email protected]>
  513. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  514. 2006-11-07 Chris Toshok <[email protected]>
  515. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  516. PropertyManager unit tests.
  517. * PropertyManager.cs: make property_name internal.
  518. 2006-11-07 Chris Toshok <[email protected]>
  519. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  520. pass a unit test. Also, don't set image_index to anything in
  521. response to setting the ImageList property.
  522. 2006-11-07 Everaldo Canuto <[email protected]>
  523. * ToolBar.cs: Ignore click events when mouse button is not a
  524. left button, only accepts other button for dropdown menus.
  525. Fixes #79854.
  526. 2006-11-07 Chris Toshok <[email protected]>
  527. * DataGrid.cs: make the back and parent row buttons a little less
  528. ugly.
  529. 2006-11-07 Jackson Harper <[email protected]>
  530. * TextBoxBase.cs: When converting to Text don't put line breaks in
  531. for soft line breaks.
  532. * TextControl.cs: There is an initial "fake" line in the document,
  533. this is now a soft break line, so that an extra line feed doesn't
  534. get added to the end of documents.
  535. 2006-11-07 Chris Toshok <[email protected]>
  536. [ fix bug #79778 ]
  537. * CurrencyManager.cs: if the list is readonly, don't bother
  538. checking if IBindingList.AllowNew is true.
  539. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  540. for non-DataRowView datasources.. or rather, make it not crash.
  541. (DataGridPaintRelationRow): make sure we limit the row painting to
  542. the area not covered by the row header, and make our cell width at
  543. least large enough to cover the relation area. This allows grids
  544. that have relations but no rows to render correctly.
  545. (DataGridPaintRowContents): same type of changes here.
  546. (SetDataSource): move back to always calling
  547. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  548. navigating back through relations.
  549. (HitTest): handle the case where we have no cells but have
  550. relations. Right now we generate a hit in cell 0 of whatever the
  551. row is, not sure if this is strictly correct, but it works for our
  552. purposes.
  553. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  554. bother doing anything.
  555. 2006-11-07 Jonathan Pobst <[email protected]>
  556. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  557. early version of StatusStrip. Not responsible for eaten
  558. application or firstborn children.
  559. 2006-11-06 Chris Toshok <[email protected]>
  560. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  561. call GetTabRect with a -1 index. Fixes #79847.
  562. 2006-11-06 Jackson Harper <[email protected]>
  563. * TreeNodeCollection.cs: Update scrollbars after clearing.
  564. 2006-11-06 Chris Toshok <[email protected]>
  565. * NumericUpDown.cs: fix the ToString method for some unit test
  566. love.
  567. 2006-11-06 Chris Toshok <[email protected]>
  568. * PropertyGrid.cs:
  569. - set the initial SelectedGridItem if we can.
  570. - Exclude non-mergable properties only if we're merging > 1
  571. object. Merging 1 object isn't really merging, obviously.
  572. - Handle PropertySort.NoSort just like Alphabetical, which is
  573. wrong of course, but at least gets things on the screen.
  574. * PropertyGridView.cs:
  575. - Add method "FindFirstItem" which finds the first property grid
  576. item, so we can select it by default.
  577. - make use of GridEntry.CanResetValue.
  578. - Don't call RedrawBelowItemOnExpansion here anymore, the
  579. individual GridEntry's will do that.
  580. - Remove the ITypeDescriptorContextImpl internal class.
  581. * GridEntry.cs:
  582. - this class needs to implement ITypeDescriptorContext, as it's
  583. what MS's PropertyDescriptorGridEntry does, which means we can
  584. remove the ITypeDescriptorContextImpl internal class from
  585. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  586. - keep a reference to our PropertyGridView, and move the call to
  587. RedrawBelowItemOnExpansion here from PGV. This means
  588. programmaticly setting Expanded actually does something visible.
  589. - add a CanResetValue() function which takes into account our
  590. possibly multiple "selected_objects" in the merged case. Shifting
  591. PropertyGridView to use this method fixes another unreported
  592. crasher found running the test for #79829.
  593. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  594. is updated to reflect this.
  595. * CategoryGridEntry.cs: the ctor takes the PGV now.
  596. 2006-11-06 Jackson Harper <[email protected]>
  597. * TextControl.cs: These are 1 based.
  598. * TextBoxBase.cs: When setting the selected text, don't change the
  599. selected text tags, this is done by ReplaceText, just position the
  600. cursor at the end of the new text.
  601. 2006-11-06 Alexander Olk <[email protected]>
  602. * ListView.cs: Allow label edit only when, when LabelEdit is
  603. set to true.
  604. 2006-11-06 Jackson Harper <[email protected]>
  605. * TextControl.cs: If a suitable wrapping position isn't found,
  606. just wrap right in the middle of a word.
  607. 2006-11-06 Alexander Olk <[email protected]>
  608. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  609. bug #79820.
  610. 2006-11-06 Jackson Harper <[email protected]>
  611. * TreeView.cs: Can't use the VisibleCount property when setting
  612. scrollbar heights, because this doesn't take into account whether
  613. or not the horz scrollbar just came visible.
  614. 2006-11-05 Everaldo Canuto <[email protected]>
  615. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  616. activated. Fixes #79369, #79832.
  617. 2006-11-05 Alexander Olk <[email protected]>
  618. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  619. had to remove support for links that point to a directory. FileInfo
  620. returns no usefull information (means, the directory they point to)
  621. for such links. Replaced some empty string ("") with String.Empty.
  622. 2006-11-04 Gert Driesen <[email protected]>
  623. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  624. NullReferenceException when attempting to remove node that is not in
  625. collection. Throw NullReferenceException when null is passed to
  626. Remove. Allow first element of the collection to be removed. Fixes
  627. bug #79831. In GetEnumerator ().Current return null if positioned
  628. before the first element of the collection. In GetEnumerator ().Reset,
  629. position before first element of the collection.
  630. 2006-11-04 Gert Driesen <[email protected]>
  631. * PropertyGrid.cs: To match MS, remove default title and description
  632. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  633. buttons.
  634. 2006-11-04 Chris Toshok <[email protected]>
  635. * Theme.cs: add a Clamp method, just for kicks.
  636. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  637. 2006-11-04 Chris Toshok <[email protected]>
  638. * Form.cs: if the form isn't visible, Close() does nothing.
  639. 2006-11-03 Chris Toshok <[email protected]>
  640. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  641. Hide it.
  642. (WndProc): don't Dispose after handling the WM_CLOSE message.
  643. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  644. them as such, instead of using casts from Control to Form. Also,
  645. don't Dispose of the modal dialog when we fall out of the loop -
  646. Close() it instead.
  647. fixes bug #79813.
  648. 2006-11-03 Chris Toshok <[email protected]>
  649. * Control.cs (Dispose): only go through the dispose thing if we're
  650. @disposing, and we haven't already been disposed. Fixes bug
  651. #79814.
  652. * Form.cs: no reason to call "base.Dispose()" here instead of
  653. "Dispose()".
  654. 2006-11-03 Mike Kestner <[email protected]>
  655. * ComboBox.cs : use ToString instead of casts in AddItem for
  656. sorting functionality. Fixes #79812.
  657. 2006-11-03 Chris Toshok <[email protected]>
  658. * Application.cs: pave the way for actually using the thread
  659. exception dialog. it's ifdefed out at the moment.
  660. 2006-11-03 Chris Toshok <[email protected]>
  661. * ThreadExceptionDialog.cs: until we get a better layout, actually
  662. hide the details textbox and label when we shouldn't see them.
  663. 2006-11-03 Jackson Harper <[email protected]>
  664. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  665. multiline textboxes anymore. This method also determines the
  666. width/height of a textboxes canvas area.
  667. - Sorta a revert of the last patch. For multiline just position
  668. the controls, then bail. This way the scrollbar width won't be
  669. altered.
  670. 2006-11-03 Everaldo Canuto <[email protected]>
  671. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  672. it dont need. Fixes #79537.
  673. 2006-11-02 Jackson Harper <[email protected]>
  674. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  675. send the status after firing the DndOver event.
  676. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  677. * TrackBar.cs: Now orientation only switches height / width if
  678. the control's handle is created (Win32 does it like this). Also
  679. fixed a typo in ToString() for a test to pass, changed the
  680. exception thrown in set_LargeChange and set_SmallChange to
  681. match Win32 behaviour, and added TrackBar tests to the unit
  682. tests.
  683. 2006-11-02 Chris Toshok <[email protected]>
  684. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  685. not _NET_WM_STATE_NO_TASKBAR.
  686. 2006-11-02 Jackson Harper <[email protected]>
  687. * TextControl.cs: Increment count by one, since in the update view
  688. count - 1 is used.
  689. 2006-11-02 Jackson Harper <[email protected]>
  690. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  691. the mouse is in the client rectangle (duh).
  692. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  693. * TrackBar.cs: Fixed trackbar jumping around when clicking
  694. on it - the trackbar was not detecting correctly at which
  695. side of the thumb the click was done. (fixes #79718)
  696. 2006-11-02 Everaldo Canuto <[email protected]>
  697. * ListBox.cs: scroll visible area when change SelectedIndex to
  698. a non visible area. Fixes #79481.
  699. 2006-11-01 Jackson Harper <[email protected]>
  700. * TextControl.cs: When replacing the selection move the selection
  701. start/end/anchor to the end of the new text.
  702. 2006-11-01 Jackson Harper <[email protected]>
  703. * XplatUIWin32.cs: When setting the parent change the controls
  704. visibility to it's visibility flag, not to it's old parents
  705. visibility (.Visible walks the parent chain).
  706. 2006-11-01 Chris Toshok <[email protected]>
  707. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  708. XSetTransientForHint fix breaks paint .net's tool windows. more
  709. work needed for that one.
  710. 2006-11-01 Chris Toshok <[email protected]>
  711. * ScrollBar.cs: throw ArgumentException instead of Exception in
  712. LargeChange/SmallChange setters. fixes unit tests.
  713. 2006-10-31 Andreia Gaita <[email protected]>
  714. * ContainerControl.cs: reverted rev.67183 (which was itself
  715. a reversion of rev.66853... eh).
  716. * Control.cs: Fixes Reflector hang by changing Focus() call
  717. to what it was before rev.66643 (calling Select() here sets
  718. ActiveControl, which in some situations calls back Focus and
  719. eventually does a stack overflow). Temp fix.
  720. Changes to GetNextControl() to not look for children to select when
  721. parent cannot be selectable (so it looks for siblings instead)
  722. 2006-10-31 Mike Kestner <[email protected]>
  723. * CheckedListBox.cs : off by one error in returned index from
  724. ObjectCollection.Add. Fixes #79758.
  725. 2006-10-31 Chris Toshok <[email protected]>
  726. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  727. calls for the textbox/spinner, to keep from recursing to the point
  728. where we crash. Fixes #79760.
  729. 2006-10-31 Chris Toshok <[email protected]>
  730. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  731. null/"" value, just return. matches ms's behavior and fixes some
  732. failing tests.
  733. 2006-10-31 Chris Toshok <[email protected]>
  734. * Control.cs (set_Capture): make a logic a little easier to
  735. follow.
  736. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  737. if it's being destroyed. A necessary fix surely, but a bandaid
  738. also, to fix the stuck capture problem in bug #78413.
  739. 2006-10-31 Chris Toshok <[email protected]>
  740. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  741. convention of clearing hwnd.ClientRect when we set the
  742. width/height (so it'll be recalculated by Hwnd).
  743. 2006-10-31 Andreia Gaita <[email protected]>
  744. * ContainerControl.cs: reversed Contains check from
  745. ActiveControl due to hanging problems. This fix
  746. partly regresses #79667 (button does not have
  747. initial focus), so this might be a symptom for
  748. a larger parenting problem (set_ActiveControl
  749. is being called but the child control does
  750. not have the parent set yet?)
  751. 2006-10-31 Mike Kestner <[email protected]>
  752. * MenuAPI.cs : fix keynav when menu is click activated.
  753. 2006-10-31 Jonathan Pobst <[email protected]>
  754. * ToolStrip*: Version 0.2.
  755. * MenuStrip.cs: Version 0.1.
  756. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  757. 2006-10-30 Chris Toshok <[email protected]>
  758. [ fixes the oversized notify icon issue in bug #79745 ]
  759. * NotifyIcon.cs: scale the icon down to the size we're given by
  760. the XplatUI layer (this would be faster if we did it once instead
  761. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  762. since it's never invoked.
  763. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  764. pixels high by default, so let's hardcode our systray icon to that
  765. size. The SYSTEM_TRAY protocol should really have a way for
  766. client apps to query for the correct icon size.. but oh well. A
  767. couple of patches to deal with the screwy client_window ==
  768. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  769. instance, and also make sure we don't XSelectInput twice).
  770. 2006-10-30 Chris Toshok <[email protected]>
  771. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  772. recreating forms. Control recreation is the bane of my existence.
  773. Fix it in a way that keeps everyone happy.
  774. 2006-10-30 Chris Toshok <[email protected]>
  775. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  776. just non-CHILD ones. otherwise sometimes scrollbars end up with
  777. client_windows not being resized to the proper size (ReportBuilder
  778. shows this extremely well).
  779. 2006-10-30 Chris Toshok <[email protected]>
  780. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  781. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  782. showing up in the gnome taskbar. Fixes bug #79790.
  783. 2006-10-30 Chris Toshok <[email protected]>
  784. * ApplicationContext.cs: guard against a NRE.
  785. * Application.cs: null out the old MainForm for the context, so we
  786. don't try to use it again once it's disposed. Fixes bug #79783.
  787. 2006-10-30 Chris Toshok <[email protected]>
  788. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  789. BindingContext, set the data source directly, otherwise do the
  790. lazy approach - the actual ListManager will be created when we get
  791. a BindingContext. Fixes bug #79700.
  792. 2006-10-30 Jonathan Pobst <[email protected]>
  793. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  794. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  795. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  796. 2006-10-30 Jonathan Pobst <[email protected]>
  797. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  798. of SetVisible that allows a window to be shown, but not activated.
  799. This is needed on Windows for MenuStrip, and can probably be used
  800. with MainMenu and ComboBox to fix the focus stealing issues on
  801. Windows.
  802. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  803. 2006-10-30 Alexander Olk <[email protected]>
  804. * PictureBox.cs: Fix the output of the ToString method.
  805. 2006-10-29 Chris Toshok <[email protected]>
  806. * Control.cs (get_TopLevelControl): fix bug #79781.
  807. 2006-10-29 Chris Toshok <[email protected]>
  808. * ListControl.cs (set_DataSource): throw Exception here, not
  809. ArgumentException, to match MS behavior.
  810. 2006-10-29 Chris Toshok <[email protected]>
  811. * Form.cs: remove the try-catch's around calls to GetWindowState.
  812. We can just check the return value.
  813. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  814. Instead return -1.
  815. * XplatUI.cs: Add note about additional return value for
  816. GetWindowState.
  817. 2006-10-29 Chris Toshok <[email protected]>
  818. * Control.cs (CreateHandle): when we create our handle, we also
  819. create the handles of our child controls. Fixes one of the
  820. Control unit tests (CH11).
  821. 2006-10-28 Alexander Olk <[email protected]>
  822. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  823. 2006-10-28 Alexander Olk <[email protected]>
  824. * ThemeClearlooks.cs: A little speedup.
  825. 2006-10-27 Chris Toshok <[email protected]>
  826. * Control.cs: implement Control.FromChildHandle in a way that
  827. matches the docs (and fixes the failed test.)
  828. 2006-10-27 Chris Toshok <[email protected]>
  829. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  830. comments).
  831. * DataGrid.cs: implement ResetForeColor such that the tests
  832. succeed.
  833. 2006-10-27 Chris Toshok <[email protected]>
  834. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  835. being set to "". Fixes bug #79759.
  836. 2006-10-27 Jackson Harper <[email protected]>
  837. * TextControl.cs: We need to clear the entire selection area when
  838. setting the start, otherwise multiline selections are still
  839. visible.
  840. 2006-10-26 Chris Toshok <[email protected]>
  841. * PropertyGridView.cs:
  842. - ifdef all the code specific to the double
  843. buffer case, and provide some alternatives in the non-doublebuffer
  844. code, which makes heavy use of XplatUI.ScrollWindow to move things
  845. around without having to invalidate (and cause flicker). There
  846. are still some drawing problems in the non-doublebuffered case, so
  847. DOUBLEBUFFER is defined by default.
  848. - Fix the way dropdowns are handled. now we explicitly watch for
  849. the events which might cause the dropdown to close, and break out
  850. of the nested event loop there. This gets rid of all Capture
  851. code, at the expense of the Msg special casing. Seems to work,
  852. though, and fixes bug #79743.
  853. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  854. * Control.cs: SetIsRecreating now recreates implicitly added
  855. child controls as well. Finally fixes #79629. The flag passed to
  856. SetIsRecreating has also been removed since it wasn't used.
  857. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  858. * PageSetupDialog.cs: Clean some code, fix some bits,
  859. add some checks, and add a printer sub-dialog.
  860. 2006-10-26 Chris Toshok <[email protected]>
  861. * PropertyGrid.cs: make set_SelectedObject call
  862. set_SelectedObjects, and move the duplicate logic to the
  863. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  864. * PropertyGridView.cs: hide the textbox when we get a
  865. SelectedObjectsChanged event.
  866. Fixes bug #79748.
  867. 2006-10-26 Chris Toshok <[email protected]>
  868. * PropertyGridView.cs: deal with the type converter not supporting
  869. GetStandardValues() or GetStandardValues() returning null, which
  870. is does in the default case. Fixes #79742.
  871. 2006-10-25 Andreia Gaita <[email protected]>
  872. * CheckedListBox.cs: nunit no longer crashes when selecting
  873. Project/Edit menu option
  874. 2006-10-25 Andreia Gaita <[email protected]>
  875. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  876. is no menu selected. fixes #79739
  877. 2006-10-25 Chris Toshok <[email protected]>
  878. * PropertyGridView.cs: factor out the splitter invalidation code
  879. into the SplitterPercent setter, and for kicks implement the
  880. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  881. amount in either direction.
  882. 2006-10-25 Chris Toshok <[email protected]>
  883. * PropertyGridView.cs: do some cleanup of the brush used to draw
  884. text - read only fields should be grayed out. not sure how to do
  885. this with the textbox, though. but the textbox's should also be
  886. readonly now at least. Also, hide/show the textbox when resizing
  887. the control.
  888. * CursorConverter.cs: use System.Reflection when getting the
  889. properties of Cursors, as TypeDescriptor.GetProperties isn't
  890. returning static properties.
  891. 2006-10-25 Chris Toshok <[email protected]>
  892. * PropertyGridView.cs: factor out the up/down handling, and reuse
  893. it for page up/down. also add End/Home support.
  894. 2006-10-25 Chris Toshok <[email protected]>
  895. * PropertyGridView.cs:
  896. - ensure the selected grid item is visible in the scrolled area,
  897. fixes bug #79572.
  898. - fix Keys.Down handling when you're on the last item in the
  899. propertygrid.
  900. 2006-10-25 Mike Kestner <[email protected]>
  901. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  902. clicks too. Fixes #79725.
  903. 2006-10-24 Chris Toshok <[email protected]>
  904. * PropertyGrid.cs: use property.Converter instead of
  905. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  906. TypeConverters declared on the property as well as on the
  907. PropertyType. Fixes bug #79678.
  908. 2006-10-24 Alexander Olk <[email protected]>
  909. * MimeIcon.cs, Mime.cs:
  910. Fallback to the default platform handler if no shared mime info
  911. stuff exists (fixes #79693).
  912. 2006-10-20 Andreia Gaita <[email protected]>
  913. * ContainerControl.cs: Incorrect contains check in ActiveControl
  914. from previous fix (duh).
  915. 2006-10-20 Chris Toshok <[email protected]>
  916. * PropertyGridView.cs: the dropdown should be MIN(number of items
  917. in list, 15). Fixes #79551.
  918. 2006-10-20 Andreia Gaita <[email protected]>
  919. Fixes #79384, #79394, #79652, #79667
  920. * Application.cs:
  921. - Modal windows are now destroyed in the proper order for windows
  922. * ContainerControl.cs:
  923. - ActiveControl setter has more conditions on when to return:
  924. - if we're reselecting the active control, but it actually
  925. didn't have focus (window hidden or some such), it runs
  926. - if the active control being selected doesn't actually
  927. exist in the container, it returns
  928. * Form.cs
  929. - The ShowDialog now gets the current form as the owner when
  930. invoking without parameters, and correctly activates the owner
  931. when returning
  932. * MessageBox.cs
  933. - MessageBox now catches the Escape key to exit
  934. 2006-10-20 Chris Toshok <[email protected]>
  935. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  936. most of bug #79676):
  937. - you can navigate around the property grid with the arrow keys.
  938. - the dropdown is sized properly when the pg has a vertical
  939. scrollbar.
  940. - fix the indentation for subentries, and properly select the
  941. entire label rect.
  942. - fix the gray bar's drawing (only draw it to the last element,
  943. not for the height of the control. Also make sure we draw that
  944. last horizontal grid line.
  945. - use the same mechanism the datagrid uses wrt the editing textbox
  946. when scrolling/resizing/etc. Namely, we hide it first, do the
  947. operation, then show it again (if it's still visible).
  948. - aggressively remove a lot of unnecessary refreshes (and also
  949. calls to Invalidate(). call more limited variants, and only redraw
  950. what we need.)
  951. * PropertyGrid.cs:
  952. - when we're populating the merged collection, fill in the UI
  953. parent with either the passed in item, or the category item we
  954. create.
  955. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  956. * GridItem.cs: drop some fully qualified names.
  957. * GridEntry.cs: add a "UIParent", which is basically the parent
  958. treenode.
  959. * GridItemCollection.cs: add an IndexOf method.
  960. 2006-10-20 Mike Kestner <[email protected]>
  961. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  962. a working win32 NC invalidation mechanism, we can't invalidate
  963. menus. [Fixes #79705]
  964. 2006-10-20 Mike Kestner <[email protected]>
  965. * ListBox.cs : don't update the VScrollbar if the list is empty,
  966. just hide it. [Fixes #79692]
  967. 2006-10-20 Jackson Harper <[email protected]>
  968. * RichTextBox.cs: Handle some special chars better, and don't skip
  969. the entire group when we encounter a special char that we don't
  970. handle correctly.
  971. 2006-10-18 Chris Toshok <[email protected]>
  972. * PropertyGridView.cs: address a number of issues from bug #79676,
  973. mostly of the cosmetic variety.
  974. - The highlight rectangle for indented items not extends all the
  975. way to the left.
  976. - Indented items aren't indented so much.
  977. - the dropdown is properly sized width-wise if the pg has a
  978. vertical scrollbar.
  979. 2006-10-18 Chris Toshok <[email protected]>
  980. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  981. systray stuff is rather convoluted to begin with.
  982. systray icons are a single window for some reason (that I haven't
  983. figured out yet), and for them, client_window == whole_window.
  984. Given the way the tests are structured elsewhere to determine
  985. which paints are pending (client vs. nc), that situation will
  986. always yield PAINT, not NCPAINT. So, if we have a pending
  987. nc_expose and no pending expose, remove the hwnd from the paint
  988. queue, and also set nc_expose_pending to false, to keep us from
  989. blocking further expose's adding the hwnd to the paint queue.
  990. phew. like i said, a rather convoluted change. Fixes the
  991. notifyicon repaint issues in bug #79645.
  992. 2006-10-18 Chris Toshok <[email protected]>
  993. * Form.cs: when getting the backcolor of the form, don't get
  994. base.BackColor, as this allows parents to influence the background
  995. color. This breaks mdi forms. Instead, if the background_color
  996. is empty, return the default.
  997. 2006-10-18 Chris Toshok <[email protected]>
  998. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  999. to being private instead of internal static.
  1000. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  1001. crap, it wasn't working for more deeply nested controls anyway,
  1002. and we already have the is_recreating flag - use that instead.
  1003. Before calling DestroyHandle in RecreateHandle, recurse through
  1004. the control tree setting it to true. this returns the recreate
  1005. code to much of its original simplicity, while now guaranteeing we
  1006. actually recreate everything we're supposed to. This change gets
  1007. fyireporting actually showing mdi children.
  1008. 2006-10-17 Chris Toshok <[email protected]>
  1009. * Form.cs: remove some debug spew, and collapse some duplicate
  1010. code at the end of SetClientSizeCore.
  1011. * XplatUIX11.cs:
  1012. - add some more debug spew here too wrt Destroy handling.
  1013. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  1014. in Control's handling of WM_DESTROY.
  1015. - Remove the handling of zombie window DestroyNotifies from the
  1016. event loop - we don't need it. Now the only DestroyNotifies we
  1017. actually handle are ones generated by X.
  1018. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  1019. match gtk's (functioning) handling of this. This keep metacity
  1020. from leaving droppings in the form of wm borders with no window
  1021. contents all over the place.
  1022. * Control.cs:
  1023. - add a bunch of debug spew wrt control recreation.
  1024. - fix a bug where we weren't tracking Visible properly on
  1025. recreated hwnds.
  1026. - fixed the WM_PAINT double buffer handling to support re-entrant
  1027. calls (yes, i know it's gross, but it's happening to us).
  1028. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  1029. * ThemeWin32Classic.cs: changed drawing of selected days
  1030. to make them look better.
  1031. 2006-10-16 Chris Toshok <[email protected]>
  1032. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  1033. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  1034. * XplatUIX11.cs: move away from using hwnd.client_dc and
  1035. hwnd.non_client_dc and on to a stack of dc's (and in window's
  1036. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  1037. without puking or not disposing of Graphics objects.
  1038. * XplatUIOSX.cs: same.
  1039. * XplatUIWin32.cs: same.
  1040. 2006-10-03 Alexander Olk <[email protected]>
  1041. * FileDialog.cs: Don't call on_directory_changed inside
  1042. OnSelectedIndexChanged (it changes the SelectedIndex too).
  1043. Instead move it to OnSelectionChangeCommitted.
  1044. 2006-10-13 Chris Toshok <[email protected]>
  1045. * XplatUIX11.cs: more Destroy work. the current code does the
  1046. following things, in order:
  1047. 1. Enumerates all handles of all controls at or below the one
  1048. being destroyed, in pre-order. As it is doing this, it marks the
  1049. handles as zombie and clears all references to them.
  1050. 2. calls XDestroyWindow on the window passed in.
  1051. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  1052. list.
  1053. 2006-10-13 Chris Toshok <[email protected]>
  1054. * XplatUIX11.cs: set hwnd.zombie to true before calling
  1055. SendMessage (WM_DESTROY). this keeps us from marking the new
  1056. window a zombie, and also keeps us from calling sendmessage at
  1057. all.
  1058. 2006-10-13 Jackson Harper <[email protected]>
  1059. * TextControl.cs: Do not show the caret and selection at the same
  1060. time. Reduces ugliness by 35%.
  1061. 2006-10-13 Chris Toshok <[email protected]>
  1062. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  1063. zombie after we do the recursive call, so we actually do call
  1064. SendMessage on the children controls.
  1065. (GetMessage): if we find a pending paint event for a zombie hwnd,
  1066. remove the hwnd from the paint queue, or else it will always be
  1067. there (and we'll effectively loop infinitely)
  1068. 2006-10-13 Mike Kestner <[email protected]>
  1069. * MenuItem.cs : add Selected format under keynav too.
  1070. Fixes #79528.
  1071. 2006-10-13 Gert Driesen <[email protected]>
  1072. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  1073. implementation and that of MS.
  1074. 2006-10-13 Chris Toshok <[email protected]>
  1075. * Control.cs (OnInvalidated) only futz with the invalid_region if
  1076. the control is double buffered. this fixes the apparent hang in
  1077. the ListView unit tests. Someone needs to make the
  1078. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  1079. 2006-10-13 Chris Toshok <[email protected]>
  1080. * PropertyGridView.cs:
  1081. - do a little refactoring so that only one place calls
  1082. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  1083. else call that. Also make it Refresh, since there are redraw bugs
  1084. otherwise (we should take a look at that...)
  1085. - do a little more refactoring work to share the body of code
  1086. involved with the drop down. it was duplicated in the code
  1087. dealing with the listbox handling and in the code dealing with the
  1088. UITypeEditors.
  1089. - add a Capture to the dropdown form's control once it's
  1090. displayed, and add a MouseDown handler that checks to make sure
  1091. the position is inside the control. If it's not, close the
  1092. dropdown. This fixes #78190.
  1093. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  1094. if the value is different than the initial value.
  1095. 2006-10-13 Andreia Gaita <[email protected]>
  1096. * Control.cs: see #78650
  1097. - Fixed GetNextControl for several cases:
  1098. - Changed FindFlatForward to return
  1099. correct sibling control when more than one
  1100. control has same TabIndex as the currently
  1101. focused one.
  1102. - Changed FindFlatBackward to loop children
  1103. from last to first and apply same logic as in
  1104. FindFlatForward
  1105. - Changed FindControlForward to search for
  1106. children when control is not a container
  1107. but has children, or search for siblings if
  1108. control is a container...
  1109. - Changed FindControlBackward to continue
  1110. searching for child controls when hitting
  1111. Panel-like parents
  1112. - Fixed Focus method to update ActiveControl
  1113. (FocusTest.FocusSetsActive failure)
  1114. * TabControl.cs:
  1115. - Focus rectangle now refreshes when gaining
  1116. or losing focus
  1117. - Removed grab for Tab key on IsInputKey that
  1118. was keeping tab navigation from working (#78650)
  1119. 2006-10-13 Chris Toshok <[email protected]>
  1120. * PropertyGridView.cs:
  1121. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  1122. SelectedObjects.
  1123. - Deal with GridItem.Value == null a few places.
  1124. * PropertyGrid.cs:
  1125. - replace the PopulateGridItemCollection with a pair of methods
  1126. which compute the intersection of all the properties in the
  1127. SelectedObjects array. Fixes #79615.
  1128. - Throw ArgumentException from set_SelectedObjects if there's a
  1129. null in the array.
  1130. - Add GetTarget method which can be used to traverse up the
  1131. GridItem.Parent chain. It depends on the assumption that
  1132. selected_objects for different GridEntries are always in the same
  1133. order (a safe assumption). Use this method and loop over all the
  1134. selected objects in the entry when calling RemoveValueChanged and
  1135. AddValueChanged.
  1136. * GridEntry.cs: Make this handle multiple selected objects.
  1137. .Value returns null if not all the selected objects share the same
  1138. value.
  1139. 2006-10-12 Jonathan Pobst <[email protected]>
  1140. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  1141. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  1142. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  1143. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  1144. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  1145. add additional functionality.
  1146. 2006-10-12 Mike Kestner <[email protected]>
  1147. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  1148. * HelpProvider.cs : new ToolTipWindow ctor sig.
  1149. * ToolTip.cs : remove ToolTip param from Window sig since it is
  1150. not used.
  1151. * ToolBar.cs : add tooltip support. Fixes #79565.
  1152. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1153. * ComboBox.cs: move the events in set_SelectedIndex to
  1154. after the call to HighlightIndex in order to avoid
  1155. possible recursion and subsequent problems with the call
  1156. to HighlightIndex and include a range check in
  1157. set_HighlightIndex. Fixes #79588
  1158. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1159. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  1160. to ui thread's settings instead of sunday.
  1161. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  1162. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1163. * DateTimePicker.cs
  1164. * MonthCalendar.cs
  1165. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  1166. and implement missing functionality (selecting different parts
  1167. of the date and edit them individually with the keyboard).
  1168. 2006-10-11 Chris Toshok <[email protected]>
  1169. * Control.cs (OnInvalidated): fix NRE relating to last change.
  1170. 2006-10-11 Chris Toshok <[email protected]>
  1171. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  1172. atoms in _NET_WM_STATE here if the window is maximized. We need
  1173. to do this because we're *replacing* the existing _NET_WM_STATE
  1174. property, so those atoms will be lost otherwise, and any further
  1175. call to GetWindowState will return Normal for a window which is
  1176. actually maximized. Fixes #79338.
  1177. 2006-10-11 Jackson Harper <[email protected]>
  1178. * TextControl.cs: Special case for setting selection end to
  1179. selection start, we basically kill the anchor.
  1180. - some todo comments.
  1181. 2006-10-11 Chris Toshok <[email protected]>
  1182. * Control.cs: switch to using an "invalid_region" to track which
  1183. parts of the image buffer need updating. This is more code than
  1184. the simple fix from r66532. That version just attempted to always
  1185. fill the entire buffer on redraw, which turns out to be
  1186. inefficient when invalidating small rectangles. This version
  1187. simply adds the invalid rectangle to the invalid region. When we
  1188. get any WM_PAINT message we see if it can be filled using the
  1189. image buffer, and if it can't (if the paint event's clip rectangle
  1190. is visible in the invalid region) we first fill the image buffer.
  1191. So, the image buffer is still a cache, we just fill it lazily.
  1192. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  1193. need it any longer.
  1194. 2006-10-11 Chris Toshok <[email protected]>
  1195. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  1196. well as size after calling XMoveResizeWindow. This keeps us from
  1197. ignoring future SetWindowPos calls. Fixes the disappearing
  1198. DateTimePicker in the ToolBarDockExample from bug #72499.
  1199. 2006-10-11 Chris Toshok <[email protected]>
  1200. * TextBoxBase.cs: reorder things a bit when it comes to
  1201. resizing-causing-recalculation. we were recalculating the
  1202. document when our position was changed, which shouldn't happen.
  1203. We only care about size changes. Clear up some more redundant
  1204. recalculation calls while I'm at it. This makes the toolbar dock
  1205. example snappy when you're just dragging toolbars around (since it
  1206. causes a relayout whenever you move one.)
  1207. 2006-10-11 Chris Toshok <[email protected]>
  1208. * ToolBarButton.cs (get_Rectangle): this only returns
  1209. Rectangle.Empty if Visible == false, or Parent == null.
  1210. Parent.Visible doesn't matter.
  1211. 2006-10-10 Chris Toshok <[email protected]>
  1212. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  1213. by .net 1.1, so switch to an internal method instead.
  1214. 2006-10-10 Chris Toshok <[email protected]>
  1215. * Control.cs (WM_PAINT): when a control is double buffered we draw
  1216. initially to the ImageBuffer and then copy from there. But when a
  1217. parent control which has child controls is double buffered, the
  1218. initial drawing doesn't encompass the entire ClientRectangle of
  1219. the parent control, so we end up with uninitialized bits (this is
  1220. easily seen by dragging the top toolbar in
  1221. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  1222. manually set the ClipRectangle of the paint_event (only the one we
  1223. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  1224. of the nastiness in bug #72499.
  1225. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  1226. which we use in Control.cs's WM_PAINT handling.
  1227. 2006-10-10 Jackson Harper <[email protected]>
  1228. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  1229. 2006-10-10 Chris Toshok <[email protected]>
  1230. * Cursor.cs: Apply a slightly different patch to the one suggested
  1231. in #79609.
  1232. 2006-10-10 Jackson Harper <[email protected]>
  1233. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  1234. not the parent form.
  1235. * TextControl.cs: use difference in old line count vs new count to
  1236. calculate how many lines were added, this takes into account soft
  1237. line breaks properly.
  1238. 2006-10-10 Chris Toshok <[email protected]>
  1239. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  1240. rectangle located at 0,0 and the size of the text. Use
  1241. ClientRectangle instead. This fixes rendering of non-left aligned
  1242. link labels.
  1243. 2006-10-10 Jackson Harper <[email protected]>
  1244. * TextBoxBase.cs: When we set the selection start position the
  1245. caret.
  1246. * TextControl.cs: Need to update the caret when we decrement it to
  1247. zero.
  1248. - Make sure that the selection_visible flag gets reset to false if
  1249. the selection isn't visible. Before this you could get it set to
  1250. visible by changing the selection start, then changing the end to
  1251. equal the start.
  1252. 2006-10-09 Jackson Harper <[email protected]>
  1253. * TreeView.cs: Don't update scrollbars when we aren't visible.
  1254. * TreeNodeCollection.cs: Only need to update scrollbars if being
  1255. added to an expanded visible node or the root node.
  1256. 2006-10-09 Chris Toshok <[email protected]>
  1257. * XplatUIX11.cs (SendMessage): fix NRE.
  1258. 2006-10-09 Jackson Harper <[email protected]>
  1259. * TextBoxBase.cs: Implement horizontal autoscrolling.
  1260. * TextControl.cs: Add a movement types that allows moving forward
  1261. and backwards without wrapping.
  1262. 2006-10-09 Mike Kestner <[email protected]>
  1263. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  1264. with focus "expansion" of labels. Fixes #79532 and then some.
  1265. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  1266. when wrapping.
  1267. 2006-10-09 Jackson Harper <[email protected]>
  1268. * TextBoxBase.cs: Set the default max values to MaxValue since
  1269. we use the scrollbar for autoscrolling and the default value is
  1270. 100. If we don't do this the caret won't keep up with typing
  1271. after about 18 characters.
  1272. * TextControl.cs: Make sure the selection is offset by the
  1273. viewport x. This fixes selection when using auto scrolling.
  1274. 2006-10-07 Andreia Gaita <[email protected]>
  1275. * Form.cs: The active control should be selected after the
  1276. OnLoad so that any child control initialization that affects
  1277. the selection is done. Fixes #79406
  1278. 2006-10-06 Chris Toshok <[email protected]>
  1279. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  1280. to have no evil effects.
  1281. - Stop selecting StructureNotifyMask on non-toplevel windows.
  1282. The only way children should be resized is by using the SWF api,
  1283. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  1284. Toplevel windows can be interacted with via the window manager,
  1285. and so we keep the input mask there.
  1286. The other event StructureNotifyMask gives us (that we care
  1287. about) is DestroyNotify. The code is already structured such
  1288. that it assumes we won't be getting a DestroyNotify event for
  1289. the window we pass to XDestroyWindow (which is what
  1290. StructureNotifyMask is supposed to guarantee.) So, that code
  1291. shouldn't be affected by this either.
  1292. - Stop selecting VisibilityChangeMask altogether.
  1293. We weren't doing anything with the resulting events anyway.
  1294. This vastly reduces the number of X requests and events we see
  1295. when resizing/laying out a large ui.
  1296. 2006-10-06 Chris Toshok <[email protected]>
  1297. * ScrollableControl.cs (DisplayRectangle): we need to take into
  1298. account the DockPadding regardless of whether or not auto_scroll
  1299. == true. rework this slightly to this effect, and fix bug #79606,
  1300. and part of #72499 (you can now see the drag handles and drag
  1301. toolbars around).
  1302. 2006-10-06 Gert Driesen <[email protected]>
  1303. * ListViewItem.cs: Collections of selected and checked items are now
  1304. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  1305. we mark the collection "dirty".
  1306. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  1307. to only clear SelectedItems when a new item is selected and MultiSelect
  1308. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  1309. event of ListViewItemCollection, and mark its list dirty whenever
  1310. that event is fire. This allows us to return selected/checked items
  1311. in the same order as they are in the Items collection. This matches
  1312. the MS behavior.
  1313. 2006-10-06 Chris Toshok <[email protected]>
  1314. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  1315. right mouse clicks. Fixes bug #79593.
  1316. 2006-10-06 Chris Toshok <[email protected]>
  1317. * Splitter.cs: doh, fix splitters that don't want to cancel the
  1318. movement when you drag them. Also, impose the limits on the
  1319. values we send to the SplitterMovingEvent. Fixes #79598.
  1320. 2006-10-06 Jackson Harper <[email protected]>
  1321. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  1322. since we use this for auto scrolling also.
  1323. 2006-10-05 Chris Toshok <[email protected]>
  1324. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  1325. beginning to think that most datagrid column types don't need this
  1326. method. Fixes bug #79392.
  1327. 2006-10-05 Chris Toshok <[email protected]>
  1328. * DataGrid.cs: move back to a more lazy scheme for creating the
  1329. CurrencyManager, so we aren't updating it every time you set
  1330. either DataSource or DataMember. Also, don't call
  1331. RecreateDataGridRows if the currency manager hasn't changed.
  1332. 2006-10-05 Chris Toshok <[email protected]>
  1333. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  1334. emitted, SelectedIndex should already be updated. Fixes bug
  1335. #78929.
  1336. 2006-10-05 Jonathan Pobst <[email protected]>
  1337. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  1338. ToolStripTextBox.cs: Initial commit.
  1339. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  1340. 2006-10-05 Jackson Harper <[email protected]>
  1341. * TabControl.cs: We need to invalidate the tab control area when
  1342. new ones are added (duh).
  1343. 2006-10-03 Chris Toshok <[email protected]>
  1344. * Form.cs (ProcessDialogKey): if the focused control is in this
  1345. form and is a button, call its PerformClick method here. Fixes
  1346. #79534.
  1347. 2006-10-04 Jackson Harper <[email protected]>
  1348. * TabPage.cs: Ignore setting of Visible, and add an internal
  1349. method for setting the controls visibility. TabPage's Visible
  1350. property is a little strange on MS, this seems to make us
  1351. compatible, and fixes cases where people set all the tab pages to
  1352. visible.
  1353. * TabControl.cs: Use the new internal setting on tab pages
  1354. visibility.
  1355. 2006-10-03 Mike Kestner <[email protected]>
  1356. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  1357. 2006-10-03 Mike Kestner <[email protected]>
  1358. * ListView.cs : use is_visible instead of Visible to check if
  1359. scrollbars should be placed/sized. Also some max_wrap_width
  1360. love for LargeIcon view. [Fixes #79533]
  1361. 2006-10-03 Atsushi Enomoto <[email protected]>
  1362. * TextControl.cs :
  1363. Make set_TextAlign() do actually update the align. Fixed #78403.
  1364. 2006-10-03 Chris Toshok <[email protected]>
  1365. * DataGrid.cs: fix a crash when switching datasources if the
  1366. vertical scrollbar is at someplace other than Value = 0. Also,
  1367. reduce the number of recalculation passes we do in SetDataSource
  1368. from 2 to 1.
  1369. 2006-10-03 Jackson Harper <[email protected]>
  1370. * TextBoxBase.cs: Move the if value the same bail check up, we
  1371. don't want to empty the document if it is already empty, this
  1372. seems to severly mess up the caret. TODO: I should probably fix
  1373. the empty statement to update teh caret somehow.
  1374. 2006-10-03 Chris Toshok <[email protected]>
  1375. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  1376. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  1377. reflection, an internal row type, properties on said type, etc.)
  1378. will work with our datagrid. Fixes #79531.
  1379. 2006-10-03 Alexander Olk <[email protected]>
  1380. * FileDialog.cs: Don't crash if a path is not accessible
  1381. (System.UnauthorizedAccessException). Fixes #79569.
  1382. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  1383. a ':' too. Return unknown icon for those paths/files.
  1384. 2006-10-03 Sebastien Pouliot <[email protected]>
  1385. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  1386. GetContainerControl returns null.
  1387. 2006-10-02 Chris Toshok <[email protected]>
  1388. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  1389. call to XGetWindowAttributes instead of "handle". fixes an X
  1390. error using notifyicon after the NotifyIconWindow to Form base
  1391. class switch.
  1392. 2006-10-02 Chris Toshok <[email protected]>
  1393. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  1394. server grab and looping we need to do to get down to the most
  1395. deeply nested child window.
  1396. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  1397. QueryPointer again after the WarpPointer so we can generate a
  1398. proper (fake) MotionNotify event to be enqueued in the destination
  1399. window's queue.
  1400. (GetCursorPos): call QueryPointer.
  1401. Fixes #79556.
  1402. 2006-10-02 Jackson Harper <[email protected]>
  1403. * NotifyIcon.cs: Derive the notify icon from a form, so things
  1404. like FindForm work on it.
  1405. - Swallow the WM_CONTEXTMENU message, since that is generated on
  1406. mouse down, and context menu is a mouse up kinda guy. I believe
  1407. the correct fix here is probably to make the notify icon entirely
  1408. NC area, but this seems to work fine for anyone not manipulating
  1409. WndProc.
  1410. 2006-10-02 Jonathan Pobst <[email protected]>
  1411. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  1412. ToolStripItemCollection.cs, ToolStripLabel.cs,
  1413. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  1414. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  1415. Initial implementation.
  1416. * TextRenderer.cs: Provide padding to MeasureText.
  1417. 2006-10-02 Sebastien Pouliot <[email protected]>
  1418. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  1419. of ButtonBaseAccessibleObject. Fix bug #79552.
  1420. 2006-10-02 Jackson Harper <[email protected]>
  1421. * MdiWindowManager.cs: When maximizing use the containers client
  1422. rect, not it's bounds, so nc area is accounted correctly.
  1423. - Use the parent form's size for the menu position, since the
  1424. client isn't always the full form size.
  1425. 2006-10-01 Chris Toshok <[email protected]>
  1426. * ScrollableControl.cs: make sure neither right_edge or
  1427. bottom_edge are < 0, since they're used as LargeChange for the
  1428. horiz/vert scrollbars respectively. Fixes #79539.
  1429. 2006-10-01 Chris Toshok <[email protected]>
  1430. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  1431. the xplatuix11 code can cause us to destroy/recreate our handle.
  1432. * XplatUIX11.cs
  1433. (SystrayAdd):
  1434. - this code can be invoked many times for the same Hwnd. Make
  1435. sure we only destroy the client window once (the first time this
  1436. method is called). This fixes bug #79544.
  1437. - Remove the call to the improperly bound XSync. why we had two
  1438. bindings to this, I will never know, but this call resulted in
  1439. events being discarded from the queue(!).
  1440. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  1441. not our current state but the state we wish to be in. So, 0 if
  1442. we don't want to be mapped. Change it to 1.
  1443. (SystrayRemove): The XEMBED spec makes mention of the fact that
  1444. gtk doesn't support the reparent of client windows away from the
  1445. embedder. Looking at gtksocket-x11.c seems to agree with this.
  1446. The only avenue we have for removing systray icons is to destroy
  1447. them. We don't want the handle to go away for good, though, so
  1448. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  1449. #79545.
  1450. 2006-10-01 Chris Toshok <[email protected]>
  1451. * Form.cs (WndProc): inline the native_enabled variable usage into
  1452. the cases in which it's used. Fixes #79536.
  1453. 2006-09-29 Mike Kestner <[email protected]>
  1454. * ListView.cs : toggle the selection state for ctrl clicks in
  1455. multiselect mode. [Fixes #79417]
  1456. 2006-09-29 Mike Kestner <[email protected]>
  1457. * ListView.cs : kill CanMultiSelect and refactor the selection
  1458. code to support multiselection in the absence of mod keys. Steal
  1459. arrow/home/end keys by overriding InternalPreProcessMessage to
  1460. restore regressed keynav behavior.
  1461. [Fixes #79416]
  1462. 2006-09-29 Jackson Harper <[email protected]>
  1463. * MdiClient.cs: Repaint the titlebars when the active window is
  1464. changed.
  1465. 2006-09-29 Chris Toshok <[email protected]>
  1466. * Application.cs: when entering a runloop with a modal, make sure
  1467. the hwnd is enabled. Fixes #79480.
  1468. 2006-09-29 Chris Toshok <[email protected]>
  1469. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  1470. when ListManager.CanAddRows == false, bump us back one.
  1471. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  1472. listmanager.CanAddRows check. This makes ArrayLists uneditable
  1473. using a datagrid, which is not right.
  1474. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  1475. is an IEditable, but call property_descriptor.SetValue regardless.
  1476. fixes #79435.
  1477. 2006-09-29 Chris Toshok <[email protected]>
  1478. * DataGridBoolColumn.cs: we need to test equality in the face of
  1479. possible null values (as is the case with the default NullValue).
  1480. This patch keeps us from crashing in that case.
  1481. 2006-09-29 Jackson Harper <[email protected]>
  1482. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  1483. here, since it will get called for every node collection in the
  1484. tree. This is now done in the treeview once the sorting is
  1485. finished.
  1486. * TreeView.cs: Recalculate the visible order, and update the
  1487. scrollbars after sorting, set the top nope to the root so that the
  1488. recalc actually works.
  1489. 2006-09-29 Chris Toshok <[email protected]>
  1490. * LinkLabel.cs: more handling of the default link collection in
  1491. the face of LinkArea manipulation. The default link collection
  1492. contains 1 element (start=0,length=-1). If the user sets LinkArea
  1493. to anything and the links collection is the default, clear it.
  1494. Then only add the link if its nonempty. Fixes #79518.
  1495. 2006-09-29 Chris Toshok <[email protected]>
  1496. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  1497. piece correctly when we hit a '\n'. Fixes #79517.
  1498. 2006-09-29 Chris Toshok <[email protected]>
  1499. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  1500. change the binding of gdk_init_check to take two IntPtr's, and
  1501. pass IntPtr.Zero for both of them. Fixes #79520.
  1502. 2006-09-29 Mike Kestner <[email protected]>
  1503. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  1504. [Fixes #78779]
  1505. 2006-09-28 Jackson Harper <[email protected]>
  1506. * XplatUIX11.cs: When translating NC messages make sure we go from
  1507. whole window to screen, not client window to screen.
  1508. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  1509. method doesn't exist
  1510. - Skip over controls that aren't forms when arranging.
  1511. 2006-09-28 Jackson Harper <[email protected]>
  1512. * XplatUIWin32.cs: Clip the rect to the parent window.
  1513. * XplatUIStructs.cs: Add clipping modes struct.
  1514. * InternalWindowManager.cs: New private method that factors title
  1515. bar heights in when calculating the pos of an NC mouse message.
  1516. - Use SendMessage to force a paint when the form's size is changed
  1517. instead of painting the decorations immediately.
  1518. - Don't let the NC button click messages get to DefWndProc,
  1519. because they will attempt to handle windowing themself, and this
  1520. messes up z-order (it will put them in front of the scrollbars).
  1521. * XplatUIX11.cs: Make sure that we don't reset window managers if
  1522. we already have one (ie the window is an MDI window).
  1523. 2006-09-28 Chris Toshok <[email protected]>
  1524. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  1525. menu code really needs going over.
  1526. 2006-09-27 Chris Toshok <[email protected]>
  1527. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  1528. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  1529. window is maximizable. So, we need to make sure that even if we
  1530. clear the border/wm frame of those functions, they're still
  1531. available (basically, we remove the decoration without removing
  1532. the function). Half the fix for #79338.
  1533. 2006-09-27 Chris Toshok <[email protected]>
  1534. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  1535. Fixes bug #79515.
  1536. 2006-09-27 Chris Toshok <[email protected]>
  1537. * Splitter.cs: reorder things a bit so that we don't actually
  1538. draw/move the splitter until after calling OnSplitterMoving. This
  1539. lets users cancel/disallow the movement by explicitly setting
  1540. event.SplitX/SplitY. Fixes #79372.
  1541. 2006-09-27 Jackson Harper <[email protected]>
  1542. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  1543. because it is most likely on a window being destroyed, and that
  1544. will give us an X11 error.
  1545. 2006-09-27 Chris Toshok <[email protected]>
  1546. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  1547. the dropdown button now toggles between showing and hiding the
  1548. dropdown. Also, get rid of dropdown_form_showing and just use
  1549. dropdown_form.Visible. We still don't do a grab, but I'll leave
  1550. that part to someone who has handled Capture-fu before.
  1551. 2006-09-27 Chris Toshok <[email protected]>
  1552. * DataGrid.cs: return false if alt isn't pressed when '0' is
  1553. pressed. this keeps the '0' key from being swallowed, and fixes
  1554. bug #79350.
  1555. 2006-09-27 Chris Toshok <[email protected]>
  1556. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  1557. Calling Refresh (in response to a scrollbar event) screws up the
  1558. scrollbar painting. Fixes bug #78923.
  1559. 2006-09-27 Chris Toshok <[email protected]>
  1560. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  1561. then insert into hashtable" blocks threadsafe.
  1562. 2006-09-27 Chris Toshok <[email protected]>
  1563. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  1564. baseclass's, since otherwise the
  1565. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  1566. effect. This gets the close button back in messageboxes.
  1567. 2006-09-27 Chris Toshok <[email protected]>
  1568. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  1569. flag, not just != 0. this makes flags that are actually multiple
  1570. bits (like WS_CAPTION) work. fixes bug #79508.
  1571. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  1572. * PageSetupDialog.cs: add support for getting and settings the
  1573. paper size, source and orientation.
  1574. 2006-09-26 Chris Toshok <[email protected]>
  1575. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  1576. and caption == "", we need to remove the resize handles as well as
  1577. the title bar.
  1578. * Control.cs (set_Text): turns out that setting Text on a form
  1579. should change the WM styles on the window, since if ControlBox ==
  1580. false, the only way to get a window border is to have a non-""
  1581. Text property. check winforms/forms/text.cs for an example. so,
  1582. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  1583. update both window styles and title. This fixes a lot of dialogs
  1584. (including the preferences dialog in MonoCalendar.)
  1585. 2006-09-26 Chris Toshok <[email protected]>
  1586. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  1587. control isn't a Form), call Win32ShowWindow to hide the window,
  1588. but don't update the control Visible property. When we reparent
  1589. back to a parent control, call SetVisible in order for the
  1590. window's visibility to be reinstated.
  1591. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  1592. the FosterParent.
  1593. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  1594. call for good, since it breaks MonoCalendar (and other things I'm
  1595. sure.) Also, set all_controls to null *after* the owner calls,
  1596. which end up regenerating it.
  1597. (ChangeParent): allow new_parent to be == null, passing
  1598. IntPtr.Zero down to XplatUI.
  1599. this fixes #79294 the right way.
  1600. 2006-09-26 Mike Kestner <[email protected]>
  1601. * GridEntry.cs : internal SetParent method.
  1602. * PropertyGrid.cs : attach to property changed on the proper
  1603. target if we have a hierarchical grid with subobjects. Setup
  1604. GridItem.Parent for hierarchical items.
  1605. * PropertyGridView.cs : Set value on the correct target for
  1606. hierarchical grids. [Fixes #78903]
  1607. 2006-09-26 Chris Toshok <[email protected]>
  1608. * Control.cs (ChildNeedsRecreating): this should return true if
  1609. either we're being recreated and the child is in our list, or our
  1610. parent is waiting for our recreation.
  1611. 2006-09-26 Chris Toshok <[email protected]>
  1612. * Control.cs (ControlCollection.Remove): reinstate the
  1613. value.Hide() call as suggested in bug #79294.
  1614. 2006-09-26 Sebastien Pouliot <[email protected]>
  1615. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  1616. coordinates (versus a relative move).
  1617. 2006-09-26 Chris Toshok <[email protected]>
  1618. * Control.cs: rework child recreation a little bit. It turns out
  1619. that we race between the DestroyNotify the WM_DESTROY message. If
  1620. the parent gets its DestroyNotify before the child gets the
  1621. WM_DESTROY message, the child ends up not recreating (since the
  1622. parent finishes its recreation on DestroyNotify, and the child
  1623. checks ParentIsRecreating.)
  1624. So, instead we store off a list of all the child controls which
  1625. need to be recreated when the parent control starts to recreate
  1626. itself. Then, when child controls get their WM_DESTROY message we
  1627. check to see if they're in the parent's pending recreation list,
  1628. and if so, we recreate. This removes all dependency on ordering
  1629. from the code and fixes the initial MonoCalendar upgrade dialog.
  1630. 2006-09-26 Jackson Harper <[email protected]>
  1631. * TextControl.cs: Use the Line to get the length of the line,
  1632. since soft line breaks can change the end line.
  1633. 2006-09-26 Chris Toshok <[email protected]>
  1634. * Control.cs (ControlCollection.AddImplicit): don't add the
  1635. control again if it's already in one of our lists. This keeps us
  1636. from adding controls over and over again for comboboxes when their
  1637. handle gets recreated (as the combobox adds implicit controls in
  1638. OnHandleCreated). Fixes the X11 errors in bug #79480.
  1639. 2006-09-26 Jackson Harper <[email protected]>
  1640. * TextControl.cs: When deleting characters make sure that any
  1641. orphaned zero lengthed tags get deleted.
  1642. - Fix ToString for zero lengthed tags.
  1643. 2006-09-25 Jackson Harper <[email protected]>
  1644. * TextControl.cs: When getting a tag at the location there can be
  1645. multiple tags at the same spot, these are 0-lengthed tags that
  1646. appear when extra formatting has been stuck in a location. We
  1647. need to pull out the last of these 0 lengthed tags.
  1648. 2006-09-25 Jackson Harper <[email protected]>
  1649. * TextControl.cs: Fix print out in debug method.
  1650. * TextBoxBase.cs: When text is set bail if we are setting to the
  1651. previous value.
  1652. 2006-09-24 Alexander Olk <[email protected]>
  1653. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  1654. It is now possible to change the selected index in a FontXXXListBox
  1655. with the up and down arrow keys from the FontXXXTextBoxes.
  1656. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  1657. FontXXXListBoxes to match ms.
  1658. 2006-09-22 Sebastien Pouliot <[email protected]>
  1659. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  1660. anyone can dispose it, anytime. All other properties returns enums,
  1661. structs or basic types so they don't need such tricks.
  1662. 2006-09-22 Jackson Harper <[email protected]>
  1663. * XplatUI.cs:
  1664. * XplatUIWin32.cs:
  1665. * Clipboard.cs:
  1666. * DataFormats.cs:
  1667. * XplatUIOSX.cs:
  1668. * XplatUIDriver.cs: Update interface to add a primary selection
  1669. flag, so the driver can use the primary selection buffer if
  1670. needed.
  1671. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  1672. * RichTextBox.cs: We need to supply the data object to paste now
  1673. (so we can choose to supply CLIPBOARD or PRIMARY).
  1674. * TextBoxBase.cs: Supply data object to paste (see above).
  1675. - Middle click uses the primary selection data object.
  1676. 2006-09-21 Chris Toshok <[email protected]>
  1677. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  1678. of SetWMStyles. It's still a rat's nest and is largely
  1679. order-dependent which I dislike immensely. This also fixes the X
  1680. button disappearing from toplevel forms.
  1681. 2006-09-21 Mike Kestner <[email protected]>
  1682. * ListBox.cs: move Jordi's click/dblclick raising code to the
  1683. mouse up handler.
  1684. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  1685. * ListBox.cs: Fixes 79450
  1686. 2006-09-21 Mike Kestner <[email protected]>
  1687. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  1688. to deal with people updating the TreeNodeCollection after the tree
  1689. is disposed. "Fixes" 79330.
  1690. 2006-09-20 Jackson Harper <[email protected]>
  1691. * TextControl.cs: Push the cursor record onto the undo stack
  1692. before the delete action. This fixes 78651.
  1693. 2006-09-20 Jonathan Chambers <[email protected]>
  1694. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  1695. CreateParams. Fixes 79329.
  1696. 2006-09-19 Chris Toshok <[email protected]>
  1697. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  1698. things up a bit. First, get rid of the NetAtoms array (and the NA
  1699. enum), and just embed the atoms as static fields. Also, add a
  1700. couple of functions (StyleSet and ExStyleSet) to clean up all the
  1701. bitmask testing of styles.
  1702. * X11Structs.cs: remove the NA enum, not needed anymore.
  1703. 2006-09-19 Chris Toshok <[email protected]>
  1704. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  1705. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  1706. added cleanup to get MessageBox titles appearing again, which were
  1707. broken by my earlier fix for caption-less/ControlBox-less windows.
  1708. 2006-09-18 Jonathan Pobst <[email protected]>
  1709. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  1710. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  1711. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  1712. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  1713. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  1714. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  1715. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  1716. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  1717. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  1718. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  1719. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  1720. Inital import.
  1721. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  1722. ToolStripButton.cs: Stubs needed for above.
  1723. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  1724. 2006-09-15 Chris Toshok <[email protected]>
  1725. * XplatUIX11.cs:
  1726. - make the MessageQueues hashtable Synchronized.
  1727. - SendMessage: if the Hwnd is owned by a different thread, use the
  1728. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  1729. thread. Fixes bug #79201.
  1730. 2006-09-15 Chris Toshok <[email protected]>
  1731. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  1732. ControlBox == false, we disallow maximize/minimize/close. If the
  1733. form Caption is "" we also disallow move (and get rid of the Title
  1734. decoration). Unfortunately, regardless of how things are set,
  1735. we're stuck with the Title and WM menu.
  1736. 2006-09-15 Chris Toshok <[email protected]>
  1737. * Application.cs: add locking around the static message_filters
  1738. ArrayList, part of #79196.
  1739. 2006-09-15 Chris Toshok <[email protected]>
  1740. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  1741. Form.ControlBox == false, the window has no titlebar nor resize
  1742. handles. fixes bug #79368.
  1743. 2006-09-15 Chris Toshok <[email protected]>
  1744. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  1745. >= 0. Fixes bug #79370.
  1746. 2006-09-15 Jonathan Pobst <[email protected]>
  1747. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  1748. * Control.cs:
  1749. Add properties: LayoutEngine, Margin, DefaultMargin.
  1750. Add method: GetPreferredSize.
  1751. Move layout logic from PerformLayout to layout engines.
  1752. 2006-09-13 Chris Toshok <[email protected]>
  1753. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  1754. fix for #79326 broke #78718, so this change addresses that.
  1755. - in SendWMDestroyMessages remove the call to
  1756. CleanupCachedWindows, since we might be recreating the control and
  1757. need to maintain the references to right Hwnd handles. Also, set
  1758. the zombie flag to true for each of the children in the hierarchy
  1759. instead of calling hwnd.Dispose. This will cause GetMessage to
  1760. ignore all events for the window except for DestroyNotify.
  1761. - In GetMessage, ignore messages except for DestroyNotify for
  1762. zombie hwnds.
  1763. * Control.cs: revert the is_recreating fix from the last
  1764. ChangeLog. It's definitely "right", but it breaks switching from
  1765. an MDI form to a non-MDI form. Will need to revisit that.
  1766. * Hwnd.cs: add a zombie flag, which means "the
  1767. client_window/whole_window handles are invalid, but we're waiting
  1768. for the DestroyNotify event to come in for them". Set the flag to
  1769. false explicitly if setting WholeWindow/ClientWindow, and also
  1770. when Disposing.
  1771. 2006-09-13 Chris Toshok <[email protected]>
  1772. * XplatUIX11.cs: rework window destruction slightly.
  1773. - when destroying the windows associated with a control, we don't
  1774. need 2 separate XDestroyWindow calls. Just the one for the
  1775. whole_window (or for client_window if whole_window is somehow
  1776. IntPtr.Zero -- can this happen?) is enough.
  1777. - reworked SendWMDestroyMessages slightly, so we always dispose
  1778. the child control hwnd's after sending the messages.
  1779. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  1780. the two places it was used (one was even using hwnd.Handle and the
  1781. other hwnd.client_window. ugh), adding another call in
  1782. SendWMDestroyMessages. We need this new call because now the
  1783. DestroyNotify events in the queue will be ignored for the child
  1784. controls (as their hwnd's were disposed, and the window id's
  1785. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  1786. - this fixes bug #79326.
  1787. 2006-09-13 Chris Toshok <[email protected]>
  1788. * Control.cs: don't always set is_recreating to false at the end
  1789. of RecreateHandle, since sometimes we're not done (and won't be
  1790. until WndProc handles the WM_DESTROY message). Also, set
  1791. is_recreating to false in the WM_DESTROY handling code. Part of
  1792. the fix for bug #79326.
  1793. 2006-09-13 Miguel de Icaza <[email protected]>
  1794. * X11DesktopColors.cs: Start the droppage of debugging messages.
  1795. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  1796. 2006-09-13 Jonathan Pobst <[email protected]>
  1797. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  1798. 2006-09-12 Chris Toshok <[email protected]>
  1799. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  1800. to create it using SetDataSource. Fixes bug #79151.
  1801. 2006-09-11 Chris Toshok <[email protected]>
  1802. * XEventQueue.cs: add a DispatchIdle property.
  1803. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  1804. either the queue is null, or the queue has DispatchIdle set to
  1805. true.
  1806. (DoEvents): set queue.DispatchIdle to false around the
  1807. peek/translate/dispatch message loop in this method. This keeps
  1808. Application.Doevents from emitting idle events. Part of the fix
  1809. for #78823.
  1810. 2006-09-11 Chris Toshok <[email protected]>
  1811. * DataGrid.cs (set_DataSource): make this work for both the
  1812. winforms/datagrid test and ReportBuilder. It seems as though when
  1813. we've created a ListManager (or maybe it's if we have a
  1814. BindingContext?), when we set the DataSource it clears the
  1815. DataMember to "". otherwise we reuse the datamember. Fixes bug
  1816. #79333.
  1817. 2006-09-11 Chris Toshok <[email protected]>
  1818. * XplatUIX11.cs: deal with queue being null, which happens in all
  1819. the Clipboard functions. Fixes one of the two problems mentioned
  1820. in #78612.
  1821. 2006-09-11 Chris Toshok <[email protected]>
  1822. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  1823. button on various spots (including outside the menu) works closer
  1824. to MS, and doesn't crash. Fixes #79343.
  1825. 2006-09-11 Gert Driesen <[email protected]>
  1826. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  1827. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  1828. and the internal comparer is set. When a new ListViewItemSorter is set,
  1829. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  1830. was specified. No further processing is necessary if SortOrder is set
  1831. to it's current value. If Sorting is modified to None, and View is
  1832. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  1833. (either custom or our internal ItemComparer) to null, on 1.0 profile
  1834. only set item_sorter to null if its our internal IComparer. If Sorting
  1835. is modified to Ascending or Descending, then use our internal IComparer
  1836. if none is set, and if the current IComparer is our internal one then:
  1837. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  1838. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  1839. Enum.IsDefined to verify whether a valid View value is specified in
  1840. its setter. Automatically sort listview items when listview is
  1841. created. In Sort, do nothing if ListView is not yet created, or if
  1842. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  1843. to None or ListViewItemSorter was set to null). Added Sort overload
  1844. taking a bool to indicate whether the ListView should be redrawn when
  1845. items are sorted (we use this in ListViewItemCollection to avoid double
  1846. redraws). Modified our internal IComparer to take the sort order into
  1847. account. In Add and AddRange methods of ListViewItemCollection, also
  1848. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  1849. view), but use overload with noredraw option to avoid double redraw.
  1850. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  1851. true when View is Tile, and do the same when attempting to set View to
  1852. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  1853. for selected/checked indices, as it involves overhead when sorting is
  1854. done while these collections are not used all that often. Instead
  1855. we'll build the indices on demand. Modified IList implementation of
  1856. CheckedIndexCollection to use public methods if object is int.
  1857. Modified CheckedListViewItemCollection to hide checked items if
  1858. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  1859. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  1860. IList implementation in SelectedIndexCollection to use public methods
  1861. if object is int. Modified SelectedListViewItemCollection to hide
  1862. selected items if listview is not yet created.
  1863. * ListViewItem.cs: CheckedIndices list no longer needs to be
  1864. maintained separately (see ListView changes). Also clone font, fixes
  1865. test failure.
  1866. 2006-09-11 Mike Kestner <[email protected]>
  1867. * ComboBox.cs: if we are updating the contents of the currently
  1868. selected index, refresh the control or the textbox selection.
  1869. [Fixes #79066]
  1870. 2006-09-11 Mike Kestner <[email protected]>
  1871. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  1872. the 'specified' logic has been moved there. This seems like a bug
  1873. in Control.cs, since our current SetBoundsCore completely ignores
  1874. the specified parameter. Peter's commit seems to indicate that is
  1875. the way the MS control implementation works. [Fixes #79325]
  1876. 2006-09-10 Jonathan Chambers <[email protected]>
  1877. * XplatUI.cs: Set default_class_name to be composed
  1878. of current domain id. This allows MWF to be loaded in multiple
  1879. domains on Win32.
  1880. 2006-09-09 Miguel de Icaza <[email protected]>
  1881. * X11Keyboard.cs: If we are unable to obtain the input method, do
  1882. not call CreateXic to create the input context. Should fix
  1883. #78944/79276.
  1884. 2006-09-08 Alexander Olk <[email protected]>
  1885. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  1886. Simplified gnome support by adding more pinvokes to get the
  1887. icon for a file or mime type.
  1888. 2006-09-08 Jackson Harper <[email protected]>
  1889. * MenuAPI.cs: Deslect popup context menu items before closing the
  1890. window, so that you don't see the previously selected item
  1891. selected when you reopen the menu.
  1892. * TextControl.cs: Update the cursor position even if we don't have
  1893. focus. This fixes typing in things like the ComboBox. I'm not
  1894. totally sure we should always set the visibility if we don't have
  1895. focus, but couldn't find any corner cases where the cursor showed
  1896. up when it shouldn't.
  1897. 2006-09-08 Chris Toshok <[email protected]>
  1898. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  1899. our arrays are length 256. & 0xff before indexing. Fixes the
  1900. crash in bug #78077.
  1901. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  1902. * ThemeWin32Classic.cs:
  1903. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  1904. is true. Handle that check box too.
  1905. 2006-09-07 Chris Toshok <[email protected]>
  1906. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  1907. 79244.
  1908. 2006-09-07 Chris Toshok <[email protected]>
  1909. * Control.cs: in set_BackColor only do the work if
  1910. background_color != value.
  1911. * XplatUIX11.cs: move the clearing of invalid areas (both client
  1912. and nc) to the same block of code where we set (nc_)expose_pending
  1913. to false. That is, move it from PaintEventEnd to PaintEventStart,
  1914. so things that cause invalidates from within OnPaint will trigger
  1915. another call to OnPaint. Fixes bug #79262.
  1916. 2006-09-07 Alexander Olk <[email protected]>
  1917. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  1918. * FileDialog.cs: Fix typo
  1919. 2006-09-07 Jackson Harper <[email protected]>
  1920. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  1921. for tab pages if they have any.
  1922. 2006-09-06 Mike Kestner <[email protected]>
  1923. * Splitter.cs: use the "current" rect when finishing drag handle
  1924. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  1925. 2006-09-06 Mike Kestner <[email protected]>
  1926. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  1927. support offset splitters. [Fixes #79298]
  1928. 2006-09-06 Alexander Olk <[email protected]>
  1929. * Mime.cs: Fixed a bug that could override the global mime type
  1930. result.
  1931. 2006-09-05 Jackson Harper <[email protected]>
  1932. * TabControl.cs: Better calculation method for setting the slider
  1933. pos. Prevents crashes on really wide tabs.
  1934. - Draw Image on tab pages if an image list is used.
  1935. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  1936. * MonthCalendar.cs: When Font changes, the Size should be
  1937. updated to fit the new font's space requirements.
  1938. 2006-09-02 Alexander Olk <[email protected]>
  1939. * ListBox.cs: If the items are cleared with Items.Clear set
  1940. top_index to 0.
  1941. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1942. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  1943. fire DateChanged event instead of DateSelected event when
  1944. the date was changed by keyboard interaction.
  1945. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1946. * DateTimePicker.cs: Handle DateChanged for the associated
  1947. month_calendar control, and set month_calendar.Font from
  1948. OnFontChanged method, as well as resize the height of the
  1949. control when needed. Make PreferredHeight proportional.
  1950. 2006-09-01 Chris Toshok <[email protected]>
  1951. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  1952. properties.
  1953. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  1954. 2006-09-01 Peter Dennis Bartok <[email protected]>
  1955. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  1956. for decorations (Fixes #79219)
  1957. 2006-09-01 Mike Kestner <[email protected]>
  1958. * ComboBox.cs: first stab at sorting plus some selection handling
  1959. fixes to bring us more in line with MS behavior. Also switches back
  1960. to index based selection. Alternative patches for index-based
  1961. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  1962. and [email protected] on bug 78848. I assume they were similar to this
  1963. code I've had simmering in my tree forever.
  1964. [Fixes #78848]
  1965. 2006-09-01 Chris Toshok <[email protected]>
  1966. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  1967. when setting list position guard against ending up with a -1 index
  1968. (the other part of the fix for #78812). Should probably make sure
  1969. we don't need the analogous fix in the ItemDeleted case.
  1970. * DataGrid.cs:
  1971. - in SetDataSource, work around the fact that the way
  1972. OnBindingContextChanged is invoked will cause us to re-enter this
  1973. method. I'll remove the hack once I investigate
  1974. OnBindingContextChanged.
  1975. - fix the logic in set_DataSource and set_DataMember (basically
  1976. what to do if the other of the two is null.)
  1977. - in OnListManagerItemChanged, we need to take into account the
  1978. edit row when deciding whether or not to call RecreateDataGridRows
  1979. (part of the fix for #78812).
  1980. 2006-09-01 Jackson Harper <[email protected]>
  1981. * Splitter.cs: Don't do anything if there is no control to affect
  1982. (prevents us from crashing in weird tet cases).
  1983. * TreeView.cs: Bounding box for the mouse movement reverting
  1984. focus/selection back to previously selected node. This matches
  1985. MS, and makes the tree a lot more useable.
  1986. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  1987. use clipping so they are not drawn. This fixes when the control
  1988. is set to have a transparent background, or if it was over an
  1989. image.
  1990. 2006-09-01 Alexander Olk <[email protected]>
  1991. * MimeIcon.cs: Improved handling for reading default icons when
  1992. using gnome (2.16 made it necessary). Check and read svg icons
  1993. first, then 48x48 and then 32x32 icons.
  1994. 2006-08-31 Chris Toshok <[email protected]>
  1995. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  1996. visible.
  1997. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  1998. ProcessKeyPreview. Fixes part of #77806.
  1999. * DataGrid.cs: big patch.
  2000. - revert the queueing up of DataSource/DataMember if inside
  2001. BeginInit/EndInit calls. That's not the way the datagrid achieves
  2002. its delayed databinding. Instead, call SetDataSource in
  2003. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  2004. #78811.
  2005. - Also, it wasn't mentioned in #78811, but the test case exhibits
  2006. behavior that was lacking in our datagrid implementation - Columns
  2007. that have mapping names that don't exist in the datasource's
  2008. properties aren't shown. Yuck. To fix this I added the bound
  2009. field to the column style, and basically any calculation to figure
  2010. out anything about columns uses a loop to find the bound columns.
  2011. still need to investigate if I can cache an array of the bound
  2012. columns or if the indices must be the same.
  2013. - When setting CurrentCell, we no longer abort if the cell being
  2014. edited was in the add row. This fixes the other part of #77806.
  2015. - The new code also fixes #78807.
  2016. * ThemeWin32Classic.cs: perpetrate the same disgusting
  2017. column.bound field hack, and only render bound fields.
  2018. 2006-08-31 Chris Toshok <[email protected]>
  2019. * DataGridColumnStyle.cs: add bound field. this field is true if
  2020. the datasource has a property corresponding to the mapping name.
  2021. * DataGridTableStyle.cs: set the bound field on the column styles
  2022. depending on whether or not we have a column for that property.
  2023. 2006-08-31 Peter Dennis Bartok <[email protected]>
  2024. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  2025. splitter control (fixes #79228)
  2026. 2006-08-31 Chris Toshok <[email protected]>
  2027. * DataGridColumnStyle.cs: we need to delay the assignment of
  2028. property descriptor until the last possible moment due to the lazy
  2029. databinding stuff in the datagrid. Also, fix the exceptions
  2030. thrown by CheckValidDataSource to match MS.
  2031. 2006-08-31 Jackson Harper <[email protected]>
  2032. * Form.cs: When activated select the active control, if there is
  2033. no active control, we select the first control.
  2034. * XplatUIX11.cs: If there is no focus control when we get a
  2035. FocusIn event, find the toplevel form and activate it. This
  2036. occurs when you popup a window, it becomes the focus window, then
  2037. you close that window, giving focus back to the main window.
  2038. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  2039. * MonthCalendar.cs:
  2040. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  2041. as StringFormat with Center alignments in MonthCalendar,
  2042. instead of creating new ones when drawing the control.
  2043. Also, draw the month name in bold style.
  2044. 2006-08-30 Peter Dennis Bartok <[email protected]>
  2045. * Control.cs:
  2046. - PerformLayout(): It would seem MS performs the fill even if the
  2047. control is not visible (part of #79218 fix)
  2048. - ResetBackColor(): Use the setter to reset the color, to allow
  2049. overriders to catch the change.
  2050. * Form.cs:
  2051. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  2052. - CreateHandle(): dito (part of $79218 fix)
  2053. - Don't set an icon if we have a dialog
  2054. * ScrollableControl.cs:
  2055. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  2056. - ScrollIntoView(): No need to scroll if control is already visible
  2057. (resolves fixme and fixes #79218)
  2058. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  2059. * MonthCalendar.cs: Change proportions in SingleMonthSize
  2060. to match the aspect of the original control.
  2061. 2006-08-29 Alexander Olk <[email protected]>
  2062. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  2063. get updated when they get maximized.
  2064. 2006-08-29 Peter Dennis Bartok <[email protected]>
  2065. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  2066. 2006-08-29 Chris Toshok <[email protected]>
  2067. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  2068. 2006-08-29 Jackson Harper <[email protected]>
  2069. * TreeView.cs: Need to track selected node and highlighted node,
  2070. they aren't always the same thing, when the mouse is down on a
  2071. node it is hilighted, but not selected yet.
  2072. - Do the HideSelection stuff right
  2073. - Need to focus on rbutton mouse down. And redraw selection when
  2074. right click is mouse upped.
  2075. 2006-08-29 Mike Kestner <[email protected]>
  2076. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  2077. when SubItems.Count < Columns.Count. [Fixes #79167]
  2078. 2006-08-28 Peter Dennis Bartok <[email protected]>
  2079. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  2080. 2006-08-28 Peter Dennis Bartok <[email protected]>
  2081. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  2082. from X. Only send based on ConfigureNotify if we don't have the
  2083. correct location in hwnd (if the window manager moved us)
  2084. 2006-08-28 Mike Kestner <[email protected]>
  2085. * ListView.cs: remove a TODO.
  2086. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  2087. [Fixes ListView part of #79166]
  2088. 2006-08-28 Mike Kestner <[email protected]>
  2089. * ListView.cs: move wheel handler to parent since it is focused
  2090. instead of the item_control now. [Fixes #79177]
  2091. 2006-08-28 Mike Kestner <[email protected]>
  2092. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  2093. when the control is focused. [Fixes #79171]
  2094. 2006-08-28 Mike Kestner <[email protected]>
  2095. * ListView.cs: size the item and header controls for empty and
  2096. unscrollable views.
  2097. * ThemeWin32Classic.cs: draw disabled backgrounds.
  2098. [Fixes #79187]
  2099. 2006-08-28 Chris Toshok <[email protected]>
  2100. * Form.cs: remove unused "active_form" static field.
  2101. * Hwnd.cs: lock around accesses to static windows collection.
  2102. * Application.cs: lock threads in Exit ().
  2103. 2006-08-28 Chris Toshok <[email protected]>
  2104. * NativeWindow.cs: lock around accesses to window_collection.
  2105. 2006-08-28 Chris Toshok <[email protected]>
  2106. * Control.cs: err, fix this the right way, by locking on controls
  2107. when using it. not by making it synchronized.
  2108. 2006-08-28 Chris Toshok <[email protected]>
  2109. * Control.cs: make the static "controls" field synchronized, as it
  2110. gets updated from multiple threads.
  2111. 2006-08-27 Peter Dennis Bartok <[email protected]>
  2112. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  2113. Prevent other threads from exiting when calling thread sets quit state.
  2114. * XEventQueue.cs: Added PostQuitState property
  2115. 2006-08-27 Chris Toshok <[email protected]>
  2116. * AsyncMethodData.cs: add a slot for the window handle.
  2117. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  2118. window (the destination control's window, not the foster window).
  2119. * Control.cs (BeginInvokeInternal): store the window's handle in
  2120. the AsyncMethodData.
  2121. 2006-08-27 Peter Dennis Bartok <[email protected]>
  2122. * XplatUIX11.cs:
  2123. - PostQuitMessage: Removed resetting S.D display handle, we might have
  2124. another loop started after calling PostQuitMessage (Fixes #79119)
  2125. - Created destructor to reset S.D handle
  2126. 2006-08-27 Peter Dennis Bartok <[email protected]>
  2127. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  2128. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2129. * TextControl.cs (Insert): Update the caret position even if we don't
  2130. have a handle yet, just don't call the driver in that case.
  2131. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  2132. to the end of the new selection text (Fixes #79184)
  2133. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2134. * Form.cs (Activate): Only activate if the handle is created)
  2135. * Control.c:
  2136. - Mark window as invisible when it's disposed
  2137. - Check if window handle is created when setting window visible,
  2138. instead of relying just on the is_created variable
  2139. - Check if object is disposed when creating the control (Fixes #79155)
  2140. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2141. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  2142. when allowing layout again. Otherwise we re-generate the anchoring
  2143. distance to the border again and actually alter what the user wanted
  2144. This is ugly, it'd be better if we used DisplayRectangle instead of
  2145. ClientRectangle for Control.UpdateDistances, but that causes us to
  2146. have other problems (initial anchoring positons would be wrong)
  2147. (Fixes #78835)
  2148. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2149. * Control.cs:
  2150. - The size and location setters shouldn't go directly to
  2151. SetBoundsCore, but to SetBounds, which triggers layout on the
  2152. parent, then calls SetBoundsCore. (Related to fix for #78835)
  2153. - SetBounds: Moved actual location update code into this function
  2154. from SetBoundsCore, to match MS. Added call to PerformLayout if
  2155. we have a parent (to trigger resizing of anchored parents if the
  2156. child size has changed (see testcase for #78835)
  2157. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  2158. new control code
  2159. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  2160. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2161. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  2162. System.Drawing when a toplevel window gets closed; there might
  2163. be other toplevel windows belonging to the same app (Fixes #78052)
  2164. 2006-08-26 Alexander Olk <[email protected]>
  2165. * FileDialog.cs: After reading FileDialog settings from mwf_config
  2166. use Desktop prefix only if a real folder doesn't exist anymore.
  2167. * FontDialog.cs: Added char sets.
  2168. It is now possible to select the font, size or style with the
  2169. textboxes.
  2170. 2006-08-25 Kornél Pál <[email protected]>
  2171. * PrintPreviewDialog.cs: Use assembly name constants.
  2172. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2173. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  2174. scrollbar from whacking it's buttons)
  2175. 2006-08-24 Chris Toshok <[email protected]>
  2176. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  2177. in this patch (aggregating setting Left/Top/Width/Height to
  2178. setting Bounds on the scrollbars), but the crux of the fix is in
  2179. Recalculate, where we scroll by the remaining scroll_position if
  2180. we're hiding a scrollbar. The 2*$5 reward in the comment is
  2181. serious.
  2182. 2006-08-24 Jackson Harper <[email protected]>
  2183. * MdiClient.cs:
  2184. * MdiWindowManager.cs: If the form is made a non-mdi window we
  2185. need to remove the form closed event so that closing forms works
  2186. correctly.
  2187. 2006-08-24 Jackson Harper <[email protected]>
  2188. * Control.cs: Make IsRecreating internal so that the driver can
  2189. check it
  2190. - Temporarily remove the Hide when controls are removed, its
  2191. making a whole bunch of things not work because visibility isn't
  2192. getting reset elsewhere correctly
  2193. * Form.cs: Need to do a full handle recreation when the mdi parent
  2194. is set.
  2195. * XplatUIX11.cs: If we are recreating handles don't dispose the
  2196. HWNDs. What was happening is the handles were being recreated in
  2197. SendWMDestroyMessages, but then flow continued on in that method
  2198. and destroyed the new handles.
  2199. 2006-08-23 Jackson Harper <[email protected]>
  2200. * Form.cs: MdiClient is always at the back of the bus
  2201. * Control.cs: When the order of items in the collection is changed
  2202. we need to reset the all_controls array
  2203. - do the same sorta setup thats done when adding a control when a
  2204. control is set on the collection.
  2205. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2206. * TextBoxBase.cs (get_Text): Return an empty array if our document
  2207. is empty (fixes #79052)
  2208. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2209. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  2210. on WM_SYSCHAR messages (fixes #79053)
  2211. 2006-08-23 Chris Toshok <[email protected]>
  2212. * DataGrid.cs: fix flickering when scrolling vertically.
  2213. 2006-08-23 Chris Toshok <[email protected]>
  2214. * DataGrid.cs (EndEdit): only invalidate the row header when we
  2215. need to.
  2216. 2006-08-23 Chris Toshok <[email protected]>
  2217. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  2218. methods. fixes the flicker when scrolling around.
  2219. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2220. * FileDialog.cs: Making sure the control is created before we get a
  2221. chance to use it with BeginInvoke (Fixes #79096)
  2222. 2006-08-23 Chris Toshok <[email protected]>
  2223. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  2224. width to use when painting the rows.
  2225. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2226. * TextBoxBase.cs:
  2227. - Throw ArgumentException if a negative value is passed to SelectionLength
  2228. - Update the selection end if start is moved. end needs to be always
  2229. after start. (Fixes #79095)
  2230. - Track selection length; MS keeps the selection length even if start
  2231. is changed; reset on all other operations affection selection
  2232. 2006-08-22 Jackson Harper <[email protected]>
  2233. * TreeView.cs: Make sure both scrollbars get displayed and sized
  2234. correctly when the other bar is visible.
  2235. - Use the original clip rectangle for checking if the area between
  2236. the two scrollbars is visible, not the viewport adjusted clipping
  2237. rectangle.
  2238. 2006-08-22 Jackson Harper <[email protected]>
  2239. * Binding.cs: We don't use IsBinding because it requires the
  2240. control to be created, which really shouldn't be necessary just to
  2241. set a property on the control.
  2242. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  2243. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  2244. ArgumentNullReferenceException when the argument is null.
  2245. 2006-08-21 Jackson Harper <[email protected]>
  2246. * Timer.cs: Track the thread that the timer is started in (NOT
  2247. CREATED), this way messages for it will only be triggered on its
  2248. queue.
  2249. * XEventQueue.cs: Track the timers here, this makes timers per
  2250. thread, like MS.
  2251. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  2252. 2006-08-19 Chris Toshok <[email protected]>
  2253. * XplatUIX11.cs: after further communication with pdb, we get the
  2254. best of both worlds. SetZOrder working for un-Mapped windows, and
  2255. no X errors for un-mapped windows.
  2256. 2006-08-19 Chris Toshok <[email protected]>
  2257. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  2258. as it was causing pdn toolbars to not have the correct stacking.
  2259. 2006-08-18 Mike Kestner <[email protected]>
  2260. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  2261. calculation. Not sure why control should ever be setting a negative
  2262. width though. Fixes #78931.
  2263. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  2264. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  2265. null items in ObjectCollection class.
  2266. * ListBox.cs.: Likewise.
  2267. 2006-08-18 Atsushi Enomoto <[email protected]>
  2268. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  2269. as the base method in ThemeWin32Classic should work fine.
  2270. Fixed bug #78607.
  2271. 2006-08-18 Jackson Harper <[email protected]>
  2272. * Binding.cs: When validating if the value entered doesn't convert
  2273. properly reset to the old value.
  2274. * RadioButton.cs: Don't fire click when we get focus.
  2275. 2006-08-18 Jackson Harper <[email protected]>
  2276. * FileDialog.cs: Paint the selection on the directory combobox the
  2277. same way as on MS.
  2278. 2006-08-17 Jackson Harper <[email protected]>
  2279. * ErrorProvider.cs: Don't allow the error control to be selected.
  2280. * Control.cs: Don't send the SetFocus messages, the control
  2281. activation will do this, and if we do it blindly here validation
  2282. does not work.
  2283. 2006-08-17 Jackson Harper <[email protected]>
  2284. * Control.cs:
  2285. * ContainerControl.cs: Make validation events fire in the correct
  2286. order. TODO: For some reason the first validation event is not
  2287. getting fired.
  2288. 2006-08-17 Mike Kestner <[email protected]>
  2289. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  2290. 2006-08-17 Mike Kestner <[email protected]>
  2291. * ComboBox.cs : implement scroll wheel support for popped-down
  2292. state. Fixes #78945.
  2293. 2006-08-17 Jackson Harper <[email protected]>
  2294. * TreeView.cs: Specify treeview actions (old patch that didn't get
  2295. committed for some reason).
  2296. - Don't let the mouse wheel scroll us too far. Just want to make
  2297. the bottom node visible, not scroll it all the ways to the top.
  2298. 2006-08-17 Jackson Harper <[email protected]>
  2299. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  2300. 2006-08-17 Mike Kestner <[email protected]>
  2301. * ComboBox.cs : don't do mouseover selection in simple mode.
  2302. 2006-08-16 Jackson Harper <[email protected]>
  2303. * Form.cs: Fire the closing events for all the mdi child windows
  2304. when a window is closed. If the cancel args are set to true, the
  2305. main window still gets the event fired, but it doesn't not close.
  2306. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  2307. handler, instead of when the button is clicked, so cancelling the
  2308. close works correctly.
  2309. * ComboBox.cs: Send the mouse down to the scrollbar.
  2310. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  2311. * ListBox.cs: When passing 'null' to SelectedItem,
  2312. set SelectedIndex to -1, to unselect items. This is the
  2313. observed behaviour in .Net.
  2314. 2006-08-16 Peter Dennis Bartok <[email protected]>
  2315. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  2316. MS flags saying there won't be any. (fixes #78800)
  2317. * Control.cs (HandleClick): Made virtual
  2318. 2006-08-16 Atsushi Enomoto <[email protected]>
  2319. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  2320. cultures. Fixed bug #78399.
  2321. 2006-08-16 Jackson Harper <[email protected]>
  2322. * Form.cs: Use the MdiClients MdiChildren property to access
  2323. MdiChildren instead of creating the array from the child controls.
  2324. * MdiClient.cs: Maintain a separate array of the mdi children, so
  2325. that insertion order is maintained when the Z-order is changed.
  2326. 2006-08-16 Mike Kestner <[email protected]>
  2327. * ListView.cs : add an ItemComparer and default to it for sorting.
  2328. Fixes #79076, but sorting needs a complete overhaul to be compat with
  2329. MS.
  2330. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2331. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  2332. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2333. * Hwnd.cs (Mapped): Properly traverse the tree
  2334. 2006-08-15 Chris Toshok <[email protected]>
  2335. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  2336. pass manager.Current.GetType() to ParseData. It has to be the
  2337. property type. So, hold off doing the ParseData until we're in
  2338. SetPropertyValue where we know the type. This fixes the crash in
  2339. #78821 but the textbox is still empty.
  2340. 2006-08-15 Chris Toshok <[email protected]>
  2341. * DataGrid.cs:
  2342. - when we're scrolling, only call Edit() again if the
  2343. current cell is still unobscured. Fixes bug #78927.
  2344. - when handling mousedown on a cell, ensure the cell is visible
  2345. before calling Edit.
  2346. - remove the properties from DataGridRow, and remove the
  2347. DataGridParentRow class altogether.
  2348. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2349. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  2350. fire OnTextChanged by ourselves. There's no point calling base,
  2351. we don't set the base value anywhere else. Fixes #78773.
  2352. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2353. * ListBox.cs: Call CollectionChanged when modifying
  2354. an item from Items indexer, to update the actual items
  2355. in the list box.
  2356. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2357. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  2358. to match .Net behaviour.
  2359. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2360. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  2361. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2362. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  2363. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2364. * MessageBox.cs: Prevent potential NRE exception.
  2365. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  2366. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2367. * MessageBox.cs: Calculate the owner of a messagebox, also make
  2368. it topmost. Fixes #78753
  2369. 2006-08-14 Chris Toshok <[email protected]>
  2370. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  2371. programmatically move windows. first, set the PPosition hint as
  2372. well as the USPosition hint. Second include some code from pdb
  2373. that sets the window type to NORMAL when we set the transient for
  2374. hint. This is because, in the absence of a window type, metacity
  2375. thinks any window with TransientFor set is a dialog, and refuses
  2376. to let us move it programmatically. fascists.
  2377. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2378. * XplatUIX11.cs: When setting normal hints, take into consideration
  2379. an different hints previously set so we don't delete them (fixes #78866)
  2380. 2006-08-12 Chris Toshok <[email protected]>
  2381. * ToolBarButton.cs: make Layout return a boolean, if something to
  2382. do with the button's layout changed.
  2383. * ToolBar.cs:
  2384. - add another parameter to Redraw, @force, which all existing
  2385. calls set to true.
  2386. - make the Layout function return a boolean which is true if the
  2387. layout has actually changed. Redraw now uses this (and @force)
  2388. to determine when to invalidate. At present the only place
  2389. where @force can be false is the call from OnResize, when
  2390. background_image == null. So, resizing a toolbar when the
  2391. layout doesn't change results in no drawing.
  2392. 2006-08-12 Chris Toshok <[email protected]>
  2393. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  2394. the VScrollBar and HScrollbar reversed. oops.
  2395. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  2396. scrollbars. we were assigning them twice (once in
  2397. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  2398. therefore causing two scrollbar resizes (and redraws?) to happen
  2399. per grid resize.
  2400. 2006-08-12 Chris Toshok <[email protected]>
  2401. * ToolBarButton.cs: redraw the entire button if the theme tells us
  2402. to.
  2403. * Theme.cs: add ToolBarInvalidateEntireButton.
  2404. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  2405. buttons, just the border.
  2406. * ThemeNice.cs: redraw the entire toolbar button since we need to
  2407. draw the highlight image.
  2408. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  2409. we need to redraw the entire button (not just the border).
  2410. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2411. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  2412. for vertical bars. Fixes the mismatches shown by #78513
  2413. 2006-08-11 Alexander Olk <[email protected]>
  2414. * FileDialog.cs: If a saved/remembered path doesn't exist
  2415. anymore, fall back to "Desktop".
  2416. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2417. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  2418. parent. It's apparently legal to not have one
  2419. * XplatUIX11.cs:
  2420. - SetZOrder: Don't try to set Z-Order on an unmapped window
  2421. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  2422. it unless the coordinates are negative
  2423. 2006-08-10 Mike Kestner <[email protected]>
  2424. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  2425. when setting to null per msdn docs. Fixes #78854.
  2426. 2006-08-10 Chris Toshok <[email protected]>
  2427. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  2428. flickering by setting a clip rectangle on the Graphics when we
  2429. need to redraw just a particular menuitem. Also, rename "OnClick"
  2430. to "OnMouseDown" to reflect what it actually is.
  2431. * Form.cs: track the OnMouseDown change.
  2432. 2006-08-10 Peter Dennis Bartok <[email protected]>
  2433. * CommonDialog.cs: Properly inherit the CreateParams from the form
  2434. and only change what we need. Fixes #78865
  2435. 2006-08-10 Chris Toshok <[email protected]>
  2436. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  2437. flickering in flat mode (and most of the flickering in general) by
  2438. only invalidating the button border (and not the entire rectangle)
  2439. when the state changes. A couple of cases still flicker:
  2440. ToggleButtons, and the dropdown arrow case when the user mouse
  2441. ups.
  2442. 2006-08-10 Alexander Olk <[email protected]>
  2443. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  2444. for german keyboards. Numlock state shouldn't affect the behaviour
  2445. of the Del key. Fixes bug #78291.
  2446. 2006-08-10 Chris Toshok <[email protected]>
  2447. * ListControl.cs: remove the items.Clear line from BindDataItems,
  2448. as this is the first thing done by both subclasses in their
  2449. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  2450. passed -1, refresh the list. This gets databinding working when
  2451. the datasource is set on the list before the datasource is
  2452. populated (as in wf-apps/ReportBuilder.)
  2453. * ComboBox.cs: remove the argument to BindDataItems. This call
  2454. should really go away, and be initiated by the ListControl code.
  2455. * ListBox.cs: same.
  2456. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2457. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  2458. if no data is in the document when the control is displayed
  2459. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2460. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  2461. yes (fixes #78806)
  2462. * TextControl.cs:
  2463. - PositionCaret: Allow positioning of caret but don't call methods
  2464. requiring a handle if the window isn't created yet
  2465. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  2466. - owner_HandleCreated: Don't position the caret, just update it's
  2467. location. User might have already set a different position
  2468. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2469. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  2470. windows. Screws up the returned coordinates for child windows.
  2471. Fixes #78825. I'm hoping this doesn't break something, since the
  2472. code was explicitly put in 8 months ago, but no bug was attached.
  2473. Menus still seem to work properly.
  2474. 2006-08-08 Chris Toshok <[email protected]>
  2475. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  2476. supposed to do - delay data binding until the EndInit call. Also,
  2477. make the table style collection's CollectionChangeAction.Refresh
  2478. work properly.
  2479. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  2480. (with action = Refresh) when a consituent table's MappingName is
  2481. changed.
  2482. 2006-08-08 Chris Toshok <[email protected]>
  2483. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  2484. Invalidate, since changing the text can change the size of the all
  2485. toolbar buttons.
  2486. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2487. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  2488. we don't have it yet
  2489. 2006-08-08 Chris Toshok <[email protected]>
  2490. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  2491. dialog, as this causes X errors later on, since we actually
  2492. destroy the window. Instead, .Hide() it.
  2493. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2494. * ComboBox.cs: Added focus reflection for popup window
  2495. * XplatUIX11.cs:
  2496. - Removed transient setting for non-app windows for now, not sure it
  2497. was needed
  2498. - Fixed logic checking if we have captions when deciding
  2499. override_redirect, WS_CAPTION is two bits and a 0 check was not
  2500. sufficient
  2501. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  2502. complicated
  2503. * Form.cs:
  2504. - AddOwnedForm: Don't just add the form to the list, call the property
  2505. to ensure the driver is informed about the ownership as well
  2506. - CreateHandle: Set the TopMost status in the driver if we have an owner
  2507. * XplatUI.cs: Fixed debug statement
  2508. 2006-08-08 Jonathan Pobst <[email protected]>
  2509. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2510. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  2511. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  2512. TrackBarRenderer.cs: Make constructor private.
  2513. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  2514. * ProfessionalColorTable.cs: Make properties virtual.
  2515. 2006-08-06 Duncan Mak <[email protected]>
  2516. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  2517. is not changing.
  2518. 2006-08-04 Jonathan Pobst <[email protected]>
  2519. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2520. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  2521. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  2522. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  2523. Initial import of new 2.0 classes.
  2524. 2006-08-04 Jonathan Pobst <[email protected]>
  2525. * Application.cs: Add 2.0 VisualStyles properties.
  2526. 2006-08-04 Jonathan Pobst <[email protected]>
  2527. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2528. XplatUIX11.cs: Create property to allow access to existing private
  2529. variable "themes_enabled"
  2530. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  2531. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  2532. file size, as otherwise our class libraries fail using windows. Fixes
  2533. bug #78759.
  2534. 2006-08-04 Jackson Harper <[email protected]>
  2535. * Form.cs:
  2536. * XplatUIX11.cs: Move the toolwindow window manager creation into
  2537. the X11 driver, this way on win32 we can let windows create/handle
  2538. the toolwindows.
  2539. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  2540. * PrintDialog.cs: Remove some redundant checks, add some others,
  2541. clean some code, and move the focus to the text boxes when the
  2542. values are incorrect.
  2543. 2006-08-04 Alexander Olk <[email protected]>
  2544. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  2545. 2006-08-03 Alexander Olk <[email protected]>
  2546. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  2547. handled correctly. Fixes bug #79001.
  2548. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  2549. * PrintDialog.cs: The "Copies" numeric up down must have
  2550. set the Minimum property to 1; only if the value is bigger
  2551. than 1, activate "Collate" check box. This is the behaviour of .Net.
  2552. Also modify the Document elements only if it is not null.
  2553. 2006-08-03 Jackson Harper <[email protected]>
  2554. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  2555. length. (We have a larger array then actual node count).
  2556. 2006-08-03 Jackson Harper <[email protected]>
  2557. * ComboBox.cs: Don't show selection by default.
  2558. - The SelectAll isn't needed here, since the focus code should do
  2559. that
  2560. - DDL style lists to manual selection drawing, so when they
  2561. get/lose focus they have to invalidate.
  2562. 2006-08-03 Peter Dennis Bartok <[email protected]>
  2563. * TextBoxBase.cs: Don't always show all selections by default.
  2564. 2006-08-03 Jonathan Pobst <[email protected]>
  2565. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  2566. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  2567. Fixed various typos.
  2568. 2006-08-03 Alexander Olk <[email protected]>
  2569. * Control.cs: Removing the controls in a ControlCollection with
  2570. Clear now hides the controls as expected. Fixes bug #78804.
  2571. 2006-08-03 Jackson Harper <[email protected]>
  2572. * Control.cs: Revert previous focus patch, it breaks reflector.
  2573. 2006-08-03 Jackson Harper <[email protected]>
  2574. * ComboBox.cs: Cleanup selection and focus with the combobox.
  2575. This also eliminates some duplicated keyboard code, since now
  2576. everything is handled by the main class.
  2577. - Make list selection work on mouse up instead of down, to match
  2578. MS.
  2579. 2006-08-02 Jackson Harper <[email protected]>
  2580. * Control.cs: Setting focus needs to go through the whole
  2581. selection mechanism.
  2582. 2006-08-02 Chris Toshok <[email protected]>
  2583. * PrintPreviewDialog.cs: change MinimumSize to use
  2584. base.MinimumSize so it works.
  2585. 2006-08-02 Peter Dennis Bartok <[email protected]>
  2586. * TextControl.cs:
  2587. - UpdateCaret: Added sanity check in case caret isn't defined yet
  2588. - Line.Delete: Now updating selection and caret markers if we're
  2589. transfering a node (Properly fixes #78323)
  2590. - SetSelectionEnd: Added sanity check
  2591. * TextBoxBase.cs: Removed broken attempt to fix #78323
  2592. 2006-08-01 Chris Toshok <[email protected]>
  2593. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  2594. Close() call is handled in Form, not here.
  2595. 2006-08-01 Chris Toshok <[email protected]>
  2596. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  2597. layout/rendering.
  2598. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  2599. for sizes < 100% zoom. The code now aggressively attempts to keep
  2600. from calling document.Print (), and tries not to use the scaling
  2601. g.DrawImage whenever possible (it still does if you scale to >
  2602. 100%, since usually that involves huge images).
  2603. * PrintPreviewControl.cs: hook up the close button.
  2604. 2006-08-01 Jonathan Pobst <[email protected]>
  2605. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  2606. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  2607. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  2608. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  2609. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  2610. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  2611. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  2612. Removed [Serializable] for 2.0 Event Handlers.
  2613. 2006-07-31 Jackson Harper <[email protected]>
  2614. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  2615. * TextControl.cs: Uncomment out the body of this method.
  2616. 2006-07-31 Alexander Olk <[email protected]>
  2617. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  2618. standard cursors.
  2619. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2620. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  2621. that embed TextBox and need selections visible even if textbox is not
  2622. focused to enforce that behaviour.
  2623. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  2624. selection drawing
  2625. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2626. * TextControl.cs:
  2627. - Added new SetSelectionStart/SetSelectionEnd overloads
  2628. - Fixed viewport width assignment to be accurate
  2629. - Adjusted alignment line shift calculations to allow cursor on right
  2630. aligned lines to be always visible at the right border (like MS)
  2631. * TextBoxBase.cs:
  2632. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  2633. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  2634. - CalculateScrollBars: Use ViewPort size instead of window size, to
  2635. properly consider space occupied by the border and scrollbars
  2636. (Fixes #78661)
  2637. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  2638. calculations; no longer leaves artifacts
  2639. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  2640. calculation bugs (Still missing right/center align calculations)
  2641. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2642. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  2643. use of both scroll rect and clip rect, as they do the same.
  2644. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2645. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  2646. in the event handler (fixes #78912)
  2647. 2006-07-31 Chris Toshok <[email protected]>
  2648. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  2649. grid.ListManager.Count, since grid.ListManager might be null.
  2650. This of course begs the question "why are we drawing rows for a
  2651. grid with no list manager (and therefor no rows)?" Fixes the
  2652. crash in bug #78929.
  2653. 2006-07-31 Chris Toshok <[email protected]>
  2654. * RelatedPropertyManager.cs: Don't always chain up to the parent
  2655. ctor. instead, call SetDataSource if the parent's position is !=
  2656. -1. Fixes the crash in #78822.
  2657. 2006-07-31 Chris Toshok <[email protected]>
  2658. * DataGrid.cs (get_ListManager): use field instead of property
  2659. accessors for datasource and datamember.
  2660. (RowsCount): make internal again.
  2661. (OnMouseDown): end edits before resizing columns/rows.
  2662. (OnMouseUp): restart edits after resizing columns/rows.
  2663. 2006-07-30 Peter Dennis Bartok <[email protected]>
  2664. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  2665. This fixes the situation where the last set cursor is displayed
  2666. whenever the mouse is over scrollbars.
  2667. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  2668. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  2669. Document properties, as well as initial values.
  2670. 2006-07-29 Peter Dennis Bartok <[email protected]>
  2671. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  2672. and ClientEdge results in a 3-pixel border, which is
  2673. wrong.
  2674. 2006-07-28 Jackson Harper <[email protected]>
  2675. * TreeNodeCollection.cs: Fix the clear method.
  2676. - Fix the Shrink also
  2677. 2006-07-27 Jackson Harper <[email protected]>
  2678. * TreeView.cs: Make sure the visible order is computed when we
  2679. attempt to size the scrollbars (for trees that mess with the
  2680. scrolling when they shouldn't.
  2681. - Make sure to give the scrollbars valid values.
  2682. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2683. * XplatUIX11.cs: Move motion compression code to where it
  2684. has less performance impact
  2685. 2006-07-26 Jackson Harper <[email protected]>
  2686. * UpDownBase.cs: When the control is selected make the child
  2687. controls non selectable, so that a click on them won't do a
  2688. focus/unfocus cycle.
  2689. - Don't give focus to the text box when the spinner is selected.
  2690. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  2691. 2006-07-26 Chris Toshok <[email protected]>
  2692. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  2693. satisfied with this solution. If the bitmaps are small, we should
  2694. just cache them in the PrintPreviewDialog and draw them here.
  2695. Also, the layout is broken for the 2-up and 3-up cases.
  2696. * Theme.cs: add PrintPReviewControlPaint.
  2697. * PrintPreviewDialog.cs: first pass implementation.
  2698. * PrintPreviewControl.cs: first pass implementation. No
  2699. scrollbars yet.
  2700. * PrintDialog.cs: only validate fields if that particular portion
  2701. of the UI is enabled. Also, set the document's controller to a
  2702. PrintControllerWithStatusDialog wrapping the document's print
  2703. controller.
  2704. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  2705. bring up a SaveFileDialog (i hope we don't want to match the
  2706. behavior of the crappy windows file entry) and set the
  2707. PrinterSettings.PrintFileName accordingly.
  2708. 2006-07-26 Jackson Harper <[email protected]>
  2709. * ContainerControl.cs: Add a field that disables auto selecting
  2710. the next control in a container when the container is activated.
  2711. * UpDownBase.cs: Don't select the text box when the up down is
  2712. selected.
  2713. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2714. * XEventQueue.cs: Added methods for peeking (used for compression
  2715. of successive events)
  2716. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  2717. mouse move events (fixes #78732)
  2718. 2006-07-25 Jackson Harper <[email protected]>
  2719. * UpDownBase.cs: Use an internal class for the textbox so that we
  2720. can control focus. the updown control should always have focus,
  2721. if either the text area or the buttons are clicked.
  2722. - Send the key messages to the textbox, since it never actually
  2723. has focus
  2724. - Activate and decativate the textbox caret.
  2725. 2006-07-24 Jackson Harper <[email protected]>
  2726. * Control.cs: Use the directed select when selecting a control,
  2727. this way the container controls override will get called and the
  2728. whole ActiveControl chain will get triggered. TODO: probably need
  2729. to make sure this gets done everywhere instead of the old
  2730. Select(Control).
  2731. * ContainerControl.cs: Implement the directed Select method to
  2732. find and activate the correct child control.
  2733. 2006-07-22 Mike Kestner <[email protected]>
  2734. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  2735. menu handling code so that clicks without a grab work too.
  2736. [Fixes #78914]
  2737. 2006-07-22 Alexander Olk <[email protected]>
  2738. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  2739. Added some small optimizations.
  2740. 2006-07-21 Matt Hargett <[email protected]>
  2741. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  2742. 2006-07-21 Peter Dennis Bartok <[email protected]>
  2743. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  2744. tests pass and match MS in some strange border cases.
  2745. 2006-07-21 Chris Toshok <[email protected]>
  2746. * ThemeWin32Classic.cs: handle drawing of the relation links and
  2747. parent row buttons.
  2748. * Theme.cs: change args to DataGridPaintParentRow.
  2749. * DataGrid.cs: Don't use controls for the relation links and
  2750. parent buttons, so we have to handle all their interactions in
  2751. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  2752. when we're navigating through child tables, so we can reinstate
  2753. selection, expanded state, current cell, etc.
  2754. 2006-07-20 Chris Toshok <[email protected]>
  2755. * ToolBar.cs: When we redraw a button, for whatever reason,
  2756. there's no reason to redraw the entire toolbar. Also, don't call
  2757. Control.Refresh from within Redraw, as it's much heavier than
  2758. Invalidate (which is really what we want).
  2759. 2006-07-20 Chris Toshok <[email protected]>
  2760. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  2761. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  2762. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  2763. traces from within a debug IBindingList datasource
  2764. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  2765. to work in a similar fashion.
  2766. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2767. * ListBox.cs: Don't call Sort () when setting
  2768. the Sorted property to false (avoid an unnecessary sort).
  2769. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2770. * ListControl.cs: DataSource should throw an ArgumentException
  2771. instead of a normal exception when the argument is not of the
  2772. correct type.
  2773. 2006-07-20 Mike Kestner <[email protected]>
  2774. * Control.cs: add InternalPreProcessMessage to allow us to steal
  2775. key events before MWF gets its paws on them. Adapted from a
  2776. suggestion by eno.
  2777. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  2778. up/down/left/right navigation. Override the new internal control
  2779. method to steal the events since they never make it to WndProc.
  2780. * ToolBarButton.cs: don't worry about pushed when setting hilight
  2781. since the drawing code prefers pushed to hilight. Invalidate on
  2782. Hilight changes. Fixes #78547 and #78525.
  2783. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2784. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  2785. the canvas size. Fixes #78868
  2786. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2787. * Splitter.cs: Track requested split position until first layout
  2788. is performed. Fixes #78871
  2789. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2790. * Application.cs: Removed code that forces 1.x for the version
  2791. number if the version started with 0. Not sure why that code was
  2792. there and I couldn't find any bugs that indicated we needed it.
  2793. Fixes #78869
  2794. 2006-07-20 Alexander Olk <[email protected]>
  2795. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  2796. ResetDefaults(), just write some output to the console until it's
  2797. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  2798. 2006-07-19 Jonathan Chambers <[email protected]>
  2799. * PropertyGridView.cs: set StartPosition of drop down forms
  2800. so they appear in correct initial spot. Fixes #78190.
  2801. 2006-07-19 Mike Kestner <[email protected]>
  2802. * ThemeWin32Classic.cs: use parent background color when drawing
  2803. flat toolbars. Restructure the conditionals to make sure non-flat
  2804. non-Divider toolbars are filled too. Fixes #78837.
  2805. 2006-07-19 Mike Kestner <[email protected]>
  2806. * ListBox.cs: Sort on collection changes even if the handle
  2807. isn't created yet. Fixes #78813.
  2808. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  2809. * ListControl.cs: DisplayMember should never be null,
  2810. and now we assign String.Empty when null is passed to it (this
  2811. is the .Net way).
  2812. 2006-07-17 Mike Kestner <[email protected]>
  2813. * ListViewItem.cs: restructure Font and subitem Font handling
  2814. to hold a specific font and refer back to owner on null.
  2815. Fixes #78761.
  2816. 2006-07-17 Mike Kestner <[email protected]>
  2817. * ToolBar.cs: bandaid for side-effect of previous patch which was
  2818. discarding explicit heights for non-AutoSize toolbars. Need to
  2819. extend my format tester to deal with AutoSize=false. Fixes #78864.
  2820. 2006-07-15 Jackson Harper <[email protected]>
  2821. * LabelEditTextBox.cs:
  2822. * TreeView.cs: Use a new LabelEdit class for node editing, this
  2823. class automatically 'closes' itself when it gets the enter key or
  2824. loses focus.
  2825. - Use the client rectangle when setting the trees scrollbars, so
  2826. border style is taken into account.
  2827. 2006-07-14 Jackson Harper <[email protected]>
  2828. * TreeNode.cs:
  2829. * TreeView.cs: Make the editing work similar to MSs, firing the
  2830. events correctly and ending edits correctly.
  2831. 2006-07-14 Mike Kestner <[email protected]>
  2832. * ToolBarButton.cs:
  2833. * ToolBar.cs: layout restructuring and redraw enhancements to support
  2834. formatting changes gracefully, like setting TextAlign, ImageList,
  2835. ButtonSize, and Appearance. Handles explicit button sizing quirks
  2836. of the MS controls. Things like flat toolbars ignoring button size
  2837. but becoming constant sized at the largest button's size. Normal
  2838. toolbars with an image set cannot be shrunk smaller than the image,
  2839. but text can be clipped/ignored.
  2840. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  2841. is zero. Seems like DrawString should be smart enough to not put
  2842. anything on screen though. Also trim labels and ellipsize at the char
  2843. boundary, not word.
  2844. Fixes #78711 and #78483.
  2845. 2006-07-14 Alexander Olk <[email protected]>
  2846. * FolderBrowserDialog.cs: Disable "New Folder" button and
  2847. "New Folder" contextmenu menuitem if a folder like "My Computer"
  2848. is selected.
  2849. 2006-07-14 Alexander Olk <[email protected]>
  2850. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  2851. * FolderBrowserDialog.cs:
  2852. - Use MWFConfig to store and read size and position settings
  2853. - Added code to create a new folder (button or context menu).
  2854. Use TreeView labeledit to change the name of the new folder.
  2855. 2006-07-14 Jackson Harper <[email protected]>
  2856. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  2857. when the tree is scrolled we end editing.
  2858. 2006-07-14 Alexander Olk <[email protected]>
  2859. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  2860. Down arrows
  2861. 2006-07-14 Jonathan Pobst <[email protected]>
  2862. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  2863. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  2864. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  2865. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  2866. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  2867. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  2868. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  2869. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  2870. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  2871. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  2872. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  2873. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  2874. ListViewItemSelectionChangedEventHandler.cs,
  2875. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  2876. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  2877. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  2878. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  2879. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  2880. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  2881. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  2882. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  2883. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  2884. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  2885. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  2886. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  2887. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  2888. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  2889. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  2890. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  2891. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  2892. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  2893. WebBrowserNavigatingEventHandler.cs,
  2894. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  2895. 2006-07-14 Jonathan Pobst <[email protected]>
  2896. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  2897. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  2898. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  2899. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  2900. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  2901. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  2902. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  2903. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  2904. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  2905. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  2906. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  2907. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  2908. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  2909. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  2910. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  2911. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  2912. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  2913. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  2914. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  2915. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  2916. ListViewItemStates.cs, MaskFormat.cs: Added
  2917. 2006-07-13 Jonathan Chambers <[email protected]>
  2918. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  2919. Patch from eno for bug 78558.
  2920. 2006-07-13 Jackson Harper <[email protected]>
  2921. * TreeView.cs: When an edit is finished make sure that the
  2922. selected node is visible.
  2923. - When setting the top/bottom use the scrollbars is_visible, so
  2924. everything will be set correctly even if the tree isn't visible
  2925. yet.
  2926. 2006-07-13 Jackson Harper <[email protected]>
  2927. * ComboBox.cs: Revert the item->index part of my previous patch.
  2928. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  2929. the edit box has lost focus (duh).
  2930. - Just make the edit box not visible when we get return, that will
  2931. take the focus, which will call EndEdit
  2932. * TreeNode.cs When we start editing, notify the treeview.
  2933. 2006-07-12 Jackson Harper <[email protected]>
  2934. * ComboBox.cs: Clear out old items before setting the item list.
  2935. This prevents databound controls from having their items added
  2936. twice.
  2937. - Switch the combobox to use indices whereever possible instead of
  2938. using Item's. This allows usto navigate through lists that have
  2939. more then one item with the same string value (ie a, b, b, a).
  2940. - Scroll the listboxes scrollbar when a non visible item is
  2941. highlighted
  2942. - Allow keypress to cycle through all the possible values. For
  2943. example if you have b1, b2, b3 and hold down the B key all the
  2944. values will be cycled through.
  2945. 2006-07-12 Jackson Harper <[email protected]>
  2946. * TextBoxBase.cs:
  2947. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  2948. this using the internal methods.
  2949. * Control.cs: Add OnGotFocusInternal. A new method that allows
  2950. controls to "override" OnGotFocus and change focus behavior if
  2951. needed.
  2952. - Same thing for LostFocus
  2953. * ComboBox.cs: Pass off focus to the text control properly.
  2954. 2006-07-12 Alexander Olk <[email protected]>
  2955. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  2956. * FolderBrowserDialog.cs: Almost a complete rewrite.
  2957. - Better support for Environment.Specialfolders
  2958. - Added support for MWFVFS
  2959. - Made setting SelectedPath work
  2960. 2006-07-12 Jackson Harper <[email protected]>
  2961. * Control.cs: Optimze getting all the controls.
  2962. 2006-07-11 Jackson Harper <[email protected]>
  2963. * ContainerControl.cs: Override SETFOCUS in the container control,
  2964. so that it is not selected on mouse click.
  2965. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2966. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  2967. Hopefully we will have a better way once all of focus is complete.
  2968. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2969. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  2970. a compile error with csc.
  2971. 2006-07-11 Jackson Harper <[email protected]>
  2972. * Control.cs: When hiding a control only select the next control
  2973. if the current control was focused.
  2974. - Don't handle enter/leave when setting/killing focus, this is
  2975. done by the container control.
  2976. - Remove is_selected, it's not needed anymore.
  2977. - Add utility methods for selecting a child control, and for
  2978. firing the Enter/Leave events.
  2979. * ContainerControl.cs: When a control is activated fire the
  2980. enter/leave events.
  2981. - Don't wrap when processing the tab key, so that focus can be
  2982. moved outside of the container.
  2983. - Use the correct active control
  2984. 2006-07-11 Jackson Harper <[email protected]>
  2985. * ComboBox.cs: Remove some debug code that was blinding me.
  2986. * UpDownBase.cs: These controls actually aren't implicit, they are
  2987. visible to the user.
  2988. 2006-07-10 Chris Toshok <[email protected]>
  2989. * DataGrid.cs: move back to the is_adding boolean field. god i
  2990. hate this is_editing/is_adding/is_changing stuff.
  2991. 2006-07-10 Chris Toshok <[email protected]>
  2992. * DataGridTableStyle.cs: just check if the property type is bool.
  2993. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  2994. Don't use CanRenderType.
  2995. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  2996. if our text == NullText. Remove CanRenderType.
  2997. * DataGridBoolColumn.cs: nuke CanRenderType.
  2998. * DataGrid.cs: reenable some code to end the current edit inside
  2999. of set_CurrentCell. This fixes the other 1.1.16 regression.
  3000. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  3001. Also, remove the visible_row_count arg from CalcRowHeaders, since
  3002. we don't need to worry about the actual height of the area.
  3003. 2006-07-10 Chris Toshok <[email protected]>
  3004. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  3005. mode, just return.
  3006. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  3007. the real sense of the IsInEditOrNavigateMode property (true =
  3008. navigate, false = edit). Also, update OnKeyPress to reflect this.
  3009. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  3010. column style exists, we still need to set its property descriptor
  3011. to match up with our list manager.
  3012. 2006-07-10 Chris Toshok <[email protected]>
  3013. * ThemeWin32Classic.cs: implement the new row/header painting
  3014. approach. The parent row painting will likely go away and
  3015. replaced with label controls, but the rest seems to work ok (and
  3016. efficiently).
  3017. * Theme.cs: change the way we draw datagrid rows. we don't draw
  3018. the row headers as a block now. Instead we draw them in the
  3019. normal draw-row loop. Add some calls for drawing parent rows and
  3020. relation rows.
  3021. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  3022. a default table style. Set the defaults from ThemeEngine.Current,
  3023. not SystemColors. Fix lots of misc issues with property setters.
  3024. * DataGrid.cs: move loads of style information out of this class
  3025. as it's being duplicated with DataGridTableStyle. keep track of a
  3026. special DataGridTableStyle for the properties we used to mirror
  3027. here. Switch all the style properties to access this table style
  3028. instead of instance fields of this class. Also add a internal
  3029. class to represent parent rows (more needs to be stored here, like
  3030. the selection state from the parent table, as well as the
  3031. expansion state.) Also, for datasources with relations, do the
  3032. right thing for collapse/expand, and add support for the
  3033. navigation/parent row buttons.
  3034. Lastly, fix the crash in the 1.1.16 build.
  3035. * GridTableStylesCollection.cs: make the explicit interface
  3036. implementations call the class's methods as opposed to duplicating
  3037. them.
  3038. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  3039. 0 so the text doesn't jump around when we move the cursor.
  3040. 2006-07-10 Jackson Harper <[email protected]>
  3041. * TextBoxBase.cs:
  3042. * ListBox.cs: Match MS's ToString (this makes debugging focus
  3043. stuff infinitely easier).
  3044. 2006-07-10 Jackson Harper <[email protected]>
  3045. * Control.cs (SelectNextControl): When checking the control's
  3046. parent use this instead of ctrl.parent so that null can be passed
  3047. to SelectNextControl. (I have unit tests for this).
  3048. - Remove unused var.
  3049. 2006-07-10 Chris Toshok <[email protected]>
  3050. * CurrencyManager.cs: correct one regression, the removal of the
  3051. finalType field. Also, add a MonoTODO on CanAddRows, implement
  3052. Refresh() correctly, and fix some event emission in
  3053. ListChangedHandler.
  3054. 2006-07-07 Alexander Olk <[email protected]>
  3055. * FileDialog.cs: Don't use brackets for new folders if they exist
  3056. under *nix. Instead use -(number of existing folders +1).
  3057. 2006-07-07 Alexander Olk <[email protected]>
  3058. * FileDialog.cs:
  3059. - Fixed really nasty bug #78771
  3060. - Don't block the whole GUI when reading directories with a lot of
  3061. entries. Use an other thread instead and call BeginInvoke to
  3062. update the ListView in MWFFileView
  3063. 2006-07-07 Chris Toshok <[email protected]>
  3064. * Control.cs (Dispose): release any Capture when disposing.
  3065. 2006-07-07 Chris Toshok <[email protected]>
  3066. * LinkLabel.cs (Select): if we chain up to the parent, set
  3067. focused_index to -1 so we'll search for the first available link
  3068. the next time the user tabs into us. Also, if the direction is
  3069. backward and focused_index == -1, start the search from the last
  3070. element.
  3071. 2006-07-07 Chris Toshok <[email protected]>
  3072. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  3073. is beyond the end of the text, don't do anything.
  3074. (CreateLinkPieces): set our ControlStyles.Selectable based on
  3075. whether or not we have any links.
  3076. (Link.Invalidate): use a loop instead of foreach.
  3077. (Link.set_Start): null out owner.sorted_links so it'll be
  3078. recreated by CreateLinkPieces.
  3079. 2006-07-06 Chris Toshok <[email protected]>
  3080. * LinkLabel.cs: revert the SetStyle change.
  3081. 2006-07-06 Chris Toshok <[email protected]>
  3082. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  3083. (OnEnableChanged): s/Refresh/Invalidate
  3084. (OnGotFocus): if we have a focused index already, refocus it (so
  3085. if we mouse out/in to the window it'll focus the right link).
  3086. (OnKeyDown): move the tab handling out of here.
  3087. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  3088. when we lose focus.
  3089. (OnMouseDown): don't Capture here - Control handles it. Also,
  3090. focus the active link.
  3091. (OnMouseUp): don't deal with Capture.
  3092. (OnPaintBackgroundInternal): remove.
  3093. (OnTextAlignChanged): CreateLinkPieces before calling the
  3094. superclass's method.
  3095. (OnTextChanged): call CreateLinkPieces before calling superclass's
  3096. method.
  3097. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  3098. move around.
  3099. (Select): implement this, moving the selection between different
  3100. links, and call parent.SelectNextControl if we don't have another
  3101. link to focus in the given direction.
  3102. (CreateLinkPieces): call Invalidate instead of Refresh.
  3103. 2006-07-06 Chris Toshok <[email protected]>
  3104. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  3105. new LinkLabel internals.
  3106. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  3107. over pieces looking for active/focused/etc links. also, deal with
  3108. runs of text (and links) with embedded \n's in them, and use
  3109. MeasureCharacterRanges instead of MeasureString to figure out the
  3110. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  3111. two-step.
  3112. 2006-07-04 Jackson Harper <[email protected]>
  3113. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  3114. XKB or key auto repeat, do it manually. Without key auto repeat,
  3115. when a key is held down we get key press, key release, key press,
  3116. key release, ... with auto repeat we get key press, key press, key
  3117. press ..., and then a release when the key is actually released.
  3118. 2006-07-03 Jackson Harper <[email protected]>
  3119. * TabControl.cs:
  3120. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  3121. rules, they are always control color regardless of the background
  3122. color.
  3123. 2006-07-02 Alexander Olk <[email protected]>
  3124. * FileDialog.cs: Added internal class MWFConfig.
  3125. Removed Registry support and replaced it with support for the new
  3126. MWFConfig class. See MWFConfig comments for more information.
  3127. 2006-06-30 Alexander Olk <[email protected]>
  3128. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  3129. rectangle. Added some patches from eno from bug #78490 and fixed
  3130. the arrow position for small up and down CPDrawScrollButtons.
  3131. 2006-06-30 Jackson Harper <[email protected]>
  3132. * InternalWindowManager.cs: Remove some debug code.
  3133. * Form.cs: When an MdiParent is set to null, the window is
  3134. "detatched" and becomes a normal window.
  3135. * MdiClient.cs: Don't bring the new child form to the front until
  3136. it is activated (setting it as active does this), this makes the
  3137. previously active forms titlebar get redrawn as inactive.
  3138. 2006-06-29 Peter Dennis Bartok <[email protected]>
  3139. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  3140. with later controls
  3141. 2006-06-29 Mike Kestner <[email protected]>
  3142. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  3143. arrow in keynav state. Fixes #78682.
  3144. 2006-06-28 Atsushi Enomoto <[email protected]>
  3145. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  3146. order (fixes #78393)
  3147. 2006-06-28 Jonathan Pobst <[email protected]>
  3148. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  3149. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  3150. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  3151. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  3152. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  3153. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  3154. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  3155. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  3156. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  3157. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  3158. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  3159. values)
  3160. 2006-06-28 Mike Kestner <[email protected]>
  3161. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  3162. 2006-06-28 Atsushi Enomoto <[email protected]>
  3163. * PropertyGrid.cs,
  3164. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  3165. item lines from other area (It also makes BackColor consistent and
  3166. compatible with .NET). Fixed bug #78564.
  3167. 2006-06-28 Jonathan Chambers <[email protected]>
  3168. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  3169. Patch from Eno for #78555.
  3170. 2006-06-27 Chris Toshok <[email protected]>
  3171. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  3172. * DataGridColumnStyle.cs: same.
  3173. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  3174. * DataGridDrawingLogic.cs: nuke.
  3175. 2006-06-27 Chris Toshok <[email protected]>
  3176. * DataGridTableStyle.cs: clean up the constructors, and build the
  3177. list of child relations for this table. I have no idea if this is
  3178. where we should be doing it (it probably isn't), but since we're
  3179. already iterating over the properties..
  3180. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  3181. struct and array for keeping track of row information, similar to
  3182. what's shown in a hack on
  3183. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  3184. * Theme.cs: be consistent about the naming of DataGrid methods,
  3185. prefering ColumnWidths and RowHeights over columnsWidths and
  3186. RowsHeights.
  3187. * ThemeWin32Classic.cs: same, and also add support for variable
  3188. sized rows (and the +/- expansion icons for related rows).
  3189. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3190. * TextBoxBase.cs: Applied Eno's patch from #78660
  3191. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3192. * Form.cs (ScaleCore): We don't want to scale our form if it's
  3193. state is minimized or maximized, but we still need to scale our
  3194. child windows. Also, added try/finally block to ensure layout
  3195. gets reset (Fixes #78697)
  3196. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3197. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  3198. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3199. * Form.cs: Fixed c+p error and added check to resize form if minimum
  3200. size is bigger than current size (Fixes #78709)
  3201. 2006-06-26 Peter Dennis Bartok <[email protected]>
  3202. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  3203. 2006-06-26 Mike Kestner <[email protected]>
  3204. * ComboBox.cs: only do Keypress handling in the combo when there
  3205. are items in the collection. Fixes #78710.
  3206. 2006-06-26 Chris Toshok <[email protected]>
  3207. * Binding.cs: make this work bi-directionally. also, clear up
  3208. other mixups between Push/Pull Data (e.g. we're supposed to pull
  3209. data when validating).
  3210. * BindingManagerBase.cs: trim some fully qualified collection
  3211. types.
  3212. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  3213. 2006-06-23 Chris Toshok <[email protected]>
  3214. * PropertyManager.cs: It appears (according to the unit tests)
  3215. that PropertyManager doesn't use
  3216. PropertyDescriptor.AddValueChanged to track propery value changes
  3217. in its datasource, but uses the same scheme as Binding, where it
  3218. looks for a <Property>Changed event and binds to it.
  3219. Also, according to the docs, IsSuspended always returns false for
  3220. a property manager with a non-null datasource.
  3221. 2006-06-22 Peter Dennis Bartok <[email protected]>
  3222. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  3223. need to update the actual DialogResult. (Fixes #78613)
  3224. 2006-06-22 Peter Dennis Bartok <[email protected]>
  3225. * Form.cs (ShowDialog): Release any captures before running the
  3226. new message pump (fixes #78680)
  3227. 2006-06-22 Mike Kestner <[email protected]>
  3228. * ListView.cs: Layout column widths properly in details mode even
  3229. if HeaderStyle.None is set. Fixes #78691.
  3230. 2006-06-21 Peter Dennis Bartok <[email protected]>
  3231. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  3232. 2006-06-21 Peter Dennis Bartok <[email protected]>
  3233. * Control.cs (ContainsFocus): Using new driver method to get focused
  3234. window, instead of trying to use internal tracking var, which can
  3235. recursion issues (Fixes #78685)
  3236. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  3237. XplatUIWin32.cs: Added GetFocus method to return focused window
  3238. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  3239. * ColorDialog.cs: when the mouse button is pressed inside the color
  3240. matrix, don't let the cursor move out of it until the button is
  3241. released, which is the behavior on windows. Changed 'colours' by
  3242. 'colors' to use the same word consistently.
  3243. 2006-06-21 Chris Toshok <[email protected]>
  3244. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  3245. child relation and back, using a stack). Also, remove
  3246. GetDataSource and the code that calls it - it's not needed. Also,
  3247. track CurrencyManager.ListName's removal.
  3248. 2006-06-21 Chris Toshok <[email protected]>
  3249. * CurrencyManager.cs: push some of the original type checking from
  3250. BindingContext.CreateBindingManager to here, and remove some of
  3251. the finalType stuff. Need more tests to make sure I've got the
  3252. ListName part right, and we might need more in SetDataSource.
  3253. * PropertyManager.cs: add a ctor that takes just the datasource,
  3254. and no property name. Make SetDataSource work with a null
  3255. property_name, and make Current return the data_source if the
  3256. property descriptor is null. this makes 'string foo = "hi";
  3257. BindingContext[foo].Current' return "hi" as it should.
  3258. * RelatedCurrencyManager.cs: make this code more generic - there's
  3259. no reason the parent manager has to be CurrencyManager, and
  3260. there's no reason to pass the DataRelation. It suffices to use a
  3261. BindingManagerBase and PropetyDescriptor.
  3262. * RelatedPropertyManager.cs: make a similar change here.
  3263. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  3264. flower I knew it could be.
  3265. 2006-06-20 Chris Toshok <[email protected]>
  3266. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  3267. data in the source has changed and we need to update the control,
  3268. so s/PullData/PushData.
  3269. * CurrencyManager.cs: Refresh is meant to update the control from
  3270. data in the datasource. So, s/PullData/PushData.
  3271. * BindingContext.cs: add more ugliness (we weren't handling the
  3272. case where data_source = DataTable and data_member = column_name).
  3273. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  3274. from the perspective of the datasource. PullData pulls from the
  3275. control, PushData pushes to the control.
  3276. 2006-06-20 Chris Toshok <[email protected]>
  3277. * BindingContext.cs: rewrite the CreateBindingManager code to
  3278. handle navigation paths more or less properly. This could
  3279. definitely stand some more work, in particular to push the
  3280. recursion up to the toplevel. But that relies on fixes in other
  3281. places (System.Data comes to mind).
  3282. Also, move to a flat hashtable (and encode the twolevel nature of
  3283. the dictionary into the hash key). This lets us implement the
  3284. IEnumerable.GetEnumerator method.
  3285. * RelatedCurrencyManager.cs: new class. Update our view based on
  3286. our relation and our parent CurrencyManager's position.
  3287. * CurrencyManager.cs: split out some logic from the ctor into
  3288. SetView, so it can be called from the new RelatedCurrencyManager
  3289. subclass.
  3290. * RelatedPropertyManager.cs: new class. Update our datasource
  3291. based on the position of our parent CurrencyManager.
  3292. * PropertyManager.cs: split out some logic from the ctor into
  3293. SetDataSource, so it can be called from the new RelatedDataSource
  3294. subclass. Also, make the Current getter return the value
  3295. of the PropertyDescriptor, not the data_source.
  3296. * Binding.cs: no need to duplicate the string splitting code here.
  3297. 2006-06-19 Peter Dennis Bartok <[email protected]>
  3298. * Control.cs:
  3299. - set_Enabled: OnEnabledChanged is not called if the inherited state
  3300. of the control is not altered, even though we might be changing the
  3301. internal state of the control (#78458)
  3302. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  3303. OnEnabledChanged, to allow easy altering of any child window state
  3304. - OnEnabledChanged: Added code to enable/disable driver window state
  3305. - OnParentEnabledChanged: Instead of firing the event, call
  3306. OnEnabledChanged, which will fire the event and also a) set driver
  3307. window state and pass the enabled state to any grandchildren (#78458)
  3308. 2006-06-19 Jackson Harper <[email protected]>
  3309. * InternalWindowManager.cs: We don't set the cursor explicitly
  3310. thats done via the response to NCHITTESTs.
  3311. - Don't need to adjust for titlebar heights anymore, the
  3312. coordinates are coming in the correct coordinates now (see peters
  3313. last patch).
  3314. 2006-06-19 Peter Dennis Bartok <[email protected]>
  3315. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  3316. being translated relative to whole window, instead of client window.
  3317. That caused broken offsets on mouseclick (and caused gas for our
  3318. InternalWindowManager)
  3319. 2006-06-15 Peter Dennis Bartok <[email protected]>
  3320. * TextControl.cs:
  3321. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  3322. - Undo(): Added replay of cursor move on DeleteChars action; added
  3323. calling Undo() again if a recorded cursor move is invalid (to
  3324. ensure that some action is performed on Undo)
  3325. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  3326. 2006-06-16 Jackson Harper <[email protected]>
  3327. * MdiClient.cs: Instead of just sizing maximized windows when
  3328. there is a resize we also have to adjust the Y of minimized
  3329. windows, so they stay pinned to the bottom of the mdi container.
  3330. - Eliminate separate tracking of the active control, we can just
  3331. get this from the controls collection.
  3332. - Paint the decorations for the newly activated titlebar so we get
  3333. a pretty blue bar.
  3334. * InternalWindowManager.cs:
  3335. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  3336. even if they are a tool window.
  3337. 2006-06-15 Peter Dennis Bartok <[email protected]>
  3338. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  3339. undo buffer, these can happen when text was deleted and the cursor
  3340. was recorded first. Since we will also have a recorded cursor
  3341. after the delete this is not an issue. (Fixes #78651)
  3342. 2006-06-14 Peter Dennis Bartok <[email protected]>
  3343. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  3344. instead properly track control states internally (allows us to
  3345. remove is_selected from Control)
  3346. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  3347. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  3348. whose width is not a multiple of 8.
  3349. 2006-06-13 Jackson Harper <[email protected]>
  3350. * MdiClient.cs: Only maximize the next child if the current one
  3351. is maximized.
  3352. 2006-06-13 Chris Toshok <[email protected]>
  3353. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  3354. modified. Also, guard against grid or grid_drawing being null in
  3355. Invalidate.
  3356. * DataGrid.cs: Reformat tons of getters/setters. In the
  3357. DataMember setter, just call SetNewDataSource instead of
  3358. duplicating some of its functionality. In SetNewDataSource, don't
  3359. check ListManager for null, since the property getter creates the
  3360. object if needed.
  3361. * DataGridTableStyle.cs: don't set TableStyle or call
  3362. SetDataGridInternal on the column here, it's done in
  3363. GridColumnStylesCollection.Add.
  3364. * GridColumnStylesCollection.cs: fix all the explicit interface
  3365. implementations to just call our methods. Nuke AddInternal() and
  3366. move the body of it to Add(). Also, add a call to
  3367. column.SetDataGridInternal to Add().
  3368. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  3369. base()+duplicate code. Also, use the Format property instead of
  3370. format to generate an Invalidate ala MS. Lastly, create the
  3371. textbox here, unconditionally.
  3372. (set_Format): call Invalidate.
  3373. (get_TextBox): no need to call EnsureTextBox.
  3374. (Commit): remove the message box.
  3375. (Edit) remove the call to EnsureTextBox.
  3376. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  3377. (EnterNullValue): no need to check textbox for null.
  3378. (HideEditBox): no need to check textbox for null.
  3379. (SetDataGridInColumn): add the textbox to the grid's controls.
  3380. (EnsureTextBox): nuke.
  3381. 2006-06-13 Jackson Harper <[email protected]>
  3382. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  3383. and redraw the buttons when needed. Unhook when the window is
  3384. unmaximized.
  3385. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  3386. needs this so that it can redraw its buttons when the menu is
  3387. repainted.
  3388. * InternalWindowManager.cs:
  3389. * Form.cs: The method order has changed for DrawMaximizedButtons,
  3390. so that it can be a PaintEventHandler.
  3391. 2006-06-13 Jackson Harper <[email protected]>
  3392. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  3393. window is activated and maximized, even if it wasn't before.
  3394. - When a new window is activated repaint the decorations of the
  3395. old one, so that it no longer has the Active "look" (the blue
  3396. titlebar).
  3397. * InternalWindowManager.cs: Open up CreateButtons to base classes
  3398. so they can recreate the buttons on state changes.
  3399. - If a window is maximized give it all three buttons
  3400. * MdiWindowManager.cs: Create the titlebar buttons when the state
  3401. is changed, this is needed because a toolwindow will not have all
  3402. three buttons until it is maximized.
  3403. 2006-06-13 Atsushi Enomoto <[email protected]>
  3404. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  3405. Fixed bug #78609.
  3406. 2006-06-12 Jackson Harper <[email protected]>
  3407. * KeysConverter.cs: Make sure we handle the Ctrl special case
  3408. if its the only key.
  3409. 2006-06-12 Jackson Harper <[email protected]>
  3410. * Theme.cs: Add a method to get the size of a managed window
  3411. toolbar button.
  3412. * InternalWindowManager.cs: Remove the ButtonSize property, this
  3413. should be retrieved from the theme.
  3414. * MdiWindowManager.cs: Get the button size from the theme
  3415. * ThemeWin32Classic.cs: Make the method to get the managed window
  3416. titlebar button size public.
  3417. - Handle the different button sizes of maximized toolwindows
  3418. (should match any maximized window).
  3419. - Get the titlebar height from the theme, not the WM (which gets
  3420. it from the theme).
  3421. 2006-06-12 Jackson Harper <[email protected]>
  3422. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  3423. event down to the mdi window manager.
  3424. - Expose some extra stuff to base classes
  3425. - Make sure to end the Capture on an NC Mouse up, so that we can
  3426. get double clicks properly, and the sizing doens't stick.
  3427. - When doing PointToClient contain it in the workable desktop
  3428. area, this prevents windows from changing size when the cursor is
  3429. pulled outside of the working area while sizing.
  3430. * MdiWindowManager.cs: When we get a double click maximize the
  3431. window.
  3432. - Reset the cursor after handling mode changes.
  3433. 2006-06-12 Peter Dennis Bartok <[email protected]>
  3434. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  3435. current desktop, instead of just assuming a 0, 0 origin. This
  3436. is needed for our internal window manager, to know the top
  3437. margin of the desktop
  3438. 2006-06-12 Chris Toshok <[email protected]>
  3439. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  3440. we need this to get rid of the selected background in the bool
  3441. column.
  3442. (CancelEditing): move the ConcedeFocus call to above the Abort
  3443. call. Also, set is_changing to false and invalidate the row
  3444. header if we were changing before.
  3445. (ProcessKeyPreviewInternal): remove, since noone outside this
  3446. class calls it anymore. Roll the code into ProcessKeyPreview.
  3447. (EndEdit): remove the internal version.
  3448. (InvalidateCurrentRowHeader): make private.
  3449. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  3450. Keys.Escape handling (and with it the last call to
  3451. DataGrid.EndEdit from outside the class.)
  3452. 2006-06-12 Chris Toshok <[email protected]>
  3453. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  3454. (OnKeyPress): set isedit to true.
  3455. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  3456. already handled by the grid.
  3457. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  3458. right. ugh.
  3459. (set_DataSource): SetDataSource always returns true, so stop
  3460. putting it in an if statement.
  3461. (EndEdit): get rid of some {}'s
  3462. (ProcessGridKey): return true in case Keys.Escape.
  3463. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  3464. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  3465. PositionChanged, stopped connecting to CurrentChanged.
  3466. (GetDataSource): simplify this a bunch.
  3467. (SetDataSource): change return type from bool to void.
  3468. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  3469. to this, and make sure we don't set ListManager.Position inside
  3470. set_CurrentCell.
  3471. (OnListManagerItemChanged): if we're passed an actual index,
  3472. redraw that row.
  3473. * CurrencyManager.cs (set_Position): don't call PullData here.
  3474. 2006-06-09 Jackson Harper <[email protected]>
  3475. * TreeNode.cs: Recalculate the visible order before doing the
  3476. Expand/Collapse Below calls, because those calls generate an
  3477. expose.
  3478. - Reduce calls to the TreeView property, which is mildly expensive
  3479. by using a local var.
  3480. * Form.cs: Layout the MDI child windows when creating the parent
  3481. form.
  3482. - Don't use the internal constructor anymore
  3483. * MdiClient.cs: use the parent form width/height (if available)
  3484. when laying out the child windows, we do this because the
  3485. mdiclient isn't docked yet when the initial layout is done.
  3486. - Don't need an internal constructor anymore.
  3487. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3488. * FileDialog.cs: handle access errors when trying to create a folder
  3489. or changing to a directory. No need to initialize out parameters.
  3490. 2006-06-08 Alexander Olk <[email protected]>
  3491. * FileDialog.cs: Append a number when creating a new folder if the
  3492. folder already exists (use parenthesis instead of square brackets)
  3493. 2006-06-08 Alexander Olk <[email protected]>
  3494. * FileDialog.cs:
  3495. - Disabled registry support for windows and added better registry
  3496. error checking for other systems (need to investigate why it
  3497. works perfectly on my system)
  3498. - If a folder already exist show an error MessageBox instead of
  3499. trying to create an indexed name.
  3500. - Fixed a non intentional typo.
  3501. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3502. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  3503. 2006-06-08 Alexander Olk <[email protected]>
  3504. * FileDialog.cs: When creating a new folder don't crash if the
  3505. folder already exists.
  3506. 2006-06-08 Alexander Olk <[email protected]>
  3507. * FileDialog.cs: Allmost a complete rewrite.
  3508. - added a "virtual" file system that handles the differences
  3509. between unix and windows file systems (especially the directory
  3510. structure). Moved most of the directory and file handling code
  3511. into the vfs.
  3512. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  3513. UnixFileSystem and FSEntry.
  3514. - Recently used folder/directory, size, location and used file names
  3515. (file name ComboBox) are now stored in the registry and get read
  3516. before the dialog shows up (fixes part 6 of bug #78446).
  3517. - Creation of new folders/directories is now possible (context menu
  3518. or ToolBar). Added TextEntryDialog for this that fills in the gap
  3519. until ListView.LabelEdit works.
  3520. - Fixed cursor handling (bug #78527) and focus handling for
  3521. PopupButtonPanel
  3522. - Various "Search in" ComboBox enhancements. The content of the
  3523. dropdown listbox now almost matches ms.
  3524. - Changed the behaviour when the user switches to SpecialFolder
  3525. Recent to show the ListView in View.Details.
  3526. - Beside using the ToolBar to change the View property of the
  3527. file ListView it is now possible to use the context menu too.
  3528. 2006-06-08 Alexander Olk <[email protected]>
  3529. * ComboBox.cs: Don't create a new ObjectCollection when an item
  3530. gets inserted. Just insert the item in the existing object_items
  3531. ArrayList.
  3532. 2006-06-08 Jackson Harper <[email protected]>
  3533. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  3534. that the treeview and root node checks are done also, this fixes a
  3535. regression i caused in the unit tests.
  3536. 2006-06-07 Wade Berrier <[email protected]>
  3537. * RichTextBox.cs: More ISO8859-1 -> unicode
  3538. 2006-06-07 Mike Kestner <[email protected]>
  3539. * ComboBox.cs : use items to hold highlight/selection so that
  3540. collection insertions don't require synchronization.
  3541. 2006-06-07 Jackson Harper <[email protected]>
  3542. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  3543. routine. We now always keep the sized edge at the cursor instead
  3544. of computing movement and adjusting rects. There is one buglet
  3545. with this method though when the cursor is moved over area that
  3546. the window can not expand too (such as the toolbars on the desktop).
  3547. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3548. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  3549. here. Fixes crash on startup in AlbumSurfer.
  3550. 2006-06-07 Peter Dennis Bartok <[email protected]>
  3551. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  3552. values
  3553. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3554. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  3555. statement to avoid calling XNextEvent which will block if another thread
  3556. took the event that we were expecting. Fixes bug #78605.
  3557. 2006-06-07 Mike Kestner <[email protected]>
  3558. * ListView.cs : isolated checkbox clicking from the selection logic.
  3559. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  3560. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  3561. * Form.cs: Check that the value passed to Form.DialogResult
  3562. is a valid enum value.
  3563. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3564. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  3565. Computer'. Clicking it in the network view goes to 'My Computer'.
  3566. Added CIFS filesystem type. Display the mount point of filesystems.
  3567. Avoid duplicate mount points (happens for me with CIFS);
  3568. 2006-06-06 Jackson Harper <[email protected]>
  3569. * InternalWindowManager.cs: Draw the maximized windows buttons
  3570. when resizing.
  3571. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3572. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  3573. all other dialogs. Fixes bug #78585.
  3574. 2006-06-06 Mike Kestner <[email protected]>
  3575. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  3576. Only invalidate checkbox on checkstate changes to avoid flicker.
  3577. * ListBox.cs : avoid unselect/select when clicking selected item.
  3578. avoid reselection flicker for already multiselected items.
  3579. Fixes #78382.
  3580. 2006-06-06 Jackson Harper <[email protected]>
  3581. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  3582. the parent form so that the menu is removed if needed.
  3583. 2006-06-06 Mike Kestner <[email protected]>
  3584. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  3585. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  3586. 2006-06-06 Mike Kestner <[email protected]>
  3587. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  3588. 2006-06-06 Jackson Harper <[email protected]>
  3589. * Control.cs: Use the property (instead of the field) to get the
  3590. default cursor so it is instantiated correctly.
  3591. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  3592. resizes so we need to manually repaint the window decorations here.
  3593. - Set the titlebar button locations as soon as they are created,
  3594. otherwise they are not set correctly on win32.
  3595. 2006-06-06 Chris Toshok <[email protected]>
  3596. * CurrencyManager.cs (set_Position): call PullData before
  3597. OnCurrentChanged.
  3598. (AddNew): after calling IBindingList.AddNew, update our
  3599. listposition, and call OnCurrentChanged/OnPositionChanged (without
  3600. calling PullData).
  3601. (OnCurrentChanged): remove the call to PullData from here.
  3602. (OnItemChanged): remove the call to PushData from here.
  3603. (OnPositionChanged): change the test from == null to != null to
  3604. match the other methods.
  3605. (ListChangedHandler): the grossest part of the patch. Implement
  3606. this such that it passes the unit tests in CurrencyManagerTest and
  3607. the output more or less matches that of MS's implementation.
  3608. 2006-06-06 Mike Kestner <[email protected]>
  3609. * ListView.cs : only update check state on single click.
  3610. * ThemeWin32Classic.cs : fix focus drawing for details view without
  3611. fullrowselect. Fixes #78454.
  3612. * XplatUIX11.cs : fix for double click emission.
  3613. 2006-06-05 Jonathan Chambers <[email protected]>
  3614. * PropertyGridView.cs : Applied Atsushi's patch to fix
  3615. font dialog bug (#78197).
  3616. 2006-06-05 Jackson Harper <[email protected]>
  3617. * TreeNode.cs: Compute the next node for expanding/collapsing
  3618. correctly. We now factor in nodes without a NextNode
  3619. correctly. (Fixes somes cases in nunit-gui).
  3620. * InternalWindowManager.cs: Set the bounds when updating the
  3621. virtual position of a tool window.
  3622. 2006-06-05 Chris Toshok <[email protected]>
  3623. * DataGrid.cs: rename cached_currencymgr to list_manager.
  3624. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  3625. some.
  3626. (CurrentRow, CurrentColumn): single accessors so we can make the
  3627. cursor movement code a lot easier to understand.
  3628. (CurrentRowIndex): implement this in terms of CurrentRow.
  3629. (BeginEdit): clean this up a bit.
  3630. (CancelEditing): sort out the is_editing/is_changing/is_adding
  3631. stuff a little.
  3632. (EndEdit): minor changes.
  3633. (OnKeyDown): add a comment about a (most likely) unnecessary
  3634. check.
  3635. (OnMouseDown): cancel editing when we click on a row header. And
  3636. use the CurrentRow setter, not CurrentCell.
  3637. (ProcessDialogKey): directly call ProcessGridKey.
  3638. (UpdateSelectionAfterCursorMove): factor out this common block of
  3639. code (it's used everywhere that we move the cursor by updating row
  3640. or column).
  3641. (ProcessGridKey): pretty substantial overhaul. Use the
  3642. CurrentRow/CurrentColumn properties to make the code a lot more
  3643. readable. Only use the CurrentCell property when we have to
  3644. modify both row and column at once. Tab behavior is still broken,
  3645. and Delete is untested.
  3646. (Select): if we have no selected rows, set selection_start to
  3647. @row.
  3648. (EditCurrentCell): rename EditCell this. It was only ever invoked
  3649. with CurrentCell as the arg, so drop the arg and rename it.
  3650. * DataGridColumnStyle.cs: clean up the constructors a little, and
  3651. drop CommonConstructor().
  3652. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  3653. actually get notified when the user hits it.
  3654. (ProcessKeyMessage): *substantially* simplify this method.
  3655. There's no reason (that I can see) for the textbox to be making
  3656. calls into the datagrid at all. Remove all of them but the ones
  3657. for Enter handling. those will take some more work.
  3658. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  3659. calling HideEditBox.
  3660. (HideEditBox): if we have an active textbox, render it invisible
  3661. without causing a re-layout of the datagrid.
  3662. 2006-06-05 Mike Kestner <[email protected]>
  3663. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  3664. collection changes by resetting it to Items[0]. Fixes #78587.
  3665. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  3666. * MessageBox.cs: if the height of the text is larger than the icon_size,
  3667. use that. Fixes bug #78575.
  3668. 2006-06-05 Jackson Harper <[email protected]>
  3669. * TreeView.cs: Fix line drawing when scrolling. To do this each
  3670. node is basically responsible for drawing its entire horizontal
  3671. area. When drawing a node it draws its parent node lines if
  3672. needed.
  3673. - Adjust the clip area to the viewport rectangle
  3674. - Fix Left/Right key handling to match MS. (It expand/collapses
  3675. and moves to parents/first child but does not move selection to
  3676. sibling nodes).
  3677. - Fix SetTop to work with new bound calculation code
  3678. - When scrollbars are no longer needed we need to reset scrolling
  3679. vars and recalculate the visible order so the redraw is correct
  3680. * TreeNode.cs: We can't expand/collapse nodes with no children.
  3681. 2006-06-03 John Luke <[email protected]>
  3682. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  3683. so the colors work without dev packages
  3684. 2006-06-02 Peter Dennis Bartok <[email protected]>
  3685. * Control.cs
  3686. - Select: Implemented to just use activate. Seems to match MS
  3687. behaviour closest. Documented to only do actual control walking
  3688. based on it's parameters if in a container control so I moved
  3689. the code there.
  3690. - Removed selection check logic from our internal Select() method
  3691. * ContainerControl.cs:
  3692. - Select: Moved selection logic from Control here, since MS documents
  3693. that containers obey the bool arguments. No longer calling base
  3694. 2006-06-02 Jackson Harper <[email protected]>
  3695. * TreeView.cs: If the selected node isn't changed when we get
  3696. focus update the previously selected node so that we see the
  3697. selection box.
  3698. 2006-06-02 Mike Kestner <[email protected]>
  3699. * ComboBox.cs: restructure grab and general mouse event handling.
  3700. Make the composite control raise mouse events like it was a single
  3701. control for leaves/enters/motion/up/down events. fix dropdown list
  3702. coordinate mangling and refactor it into the scrollbar subclass to
  3703. reduce code duplication. Fixes #78282 #78361 and #78457.
  3704. 2006-06-02 Mike Kestner <[email protected]>
  3705. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  3706. automatically in the Control.WndProc.
  3707. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3708. * FileDialog.cs: fix crash when running SharpChess, which sets the
  3709. FilterIndex to 2 with only one Filter.
  3710. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3711. * ToolBar.cs: add SizeSpecified property.
  3712. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  3713. try to figure out our real size, otherwise fallback to what the
  3714. container says.
  3715. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3716. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  3717. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  3718. up the event
  3719. 2006-06-01 Mike Kestner <[email protected]>
  3720. * ListView.cs: revamp the focus management in ListView. It still
  3721. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  3722. better than not handling focus at all. Will revisit when pdb feels
  3723. the general focus handling is solid. Fixes #78526.
  3724. 2006-06-01 Jackson Harper <[email protected]>
  3725. * TreeView.cs: Set the default border style in the constructor.
  3726. - Move painting to use OnPaintInternal instead of capturing
  3727. WM_PAINT, this is the correct way of doing things
  3728. - UpdateBelow shouldn't invalidate the scrollbar area
  3729. - Cap the top on update below in case the node was above the top
  3730. of the viewport rectangle.
  3731. - ExpandBelow and Collapse below need to obey Begin/End Update.
  3732. * TreeNode.cs: Make is_expanded internal so the treenode
  3733. collection can change it without firing the whole event chain.
  3734. * TreeNodeCollection.cs: When clearing all the child nodes make
  3735. sure to recalc the visible order.
  3736. - Improve algo for remove the top node
  3737. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3738. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  3739. SendMessage directly calling window procedures, which in turn might
  3740. call SetFocus()
  3741. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3742. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  3743. has focus (works around X11 sending a FocusIn after our SetFocus)
  3744. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  3745. 2006-06-01 Alexander Olk <[email protected]>
  3746. * Mime.cs: Fix for the NET_2_0 build.
  3747. NameValueCollection needs StringComparer now.
  3748. 2006-05-31 Chris Toshok <[email protected]>
  3749. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  3750. return (via an out parameter) the starting X of the column.
  3751. (UpdateVisibleColumn): track change to FromPixelToColumn.
  3752. (HitTest): add a ColumnResize case here.
  3753. (DrawResizeLine): new function, probably poorly named.
  3754. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  3755. only need to keep one reference.
  3756. (set_ListManager): same.
  3757. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  3758. Also, add support for HitTestType.ColumnResize.
  3759. (OnMouseMove): add column resize behavior here, and change the
  3760. cursor to the correct one as we move around the datagrid.
  3761. (OnMouseUp): terminate the column resize if we're resizing.
  3762. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  3763. for the current cell.
  3764. (ConnectListManagerEvents): use cached_currencymgr.
  3765. (DisconnectListManagerEvents): fill this in, using
  3766. cached_currencymgr.
  3767. (SetCurrentCell): remove cached_currencymgr_events handling.
  3768. (SetDataMember): only call DisconnectListManagerEvents if
  3769. cached_currencymgr is != null.
  3770. (SetDataSource): same.
  3771. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  3772. cached_currencymgr.
  3773. 2006-05-31 Jackson Harper <[email protected]>
  3774. * BindingManagerBase.cs: Remove somedebug code that creeped into
  3775. SVN.
  3776. * TreeNode.cs: We get the indent level dynamically right now, so
  3777. don't track it as a member.
  3778. * TreeNodeCollection.cs: Make sure all nodes added to the list
  3779. have parents, treeviews/topnodes setup properly.
  3780. - Don't attempt to track indent level.
  3781. 2006-05-30 Jackson Harper <[email protected]>
  3782. * BindingContext.cs: Create the currency manager tables here.
  3783. This allows us to more easily create null tables (when bad data
  3784. members are used), and more easily create related currency
  3785. managers.
  3786. * CurrencyManager.cs: All the table creation stuff is done by the
  3787. binding context now.
  3788. - Current should throw an exception if listposition is -1.
  3789. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  3790. been bound yet.
  3791. 2006-05-30 Mike Kestner <[email protected]>
  3792. * ListView.cs: allow reexpansion of zero-width column headers.
  3793. Fixes #78528.
  3794. 2006-05-28 Chris Toshok <[email protected]>
  3795. * CurrencyManager.cs (get_Current): after the late binding
  3796. listposition = -1 fix, we need to guard against it here and return
  3797. null, otherwise we raise an exception (which is swallowed
  3798. elsewhere, and breaks datagrid databinding.)
  3799. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3800. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  3801. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  3802. 2006-05-26 Jackson Harper <[email protected]>
  3803. * ControlPaint.cs:
  3804. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  3805. values, it's faster and it's all we care about (we don't care if
  3806. the names aren't equal).
  3807. * KeyboardLayouts.cs: Eliminate some dead code.
  3808. - Lazy init things
  3809. * X11Keyboard.cs: Lazy init keyboard detection.
  3810. - Cleanup access modifiers a little.
  3811. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3812. * XplatUIX11.cs: Once again, attempting to get layout just right.
  3813. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3814. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  3815. the sizes of each link section, that will result in sizes that
  3816. match DrawString's layout (Fixes #78391)
  3817. 2006-05-27 Alexander Olk <[email protected]>
  3818. * FileDialog.cs: If AddExtension property is true autocomplete the
  3819. extensions in SaveFileDialog correctly. Fixes bug #78453.
  3820. Set MyNetwork and MyComputer to "C:\" for windows. This should
  3821. fix part 8 of bug #78446 for now.
  3822. 2006-05-26 Chris Toshok <[email protected]>
  3823. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  3824. invalidate the current row header if we need to, but presumably
  3825. we'll invalidate the row corrsponding to the bounds or
  3826. editingControl.
  3827. (GridHScrolled): switch back to this method, as it's part of the
  3828. public api. *sigh*.
  3829. (GridVScrolled): same.
  3830. (OnMouseWheel): hack up something that more or less works. Call
  3831. GridHScrolled/GridVScrolled directly, instead of duplicating much
  3832. of their code here.
  3833. (EnsureCellVisibility): reinstate a bunch of this code, since we
  3834. can't just set the scrollbar Value and expect to do all the work
  3835. in the ValueChanged handler. Also, Call Update() after scrolling
  3836. in one direction so the other XplatX11.ScrollWindow call has the
  3837. proper stuff in the proper places.
  3838. (EditCell): set is_editing to true before calling .Edit.
  3839. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  3840. don't bother comparing first.
  3841. (OnKeyPress): call grid.ColumnStartedEditing before calling
  3842. base.OnKeyPress. this will set is_changing and invalidate the row
  3843. header if necessary.
  3844. (ProcessKeyMessage): for WM_CHAR messages, call
  3845. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  3846. and WM_KEYDOWN.
  3847. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  3848. it's done in the DataGrid.
  3849. (NextState): call grid.ColumnStartedEditing, which takes care of
  3850. invalidating the row header (and setting is_changing).
  3851. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  3852. here. it's done in the DataGrid.
  3853. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3854. * Control.cs: allow changing the cursor when the mouse position is
  3855. out of bounds but Capture is set.
  3856. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  3857. linklabel but released somewhere else.
  3858. 2006-05-25 Jackson Harper <[email protected]>
  3859. * TreeView.cs: When we get focus if there is no selected node make
  3860. it the top node
  3861. - Remove some uneeded setup code from Draw.
  3862. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  3863. a new node is inserted make the new node the top.
  3864. * XplatUIX11.cs:
  3865. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  3866. be used (should be faster).
  3867. 2006-05-25 Chris Toshok <[email protected]>
  3868. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  3869. problem with the last commit.
  3870. 2006-05-25 Chris Toshok <[email protected]>
  3871. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  3872. need the invalidate call here, while scrolling right-to-left via
  3873. the left arrow key (i.e. moving the editing cell while scrolling).
  3874. * DataGrid.cs (.ctor): remove the initialization of
  3875. ctrl_pressed/shift_pressed. We no longer track them using key
  3876. up/down handlers, but by using Control.ModifierKeys. Also, switch
  3877. to using ValueChanged handlers on the scrollbars instead of
  3878. Scrolled event handlers. This simplifies a bunch of the scrolling
  3879. code.
  3880. (GridHValueChanged): rename from GridHScrolled, and change it to
  3881. work with the new event args.
  3882. (GridVValueChanged): same.
  3883. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  3884. (OnMouseWheel): actually scroll the datagrid. Don't change the
  3885. selected cell.
  3886. (ProcessGridKey): correct all the keyboard navigation stuff I
  3887. could find. Ctrl up/down/left/right/home/end work now.
  3888. (EnsureCellVisibility): correct method name spelling. Also,
  3889. simplify this a touch by not explicitly calling the
  3890. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  3891. scrollbar value.
  3892. (OnKeyUpDG): no need for this method now.
  3893. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3894. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  3895. Fixes bug #78392.
  3896. 2006-05-25 Chris Toshok <[email protected]>
  3897. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  3898. r61019.
  3899. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3900. * Application.cs: Moved setting of is_modal and closing to before
  3901. we create the control, to allow the event handlers called as a
  3902. result of creation affect closing. Also removed Gonzalo's previous
  3903. change to setting DialogResult, the behaviour has been moved to
  3904. Form.ShowDialog()
  3905. * Form.cs:
  3906. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  3907. handle it instead
  3908. - ShowDialog(): If no dialog result is set, we need to return Cancel
  3909. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  3910. the close is cancelled
  3911. 2006-05-25 Jackson Harper <[email protected]>
  3912. * StatusBar.cs: We only need to update the sizes of the other
  3913. panels when we have auto size contents. Also we are only updating
  3914. the contents of the panel, not the borders, so compensate for the
  3915. border width (TODO: get this width from the theme somehow).
  3916. * TreeView.cs: Scrollable is true by default
  3917. - Use invalidate instead of refresh where needed
  3918. - Factor the scrollable value into scrollbar updating
  3919. - Update the scrollbars if the Scrollable property is altered
  3920. - Update the selected node if its ImageIndex is changed
  3921. - Handle null nodes in UpdateNode (mainly so we don't have to
  3922. check if selected is null when updating it
  3923. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  3924. are factored into the visible count
  3925. - Use VisibleCount for clarity in the code
  3926. - When the font is changed we need to recurse through all the
  3927. nodes and invalidate their sizes
  3928. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3929. * Application.cs: set the DialogResult to fixed when the main form is
  3930. hidden or destroyed while being modal.
  3931. 2006-05-25 Miguel de Icaza <[email protected]>
  3932. * Theme.cs: Use Tangoified messagebox icons.
  3933. (GetSizedResourceImage): Also cope with width = 0 and do not
  3934. trigger a warning in that case (0 means "give me your icon from
  3935. the resouce, no special size needed).
  3936. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3937. * Application.cs: Leave runloop if the the main modal form is
  3938. hidden (fixes #78484)
  3939. 2006-05-25 Atsushi Enomoto <[email protected]>
  3940. * BindingContext.cs : reject null datasource in Contains() and
  3941. Item[].
  3942. * CurrencyManager.cs : check data_member validity when data_source
  3943. is dataset. When it is late binding, the initial position is -1.
  3944. 2006-05-24 Jackson Harper <[email protected]>
  3945. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  3946. inserted nodes that aren't visible. This changes the
  3947. max_visible_order which confuses scrollbar settings.
  3948. - Use the enumerator to get the prev node instead of duplicating
  3949. code.
  3950. * TreeView.cs: Use new method for setting scrollbar values
  3951. - Don't set the bounds every time the scrollbar is updated
  3952. - When updating below the root node use an invalidate instead of a
  3953. refresh to prevent the child controls (scrollbars) from being
  3954. refreshed. (UpdateBelow still needs to be reworked anyways).
  3955. - Reenable SetBottom now that visible orders are set correctly,
  3956. added some debug code incase we ever get bad values there again.
  3957. - Set the scrollbar max to 2 less then the max value, this
  3958. compensates for the max value being one above the node count, and
  3959. for scrollbars adding one extra "notch".
  3960. - When drawing image nodes if there is an imagelist we draw the
  3961. first image in the list if the supplied image index is out of the
  3962. image list's bounds.
  3963. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3964. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  3965. we receive a size change from the WM (Fixes #78503)
  3966. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3967. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  3968. rectangle (Fixes #78501)
  3969. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3970. * ButtonBase.cs:
  3971. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  3972. as a bitfield.
  3973. - Fixed MouseMove to no longer switch pressed state unless the left
  3974. mouse button is pressed. Atsushi provided the original patch (#78485)
  3975. 2006-05-24 Jackson Harper <[email protected]>
  3976. * ScrollBar.cs: New internal methods that allow us to change a
  3977. couple values on the scrollbar (the most common case is maximum
  3978. and large change) without getting multiple invalidates.
  3979. 2006-05-24 Chris Toshok <[email protected]>
  3980. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  3981. (Edit): save off the original state in oldState, and set
  3982. grid.is_editing to true.
  3983. (OnKeyDown): abort editing if escape is pressed. also, call
  3984. NextState if space is pressed.
  3985. (OnMouseDown): call NextState.
  3986. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  3987. here. Also, only invalidate the row header once (on the initial
  3988. is_changing switch) to save on redraws.
  3989. 2006-05-24 Chris Toshok <[email protected]>
  3990. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  3991. if the value in the cell is different than it was before. This
  3992. keeps us from triggering a layout when we move around a datarid
  3993. with a highlighted cell.
  3994. (Edit): suspend layout when creating/positining the text box, and
  3995. resume passing false so we don't ever actually re-layout.
  3996. (ReleaseHostedControl): same.
  3997. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  3998. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  3999. control-key sequences should go to the datagrid - remove that
  4000. lock. Also, modify the conditions under which we move between
  4001. cells when moving the cursor within a cell, and remove the "this"
  4002. and "base" from field accesses. We weren't even consistent, given
  4003. they all were in the base class.
  4004. 2006-05-24 Atsushi Enomoto <[email protected]>
  4005. * Binding.cs : (.ctor)
  4006. An obvious NRE fix for BindingTest.CtorNullTest().
  4007. 2006-05-23 Chris Toshok <[email protected]>
  4008. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  4009. them between lines. This fixes some quirks editing cells in the
  4010. datagrid.
  4011. 2006-05-23 Jackson Harper <[email protected]>
  4012. * TreeView.cs: Use begin/end update when doing expand/collapse all
  4013. so that we don't get flicker on the scrollbar.
  4014. 2006-05-23 Jackson Harper <[email protected]>
  4015. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  4016. treenode calculations to be independant of the painting code. To
  4017. do this nodes track a visible order which is calculated by the
  4018. treeview.
  4019. - Call new methods for expanding/collapsing nodes. These methods
  4020. use scrollwindow so we don't have to update everything below the
  4021. node.
  4022. * TreeView.cs: Refactored drawing and scrolling code. We don't
  4023. need to update nodes when drawing anymore or calculate scrollbar
  4024. stuff.
  4025. - Added new methods for expanding/collapsing nodes. These methods
  4026. use ScrollWindow so as to not have to redraw all the nodes below.
  4027. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  4028. we add/remove nodes or sort.
  4029. - Handle removing the selected and the top node properly.
  4030. 2006-05-23 Chris Toshok <[email protected]>
  4031. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  4032. maybe this should actually happen in the datagrid code?
  4033. (EndEdit): no need to invalidate anything, given that
  4034. ReleaseHostedControl causes the datagrid to relayout, which
  4035. invalidates everything anyway.
  4036. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  4037. in SetCurrentCell).
  4038. (set_SelectionBackColor): call InvalidateSelection instead of
  4039. Refresh.
  4040. (set_SelectionForeColor): same.
  4041. (BeginEdit): Flesh this out a bit.
  4042. (CancelEditing): only do any of this if we're editing/adding.
  4043. (EndEdit): same.
  4044. (OnMouseDown): there's no need to cancel editing here, it's done
  4045. in SetCurrentCell.
  4046. (SetCurrentCell): only invalidate the current row header if it's a
  4047. different row than the new one.
  4048. (ShiftSelection): fix this to work like MS does.
  4049. (ResetSelection): factor out the invalidation of selected_rows to
  4050. InvalidateSelection.
  4051. (SetDataSource): cancel any editing that's going on.
  4052. * DataGridColumnStyle.cs
  4053. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  4054. call the non-interface version.
  4055. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  4056. header rectangle with the clip rectangle so we don't redraw the
  4057. entire header for just a small area. Gets rid of the last flicker
  4058. when horizontally scrolling.
  4059. (DataGridPaintRow): same.
  4060. 2006-05-23 Mike Kestner <[email protected]>
  4061. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  4062. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  4063. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  4064. Critical bug report.
  4065. 2006-05-23 Peter Dennis Bartok <[email protected]>
  4066. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  4067. and this fixes #78493
  4068. 2006-05-23 Miguel de Icaza <[email protected]>
  4069. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  4070. size is not found.
  4071. * FileDialog.cs: Do not change the background for the side bar as
  4072. it wont work nicely with the theme, and also reduces the artifacts
  4073. in rendering the icons (which I want to fix too).
  4074. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  4075. resources, not resgen resources.
  4076. (PlatformDefaultHandler): Pull images using the new API.
  4077. 2006-05-23 Peter Dennis Bartok <[email protected]>
  4078. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  4079. a reference to the hwnd and will not remove it unless there are
  4080. no pending exposures (fixes #78341)
  4081. * XplatUI.cs: Improved debug
  4082. 2006-05-23 Atsushi Enomoto <[email protected]>
  4083. * MenuAPI.cs : don't handle OnClick event when it was not the left
  4084. button. Fixed bug #78487.
  4085. 2006-05-23 Mike Kestner <[email protected]>
  4086. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  4087. prefer submenus to the top menu for item lookup, to avoid popping down
  4088. top-row items.
  4089. 2006-05-23 Alexander Olk <[email protected]>
  4090. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  4091. Graphics.FillRectangle as the visual results are really bad (even
  4092. on win). We now draw perfect arrows (and perfect shadows when the
  4093. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  4094. Pen.DashPattern to draw the dots of each line.
  4095. 2006-05-22 Alexander Olk <[email protected]>
  4096. * FileDialog.cs: Update the filename combobox when navigating through
  4097. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  4098. 2006-05-22 Mike Kestner <[email protected]>
  4099. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  4100. Fixes #78463.
  4101. 2006-05-22 Mike Kestner <[email protected]>
  4102. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  4103. requests. Fix a misspelled parameter and a copy paste exception error
  4104. in Select.
  4105. 2006-05-22 Peter Dennis Bartok <[email protected]>
  4106. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  4107. to get the same width/height (5/13) on X11 as the default font has on
  4108. win32. This means that our DefaultFont emSize is smaller than the
  4109. the MS SWF equivalent (even thought the width/height stays the same)
  4110. 2006-05-20 Jackson Harper <[email protected]>
  4111. * MdiClient.cs:
  4112. * MdiWindowManager.cs:
  4113. * InternalWindowManager.cs: Make sure to use the border width from
  4114. the theme.
  4115. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  4116. * PrintDialog.cs: Implements printer details
  4117. 2006-05-19 Alexander Olk <[email protected]>
  4118. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  4119. Fixes part 1 and 2 of bug #78446
  4120. 2006-05-19 Peter Dennis Bartok <[email protected]>
  4121. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  4122. instead of sticking to the first ever calculated value
  4123. 2006-05-19 Mike Kestner <[email protected]>
  4124. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  4125. PointToClient, since Capture is set. Fixes #78344.
  4126. 2006-05-19 Mike Kestner <[email protected]>
  4127. * ListView.cs: match MS behavior in Details view where items are not
  4128. drawn if Columns.Count == 0.
  4129. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  4130. Use a separate pen to draw the check, since changing the width affects
  4131. the box as well. Fixes #78454.
  4132. 2006-05-18 Miguel de Icaza <[email protected]>
  4133. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  4134. exception should throw the name of the invalid argument.
  4135. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  4136. there are no files listed.
  4137. 2006-05-18 Jackson Harper <[email protected]>
  4138. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  4139. up.
  4140. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4141. * Control.cs: Brought back our old UpdateZOrder method as a private
  4142. function and switched our calls from UpdateZOrder to the new one.
  4143. This fixes the Paint.Net canvas disappearing bug.
  4144. 2006-05-18 Jackson Harper <[email protected]>
  4145. * Theme.cs:
  4146. * ThemeWin32Classic.cs:
  4147. * InternalWindowManager.cs: Move the drawing into the theme,
  4148. expose everything the theme should need from the window manager.
  4149. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4150. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  4151. from the call to NativeWindow to avoid walking up the parent chain
  4152. further than needed (speeds up setting cursors and avoids setting
  4153. the wrong cursor if a parent has another cursor defined)
  4154. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  4155. the icon as hotspot, not what's contained as hotspot in the icon
  4156. file. This fixes the perceived drawing offset seen with Paint.Net
  4157. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4158. * XplatUIX11.cs:
  4159. - Store the calculated rectangle in Hwnd object and use it when
  4160. setting the client size
  4161. - Force Toolwindows to always be type Dock, to ensure they're on top
  4162. 2006-05-18 Mike Kestner <[email protected]>
  4163. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  4164. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  4165. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  4166. Substantial refactoring to remove confusing nested classes. Coding
  4167. standard and Get+Set->property refactorings. Shift to index based
  4168. highlighting in ComboListBox instead of constantly using IndexOf and
  4169. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  4170. in FileDialog growth. Draw borders manually since Simple mode needs
  4171. to look like two independent controls. Make listbox border
  4172. conditional to DropDownStyle. Improved OwnerDraw support.
  4173. 2006-05-18 Sebastien Pouliot <[email protected]>
  4174. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  4175. Don't set the disposed graphics to null, so we can throw the "right"
  4176. exception if the graphics is reused later (added a flag to avoid
  4177. double disposing). Some behaviours are different under 2.0 and are
  4178. filled under bug #78448.
  4179. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4180. * Control.cs: When double-buffering is enabled, we need to reset
  4181. our graphics context between paint calls. Otherwise, any
  4182. transformations and other alterations on the context will
  4183. become cumulative (#77734)
  4184. 2006-05-18 Mike Kestner <[email protected]>
  4185. * ListView.cs: do focused item selection like MS on clicks.
  4186. Rework focus handling for ItemControl so LostFocus invalidates as
  4187. well.
  4188. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  4189. the ListView ItemControl has focus.
  4190. 2006-05-17 Peter Dennis Bartok <[email protected]>
  4191. * XplatUIX11.cs: If client_window ends up being width or height zero
  4192. due to border settings, move it off window inside whole_window (#78433)
  4193. 2006-05-17 Alexander Olk <[email protected]>
  4194. * Mime.cs: Shrink the mime file cache correctly.
  4195. 2006-05-17 Alexander Olk <[email protected]>
  4196. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  4197. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4198. * XplatUIX11.cs (AddExpose): More sanity checks
  4199. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4200. * XplatUIX11.cs:
  4201. - AddExpose: Don't add expose ranges outside the size of our
  4202. window
  4203. - Cast opacity values to Int32 to avoid crashes with certain
  4204. values
  4205. - Added disabled code paths that protect against illegal cross-
  4206. thread painting (Developers.exe)
  4207. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4208. * ProgressBar.cs: Invalidate the control when it's resized
  4209. since block size is based on control size. (#78388)
  4210. 2006-05-16 Miguel de Icaza <[email protected]>
  4211. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  4212. of setting the incoming argument to the "reset" value, we set the
  4213. this.datamember to string.empty (before we were invalidating the
  4214. incoming data).
  4215. Fixes 78420
  4216. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4217. * Form.cs: Only apply transparency settings after the form
  4218. is created. (Fixes #77800)
  4219. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4220. * ApplicationContext.cs: Grab the HandleDestroyed event so
  4221. we know when to fire OnMainFormClosed
  4222. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4223. * Application.cs: Introduced sub-class to allow tracking of
  4224. threads and centralized triggering of the event mess for
  4225. ThreadExit, AppExit, etc.. (#76156)
  4226. 2006-05-16 Alexander Olk <[email protected]>
  4227. * MimeIcon.cs:
  4228. - Do not return a null icon index value for a mime subclass.
  4229. Instead try the main mime type class too.
  4230. - Seems that some newer distributions don't have a link to some
  4231. gnome default icons anymore. So check the default gnome dir too.
  4232. 2006-05-16 Jackson Harper <[email protected]>
  4233. * MdiClient.cs: Don't paint the parent background image if we have
  4234. our own background image.
  4235. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4236. * Control.cs:
  4237. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  4238. controls, all filled controls are supposed to overlap (#78080)
  4239. - UpdateZOrder is supposed to update the control's z-order in the
  4240. parent's z-order chain. Fixed to behave like that
  4241. - BringToFront: Removed obsolete code
  4242. - SendToBack: Simplyfied
  4243. - SetChildIndex: Trigger layout calculations when Z-order changes
  4244. since layout is done by z-order
  4245. 2006-05-16 Chris Toshok <[email protected]>
  4246. [ fixes bug #78410 ]
  4247. * DataGrid.cs (set_AlternatingBackColor): use
  4248. grid_drawing.InvalidateCells instead of Refresh().
  4249. (set_BackColor): call grid_drawing.InvalidateCells.
  4250. (set_BackgroundColor): use Invalidate instead of Refresh.
  4251. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  4252. invalidate the cell area.
  4253. 2006-05-15 Chris Toshok <[email protected]>
  4254. [ fixes bug #78011 ]
  4255. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  4256. on to DataGridPaintRow.
  4257. (DataGridPaintRow): take a clip argument, and only draw the cells
  4258. which intersect it. same with the not_usedarea.
  4259. * Theme.cs (DataGridPaintRow) add @clip parameter.
  4260. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  4261. XplatUI.ScrollWindow.
  4262. (ScrollToRow): same.
  4263. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  4264. with last column which was causing a gray swath to appear with the
  4265. XplatUI.ScrollWindow code.
  4266. 2006-05-15 Chris Toshok <[email protected]>
  4267. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  4268. use XplatUI.ScrollWindow.
  4269. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  4270. 2006-05-15 Peter Dennis Bartok <[email protected]>
  4271. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  4272. 2006-05-15 Peter Dennis Bartok <[email protected]>
  4273. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  4274. file since there are no equivalent X11 cursors
  4275. 2006-05-15 Atsushi Enomoto <[email protected]>
  4276. * MonthCalendar.cs : DateTimePicker should reflect selected date
  4277. on mouse*up*, not mouse*down*. Fixed originally reported part of
  4278. bug #76474.
  4279. 2006-05-15 Atsushi Enomoto <[email protected]>
  4280. * TabControl.cs : When argument index is equal or more than tab
  4281. count, just ignore. Fixed bug #78395.
  4282. 2006-05-15 Peter Dennis Bartok <[email protected]>
  4283. * Control.cs: Dispose all child controls when control is diposed (#78394)
  4284. 2006-05-14 Alexander Olk <[email protected]>
  4285. * ColorDialog.cs: Finally it is possible to select the color with
  4286. the text boxes
  4287. 2006-05-14 Alexander Olk <[email protected]>
  4288. * PrintDialog.cs: Fix typo
  4289. 2006-05-14 Alexander Olk <[email protected]>
  4290. * PrintDialog.cs: PrintDialog is not resizable
  4291. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  4292. color. Made some ToolBar drawing methods protected virtual.
  4293. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  4294. * PrintDialog.cs: Implementation of the PrintDialog
  4295. 2006-05-12 Chris Toshok <[email protected]>
  4296. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  4297. thumb, instead use MoveThumb. This has the side effect of making
  4298. most of the other thumb moving machinery use MoveThumb as well.
  4299. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  4300. need to actually invalidate the rectangle where the new thumb will
  4301. go.
  4302. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  4303. We force an Update() after, so it's not as fast as it could be,
  4304. but at least there's zero flicker and no droppings.
  4305. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  4306. (UpdateThumbPos): add another argument (dirty), which says whether
  4307. or not to calculate/add dirty regions which we later invalidate.
  4308. For cases where we know we're going to use MoveThumb, we pass
  4309. false for this. Otherwise, pass true.
  4310. 2006-05-12 Jackson Harper <[email protected]>
  4311. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  4312. the status bar.
  4313. 2006-05-12 Peter Dennis Bartok <[email protected]>
  4314. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  4315. and GetClipRegion methods and UserClipWontExposeParent property.
  4316. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  4317. overriding UserClipWontExposeParent property, setting to false, since
  4318. Win32 handles the required expose messages to draw our clipped parent
  4319. areas internally
  4320. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  4321. PaintEventStart to set the user clip region if set.
  4322. * Control.cs:
  4323. - Now internally tracking the Region for the control since we need to
  4324. store it if the handle is not yet created and only set it when it
  4325. becomes created. Before setting the region forced handle creation
  4326. - Added code to draw the parents underneath a user-clipped region
  4327. * Hwnd.cs: Added UserClip property
  4328. 2006-05-12 Chris Toshok <[email protected]>
  4329. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  4330. (set_Maximum): same.
  4331. (set_Minimum): same.
  4332. (set_SmallChange): same.
  4333. (OnMouseUpSB): remove the call to refresh when releasing the
  4334. thumb. We shouldn't need it.
  4335. 2006-05-12 Miguel de Icaza <[email protected]>
  4336. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  4337. AutoSize set to None, we do not need to relayout everything, we
  4338. just need to invalidate the current region.
  4339. (Draw): Do not draw the entire ClientArea, just redraw the
  4340. clip area being passed.
  4341. * MdiClient.cs: Make MdiClient constructor with the Form argument
  4342. internal.
  4343. 2006-05-12 Jackson Harper <[email protected]>
  4344. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  4345. parents background image, but strangely not their own.
  4346. - (DrawStatusBarPanel): Take into account horizontal alignment
  4347. when drawing the strings and icons.
  4348. 2006-05-12 Mike Kestner <[email protected]>
  4349. * ListBox.cs: avoid invalidations for focus when the collection is
  4350. empty.
  4351. 2006-05-12 Chris Toshok <[email protected]>
  4352. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  4353. invalidate the entire thumb area. Call InvalidateDirty which
  4354. limits the redraw to the thumb itself and surrounding pixels.
  4355. * XplatUIX11.cs (ScrollWindow): optimize copying.
  4356. 2006-05-12 Chris Toshok <[email protected]>
  4357. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  4358. Figure out the positioning/layout in a single pass instead of
  4359. multiple recursive invocations. Speeds up the initial display of
  4360. the data grid. Also, make many things private that were
  4361. originally public but unused outside this class.
  4362. 2006-05-11 Jackson Harper <[email protected]>
  4363. * MdiClient.cs: Improved layout code.
  4364. 2006-05-11 Jonathan Chambers <[email protected]>
  4365. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  4366. not SelectedObject.
  4367. 2006-05-11 Chris Toshok <[email protected]>
  4368. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  4369. union of that will always be {0,0,width,height}.
  4370. 2006-05-11 Jackson Harper <[email protected]>
  4371. * Form.cs: Match MS's DefaultSize for forms (they must have
  4372. changed the size in sp2).
  4373. 2006-05-11 Atsushi Enomoto <[email protected]>
  4374. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  4375. 2006-05-11 Atsushi Enomoto <[email protected]>
  4376. * TextControl.cs : Fixed bug #78109. This incorrect position
  4377. comparison caused crash on automatic line split.
  4378. * TextBoxBase.cs : reduce duplicate code.
  4379. 2006-05-10 Jackson Harper <[email protected]>
  4380. * MdiClient.cs: Active form is only sent to the back when using
  4381. the Next form functionality, when a form is clicked the current
  4382. active shouldn't be sent to the back.
  4383. - Layout the mdi windows when the container is first made visible.
  4384. * Form.cs: Give the MdiClient a ref to the containing form when we
  4385. create it.
  4386. 2006-05-10 Atsushi Enomoto <[email protected]>
  4387. * LinkLabel.cs : link_font could be uninitialized, so populate one
  4388. before actual use. Fixed bug #78340.
  4389. 2006-05-10 Atsushi Enomoto <[email protected]>
  4390. * XplatUIX11.cs : clipboard format native value is IntPtr.
  4391. Fixed bug #78283.
  4392. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4393. * Control.cs:
  4394. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  4395. which is passed up the parent chain by DefWndProc
  4396. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  4397. to DefWndProc (#77956)
  4398. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  4399. 2006-05-10 Jackson Harper <[email protected]>
  4400. * MdiClient.cs: We need to remove the controls from the mdi
  4401. collection, when we close the window.
  4402. * MdiWindowManager.cs: Special handling of closing mdi windows.
  4403. * InternalWindowManager.cs: Make the close method virtual so the
  4404. mdi window manager can handle it specially.
  4405. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  4406. * DataGrid.cs:
  4407. - Recalculate grid when the data source has changed
  4408. - Matches styles provided by user from all data sources types
  4409. * DataGridTableStyle.cs: For columns that provided by the user set the
  4410. with the preferred value is there was unassigned.
  4411. * CurrencyManager.cs: throw OnItemChanged event
  4412. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4413. * PictureBox.cs: Don't animate until handle is created. Start animation
  4414. when handle is created.
  4415. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4416. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  4417. current codebase.
  4418. * XEventQueue.cs: We don't need to provide the extra info
  4419. 2006-05-10 Jackson Harper <[email protected]>
  4420. * MdiClient.cs: If the mdi clients parent form has a background
  4421. image set, we draw that background image for the mdi area's
  4422. background.
  4423. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4424. * TextBoxBase.cs: Set IBeam cursor (#78347)
  4425. 2006-05-10 Mike Kestner <[email protected]>
  4426. * ToolBar.cs: fix some text padding issues with ButtonSize
  4427. calculation. Update the default size to match MS documentation.
  4428. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  4429. button size. Fixes #78296.
  4430. 2006-05-10 Mike Kestner <[email protected]>
  4431. * ListBox.cs: use is_visible for scrollbar positioning in case the
  4432. control isn't on screen yet. Fix off by one with Right vs Width
  4433. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  4434. 2006-05-10 Jackson Harper <[email protected]>
  4435. * X11Dnd.cs: Drop to a control with another control on top of it.
  4436. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  4437. be modified in click handlers. TODO: Look for similar problems in
  4438. other controls.
  4439. 2006-05-09 Jackson Harper <[email protected]>
  4440. * Form.cs: Window managers need the old window state when setting
  4441. window state now.
  4442. * InternalWindowManager.cs: Allow the base mdi window manager to
  4443. handle more of the MDI only stuff (like maximize buttons).
  4444. * MdiWindowManager.cs: Fix some snafus in changing the window
  4445. state. Add all the menu functionality, for both popup and
  4446. maximized menus.
  4447. * MdiClient.cs: When a new form is selected the currently
  4448. activated form is sent to the back, this matches MS.
  4449. - Implement a new method to activate the next mdi child window.
  4450. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4451. * Control.cs:
  4452. - Added new InternalCapture method to allow controls to prevent
  4453. the capture behaviour on the click handlers
  4454. - Switched to use InternalCapture
  4455. * ComboBox.cs:
  4456. - Using InternalCapture to prevent mouse captures from being released
  4457. on mouse button release (Fixes #78100)
  4458. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  4459. returns Form borders if a caption is present. (Fixes #78310)
  4460. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4461. * TreeNode.cs: Changed serialization .ctor to not require every field
  4462. to be present. (#78265)
  4463. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  4464. 2006-05-05 Alexander Olk <[email protected]>
  4465. * MimeIcon.cs: for is faster than foreach for strings.
  4466. 2006-05-05 Mike Kestner <[email protected]>
  4467. * CheckedListBox.cs: update check handling code to not use selected.
  4468. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  4469. behavior for visual feedback, motion response, shift/ctrl handling,
  4470. and properly deal with all 4 selection modes. Updates to bounds
  4471. handling logic. Add scroll wheel support. [Fixes #77842]
  4472. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4473. * ListView.cs:
  4474. - Moved adding of Implicit controls into .ctor. That way, subsequent
  4475. creation of the controls will not cause them to think they are
  4476. toplevel windows (fixes #78200 header problem)
  4477. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  4478. - Switched visibility setting of header control to use internal field
  4479. to avoid triggering handle creation
  4480. - Now checking if handle is created before causing a refresh when items
  4481. are added (This makes us now match handle creation time with MS)
  4482. * Splitter.cs: Removed loading of private splitter cursor, switched to
  4483. Cursors version now that that is loading the right ones
  4484. * Cursors.cs: Load proper splitter cursors from resources
  4485. * Cursor.cs: Added second method of loading resource cursors for the
  4486. VS.Net users amongst us
  4487. 2006-05-05 Mike Kestner <[email protected]>
  4488. * ListView.cs: give header_control a minimum size based on the
  4489. ListView size.
  4490. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4491. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  4492. window seems to do that with metacity, so set that type. (#78120)
  4493. 2006-05-05 Mike Kestner <[email protected]>
  4494. * ListViewItem.cs: fix Details mode checkbox layout bug.
  4495. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  4496. at the end of the header, if it exists. [Fixes for #78200]
  4497. 2006-05-04 Jackson Harper <[email protected]>
  4498. * MdiClient.cs: Add a helper property to get the container form.
  4499. * MdiWindowManager.cs: We have to make sure to use the menu origin
  4500. when drawing the icons and buttons, this fixes maximized window
  4501. icons/buttons on win32.
  4502. * InternalWindowManager.cs: Reset the restore captions when a
  4503. window goes from Maximized to Minimized and vice versa. Move the
  4504. DrawMaximizedButtons into the MdiWindowManager source, tool
  4505. windows can't be maximized. NOTE: This could use a little
  4506. refactoring if time ever permits.
  4507. 2006-05-03 Jonathan Chambers <[email protected]>
  4508. * TextBox.cs: Add MWFCategoryAttributes
  4509. * TextBoxBase.cs: Add MWFCategoryAttributes
  4510. * Form.cs: Add MWFCategoryAttributes
  4511. 2006-05-03 Jonathan Chambers <[email protected]>
  4512. * Control.cs: Add MWFCategoryAttributes
  4513. * ScrollableControl.cs: Add MWFCategoryAttributes
  4514. 2006-05-03 Alexander Olk <[email protected]>
  4515. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  4516. Divider is true. Fix a little glitch in PropertyToolBar
  4517. drawing code
  4518. 2006-05-02 Peter Dennis Bartok <[email protected]>
  4519. * Control.cs:
  4520. - Dispose: Call base.Dispose, this causes the disposed event
  4521. to be fired (and probably other, more important stuff)
  4522. - SetVisibleCore: Set is_visible to true after creating the
  4523. window so that the window still gets created invisible (if
  4524. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  4525. to generate a WM_ACTIVE message
  4526. * Form.cs: Call Dispose when we want to destroy the window, instead of
  4527. just destroying the handle (Dispose will do that for us)
  4528. * XplatUIX11.cs:
  4529. - RootWindow also needs a queue, so we can properly process the
  4530. property change events from RootWindow (like Activate)
  4531. - Generatic synthetic WM_ACTIVE message when the active window is
  4532. being destroyed
  4533. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4534. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  4535. bounds are changed
  4536. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4537. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  4538. for determining width and height (image might not be assigned if
  4539. we're drawing an imagelist)
  4540. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4541. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  4542. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  4543. height from system
  4544. * Theme.cs: No longer returns hardcoded menu height, instead calls
  4545. new driver method
  4546. * Form.cs (OnLoad): Scaling happens before triggering Load events
  4547. on MS (# 78257)
  4548. 2006-05-01 Mike Kestner <[email protected]>
  4549. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  4550. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4551. * TextBoxBase.cs: Removed Fixme
  4552. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  4553. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4554. * XplatUIX11.cs:
  4555. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  4556. the rectangle relative to the parent, considering borders. We
  4557. don't really want that.
  4558. - ScrollWindow: Fixed warning to be more understandable
  4559. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  4560. scrollbars and scroll only the visible area
  4561. * RichTextBox.cs: Removed debug output
  4562. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4563. * NumericUpDown.cs (Text): Just use base
  4564. * UpDownBase.cs: Ensure txtView is created before using it
  4565. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4566. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  4567. casting to IntPtr to avoid 64bit overflow errors
  4568. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4569. * Control.cs:
  4570. - AllowDrop: Don't force handle creation.
  4571. - CreateHandle: Added call to tell driver if we're allowed to drop
  4572. 2006-04-27 Alexander Olk <[email protected]>
  4573. * FileDialog.cs: Remember the last directory not only for the
  4574. current instance but also for new FileDialog instances.
  4575. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4576. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  4577. broke sending async messages
  4578. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4579. * XplatUIX11.cs:
  4580. - ScrollWindow: Fixed method. We finally generate expose events again
  4581. for scrolled areas. This was causing 'garbage' when scrolling
  4582. textbox and other controls that used ScrollWindow
  4583. - Switched from using the regular queue for paint events to the MS
  4584. model of 'generating' paint events when the queue is empty.
  4585. We use the new XQueueEvent.Paint subclass to store which windows
  4586. need painting.
  4587. - AddExpose now takes the x/y/width/height of the exposed area
  4588. and inserts the window into the paint queue if not already there
  4589. - InvalidateWholeWindow: Switched to use new AddExpose method
  4590. - UpdateMessageQueue: Added which queue to monitor for paint events
  4591. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  4592. the unlikely case nothing above handles it. We reset the expose
  4593. pending states to get them off the queue.
  4594. - GetMessage: Now pulls a paint event if no other events are in the
  4595. queue
  4596. - Invalidate: Switched to new AddExpose method
  4597. - PeekMessage: Updated to understand pending paint events
  4598. - UpdateWindow: Fixed logic bug. We were only updating if the window
  4599. didn't need updating. Also switched to sending WM_PAINT directly,
  4600. like MS does.
  4601. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  4602. and random access Remove(). The random access is needed to handle
  4603. UpdateWindow() where a WM_PAINT is sent directly without accessing
  4604. the queue.
  4605. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  4606. allow for better feedback when scrolling. Scrollbars are small and
  4607. the immediate update should make it 'feel' more responsive without
  4608. slowing things down. ScrollBar still needs it's invaliate logic
  4609. updated to not always invalidate the whole bar on certain changes.
  4610. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  4611. * Control.cs:
  4612. (BackColor): if the control does not support a transparent background,
  4613. return the default backcolor when the parent backcolor is transparent.
  4614. 2006-04-28 Peter Dennis Bartok <[email protected]>
  4615. * Application.cs: Updated to new StartLoop/GetMessage API
  4616. * RichTextBox.cs: Provide some output on RTF parsing errors
  4617. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  4618. new queue_id argument to GetMessage and PeekMessage to allow faster
  4619. handling of per-thread queues in drivers.
  4620. * Hwnd.cs: Added Queue tracking and property
  4621. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  4622. * XEventQueue.cs: Added thread trackingA
  4623. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  4624. * XplatUIX11.cs:
  4625. - Implemented new per-thread queue
  4626. - GetMessage: Fixed return/break behaviour on several cases. We were
  4627. returning stale messages in some cases, instead of just processing
  4628. the next message
  4629. 2006-04-27 Jonathan Chambers <[email protected]>
  4630. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  4631. 2006-04-27 Peter Dennis Bartok <[email protected]>
  4632. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  4633. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  4634. 2006-04-27 Jonathan Chambers <[email protected]>
  4635. * PropertyGridView.cs: Fix drop down width.
  4636. 2006-04-27 Alexander Olk <[email protected]>
  4637. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  4638. a mess in DrawToolBar, so I removed one of them.
  4639. 2006-04-27 Alexander Olk <[email protected]>
  4640. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  4641. needed (clip). Otherwise we get artifacts.
  4642. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4643. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  4644. dimension is fixed
  4645. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  4646. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  4647. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  4648. if it matches the scale base font (avoids unneeded scaling)
  4649. 2006-04-26 Alexander Olk <[email protected]>
  4650. * X11DesktopColors.cs: One gtk_init_check should be enough
  4651. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4652. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  4653. match MS behaviour
  4654. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4655. * TextBoxBase.cs:
  4656. - Generate OnTextChanged for Backspace even if we're only deleting
  4657. the current selection
  4658. - When setting the Text property, only select all text if the
  4659. control does not have focus when it is being set. Otherwise
  4660. just place the cursor at the beginning of the control
  4661. 2006-04-26 Alexander Olk <[email protected]>
  4662. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  4663. Added a little helper to draw PropertyGrid ToolBar with a different
  4664. border and a different BackColor.
  4665. * PropertyGrid.cs: Some background parts didn't get painted with the
  4666. correct background color. Added a class that helps us to draw the
  4667. correct border for PropertyGridView and a class that helps us to
  4668. draw ToolBars with a different backcolor
  4669. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  4670. 2006-04-25 Jonathan Chambers <[email protected]>
  4671. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  4672. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  4673. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4674. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  4675. into the palette entries. Also, since we're working on a copy
  4676. we needed to copy the palette back onto the bitmap.
  4677. * Cursor.cs: Same fix as XplatUIWin32.cs.
  4678. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4679. * ImageListStreamer.cs: Need to read the var (or we're off)
  4680. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4681. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  4682. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  4683. TextBoxBase.cs: Unused var fixes
  4684. * AxHost.cs: Small 2.0 fix
  4685. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  4686. as it seems that is what at least Metacity expects. This will make
  4687. icons show up on 64bit platforms. We still have some 64bit size
  4688. issues, though, since the startup app window size still won't match.
  4689. 2006-04-25 Mike Kestner <[email protected]>
  4690. * *.cs: cleanup newly reported exception var unused warnings.
  4691. 2006-04-25 Alexander Olk <[email protected]>
  4692. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  4693. ms
  4694. 2006-04-25 Alexander Olk <[email protected]>
  4695. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  4696. image. The image position is always the same, no matter if the
  4697. button is pressed or not.
  4698. 2006-04-25 Alexander Olk <[email protected]>
  4699. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  4700. selection and set the correct filename for SaveFileDialog.
  4701. Patch by Emery Conrad.
  4702. 2006-04-24 Mike Kestner <[email protected]>
  4703. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  4704. check for item.X outside the ClientRect instead of item.Y. Fixes
  4705. #78151.
  4706. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4707. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  4708. trust that value blindly and do some sanity check. Fixes bug #77814.
  4709. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4710. * ImageListStreamer.cs: save the mask as a 1bpp image.
  4711. 2006-04-21 Mike Kestner <[email protected]>
  4712. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  4713. pass Checked and Indeterminate to the Theme Engine. Improve
  4714. encapsulation with ListBox.
  4715. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  4716. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  4717. nested types. Move all CheckState functionality to CheckedListBox.
  4718. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  4719. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  4720. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  4721. single base list. Fix scrollbar sizing and placement to mirror MS.
  4722. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  4723. used.
  4724. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  4725. for CheckedListBox by using new DrawItemState info. Center the
  4726. checkboxes on the items. Use new StringFormat property.
  4727. 2006-04-18 Jackson Harper <[email protected]>
  4728. * Form.cs: MdiChildren don't do default locations the same way as
  4729. regular forms. This prevents a crash when trying to position the
  4730. mdi windows.
  4731. 2006-04-17 Jonathan Chambers <[email protected]>
  4732. * PropertyGridTextBox.cs: Formatting, copyright
  4733. * PropertiesTab.cs: Formatting
  4734. * PropertyGrid.cs: Formatting
  4735. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  4736. click toggling of values
  4737. 2006-04-17 Peter Dennis Bartok <[email protected]>
  4738. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  4739. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  4740. every time a control is created
  4741. * Application.cs: Removed obsolete EnableRTLMirroring method
  4742. 2006-04-18 Gert Driesen <[email protected]>
  4743. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  4744. SelectedIndex to -1. Fixes bug #78121.
  4745. 2006-04-17 Jackson Harper <[email protected]>
  4746. * Binding.cs: Handle null values for Current and BindingContext.
  4747. This occurs when binding is a little delayed.
  4748. * CurrencyManager.cs: return null for Current when there are no
  4749. items in the list.
  4750. - Hookup to the listchanged event on the DataView and update
  4751. bindings when the list is changed. This fixes late binding of
  4752. controls.
  4753. 2006-04-17 Jackson Harper <[email protected]>
  4754. * X11Dnd.cs:
  4755. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  4756. Ringenbach.
  4757. 2006-04-15 Alexander Olk <[email protected]>
  4758. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  4759. place
  4760. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  4761. with the correct ButtonState
  4762. 2006-04-14 Peter Dennis Bartok <[email protected]>
  4763. * XplatUIX11.cs: Improved distinguishing between window types to
  4764. tell the WM a type closer to what the app wants (Fixes #78107)
  4765. 2006-04-14 Alexander Olk <[email protected]>
  4766. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  4767. GrabHandle
  4768. 2006-04-14 Alexander Olk <[email protected]>
  4769. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  4770. drawing code to reflect the size grip changes
  4771. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  4772. * ImageListStreamer.cs: fix handling of the mask that follows the main
  4773. bitmap when deserializing and serialize it properly. The generated mask
  4774. should better be a 1bpp image, but I'll do that later.
  4775. 2006-04-13 Alexander Olk <[email protected]>
  4776. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  4777. path doesn't fit into some of our Current.Places
  4778. 2006-04-13 Jackson Harper <[email protected]>
  4779. * ComboBox.cs: Use borders instead of drawing our own decorations,
  4780. try to obey correct rules for heights.
  4781. * Theme.cs:
  4782. * ThemeNice.cs:
  4783. * ThemeClearLooks.cs:
  4784. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  4785. this is now handled by borders.
  4786. - Remove unused DrawListBoxDecorationSize method.
  4787. 2006-04-13 Mike Kestner <[email protected]>
  4788. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  4789. reported by Alex.
  4790. 2006-04-13 Alexander Olk <[email protected]>
  4791. * ThemeWin32Classic.cs:
  4792. - Fixed CPDrawStringDisabled
  4793. - Corrected drawing of disabled menu items
  4794. - Fixed drawing of disabled radio buttons (bug #78095)
  4795. - Draw check in a disabled CheckBox with color ControlDark
  4796. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4797. * Form.cs: Use the provided width when calculating the menu size;
  4798. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  4799. and ClientSize.Width won't be updated yet
  4800. * Application.cs: Use Visible instead of Show() to make form visible,
  4801. this way we create the handle later and menusize is considered
  4802. 2006-04-12 Mike Kestner <[email protected]>
  4803. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  4804. reporting.
  4805. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4806. * TextBox.cs: Implemented context menu
  4807. 2006-04-12 Mike Kestner <[email protected]>
  4808. * ListView.cs: implement box selection. fixes #77838.
  4809. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  4810. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4811. * XplatUIX11.cs: Added setting of window type when transient window
  4812. is created (metacity would move it otherwise)
  4813. * X11Structs.cs: Added WINDOW_TYPE atoms
  4814. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  4815. background (the control is Opaque but still wants transparent
  4816. backgrounds)
  4817. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4818. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  4819. that set Opaque but don't mean it (like all ButtonBase-derived
  4820. controls) to still draw their background
  4821. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  4822. the background
  4823. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4824. * Control.cs (PaintControlBackground): Set the graphics object
  4825. on our PaintEvent to null to prevent it from being disposed
  4826. when the PaintEvent gets disposed
  4827. 2006-04-12 Alexander Olk <[email protected]>
  4828. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  4829. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  4830. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4831. * Control.cs:
  4832. - Added transparency check to BackColor property. Transparent
  4833. backgrounds are only allowed if the control styles permit it
  4834. - Added recursive painting of parent control background and
  4835. foreground if a control with a transparent backcolor is drawn
  4836. (Thanks to Tim Ringenback for providing his 'hack' as a base
  4837. for this patch) Fixes #77985 and #78026.
  4838. - Added Opaque style check before calling OnPaintBackground, no
  4839. need to draw the background if the control is opaque
  4840. - Removed ControlAccessibleObject owner variable (inherited from
  4841. base, no need to define again)
  4842. - Added some documentation links explaining the drawing events
  4843. and styles
  4844. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4845. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  4846. that the affected control is the located at the left border of our
  4847. parent (Fixes #77936)
  4848. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4849. * TextBoxBase.cs: When rendering disabled or readonly controls,
  4850. draw the background with 'Control' instead of 'Window' color as
  4851. long as the user hasn't specifically set a color
  4852. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4853. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  4854. since that won't be updated if the user types text (only if it's
  4855. programatically set)
  4856. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4857. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  4858. layout changes do to app-triggered resizes will have the proper
  4859. display rectangle for layout
  4860. 2006-04-11 Alexander Olk <[email protected]>
  4861. * ThemeWin32Classic.cs:
  4862. - Make use of the SystemBrushes and SystemPens wherever possible
  4863. - Corrected some highlight colors
  4864. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  4865. drawing
  4866. * Theme.cs: Added Empty field to CPColor struct
  4867. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4868. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  4869. is displayed when calculating the display rectangle. Thanks to Mike
  4870. for teaching me the err of my ways.
  4871. 2006-04-10 Peter Dennis Bartok <[email protected]>
  4872. * ScrollableControl.cs:
  4873. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  4874. (instead of 0,0) and we now return the real width/height instead of
  4875. just the clientrectangle, adjusted for padding. The rectangle is
  4876. now cached and created by the new CalculateDisplayRectangle method.
  4877. - Created new CalculateDisplayRectange method, which basically does
  4878. what get_DisplayRectangle() did originally, but now using the
  4879. right edge instead of DisplayRectangle to determine the size of
  4880. our scrollbars
  4881. - get_Canvas(): Fixed it to properly calculate canvas for
  4882. right/bottom controls which seem to be placed to the right/bottom
  4883. of any controls that have a fixed location
  4884. - Removed TODO that's taken care of
  4885. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  4886. and SetDisplayRectLocation according to new MSDN2 docs
  4887. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  4888. event when that is called, this is added for compatibility
  4889. - ScrollControlIntoView(): Implemented.
  4890. - Switched scrollbars to be implicit, they shouldn't be selectable
  4891. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  4892. call it when the active control is set/changed
  4893. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  4894. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  4895. implicit_control variable (used for native Win32 message generation)
  4896. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  4897. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  4898. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  4899. * XplatUIStructs.cs: Added ScrollBarCommands enum
  4900. 2006-04-10 Jackson Harper <[email protected]>
  4901. * ButtonBase.cs:
  4902. * CheckedListBox.cs:
  4903. * ComboBox.cs:
  4904. * DataGrid.cs:
  4905. * DataGridView.cs:
  4906. * Form.cs:
  4907. * GroupBox.cs:
  4908. * ListBox.cs:
  4909. * PrintPreviewControl.cs:
  4910. * ProgressBar.cs:
  4911. * PropertyGrid.cs:
  4912. * Splitter.cs:
  4913. * StatusBar.cs:
  4914. * TrackBar.cs:
  4915. * UpDownBase.cs: Fixup base event overrides.
  4916. 2006-04-06 Mike Kestner <[email protected]>
  4917. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  4918. all user-initiated value changes to min <= value <= max-thumbsz+1.
  4919. (set_Value): check for vert/horiz when calculating new thumb position.
  4920. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  4921. like MS does.
  4922. (OnMouseMoveSB): refactor the thumb dragging code and refine
  4923. invalidation logic to reduce flicker.
  4924. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  4925. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  4926. (UpdateThumbPosition): small code readability cleanup
  4927. 2006-04-10 Alexander Olk <[email protected]>
  4928. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  4929. different
  4930. 2006-04-08 Alexander Olk <[email protected]>
  4931. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  4932. 2006-04-08 Alexander Olk <[email protected]>
  4933. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  4934. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  4935. This dramatically reduces the number of Pen.Dispose calls.
  4936. Where possible call ResPool methods only once instead of calling it
  4937. over and over again (for example for the same color).
  4938. 2006-04-06 Mike Kestner <[email protected]>
  4939. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  4940. Also remove an unused private field on the collection. Fixes #77972.
  4941. 2006-04-06 Alexander Olk <[email protected]>
  4942. * ThemeNice.cs: Added ToolBar drawing code
  4943. 2006-04-06 Mike Kestner <[email protected]>
  4944. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  4945. I'm assuming that means we need to look up the toplevel for the
  4946. provided control. Fixes the crash trace in #77911 but exposes another
  4947. crash in some strange reflection usage in NDocGui.
  4948. 2006-04-06 Alexander Olk <[email protected]>
  4949. * ThemeNice.cs: Gave it a little silver touch and added Images
  4950. method
  4951. * FontDialog.cs: FontDialog is not resizable
  4952. * FileDialg.cs: Added SizeGripStyle.Show
  4953. 2006-04-05 Jackson Harper <[email protected]>
  4954. * KeyboardLayouts.cs: Remove warning.
  4955. 2006-04-05 Jackson Harper <[email protected]>
  4956. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  4957. all of our controls instead of Paint +=.
  4958. * ListBox.cs:
  4959. * ListView.cs:
  4960. * MenuAPI.cs:
  4961. * MessageBox.cs:
  4962. * NotifyIcon.cs:
  4963. * ProgressBar.cs:
  4964. * ScrollBar.cs:
  4965. * Splitter.cs:
  4966. * StatusBar.cs:
  4967. * TabControl.cs:
  4968. * TextBoxBase.cs:
  4969. * ToolBar.cs:
  4970. * TrackBar.cs:
  4971. * UpDownBase.cs:
  4972. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  4973. use OnPaintInternal. Remove Width/Height and Visible checks in
  4974. paint handler, this is done at a higher level now.
  4975. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  4976. * PaintEventArgs.cs: Add a handled flag so controls that don't
  4977. want anymore painting after OnPaintInternal can make sure OnPaint
  4978. isn't called.
  4979. 2006-04-05 Mike Kestner <[email protected]>
  4980. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  4981. state of the form, so that we don't process events when Modal dialogs
  4982. are up. Fixes #77922.
  4983. 2006-04-05 Alexander Olk <[email protected]>
  4984. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  4985. checking is done.
  4986. 2006-04-05 Mike Kestner <[email protected]>
  4987. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  4988. 2006-04-05 Mike Kestner <[email protected]>
  4989. * ListView.cs (HeaderMouseMove): null guarding for the over column
  4990. when setting up the drag_to_index. Fixes #78015.
  4991. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4992. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  4993. in the taskbar. Transient windows seem to accomplish that.
  4994. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4995. * Form.cs:
  4996. - Re-enabled CreateParams.X/Y code for FormStartPosition
  4997. - Added code for manual placement when creating the Control
  4998. - Incomplete patch to treat MDI forms differently when
  4999. setting the ClientSizeCore. (Still need to figure out handling
  5000. x/y coords there)
  5001. * XplatUIX11.cs:
  5002. - When we're explicitly setting the X/Y position of a non-Child
  5003. window, let the WM know. Metacity really wants this.
  5004. 2006-04-04 Alexander Olk <[email protected]>
  5005. * ThemeNice.cs: Added CPDrawButton
  5006. 2006-04-04 Alexander Olk <[email protected]>
  5007. * ThemeNice.cs: Changed the color for focused buttons and activated
  5008. the arrows for small scroll buttons.
  5009. 2006-04-04 Alexander Olk <[email protected]>
  5010. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  5011. anymore. Changed some method modifiers to protected (virtual)
  5012. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  5013. changes
  5014. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  5015. Updated drawing of menus, buttons and progressbars; added
  5016. CPDrawBorder3D
  5017. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  5018. * ImageListStreamer.cs: implemented serialization/deserialization
  5019. of the images.
  5020. 2006-04-03 Alexander Olk <[email protected]>
  5021. * ThemeWin32Classic.cs:
  5022. - Removed all the DrawFrameControl stuff; CPDrawButton,
  5023. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  5024. inside the methods
  5025. - Updated and corrected the drawing code of CPDrawButton,
  5026. CPDrawCheckBox and CPDrawRadioButton to better match ms
  5027. - Updated theme checkbox and radiobutton code to use the CP*
  5028. methods
  5029. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5030. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  5031. bug is fixed
  5032. 2006-03-31 Jackson Harper <[email protected]>
  5033. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  5034. sometimes.
  5035. * UpDownBase.cs: Don't CreateGraphics manually, use a
  5036. Refresh. Ideally we would invalidate the correct areas here.
  5037. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5038. * XplatUIX11.cs:
  5039. - We now track the mapping state of windows. If a window (or
  5040. one of it's parents) is not mapped we no longer permit
  5041. WM_PAINT messages to be generated since we'd otherwise get
  5042. lots of BadMatch X errors. Jackson did all the work figuring
  5043. out the problem.
  5044. - Destroying the caret if the window it's contained in is
  5045. destroyed. Can't use regular DestroyCaret method since it
  5046. might fall into a drawing function (trying to remove the
  5047. caret) and with that generate new BadMatch errors. Again,
  5048. Jackson tracked this down.
  5049. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  5050. make sure we send the messages to all windows. (The old code
  5051. would send the WM_DESTROY to the window, and then all child
  5052. windows would be 'gone' because the WM_DESTROY handle lookup
  5053. would no longer find the destroyed window)
  5054. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  5055. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  5056. 2006-03-31 Jackson Harper <[email protected]>
  5057. * ScrollableControl.cs: Dont recalc if we are not visible.
  5058. 2006-03-31 Mike Kestner <[email protected]>
  5059. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  5060. the visibility branch.
  5061. 2006-03-31 Jackson Harper <[email protected]>
  5062. * ScrollBar.cs: Cap values when incrementing/decrementing.
  5063. 2006-03-31 Mike Kestner <[email protected]>
  5064. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  5065. * ToolTip.cs: guard against timer expirations with no active control.
  5066. Not sure why it happened.
  5067. 2006-03-31 Mike Kestner <[email protected]>
  5068. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  5069. text.
  5070. * ToolTip.cs: Position the tooltip based on where the cursor is at
  5071. popup time, not at MouseEnter time. Add a Down state so that we don't
  5072. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  5073. positioning offset. Lookup DisplaySize at positioning time, since it
  5074. can theoretically change during invocation.
  5075. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  5076. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  5077. 2006-03-31 Alexander Olk <[email protected]>
  5078. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  5079. Fixes behaviour when the Text property of the box is String.Empty
  5080. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5081. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  5082. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  5083. a window)
  5084. 2006-03-31 Alexander Olk <[email protected]>
  5085. * FileDialog.cs: Visual enhancement for the popup buttons in
  5086. PopupButtonPanel
  5087. 2006-03-31 Alexander Olk <[email protected]>
  5088. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  5089. code
  5090. 2006-03-30 Alexander Olk <[email protected]>
  5091. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  5092. highlighted menu items to match ms
  5093. 2006-03-30 Peter Dennis Bartok <[email protected]>
  5094. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  5095. 2006-03-30 Mike Kestner <[email protected]>
  5096. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  5097. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  5098. go active to account for HotLight to Selected transition.
  5099. * MenuItem.cs: add internal Selected prop. Fill out the Status
  5100. property by calculating it from item info. Add HotLight,
  5101. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  5102. 2006-03-30 Mike Kestner <[email protected]>
  5103. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  5104. 2006-03-29 Jackson Harper <[email protected]>
  5105. * Form.cs: Implement TODO.
  5106. 2006-03-29 Peter Dennis Bartok <[email protected]>
  5107. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  5108. missing proper dialog setup in the constructor
  5109. 2006-03-29 Peter Dennis Bartok <[email protected]>
  5110. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  5111. * Control.cs:
  5112. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  5113. - Fixed ResetBindings and removed TODO
  5114. - Added check for cross-thread calls to get_Handle()
  5115. - Added Marshaller attribute for set_Font to satisfy class status
  5116. * FontDialog.cs: Removed TODOs that seemed implemented
  5117. * UpDownBase.cs: Removed unneeded TODO and Fixme
  5118. * MessageBox.cs: Implemented support for Default button and removed TODO
  5119. * FileDialog.cs: Removed obsolete TODO
  5120. * DomainUpDown.cs: Removed obsolete TODO
  5121. * ButtonBase.cs: Removed obsolete TODO
  5122. * XplatUIWin32.cs: Removed obsolete TODO
  5123. * Form.cs:
  5124. - Removed obsolete TODO
  5125. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  5126. internal status updates
  5127. - Making sure the active control is selected when the control is created
  5128. * CurrencyManager.cs: Removed obsolete TODO
  5129. 2006-03-29 Mike Kestner <[email protected]>
  5130. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  5131. of PrintPreviewDialog and RichTextBox.
  5132. 2006-03-29 Alexander Olk <[email protected]>
  5133. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  5134. DarkDark, Light and LightLight colors for a specific color
  5135. * ThemeWin32Classic.cs:
  5136. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  5137. Appearance = Button
  5138. - Make use of the new ResPool helper CPColor
  5139. - Draw ProgressBar and StatusBar with correct 3D borders
  5140. 2006-03-29 Alexander Olk <[email protected]>
  5141. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  5142. 2006-03-28 Mike Kestner <[email protected]>
  5143. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  5144. calculating col/row counts.
  5145. 2006-03-28 Mike Kestner <[email protected]>
  5146. * ColumnHeader.cs:
  5147. * ListView.cs:
  5148. * ListViewItem.cs:
  5149. * Menu.cs:
  5150. switch to explicit interface method implementation for some methods
  5151. corcompare identifies as inconsistent with MS.
  5152. 2006-03-28 Mike Kestner <[email protected]>
  5153. * MainMenu.cs:
  5154. * Menu.cs:
  5155. add a few missing methods from the class status output.
  5156. 2006-03-28 Alexander Olk <[email protected]>
  5157. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  5158. correct.
  5159. 2006-03-28 Mike Kestner <[email protected]>
  5160. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  5161. 2006-03-27 Mike Kestner <[email protected]>
  5162. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  5163. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  5164. 2006-03-27 Alexander Olk <[email protected]>
  5165. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  5166. 2006-03-25 Alexander Olk <[email protected]>
  5167. * ThemeWin32Classic.cs:
  5168. - GroupBox: Inserted a little gap between the text and the lines
  5169. on the right side
  5170. - Made the code in CPDrawBorder3D more readable
  5171. - Corrected the drawing location of the up and down arrows in
  5172. CPDrawScrollButton
  5173. 2006-03-25 Alexander Olk <[email protected]>
  5174. * ControlPaint.cs: Corrected line widths in DrawBorder for
  5175. ButtonBorderStyle Inset and Outset
  5176. 2006-03-25 Alexander Olk <[email protected]>
  5177. * ThemeWin32Classic.cs:
  5178. - Rewrote the totally broken CPDrawBorder3D method. That was
  5179. one of the main problems for the terrific ThemeWin32Classic
  5180. look
  5181. - Updated and corrected Button drawing
  5182. - Correct the dimensions of the SizeGrip to match ms ones
  5183. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  5184. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  5185. Border3DStyle.Sunken to match ms.
  5186. 2006-03-25 Alexander Olk <[email protected]>
  5187. * ThemeWin32Classic.cs: First small part of the "de-uglify
  5188. ThemeWin32Classic" effort, SizeGrip
  5189. 2006-03-24 Jackson Harper <[email protected]>
  5190. * XplatUIX11.cs: Give a max idle time of one second, this matches
  5191. MS and forces an Idle event every second when there are no other
  5192. events in the queue.
  5193. 2006-03-24 Mike Kestner <[email protected]>
  5194. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  5195. * ListView.Item.cs: fix layout issues with null image lists and images
  5196. smaller than checkbox size.
  5197. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  5198. mode like MS does. It's weird, but consistent. ;-)
  5199. Fixes #77890.
  5200. 2006-03-24 Mike Kestner <[email protected]>
  5201. * ListView.cs: Scroll wheel support for the item control. Fixes
  5202. #77839.
  5203. 2006-03-23 Jackson Harper <[email protected]>
  5204. * ScrollableControl.cs: Special case negative sized areas, not
  5205. zero.
  5206. * MonthCalendar.cs: Save the rect of the clicked date so we can
  5207. use it for invalidation.
  5208. - Try to cut down on the number of invalidates
  5209. - Invalidate the rect the mouse is over and was over when moving
  5210. the mouse, so we get the focus box following the cursor.
  5211. 2006-03-23 Mike Kestner <[email protected]>
  5212. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  5213. focus rectangle drawing. Fixes #77835.
  5214. 2006-03-23 Mike Kestner <[email protected]>
  5215. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  5216. the if and else if and reverting back to the original == check on the
  5217. None conditional.
  5218. 2006-03-23 Alexander Olk <[email protected]>
  5219. * FontDialog.cs: Update the example panel if the selected index of
  5220. the fontListBox changes.
  5221. 2006-03-23 Alexander Olk <[email protected]>
  5222. * FileDialog.cs: Make FileDialog remember which directory it was in
  5223. last in the same execution.
  5224. 2006-03-22 Mike Kestner <[email protected]>
  5225. * FileDialog.cs: make the DropDownMenu on the toolbar display
  5226. RadioChecks since they are mutually exclusive and that's what MS does.
  5227. 2006-03-22 Mike Kestner <[email protected]>
  5228. * Theme.cs: add Color param to CPDrawMenuGlyph.
  5229. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  5230. checks and radio marks and arrows are visible on highlighted items.
  5231. * ControlPaint.cs: update to use new Theme signature.
  5232. 2006-03-22 Mike Kestner <[email protected]>
  5233. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  5234. is active. Fixes #77870.
  5235. 2006-03-22 Alexander Olk <[email protected]>
  5236. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  5237. to be focused/selected after startup
  5238. 2006-03-22 Alexander Olk <[email protected]>
  5239. * ColorDialog.cs:
  5240. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  5241. CustomColors and ShowHelp properties
  5242. - Some internal rewrites to get better results when using the
  5243. ColorMatrix
  5244. 2006-03-22 Mike Kestner <[email protected]>
  5245. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  5246. HoverSelection. Fixes #77836.
  5247. 2006-03-22 Mike Kestner <[email protected]>
  5248. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  5249. ToggleButtons. (De)Sensitize the Back button around a stack count of
  5250. 1, not 0. Update ButtonSize based on a pixel count of the win32
  5251. control. Adjust the toolbar size/location for new button size.
  5252. 2006-03-22 Jackson Harper <[email protected]>
  5253. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  5254. true.
  5255. * ScrollBar.cs: When doing increments and decrements we need to
  5256. set the Value property so that ValueChanged gets raised. A
  5257. possible optimization here would be to make an internal SetValue
  5258. that doesn't invalidate immediately.
  5259. * ToolTip.cs: Tooltips get added to their container (when
  5260. supplied) so they get disposed when the container is disposed.
  5261. - Don't create tooltips for String.Empty. This prevents all these
  5262. little 2-3 pixel windows from showing up when running nunit-gui
  5263. and driving me mad.
  5264. * Form.cs: Don't set topmost when setting the owner if the handles
  5265. haven't been created yet. The topmost set will happen when the
  5266. handles are created.
  5267. 2006-03-22 Peter Dennis Bartok <[email protected]>
  5268. * XplatUIX11.cs:
  5269. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  5270. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  5271. visible (to allow them to recalculate their sizes)
  5272. 2006-03-21 Mike Kestner <[email protected]>
  5273. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  5274. methods. Removed a ton of redundant code. Still not really happy with
  5275. the border rendering, but I think that's mainly because of the
  5276. ControlDarkDark being black instead of a dark grey. Depending on how
  5277. close we want to be, we might want to revisit those color choices.
  5278. Among the new features added during the refactor were DropDownArrow
  5279. pressed rendering, Disabled image rendering. Proper flat appearance
  5280. boundary rendering. Removed the Divider and Wrapping dividers since I
  5281. can't figure out any combination of themes and conditions to make the
  5282. MS control draw a horizontal line on a toolbar despite what the
  5283. Divider property docs indicate.
  5284. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  5285. conditions and incorrect layout. Updated to coding standard.
  5286. * ToolBarButton.cs: refactored layout and positioning code from
  5287. ToolBar to here. Invalidate wherever possible instead of forcing
  5288. redraws of the whole toolbar.
  5289. (Known remaining issues: explicit ButtonSize smaller than provided
  5290. images.)
  5291. 2006-03-21 Mike Kestner <[email protected]>
  5292. * ContextMenu.cs (Show): use the position parameter instead of just
  5293. showing at the MousePosition.
  5294. 2006-03-21 Jackson Harper <[email protected]>
  5295. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  5296. control handle this.
  5297. * TreeNodeCollection.cs: If we are clearing the root node we need
  5298. to reset top_node so calcs can still happen.
  5299. * ThemeWin32Classic.cs: This is a Flags so we need to check
  5300. properly.
  5301. 2006-03-21 Jackson Harper <[email protected]>
  5302. * DataGrid.cs: Create columns when the binding context has been
  5303. changed.
  5304. * X11Structs.cs: Keysyms are uints.
  5305. - Add size to fix build.
  5306. 2006-03-21 Peter Dennis Bartok <[email protected]>
  5307. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5308. XplatUIOSX.cs:
  5309. - Added ResetMouseHover method to allow controls to retrigger
  5310. hovering if they need it more than once
  5311. - Implemented MouseHoverTime and MouseHoverSize properties
  5312. * Timer.cs: Start() must reset the interval
  5313. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  5314. properties
  5315. 2006-03-21 Jackson Harper <[email protected]>
  5316. * X11Keyboard.cs: improved layout detection. Move the nonchar
  5317. tables into this file.
  5318. * KeyboardLayouts.cs: Move the tables into resource files.
  5319. 2006-03-21 Mike Kestner <[email protected]>
  5320. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  5321. 2006-03-21 Alexander Olk <[email protected]>
  5322. * Mime.cs: Various speed optimizations. Looking up mime types
  5323. is now 2 times faster than before
  5324. 2006-03-17 Peter Dennis Bartok <[email protected]>
  5325. * CreateParams.cs: Added internal menu field
  5326. * Control.cs:
  5327. - Switched call order for UpdateBounds; now we always call
  5328. the one that also takes ClientSize, and we're calculating the
  5329. client size via driver method in the others. The previous
  5330. method of tracking client size by difference wasn't working
  5331. for forms where even the starting client size wouldn't match
  5332. the overall form size (due to borders) (Part of fix for #77729)
  5333. - CreateParams(): Do not use parent.Handle unless the handle is
  5334. already created. Causes havoc with Nexxia and throws off our
  5335. creation of controls
  5336. * XplatUIX11.cs:
  5337. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  5338. - Switched handling of ConfigureNotify over to new PerformNCCalc
  5339. method (consolidates code)
  5340. - Changed RequestNCRecalc to use new PerformNCCalc method
  5341. - Added calls to RequestNCRecalc when menus and borders are changed
  5342. to allow app to set NC size. (Part of fix for #77729) This matches
  5343. when MS send a WM_NCRECALC on Win32 windows.
  5344. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  5345. (Part of fix for #77729). This matches what MS does, they also
  5346. send that message when the form is made visible.
  5347. - XException.GetMessage: Improved usability of X errors by including
  5348. a translation of the window into Hwnd and Control class
  5349. - Improved debug info for window creation, reparenting and destruction
  5350. - Created helper method WindowIsMapped() [Currently not used]
  5351. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  5352. * Form.cs:
  5353. - CreateParams: Now setting our menu on the new internal menu field
  5354. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  5355. avoid calculating the same property twice
  5356. * Hwnd.cs:
  5357. - Improved usability of ToString() for debugging purposes
  5358. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  5359. determine the height of the menu, instead of just the font. This
  5360. required to also create a graphics context and to keep a bmp
  5361. around (for performance reasons)
  5362. 2006-03-17 Peter Dennis Bartok <[email protected]>
  5363. * MenuAPI.cs: Added OnMouseUp method
  5364. * Form.cs:
  5365. - Now remembering the requested client size, avoids size errors
  5366. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  5367. instead of base if the menu is active. This is required due to
  5368. control now capturing and releasing on down/up and it would
  5369. prematurely release our menu capture
  5370. 2006-03-17 Jackson Harper <[email protected]>
  5371. * KeyboardLayouts.cs: Add the czech layouts.
  5372. 2006-03-16 Jackson Harper <[email protected]>
  5373. * Control.cs: Use the viewport space when sizing not the controls
  5374. client size, so things like ScrollableControl that effect the
  5375. viewport size (when scrollbars are added) are computed correctly.
  5376. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  5377. of ManagerEntrys.
  5378. - Handle creating BindingManagers for null data sources.
  5379. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  5380. source, otherwise when rows are added they are added to the 'fake'
  5381. datasource and we will crash when trying to set the position in
  5382. those rows.
  5383. - Use Implicit scrollbars on the datagrid so they arent
  5384. selectable.
  5385. 2006-03-16 Jackson Harper <[email protected]>
  5386. * Binding.cs:
  5387. * InternalWindowManager.cs:
  5388. * MdiWindowManager.cs:
  5389. * X11Keyboard.cs: I really want Mike to love me again (fix
  5390. compiler warnings).
  5391. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5392. * DataGrid.cs:
  5393. - OnMouseDown: Switch to editing mode when clicking on the cell
  5394. even if we're clicking on the cell that's currently
  5395. selected
  5396. - ProcessGridKey: Left/Right now wrap like MS.Net does
  5397. - ProcessGridKey: Tab now knows to add a new row when tab is
  5398. pressed in the cell of the last column of the
  5399. last row
  5400. - ProcessGridKey: Enter now adds another row if pressed in the last
  5401. row and selectes the new row, same column cell
  5402. - ProcessGridKey: Home/End navigate columns, not rows, like
  5403. originally implemented
  5404. - Broke ProcessKeyPreview code out into an extra Internal method
  5405. so it can be called from the edit code
  5406. * DataGridTextBox.cs (ProcessKeyMessage):
  5407. - Switched to accept Tab keypresses
  5408. - Added F2 handling to allow jumping to the end of the edited cell
  5409. - Added logic to allow moving caret left/right inside edited cell
  5410. and making the edited cell jump when the caret hits cell borders
  5411. - Tab and Enter are now passed to the datagrid after being handled
  5412. * TextBoxBase.cs:
  5413. - Removed capture code now that Control handles it
  5414. - set_SelectionStart now ensures caret is visible
  5415. 2006-03-16 Jackson Harper <[email protected]>
  5416. * TrackBar.cs: Debackwards the increment/decrement for handling
  5417. mouse clicks on the bar with vertical trackbars.
  5418. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  5419. bottom to match MS.
  5420. 2006-03-16 Mike Kestner <[email protected]>
  5421. * ListView.cs: make shift/ctrl keyboard and mouse selection
  5422. consistent with the MS control. Fix a bug in
  5423. SelectedListViewItemCollection.Clear that was pissing me off for the
  5424. better part of a day because the collection was being altered
  5425. underneath us as we walked the list.
  5426. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5427. * Control.cs: Not sure how we could miss this so long, but it seems
  5428. that MS.Net has Capture set all the way from before calling
  5429. OnMouseDown through sending the mouse events until after
  5430. OnMouseUp. This will fix DataGrid's selection being set to end
  5431. at the location of the MouseUp.
  5432. 2006-03-15 Jackson Harper <[email protected]>
  5433. * BindingContext.cs: Check the binding after its added so that it
  5434. can initialize the binding managers and hookup to events.
  5435. * Binding.cs: Data members seem to sometimes include rows/cols in
  5436. the format Row.Column we now take this into account.
  5437. - Hookup to the position changed event so we can update the
  5438. control when the position has changed in the data set.
  5439. * CurrencyManager.cs: Take into account the row/col naming
  5440. convention when creating dataset tables.
  5441. * BindingContext.cs: Using a newer better way of storing
  5442. datasource/datamember pairs. Hopefully this better matches MS for
  5443. looking up binding managers.
  5444. 2006-03-15 Jackson Harper <[email protected]>
  5445. * BindingContext.cs: The currency manager needs the data member
  5446. name, if the member is a data set we use the name to find the
  5447. correct table.
  5448. * CurrencyManager.cs: When creating the list prefer an IList over
  5449. an IListSource.
  5450. - Attempt to create a DataTable from a DataSet (TODO: might need
  5451. some better error checking here, although MS doesn't seem to have much)
  5452. - If we have a DataTable create a view and use it as our list.
  5453. 2006-03-15 Mike Kestner <[email protected]>
  5454. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  5455. keyboard navigation. Support Up/Down/Left/Right selection correctly
  5456. for all 4 View modes.
  5457. * ListViewItem.cs: add internal row/col fields for icon layouts.
  5458. 2006-03-15 Jackson Harper <[email protected]>
  5459. * TabControl.cs: Redraw the tabs when we resize so their newly
  5460. calculated sizes are drawn on screen.
  5461. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  5462. composite characters.
  5463. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  5464. - filter events so that composite characters can be created
  5465. patches by peter
  5466. * X11Structs.cs: Add XIMProperties enum.
  5467. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5468. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  5469. unless it's created
  5470. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5471. * Control.cs (PerformLayout): We don't need to consider visiblity
  5472. for anchoring, only for docking. This fixes 'whacky' alignment
  5473. in listbox and other controls that use implicit scrollbars after
  5474. the previous PerformLayout patch
  5475. * ListBox.cs: Switched to use implicit scrollbars
  5476. 2006-03-14 Mike Kestner <[email protected]>
  5477. * ToolBar.cs:
  5478. * VScrollBar.cs:
  5479. - chain up the "new event" overrides to base and use
  5480. OnEvent to raise them. Part of fix for bug #76509.
  5481. 2006-03-14 Alexander Olk <[email protected]>
  5482. * FileDialog.cs: Do not select an item in the parent directory
  5483. on backspace
  5484. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5485. * Control.cs (PerformLayout): It would seem that we considered
  5486. invisible windows for our layout. Not quite the right thing
  5487. to do. Now we don't any longer, thereby fixing bug #76889.
  5488. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5489. * Control.cs (CanFocus): I goofed. A control can have focus
  5490. even though it's not selectable. Made it match MS docs.
  5491. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5492. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  5493. center by default (fixes #76895)
  5494. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  5495. all uses of Border3DSides.All with the explicit ORd together
  5496. Left|Right|Top|Bottom because I assume that nobody was aware
  5497. that All also implies a center fill. Most places I checked had
  5498. a fill right above.
  5499. * ProgressBarStyle.cs: Added
  5500. 2006-03-13 Mike Kestner <[email protected]>
  5501. * ListView.cs: fix breakage in drag shadow header positioning
  5502. from Peter's csc compilation fix.
  5503. 2006-03-13 Mike Kestner <[email protected]>
  5504. * ListView.cs: fix NRE produced by backspacing twice in a focused
  5505. FileDialog.
  5506. 2006-03-13 Mike Kestner <[email protected]>
  5507. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  5508. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5509. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  5510. be changed
  5511. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  5512. the allowed size before making programmatic size changes
  5513. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5514. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  5515. set, metacity is broken and will still use the emty sizes in
  5516. the struct. (Fix for #77089)
  5517. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5518. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  5519. WindowExStyles and marked both enums as Flags
  5520. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  5521. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  5522. to match WindowStyles split
  5523. * XplatUIX11.cs:
  5524. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  5525. - Updated to match WindowStyles split
  5526. * XplatUIWin32.cs:
  5527. - Fixed FosterParent creation, was using ExStyle on the Style field
  5528. (This should help with Popup focus issues)
  5529. - Updated to match WindowStyles split
  5530. 2006-03-13 Jackson Harper <[email protected]>
  5531. * MdiWindowManager.cs: Use the system menu height. Fixes some
  5532. strange sizing issues.
  5533. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5534. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  5535. * TextBoxBase.cs:
  5536. - Scroll to caret after inserting text (#77672)
  5537. - Make scroll range one pixel higher, fixes off-by-one error (and
  5538. makes underlines visible on the last line)
  5539. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5540. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  5541. the keyboard state from being stuck with keys in 'pressed' state when
  5542. focus is switched away via keyboard
  5543. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  5544. reset the keyboard if no X11 KeyUp events are expected to come
  5545. * X11Structs.cs: Switched type of Visible to bool to match driver
  5546. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5547. * TextControl.cs:
  5548. - Switched caret to be just 1 pixel wide, matches MS and looks less
  5549. clunky
  5550. - Moved caret display 1 pixel down from the top of the control
  5551. to improve view
  5552. - InsertCharAtCharet: Update the selection start if moving the caret
  5553. (fixes bug #77696; based on patch suggested by [email protected])
  5554. - No longer always creating the caret when the caret methods are
  5555. called. Only the actual ShowCaret/HideCaret will do that now
  5556. - Only setting caret visible if the owner control has focus
  5557. - UpdateView: Added invalidation-shortcut logic for center and right
  5558. aligned text. Previously we'd update all according to the left
  5559. logic which caused drawing errors. Also fixed height of invalidated
  5560. areas, now properly invalidating the whole area (was off-by-one)
  5561. - owner_HandleCreated: Always generate the document when the
  5562. handle is created; this ensures that
  5563. * TextBoxBase.cs:
  5564. - Fixed situation where caret would disappear under the right
  5565. window border, also improved scrolling behaviour on left-
  5566. aligned textboxes
  5567. - Fixed right-aligned textboxes to have a border to the
  5568. right instead of the caret being under the right border
  5569. * XplatUIX11.cs:
  5570. - Switched from 'nested' to simple visible/not visible tracking
  5571. for caret (part of fix for #77671)
  5572. - No longer passing through translated FocusIn/FocusOut messages
  5573. since we were notifying too often and the wrong windows. Instead
  5574. we just notify our focussed window of receiving or loosing focus
  5575. * XplatUIWin32.cs: Switched from 'nested' show/hide
  5576. counting for caret to simple visible yes/no behaviour (part of
  5577. fix for #77671)
  5578. 2006-03-11 Alexander Olk <[email protected]>
  5579. * Mime.cs: Remove debug code...
  5580. 2006-03-11 Alexander Olk <[email protected]>
  5581. * MimeGenerated.cs: Removed
  5582. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  5583. and subclasses) from /usr/(local/)share/mime and
  5584. $HOME/.local/share/mime.
  5585. 2006-03-10 Jackson Harper <[email protected]>
  5586. * MdiWindowManager.cs: Recalc the NC area when a window is
  5587. maximized/restored so that the menu area is drawn on forms that
  5588. don't have a menu.
  5589. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5590. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5591. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  5592. us to force a WM_NCCALCRESIZE message being sent. This is needed
  5593. for MDI maximizing.
  5594. 2006-03-10 Jackson Harper <[email protected]>
  5595. * Form.cs: We need to use the ActiveMenu when calculating menu
  5596. height.
  5597. - Fix nullref when the window manager hasn't been created yet.
  5598. * Control.cs: Fix nullref when we try to bring a control to the
  5599. front that has no parent.
  5600. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  5601. height.
  5602. - Add a dummy item to the maximized menu so it always has the
  5603. correct height. Otherwise when there are no menus we don't get our
  5604. icon and buttons.
  5605. 2006-03-10 Jackson Harper <[email protected]>
  5606. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  5607. stuff.
  5608. * Form.cs: Make the window_state internal so the window managers
  5609. can track it.
  5610. - When an MDI child is maximized let its window manager create the
  5611. main menu (so it can add its icon).
  5612. - Notify the window managers of state changes
  5613. - Let the window manager paint its buttons and handle button
  5614. clicks on the menu when it is maximized.
  5615. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  5616. window manager, since tool windows don't use it, only mdi windows.
  5617. - Tell the main form that we don't want it to handle NCPAINT
  5618. itself to avoid extra painting.
  5619. - Handle clicks on a maximized windows menu.
  5620. - Handle window state changes
  5621. - Handle minimize/maximize clicks correctly by setting the window state.
  5622. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  5623. when clicking on the forms icon).
  5624. - New method to create a forms maximized menu. This is its normal
  5625. menu + an icon.
  5626. - Handle window state changes.
  5627. - Handle sizing of maximized windows. Maximized windows are just
  5628. drawn bigger then the parent visible area. All controls are still
  5629. there, they are just outside the visible area (this matches windows).
  5630. * MdiClient.cs: No scrollbars when a child window is maximized.
  5631. - Let the children windows figure out how big they should be when
  5632. sizing maximized windows.
  5633. - Implement a version of ArrangeIconicWindows somewhat similar to
  5634. Windows version. There are some little differences, but I don't
  5635. think any app will rely on the layout of minimized mdi windows.
  5636. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5637. * Padding.cs: Several fixes to allow compiling with csc 2.0
  5638. 2006-03-09 Jackson Harper <[email protected]>
  5639. * Menu.cs:
  5640. * MenuItem.cs: Cheap hack so we can add items to the list without
  5641. the events being raised. This allows adding mdi items during
  5642. drawing. TODO: Should probably find a better time to add the items.
  5643. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5644. * ThemeWin32Classic.cs:
  5645. - CheckBox_DrawText: Added logic to not wrap if not enough space
  5646. is available (Fix for bug #77727)
  5647. - RadioButton_DrawText: Added logic not to wrap if not enough
  5648. space is available (Fix for bug #77727). Also removed some
  5649. duplicate code, DrawString always drawing the regular text
  5650. before hitting the if statement.
  5651. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5652. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  5653. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5654. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  5655. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  5656. methods. Moved the new 2.0 properties into alphabetical order with
  5657. other properties and added MonoTODO tags
  5658. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5659. * AutoScaleMode.cs: Added. Fix build.
  5660. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5661. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5662. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  5663. and was requiring premature handle creation for calls from above
  5664. * Form.cs, Control.cs: Removed handle arguments from calls to
  5665. CalculateClientRect()
  5666. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5667. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  5668. drag_column.column_rect is MarshalByRef and can't be used that way
  5669. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5670. * AxHost.cs: Added deserialization constructor for
  5671. AxHost+State (fixes 77743)
  5672. 2006-03-09 Mike Kestner <[email protected]>
  5673. * ListView.cs:
  5674. - Added column drag reordering for details view.
  5675. - fixed behavior when mouse is dragged off column and
  5676. AllowColumnReorder is false.
  5677. * ColumnHeader.cs: clone the format too in Clone.
  5678. * Theme.cs: add DrawListViewHeaderDragDetails method.
  5679. * ThemeWin32Classic.cs:
  5680. - impl new method for drawing drag column shadows and targets.
  5681. - support column offset for details mode in DrawListViewItem.
  5682. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5683. * TextControl.cs: Reset the char_count when the document is cleared
  5684. (Fixes bug reported on mono-winforms mailing list)
  5685. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5686. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  5687. of calling base we simply process the key ourselves, since both
  5688. DefWindowProc and the handled method would set m.Result.
  5689. (Fixes #77732)
  5690. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5691. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  5692. method also moves the window; instead implemented a copy of
  5693. Control.ScaleCore (Part of fix for #77456)
  5694. * TextBoxBase.cs:
  5695. - Created new CreateGraphicsInternal method to allow providing
  5696. a graphics context when no handle is created without triggering
  5697. handle creation. (Part of fix for #77456)
  5698. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5699. * TextControl.cs:
  5700. - Switched Constructor to require TextBoxBase instead of Control (to
  5701. allow uncast access to CreateGraphicsInternal)
  5702. - Safeguarded use of owner.Handle property. No longer accessing it
  5703. unless the handle is already created.
  5704. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5705. - Now triggering a recalc when owning control becomes visible
  5706. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  5707. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  5708. premature handle creation (Part of fix for #77456)
  5709. * Control.cs:
  5710. - We now only destroy our double-buffering buffers when the
  5711. control is resized or disposed, but not when visibility
  5712. changes. (The code even re-created them twice every time)
  5713. - Now requiring a redraw of the buffer on visibility changes
  5714. (fixes bug 77654 part 2)
  5715. - Not passing OnParentVisibleChanged up unless the control
  5716. is visible
  5717. - CanFocus: Fixed to match MS documentation
  5718. - Focus: Fixed to return actual focus state and to check if
  5719. setting focus is legal before setting it
  5720. 2006-03-08 Peter Dennis Bartok <[email protected]>
  5721. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  5722. when to draw focus rectangle by looking at parent focus and
  5723. selected state instead. This fixes TabPages on Linux sometimes
  5724. having none or multiple focus rectangles.
  5725. * XplatUIX11.cs (SetFocus):
  5726. - Don't set the focus if the same window already has focus
  5727. - Use SendMessage instead of PostMessage (like it's Win32
  5728. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  5729. to match MS behaviour
  5730. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  5731. are not selectable.
  5732. 2006-03-07 Jackson Harper <[email protected]>
  5733. * PictureBox.cs: Revert line I accidently committed last week.
  5734. 2006-03-07 Peter Dennis Bartok <[email protected]>
  5735. * Control.cs:
  5736. - Added new IsRecreating and ParentIsRecreating properties to
  5737. allow testing if RecreateHandle has been called on ourselves
  5738. or one of our parents
  5739. - WndProc(WM_DESTROY): If our control handle is being recreated
  5740. we immediately need to create the handle when receiving the
  5741. destroy, that way our child windows find a valid parent handle
  5742. when they themselves are being recreated upon WM_DESTROY receipt
  5743. (fix for bug #77654 part 1)
  5744. * XplatUIX11.cs:
  5745. - DestroyWindow: WM_DESTROY must be sent to our own window before
  5746. notifying any child windows. MS documents that child windows
  5747. are still valid when WM_DESTROY is received. (Control now relies on
  5748. this behaviour)
  5749. - Added some fine-grain debug options
  5750. 2006-03-06 Jackson Harper <[email protected]>
  5751. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  5752. box and base calculations off this.
  5753. * MdiChildContext.cs:
  5754. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  5755. anymore.
  5756. 2006-03-06 Peter Dennis Bartok <[email protected]>
  5757. * Splitter.cs: In situations where the affected control is added
  5758. to the parent's control list after the splitter, we would not
  5759. populate affected. Now we try populating it on mousedown, if
  5760. it's not already set, and force it to be re-set whenever our
  5761. parent changes.
  5762. 2006-03-03 Matt Hargett <[email protected]>
  5763. * Control.cs: implement Control.Padding
  5764. * Padding.cs: -Padding.All returns -1 when constructing with the
  5765. implicit default ctor
  5766. -Padding.ToString() matches MS.NET
  5767. * ContainerControl.cs: implement
  5768. ContainerControl.AutoScaleDimensions
  5769. * ListControl.cs: implement ListControl.FormattingEnabled
  5770. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  5771. * ButtonBase.cs:
  5772. * TabPage.cs: Implement UseVisualStyleBackColor.
  5773. * PictureBox.cs: Implement PictureBox.InitialImage.
  5774. 2006-03-03 Mike Kestner <[email protected]>
  5775. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  5776. event declarations to proxy to base event.
  5777. * ListViewItem.cs: update to use ItemControl.
  5778. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  5779. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  5780. column header label rendering for 0 width columns.
  5781. 2006-03-03 Peter Dennis Bartok <[email protected]>
  5782. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  5783. that causes the control to be created. Fixes #77476.
  5784. 2006-03-02 Jackson Harper <[email protected]>
  5785. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  5786. expose_pending.
  5787. 2006-03-02 Peter Dennis Bartok <[email protected]>
  5788. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  5789. passed in for the EventArgs (fixes #77690)
  5790. 2006-03-01 Jackson Harper <[email protected]>
  5791. * ScrollBar.cs: Refresh afterbeing resized.
  5792. 2006-02-28 Mike Kestner <[email protected]>
  5793. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  5794. Clean up a tracker compile warning.
  5795. * MenuItem.cs: add internal PerformPopup method.
  5796. [Fixes #77457]
  5797. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5798. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  5799. implicit expose) when the text is set to null
  5800. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5801. * RichTextBox.cs (FlushText): When newline is true, we always
  5802. need to split the line, even if no text is on it and we may
  5803. never eat newlines. (Fixes #77669)
  5804. 2006-02-28 Mike Kestner <[email protected]>
  5805. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  5806. and set Selected instead.
  5807. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  5808. collections.
  5809. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5810. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  5811. 2006-02-28 Alexander Olk <[email protected]>
  5812. * FontDialog.cs:
  5813. - Got rid of the panel. All controls are now directly added to
  5814. the dialog form
  5815. - It is now possible to set a font with the Font property
  5816. - MinSize and MaxSize property do now what they should
  5817. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  5818. - Searching and selecting a font with the font textbox works now,
  5819. the same applies to the style and size textbox
  5820. - Draw the correct 3D border in the example panel
  5821. - Fixed a little mem leak (unused fonts didn't get disposed)
  5822. - Many other internal updates/rewrites...
  5823. - Fix typo
  5824. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5825. * TextControl.cs:
  5826. - InsertRTFFromStream: Added 'number of characters inserted' argument
  5827. - set_SelectedRTF: Now using the number of characters to calculate
  5828. the new location for the selection and cursor (x/y cannot be used
  5829. due to potentially already wrapped text)
  5830. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5831. * TextControl.cs: Added property and implemented means to allow
  5832. disabling recalculation of a document (can be used to speed up
  5833. multiple inserts and is needed to make RTF inserts predictable, see
  5834. bug #77659)
  5835. * RichTextBox.cs: Using the new NoRecalc property of Document to
  5836. keep x/y insert locations predictable. Also makes it faster inserting
  5837. large chunks of RTF
  5838. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5839. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  5840. it's easier for a child control to handle the other messages without
  5841. having to duplicate the special functionality
  5842. * TextBoxBase.cs
  5843. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  5844. code to handle processing the key ourselves, in order to get
  5845. access to the result of KeyEventArgs.Handled. We now only call
  5846. ProcessKey if they key hasn't been handled already. Fixes #77526.
  5847. - set_Text: If null or empty string is given, just clear the
  5848. document. Fixes part of #77526
  5849. 2006-02-27 Jackson Harper <[email protected]>
  5850. * SizeGrip.cs: Paint the background color before painting the grip
  5851. so things look right.
  5852. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  5853. 2006-02-27 Mike Kestner <[email protected]>
  5854. * ListView.cs:
  5855. - Restructure layout and invalidation model to remove a ton of
  5856. flicker from the control and speed up performance in general.
  5857. - Add manual column resize, flickers like crazy, but I already have
  5858. some ideas on how I'll fix that. (#76822)
  5859. - Merge the three Icon-based views into a single layout method.
  5860. - Move item selection interaction logic from the item since
  5861. interaction with the collections is more appropriate to the view.
  5862. - Deselection on non-item clicks.
  5863. * ListViewItem.cs:
  5864. - Encapsulate most of the layout. Add some internal props to trigger
  5865. layout. Move to a model where Items invalidate themselves instead
  5866. of just invalidating the whole control every time something changes.
  5867. - Invalidate on Text/Caption changes.
  5868. - switch to an offset based layout model to avoid having to absolute
  5869. position every element on item moves.
  5870. - correct checkbox layout to conform to MS layout.
  5871. * ThemeWin32Classic.cs:
  5872. - refactor some column header drawing code.
  5873. - fix string justification for column headers (#76821)
  5874. - make SmallIcon labels top justified for compat with MS impl.
  5875. * ThemeClearlooks.cs:
  5876. - adjust to new ListViewItem internal checkbox bounds api.
  5877. 2006-02-27 Jackson Harper <[email protected]>
  5878. * Control.cs: Change where implicit controls fall in the zorder.
  5879. They are now on top of all children.
  5880. - Synced AddImplicit code with Add
  5881. - Removed unused enumerator.
  5882. * SizeGrip.cs: Remove the TODO as its been TODONE.
  5883. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5884. * TextControl.cs(Insert): Combine the last lines unless the insertion
  5885. string ends with \n\n, otherwise we leave one line too many (Fixes
  5886. something I noticed with the testapp for #77526; the bug itself was
  5887. already fixed in the previous checkin)
  5888. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5889. * RichTextBox.cs:
  5890. - SelectionColor and SelectionFont methods no longer set absolute
  5891. styles. Instead, the keep font or color respectively (This
  5892. resolves a long-standing FIXME in the code)
  5893. - When flushing RTF text, the insert code now considers text trailing
  5894. behind the insertion point (Fixes the bug where when replacing
  5895. the selected text via SelectedRTF the remainder of the line behind
  5896. the selection would stay on the first insertion line)
  5897. * TextBoxBase.cs:
  5898. - AppendText now updates the selection points after inserting text
  5899. - AppendText now ensures that the last tag (sometimes 0-length) of
  5900. the document is used for the style information (Fixes part of
  5901. bug #77220)
  5902. * TextControl.cs:
  5903. - Created new FontDefiniton class to allow describing partial style
  5904. changes
  5905. - StreamLine() now takes a lines argument, to allow it to decide
  5906. whether an encountered zero-length tag is the last in the document
  5907. (which must be kept to not loose the font/color contained in it,
  5908. for later appends)
  5909. - Created Combine() and Split() methods for Marker structs, to
  5910. support marker updates due to reformatted documents (soft line
  5911. wraps)
  5912. - Implemented Document.CaretTag setter
  5913. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  5914. of the last line (Not the cause, but also exposed by bug #77220)
  5915. - Added LineTag argument to InsertString method, to allow callers
  5916. to force a certain tag to be used (required to force use of the
  5917. trailing zero-length tag of a document)
  5918. - Now updating markers in Combine(), to avoid stale tag markers
  5919. - Added some method descriptions to aid maintenance
  5920. - Implemented new FormatText concept, allowing additive/subtractive
  5921. formatting by only specifying the components that are to be
  5922. changed. This was needed for resolving the RTB.SelectedColor/
  5923. RTB.SelectedFont fixmes
  5924. - Added Break() support method to allow breaking up linetags (used
  5925. for partial formatting)
  5926. - Added GenerateTextFormat() method. It is used for partial
  5927. formatting and allows to generate a full font/color from given
  5928. attributes and an existing tag.
  5929. 2006-02-26 Jackson Harper <[email protected]>
  5930. * XplatUIX11.cs: Use the correct caption height.
  5931. - Translate hittest coordinates to screen coords to match MS.
  5932. * XplatUIWin32.cs: When we create MDI windows we need to reset
  5933. some of the style flags, so we get a nice blank window, and can
  5934. draw all the decorations ourselves.
  5935. - Set a clipping rectangle on the non client paint event, the
  5936. window manager drawing code needs one.
  5937. * Form.cs: The window manager needs to know when the window state
  5938. has been updated.
  5939. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  5940. don't need to factor in border and title sizes in these
  5941. methods. TODO: Remove the args and fix the call points.
  5942. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  5943. properly.
  5944. - Let the driver set the cursors.
  5945. - Improve active window handling
  5946. - Correct sizes for title bars and buttons.
  5947. - Match MS drawing better
  5948. * MdiWindowManager.cs: We don't need to handle border style
  5949. updates specially anymore.
  5950. - Check for scrollbars when windows are done moving
  5951. - Handle Active properly.
  5952. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  5953. correctly. I am spewing the exception though, so we don't hide the
  5954. bugs.
  5955. 2006-02-26 Pedro Martinez Julia <[email protected]>
  5956. * DataGridViewRowPostPaintEventArgs.cs,
  5957. DataGridViewCellPaintingEventArgs.cs,
  5958. DataGridViewRowCollection.cs,
  5959. DataGridViewRowPrePaintEventArgs.cs,
  5960. DataGridViewCell.cs: Clear a few warnings and implement a few
  5961. exceptions that should be thrown.
  5962. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5963. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  5964. 'inheriting' our parent's (non-default) cursor. (Part of
  5965. the fix for #77479)
  5966. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5967. * XplatUIX11.cs: Fixed cast to make csc happy
  5968. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5969. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  5970. it's for the client area (part of fix for #77479 and needed
  5971. for MDI window cursor handling)
  5972. * XplatUIX11.cs
  5973. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  5974. the appropriate default cursors and also passing the message
  5975. up the parent chain
  5976. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  5977. for non-client areas
  5978. 2006-02-15 Jackson Harper <[email protected]>
  5979. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  5980. is a real MDI window
  5981. 2006-02-14 Alexander Olk <[email protected]>
  5982. * X11DesktopColors.cs: Instead of checking the desktop session
  5983. string for "KDE" check if it starts with "KDE"
  5984. 2006-02-10 Jackson Harper <[email protected]>
  5985. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  5986. systems).
  5987. 2006-02-10 Alexander Olk <[email protected]>
  5988. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  5989. errors
  5990. * ColorDialog.cs:
  5991. - Got rid of the panel. All controls are now directly added to
  5992. the dialog form
  5993. - Changed to mono coding style
  5994. 2006-02-10 Jackson Harper <[email protected]>
  5995. * InternalWindowManager.cs: We don't need the set visibility to
  5996. false hack anymore now that peter has written beautiful shutdown
  5997. code.
  5998. 2006-02-10 Peter Dennis Bartok <[email protected]>
  5999. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  6000. where already explicitly destroyed
  6001. 2006-02-10 Jackson Harper <[email protected]>
  6002. * MdiClient.cs: Handle the case where windows are too high or to
  6003. the left and we need scrollbars.
  6004. 2006-02-10 Alexander Olk <[email protected]>
  6005. * MimeIcon.cs: Added some icons
  6006. * FileDialog.cs:
  6007. - Fixed bug #77477
  6008. - Got rid of the panel. All controls are now directly added to
  6009. the dialog form
  6010. - Changed to mono coding style
  6011. - On Linux "My Computer" and "My Network" will now show some
  6012. more usefull information. A new class, MasterMount, gathers
  6013. this information from /proc/mount. Updated MWFFileView to make
  6014. use of this information
  6015. - Fixed a bug that caused FileDialog to crash when
  6016. ".recently_used" file had a zero size
  6017. - FilterIndex does now what it should
  6018. - Some Refactoring
  6019. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  6020. FileDialog changes
  6021. 2006-02-09 Jackson Harper <[email protected]>
  6022. * ComboBox.cs: Don't touch if null.
  6023. 2006-02-09 Peter Dennis Bartok <[email protected]>
  6024. * Cursor.cs: 64bit safeness fix
  6025. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  6026. 2006-02-09 Jackson Harper <[email protected]>
  6027. * Form.cs: If a form is made into an MDI form update the styles so
  6028. all the props can get set correctly.
  6029. - Kill the mdi_container when we dont need it anymore.
  6030. * InternalWindowManager.cs: Add missing NOT
  6031. 2006-02-08 Jackson Harper <[email protected]>
  6032. * InternalWindowManager.cs: Respek clipping when drawing MDi
  6033. decorations.
  6034. 2006-02-08 Jackson Harper <[email protected]>
  6035. * Hwnd.cs: Add bits to track non client expose events.
  6036. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  6037. gives us a proper invalid rect and will allow for some nice
  6038. optimizations with NC client drawing
  6039. - MDI windows are children windows, so move their style handling
  6040. into the child window block.
  6041. * InternalWindowManager.cs: Remove a state reset that was
  6042. getting invoked at the wrong time. Fixes managed windows getting
  6043. into a 'stuck' captured state.
  6044. 2006-02-07 Peter Dennis Bartok <[email protected]>
  6045. * TextControl.cs (Document.ctor): Now initializing
  6046. selection_anchor. Fixes #77493
  6047. 2006-02-07 Jackson Harper <[email protected]>
  6048. * TrackBar.cs: The increment/decrements were backwards.
  6049. 2006-02-07 Mike Kestner <[email protected]>
  6050. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  6051. to the instance itself.
  6052. 2006-02-07 Peter Dennis Bartok <[email protected]>
  6053. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  6054. on ulongs and pointers, the size differs between 32bit and 64bit
  6055. systems.
  6056. 2006-02-07 Mike Kestner <[email protected]>
  6057. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  6058. for 64 bit platforms to work around a metacity bug.
  6059. 2006-02-07 Jackson Harper <[email protected]>
  6060. * TrackBar.cs: Process the input keys we need, and hookup to
  6061. KeyDown instead of using WndProc, so we get key messages.
  6062. 2006-02-06 Peter Dennis Bartok <[email protected]>
  6063. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  6064. machine we're on.
  6065. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  6066. we need to translate the XdndVersion atoms array before sending it
  6067. 2006-02-06 Peter Dennis Bartok <[email protected]>
  6068. * XplatUIX11.cs:
  6069. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  6070. number of bits for the property, not the number of bytes. The
  6071. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  6072. but would not crash since it specified 8 bits instead of 4 bits)
  6073. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  6074. defined as XID -> long in the C headers)
  6075. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  6076. references since those are now IntPtr to begin with
  6077. - Switched all Atom.XXX 'int' casts to IntPtr casts
  6078. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  6079. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  6080. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  6081. * X11Structs.cs:
  6082. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  6083. - Changed atom in HoverStruct to be IntPtr
  6084. * X11DnD.cs:
  6085. - Removed local DllImports, switched code to use those from XplatUIX11
  6086. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  6087. 2006-02-06 Mike Kestner <[email protected]>
  6088. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  6089. method signatures in the import region. There may still be some
  6090. lingering struct marshaling issues, as I didn't drill down into those.
  6091. Yet.
  6092. 2006-02-06 Jackson Harper <[email protected]>
  6093. * ComboBox.cs: Dont manually set the top_item, this is computed
  6094. when the scrollbar position is set.
  6095. 2006-02-06 Mike Kestner <[email protected]>
  6096. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  6097. startup crashes on amd64. There's other fixes needed. All pinvoke
  6098. usage of Atom needs to be mapped to IntPtr for example. And there are
  6099. likely other int/long issues to be addressed.
  6100. 2006-02-04 Alexander Olk <[email protected]>
  6101. * FileDialog.cs: One more...
  6102. 2006-02-03 Alexander Olk <[email protected]>
  6103. * FileDialog.cs: Next try
  6104. 2006-02-03 Alexander Olk <[email protected]>
  6105. * FileDialog.cs: First part of fix for #77464
  6106. 2006-02-03 Alexander Olk <[email protected]>
  6107. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  6108. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  6109. AcceptButton border drawing.
  6110. 2006-02-03 Peter Dennis Bartok <[email protected]>
  6111. * Form.cs: Moved positioning of form after auto scaling is applied,
  6112. otherwise it would possibly use wrong form size.
  6113. 2006-02-03 Peter Dennis Bartok <[email protected]>
  6114. * Control.cs (RecreateHandle): No need to re-create any child
  6115. controls, the child windows will get destroyed automatically by
  6116. the windowing system or driver, and re-created when the handle
  6117. is being accessed the first time. Fixes #77456
  6118. * Form.cs: No longer setting the form to closing if the handle is
  6119. being recreated. This seems like the right thing to do, don't
  6120. have a bug or testcase for this, though.
  6121. 2006-02-02 Peter Dennis Bartok <[email protected]>
  6122. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  6123. controls to avoid unwanted side effects
  6124. 2006-02-02 Peter Dennis Bartok <[email protected]>
  6125. * Control.cs:
  6126. - ScaleCore needs to scale the bounds, not the ClientSize of the
  6127. control. Fixes #77416.
  6128. - DefaultSize is 0,0 for control
  6129. * TextBoxBase.cs:
  6130. - DefaultSize is 100, 20
  6131. - SetBoundsCore: Now enforcing the height, no matter if the provided
  6132. height is more or less than the preferred one, as long as AutoSize
  6133. is on
  6134. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  6135. 2006-02-02 Peter Dennis Bartok <[email protected]>
  6136. * Control.cs:
  6137. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  6138. call unless both performLayout is true *and* we have a pending
  6139. layout change
  6140. - ResumeLayout: MS does not completely nest Suspend and Resume,
  6141. they bottom out at 0, fixed our code to match that.
  6142. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  6143. SetBoundsCore, we were updating even when we shouldn't. This fixes
  6144. swf-anchors mis-anchoring when resizing the app fast and lots.
  6145. - UpdateDistances: Now only setting the left and top distance if
  6146. we have a parent and are not suspended, this is based on
  6147. a suggestion by Don Edvaldson in bug #77355.
  6148. - OnVisibleChanged: Fixed logic when to create the control. We may
  6149. not create the control if we have no parent or if it's not visible;
  6150. switched to using Visible property instead of is_visible field
  6151. since the property also considers parent states. This fixes a bug
  6152. when starting Paint.Net
  6153. 2006-02-02 Jackson Harper <[email protected]>
  6154. * Form.cs: If the forms handle hasn't been created yet don't call
  6155. into xplatui to make it top most, just set the topmost flag on the
  6156. form in CreateParams
  6157. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  6158. 2006-02-01 Jackson Harper <[email protected]>
  6159. * ScrollableControl.cs: Refactored the Recalculate method a
  6160. little, this wasn't handling all the variants of bottom and right
  6161. bars needed to be added and added/removed based on their
  6162. counterparts being added/removed (which changes the drawable
  6163. size). Also we special case client widths and heights of 0 and
  6164. don't add the scrollbar for those.
  6165. 2006-02-01 Peter Dennis Bartok <[email protected]>
  6166. * XplatUIX11.cs:
  6167. - Added method to get AbsoluteGeometry(); currently unused, but might
  6168. be used in the future, if we try again to figure out toplevel
  6169. coordinates with some more crappy window managers
  6170. - Added FrameExtents() method to retrieve the WM set decoration size
  6171. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  6172. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  6173. * Hwnd.cs:
  6174. - Added whacky_wm tracking var for metacity
  6175. - Added logic to have default menu height if the actual menu height
  6176. has not yet been calculated (part of fix for #77426)
  6177. * Form.cs: Keep track whether client size has been set and re-set
  6178. it if a menu is added/removed afterwards (Fixes #77426)
  6179. 2006-01-31 Jackson Harper <[email protected]>
  6180. * Control.cs: When a new Site is set on the component attempt to
  6181. pull the AmbientProperties from it.
  6182. 2006-01-31 Peter Dennis Bartok <[email protected]>
  6183. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  6184. in the background of the owning form. Fixes #77332
  6185. 2006-01-31 Alexander Olk <[email protected]>
  6186. * MimeIcon.cs: Fix for #77409
  6187. 2006-01-31 Alexander Olk <[email protected]>
  6188. * XplatUIX11GTK.cs: Initial import
  6189. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  6190. * FixedSizeTextBox: fixes class signature
  6191. 2006-01-30 Jackson Harper <[email protected]>
  6192. * FixedSizeTextBox.cs: New internal class that represents a
  6193. textBox that will not be scaled.
  6194. * TreeView.cs:
  6195. * ComboBox.cs:
  6196. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  6197. standard TextBox.
  6198. 2006-01-30 Peter Dennis Bartok <[email protected]>
  6199. * XplatUIX11.cs: Retrieve default screen number instead of
  6200. assuming 0. Attempted fix for #77318
  6201. 2006-01-30 Peter Dennis Bartok <[email protected]>
  6202. * XplatUIWin32.cs:
  6203. - GetWindowPos: When a window is parented by FosterParent, use
  6204. the desktop instead of FosterParent as the base to get coordinates
  6205. - CreateWindow: Don't make FosterParent the parent window for Popups
  6206. if we don't want a taskbar entry, Popups automatically don't get one
  6207. * Hwnd.cs: Need to call remove to actually remove the key from the
  6208. hash table
  6209. 2006-01-30 Mike Kestner <[email protected]>
  6210. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  6211. 2006-01-30 Jackson Harper <[email protected]>
  6212. * TreeView.cs:
  6213. * TreeNode.cs: Raise events no matter how the treenode is
  6214. checked. Patch by Don Edvalson.
  6215. 2006-01-30 Jackson Harper <[email protected]>
  6216. * TreeNode.cs: Signature fix.
  6217. 2006-01-29 Alexander Olk <[email protected]>
  6218. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  6219. 2006-01-20 Mike Kestner <[email protected]>
  6220. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  6221. event forwarding when menus are active.
  6222. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  6223. Most of the patch is pdb's with a little rework.
  6224. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6225. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  6226. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  6227. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  6228. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  6229. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  6230. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  6231. the PaintWindowDecorations method
  6232. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  6233. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  6234. * MenuAPI.cs: Made tracker window invisible
  6235. * XplatUIWin32.cs:
  6236. - Removed GetMenuDC and ReleaseMenuDC methods
  6237. - Implemented the client=false path for PaintEventStart and
  6238. PaintEventEnd
  6239. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6240. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  6241. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  6242. styles
  6243. * Form.cs:
  6244. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  6245. the style
  6246. - CreateParams: Reworked the styles to match MS look'n'feel,
  6247. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  6248. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  6249. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6250. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  6251. window is not mapped, since otherwise every form that's being
  6252. created is considered minimized, which is wrong.
  6253. * Form.cs: Catching the exception and returning our internal value
  6254. instead
  6255. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6256. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  6257. SetWindowMinMax() to have means to tell the driver about the minimum,
  6258. maximum and maximized state window sizes. (Part of the fix for #76485)
  6259. * Form.cs:
  6260. - Implemented tracking of minimum and maximum window size, now calling
  6261. new SetWindowMinMax() driver method to tell the driver (Part of the
  6262. fix for #76485)
  6263. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  6264. (Completes fix for #76485)
  6265. - Calling new SetWindowMinMax driver method when the handle for a
  6266. form is created, to make sure the driver knows about it even if
  6267. the values have been set before the window was created
  6268. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  6269. to avoid messing up our anchoring calculations (partial fix
  6270. for #77355)
  6271. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  6272. * XplatUIX11.cs:
  6273. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  6274. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  6275. (and presumably other freedesktop.org compliant WMs). Left the
  6276. assumption unmapped=minimized, needed for SetVisible to work.
  6277. - Now setting the window state when creating windows
  6278. - Fixed SetVisible to consider/set the window state when mapping
  6279. a Form. We cannot set the state before it's mapped, and we cannot
  6280. use Form.WindowState once it's mapped (since it would ask the
  6281. driver and get 'normal'. Therefore, we grab the state before
  6282. mapping, map, and then set state.
  6283. - Implmemented SetWindowMinMax method; Metacity does not seem to
  6284. honor the ZoomHints, though.
  6285. * XplatUIWin32.cs:
  6286. - Removed MINMAXINFO (moved to XplatUIStructs)
  6287. - Added SetWindowMinMax stub (on Win32 the only way to set that
  6288. information is in response to the WM_GETMINMAXINFO message, which
  6289. is handled in Form.cs)
  6290. - Added logic to SetVisible to set the proper window state when a
  6291. form is made visible (fixes #75720)
  6292. 2006-01-26 Jackson Harper <[email protected]>
  6293. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  6294. same way we handle them with Invoke.
  6295. 2006-01-25 Peter Dennis Bartok <[email protected]>
  6296. * Form.cs:
  6297. - Added tracking of window state so CreateParams can return
  6298. the appropriate style
  6299. - Moved setting of WS_CAPTION style in CreateParams to allow
  6300. styles without caption
  6301. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  6302. control if the TextBox property is accessed. Fixes #77345
  6303. * Control.cs:
  6304. - get_Created: now uses is_disposed and is_created to determine
  6305. return value (suggested by Jackson)
  6306. - CreateHandle: No longer exits if the handle is being recreated
  6307. - RecreateHandle: If the handle is not yet created call the
  6308. appropriate method to create either control or handle. If the
  6309. control is already created CreateHandle will simply exit instead
  6310. of just creating the handle
  6311. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  6312. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  6313. is called.
  6314. * XplatUIX11.cs:
  6315. - When DestroyWindow is called, instead of waiting for the
  6316. DestroyNotification from X11, we directly post it to the WndProc
  6317. and immediately dispose the hwnd object.
  6318. Same applies to DestroyChildWindows, and this obsoletes the
  6319. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  6320. child windows before our own, to avoid X11 errors.
  6321. - Removed the direct sending of WM_PAINT on UpdateWindow
  6322. * XplatUIWin32.cs:
  6323. - Reworked DoEvents and GetMessage to allow access to internal queue
  6324. even when trying non-blocking access to the queue. Fixes #77335.
  6325. Based on a patch suggestion by Don Edvalson. The new private
  6326. GetMessage can now also be used as a backend for a PeekMessage
  6327. frontend version.
  6328. * XplatUI.cs: Improved debug output for CreateWindow
  6329. 2006-01-25 Jackson Harper <[email protected]>
  6330. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  6331. 2006-01-24 Jackson Harper <[email protected]>
  6332. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  6333. when we have a MaxDropItems lower then the selected index.
  6334. 2006-01-24 Jackson Harper <[email protected]>
  6335. * Control.cs: Don't allow selection of non visible controls, allow
  6336. selection of controls without parents.
  6337. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  6338. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  6339. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  6340. 2006-01-23 Jackson Harper <[email protected]>
  6341. * UpDownBase.cs: Make the textbox handle all the selection and
  6342. tabbing. This fixes tabing to updown controls.
  6343. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  6344. * TextBoxBase.cs: fixes exception thown the object was null
  6345. 2006-01-23 Jackson Harper <[email protected]>
  6346. * ButtonBase.cs: Just use the base CreateParams. They set
  6347. visibility and enabled correctly.
  6348. * ComboBox.cs:
  6349. * TrackBar.cs:
  6350. * MonthCalendar.cs: Lets let the base set as much of the
  6351. createparams as possible so we don't have duplicate code all over
  6352. the place.
  6353. 2006-01-22 Alexander Olk <[email protected]>
  6354. * ThemeGtk.cs: Added TrackBar and some experimental code to
  6355. get double buffering back
  6356. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  6357. * DataGrid.cs: Allows row number set internally higher than the last
  6358. when creating a new row. Restores the editing functionality.
  6359. 2006-01-20 Mike Kestner <[email protected]>
  6360. * MimeIcon.cs: delay Image creation until the icons are accessed
  6361. instead of creating 190 scaled images on GnomeHandler startup.
  6362. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6363. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  6364. first call base before processing the event. Fixes #77279
  6365. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6366. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  6367. that the stride for the GDI bitmap would match the stride of
  6368. a DIB or a Cursor.
  6369. 2006-01-19 Alexander Olk <[email protected]>
  6370. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  6371. 2006-01-19 Jackson Harper <[email protected]>
  6372. * ComboBox.cs: Hookup the text controls keydown event so we get
  6373. those when the text control has the focus.
  6374. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6375. * Label.cs: Now using the base events instead of defining new ones;
  6376. this allows us to just call the base properties without having to
  6377. duplicate all base property logic
  6378. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6379. * Label.cs: A label by default is not a tabstop (Fixes one of our
  6380. failing nunit tests)
  6381. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6382. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  6383. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  6384. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6385. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  6386. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  6387. This fixes #77218
  6388. * XplatUIWin32.cs:
  6389. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  6390. constructor creates images that can't be saved. Part of the fix
  6391. for #76103
  6392. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  6393. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  6394. bug fix for handling window state in forms properly)
  6395. 2006-01-18 Alexander Olk <[email protected]>
  6396. * ThemeGtk.cs: Simplify ScrollBar drawing
  6397. 2006-01-18 Jackson Harper <[email protected]>
  6398. * Splitter.cs: Set the default dock style for the splitter control
  6399. in the constructor.
  6400. 2006-01-18 Alexander Olk <[email protected]>
  6401. * ThemeGtk.cs: Corrected StateType and ShadowType for
  6402. gtk_paint_box
  6403. 2006-01-18 Alexander Olk <[email protected]>
  6404. * Control.cs: Make use of Theme.DoubleBufferingSupported
  6405. * ThemeGtk.cs:
  6406. - Added drawing for flat style buttons
  6407. - Added ScrollBar drawing
  6408. 2006-01-18 Alexander Olk <[email protected]>
  6409. * ThemeClearlooks.cs: Removed some unneeded code.
  6410. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  6411. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6412. * LinkLabel.cs: We need to update the hover drawing when
  6413. leaving the control as well.
  6414. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  6415. * DataGrid.cs: Clicking on non empty areas in the columns
  6416. area was giving an exception
  6417. 2006-01-17 Jackson Harper <[email protected]>
  6418. * ThemeWin32Classic.cs:
  6419. * ListView.cs: Do not draw/clip the headers when the header style
  6420. is None.
  6421. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6422. * DataGrid.cs: Fixes 77260
  6423. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6424. * DataGrid.cs: Clicking on a column on a empty grid was giving
  6425. an exception
  6426. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6427. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  6428. or any keypress will crash the grid.
  6429. 2006-01-17 Mike Kestner <[email protected]>
  6430. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  6431. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  6432. invisible/previously-visible items.
  6433. [Fixes #76909]
  6434. 2006-01-17 Alexander Olk <[email protected]>
  6435. * ThemeClearlooks.cs:
  6436. - Added CL_Draw_Button method; now other theme controls that are
  6437. not derived from button or do not have a button can draw buttons
  6438. too
  6439. - Updated ComboBox drawing
  6440. - Beautified RadioButton drawing
  6441. - Corrected drawing of bottom and left tabs
  6442. - Beautified DateTimePicker and MonthCalendar
  6443. - Added CPDrawButton and CPDrawRadioButton
  6444. 2006-01-16 Jackson Harper <[email protected]>
  6445. * ComboBox.cs: Set the initial value of the scrollbar to the
  6446. current index. Reduce the numbers of refreshs and IndexOfs called.
  6447. 2006-01-14 Alexander Olk <[email protected]>
  6448. * FileDialog.cs: When the file listview is focused hitting the
  6449. backspace key moves the fileview to the parent directory
  6450. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6451. * Form.cs:
  6452. - Added RecreateHandle call when changing taskbar visibility to
  6453. trigger reparenting in Win32 driver (Fixes #75719)
  6454. - If a window has minimize or maximize buttons, it cannot have
  6455. a help button
  6456. * XplatUIWin32.cs:
  6457. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  6458. the toplevel form with FosterParent (A toolwindow not on the
  6459. taskbar) (Fixes #75719)
  6460. - Made FosterParent a toolwindow
  6461. 2006-01-13 Alexander Olk <[email protected]>
  6462. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  6463. 2006-01-13 Alexander Olk <[email protected]>
  6464. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  6465. is currently over that control, make sure that tooltip_window.Text
  6466. gets updated
  6467. 2006-01-13 Mike Kestner <[email protected]>
  6468. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  6469. 2006-01-13 Jackson Harper <[email protected]>
  6470. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  6471. value passed. Also redraw the selected node when we recieve
  6472. focus, so tabbing between trees works correctly.
  6473. 2006-01-13 Alexander Olk <[email protected]>
  6474. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  6475. ~/.gconf/%gconf-tree.xml, so use
  6476. .gconf/desktop/gnome/interface/%gconf.xml
  6477. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6478. * TextControl.cs: Draw text in gray if control is disabled
  6479. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6480. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  6481. make sure it's always visible. Fixes #76680.
  6482. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6483. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  6484. 2006-01-13 Jonathan Chambers <[email protected]>
  6485. * PageSetupDialog.cs: Added.
  6486. * PrintDialog.cs: Attributes.
  6487. * PrintPreviewControl.cs: Updates.
  6488. * PrintPreviewDialog.cs: Updates.
  6489. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6490. * Control.cs: Undid my selection check fix, since it's not needed
  6491. * TextBoxBase.cs:
  6492. - Now considering the presence of hscroll/vscroll when sizing
  6493. vscroll/hscroll respectively. Fixed bug #77077
  6494. - Added Left/Up/Down/Right to IsInputKey list to prevent
  6495. ContainerControl from stealing them. This fixes what I broke
  6496. with my last checkin.
  6497. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6498. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  6499. I finally understand how the property can be set without a setter :-)
  6500. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6501. * Application.cs:
  6502. - Switched RunLoop to use static Message.Create to create a
  6503. Message object
  6504. - Added PreProcessMessage call in runloop for keyboard events; this
  6505. is part of the fix for #77219, I overlooked this originally in the
  6506. MSDN doc for PreProcessMessage
  6507. * Control.cs:
  6508. - Removed call to PreProcessMessage from handling of keyboard
  6509. messages; it's supposed to be done in the message pump
  6510. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  6511. per MSDN documentation.
  6512. - IsInputChar: All chars are input chars by default; removed the
  6513. parent calling chain, MS does not document that
  6514. - PreProcessMessage: If IsInputChar is true, we want to return false
  6515. to allow dispatching of the message
  6516. - When selecting the next control, now also check that we're not
  6517. selecting ourselves again and therefore return a false positive.
  6518. * TextBoxBase.cs:
  6519. - Tried to match return values for IsInputKey and ProcessDialogKey
  6520. to what MS returns; moved processing of our special keys outside
  6521. ProcessDialogKey since MS does not seem to return true on those.
  6522. - Moved code that previously was in ProcessDialogKey into new private
  6523. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  6524. - Reworked handling of WM_CHAR to not have to duplicate code from
  6525. Control.cs anymore, instead we simply call down to base.
  6526. 2006-01-12 Jackson Harper <[email protected]>
  6527. * ComboBox.cs: We always need to refresh the text area when
  6528. EndUpdate is called. Fixes the combobox in the file dialog.
  6529. * Control.cs: Don't create the creator_thread until the controls
  6530. handle is created. Also in InvokeRequired we check if the
  6531. creator_thread is null. This gives the effect of InvokeRequired
  6532. returning true if the controls handle is not created yet, and
  6533. matches MS.
  6534. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6535. * XplatUI.cs:
  6536. - Added StartLoop() driver method. This is used to allow drivers to
  6537. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  6538. loop for a particular thread
  6539. - Added EndLoop() driver method. This is called once the message
  6540. pump for the thread is shut down
  6541. - Added SupportsTransparency method to allow the driver to indicate
  6542. opacity support for windows
  6543. * Form.cs:
  6544. - Removed TODO attribute, completed AllowTransparency property
  6545. - Added documented logic to Opacity
  6546. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  6547. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  6548. versions of CompatibleTextRendering
  6549. * X11Structs.cs: Added opacity atom to our atom enumeration
  6550. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  6551. of a form might be set before it's reparented by the WM, and we need
  6552. the opacity value without calling up to Form)
  6553. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  6554. SupportsTransparency() driver methods
  6555. * Application.cs: Now calling StartLoop and EndLoop driver methods
  6556. * XplatUIX11.cs:
  6557. - Added opacity atom registration
  6558. - Added StartLoop()/EndLoop() methods. They're empty right now but
  6559. will need to get implemented when we switch to a per-thread queue
  6560. - Implemented SupportsTransparency() method
  6561. - Implemented SetWindowTransparency() method
  6562. - Added support for setting the opacity value when a window is
  6563. reparented (since the opacity needs to be set on the WM frame)
  6564. * XplatUIOSX.cs, XplatUIWin32.cs:
  6565. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  6566. 2006-01-12 Alexander Olk <[email protected]>
  6567. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  6568. 2006-01-12 Alexander Olk <[email protected]>
  6569. * FileDialog.cs: Added ToolTip for MWFFileView
  6570. * MimeIcon.cs: Rewrote GnomeHandler.
  6571. - Get currently used gnome icon theme from
  6572. ($HOME)/.gconf/%gconf-tree.xml
  6573. - Make use of inherited icon themes
  6574. - Support SVG icon themes like Tango via librsvg
  6575. 2006-01-12 Miguel de Icaza <[email protected]>
  6576. Revert's Jackson's revert which broke 2.0 builds. Fix both
  6577. builds.
  6578. * Application.cs: Move the use_compatible_text_rendering outside
  6579. the NET_2_0 define. If we ever need to use the
  6580. use_compatible_text_rendering on the individual controls they will
  6581. access the variable from the common shared code paths.
  6582. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6583. * XplatUI.cs:
  6584. - Added more granular debug options
  6585. - Added method to print both window text and id
  6586. - Switched debug output to use new Window() debug method
  6587. - Added IsEnabled() driver method
  6588. - Added EnableWindow() driver method
  6589. * Form.cs:
  6590. - Removed end_modal; no longer needed, new loop handles termination
  6591. via 'closing' variable
  6592. - If form is modal, setting DialogResult will now initiate loop
  6593. termination via 'closing' variable
  6594. - Added support for is_enabled/WS_DISABLED to CreateParams
  6595. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  6596. does all the work
  6597. - Removed code that's now in RunLoop from ShowDialog()
  6598. - Added various documented sanity checks to ShowDialog()
  6599. - Added handling of WM_DESTROY message; we set 'closing' on getting
  6600. the message to indicate the message pump to terminate
  6601. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  6602. send by the Application.ExitThread method. (We send the message
  6603. to destroy the window after all other events have been
  6604. processed through the queue, instead of destroying the handle
  6605. directly)
  6606. - Moved code from Close() method to WM_CLOSE handler; added logic
  6607. to only send close-related events if the form is not displayed
  6608. modal
  6609. * Splitter.cs (..ctor): Fixed typo in resource name
  6610. * Control.cs:
  6611. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  6612. brush now
  6613. - set_Cursor: Now only setting calling into XplatUI if the handle for
  6614. the control is already created; this avoids implict handle creation
  6615. or crashes if it's not created
  6616. - set_Enabled: Now setting the enabled state via the new driver method
  6617. instead of just tracking it
  6618. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  6619. - CreateControl: Reordered event firing and method calls to more
  6620. closely fire events in the order MS does. Now setting the
  6621. enabled state in the driver when creating the control.
  6622. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  6623. match MS order
  6624. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  6625. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  6626. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  6627. * Hwnd.cs:
  6628. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  6629. - Added EnabledHwnd property to easily allow a driver to find the
  6630. handle of the first enabled window in the parent chain (this is
  6631. used by drivers to pass up input events of disabled windows)
  6632. * XplatUIDriver.cs: Added IsEnabled() method
  6633. * Application.cs:
  6634. - Removed crude and obsolete exiting tracking variable
  6635. - Removed internal ModalRun(); replaced by RunLoop()
  6636. - Implemented private CloseForms() method to allow closing all
  6637. windows owned by a particular (or all) threads
  6638. - Exit() now properly closes all windows without forcing the message
  6639. pump to quit
  6640. - Removed obsolete InternalExit() method
  6641. - Changed Run() methods to use new RunLoop() message pump
  6642. - Implemented new RunLoop() method for both modal and non-modal forms
  6643. * CommonDialog.cs:
  6644. - get_CreateParams: Added setting of WS_DISABLED
  6645. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  6646. invoked via Form.ShowDialog()
  6647. * NativeWindow.cs: We don't remove the window from the collection when
  6648. the handle is destroyed; there might still be messages for it in the
  6649. queue (mainly the resulting WM_DESTROY); instead it will be removed
  6650. when Control calls InvalidateHandle in the WM_DESTROY handler
  6651. * XplatUIX11.cs:
  6652. - CreateWindow: Added logic to handle the WS_DISABLED window style
  6653. - EnableWindow: Implemented based on Hwnd.Enabled
  6654. - GetMessage: Reset PostQuitState so the method can be called again
  6655. - Implemented support for disabled windows (passing messages to the
  6656. first enabled parent) in handling all input messages
  6657. - Added optimizations for handling Expose events
  6658. - Implemeted new driver method IsEnabled()
  6659. - Now always resetting paint pending tracking vars when we start paint
  6660. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  6661. * XplatUIOSX.cs: Added IsEnabled method stub
  6662. * XplatUIWin32.cs: Implemented new IsEnabled() method
  6663. 2006-01-11 Jackson Harper <[email protected]>
  6664. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6665. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  6666. variables a little.
  6667. * ColorDialog.cs: Clear out the old form before adding the new
  6668. panel.
  6669. 2006-01-11 Jackson Harper <[email protected]>
  6670. * X11Dnd.cs: Make sure to add all the text formats when adding
  6671. strings to the data object.
  6672. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  6673. do some redrawing too. Also change the UpdateNode to an
  6674. UpdateBelow so the newly added node gets painted.
  6675. 2006-01-11 Miguel de Icaza <[email protected]>
  6676. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6677. LinkLabel.cs, PropertyGrid.cs: Implement the
  6678. UseCompatibleTextRendering property for 2.x
  6679. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  6680. 2006-01-11 Jackson Harper <[email protected]>
  6681. * TreeView.cs: Use the property for setting the selected node so
  6682. the correct events get raised.
  6683. * TreeNode.cs: Update the tree when the fore/back colours of a
  6684. node are set.
  6685. 2006-01-10 Jackson Harper <[email protected]>
  6686. * TreeView.cs: Allow setting SelectedNode to null.
  6687. 2006-01-9 Jonathan Chambers <[email protected]>
  6688. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  6689. 2006-01-9 Jonathan Chambers <[email protected]>
  6690. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  6691. 2006-01-9 Jonathan Chambers <[email protected]>
  6692. * PrintDialog.cs: Added attributes and set default property values.
  6693. 2006-01-9 Jonathan Chambers <[email protected]>
  6694. * PrintControllerWithStatusDialog.cs:
  6695. Added PrintControllerWithStatusDialog.
  6696. 2006-01-9 Jonathan Chambers <[email protected]>
  6697. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6698. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  6699. 2006-01-9 Jonathan Chambers <[email protected]>
  6700. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  6701. 2006-01-09 Jonathan Chambers <[email protected]>
  6702. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  6703. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  6704. 2006-01-08 Alexander Olk <[email protected]>
  6705. * MimeIcon.cs: Added internal class SVGUtil.
  6706. 2006-01-08 Alexander Olk <[email protected]>
  6707. * FileDialog.cs: Don't crash if there are two files with the
  6708. same name but different locations.
  6709. 2006-01-08 John BouAntoun <[email protected]>
  6710. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  6711. dates across multiple month grids. Used to not highlight entire
  6712. month, but does now.
  6713. 2006-01-06 Jackson Harper <[email protected]>
  6714. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  6715. message loop. Change timer intervals to numbers that seem more
  6716. natural.
  6717. 2006-01-06 John BouAntoun <[email protected]>
  6718. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  6719. object for location info since screen object is now implemented.
  6720. 2006-01-05 Jackson Harper <[email protected]>
  6721. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  6722. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  6723. AsyncMethodResult, this is because we ALWAYS want the
  6724. ManualResetEvent to get set.
  6725. * Control.cs: When disposing use an async invoke to call shutdown
  6726. code, so that thigns don't block on the finalizer thread. Also
  6727. check if we even have a message loop before trying to send
  6728. messages, if we don't then don't bother sending messages.
  6729. - No more weak references for async methods
  6730. * XplatUIDriver.cs: No more weak references for async methods.
  6731. 2006-01-04 Alexander Olk <[email protected]>
  6732. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  6733. returns two FontFamily with the same name
  6734. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6735. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  6736. drawing disabled text. Instead using the ColorGrayText color
  6737. 2006-01-04 Jackson Harper <[email protected]>
  6738. * TreeNode.cs: redraw the node when its image index is changed.
  6739. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6740. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  6741. time I checked there are no others like it.
  6742. 2006-01-04 Jackson Harper <[email protected]>
  6743. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  6744. this gives the behavoir I was looking for.
  6745. * Control.cs: Special case Invoking EventHandlers, this matches MS
  6746. and fixes part of bug #76326.
  6747. 2006-01-04 Alexander Olk <[email protected]>
  6748. * ThemeClearlooks.cs, FileDialog.cs:
  6749. - Reflect the latest Theme class changes
  6750. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  6751. with DateTime
  6752. 2006-01-04 Alexander Olk <[email protected]>
  6753. * Theme.cs: Cache UI resource images and resize them if needed
  6754. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6755. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  6756. is called. This fixes the crash in Nexxia when setting the font
  6757. attributes in the chat. [However, RTF needs a look-over to make sure
  6758. that all SelectionXXX methods handle the special case that selection
  6759. is empty and therefore the change must be applied to all text starting
  6760. at the cursor/selection start]
  6761. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6762. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6763. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  6764. * X11Keyboard.cs: Switched to new way of calling PostMessage
  6765. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6766. * Theme.cs: Added theme interface for images to allow the theme to
  6767. control what images are used for things like FileDialog, MessageBox
  6768. icons, etc.
  6769. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  6770. 2006-01-03 Alexander Olk <[email protected]>
  6771. * FileDialog.cs:
  6772. - Removed some dead code
  6773. - Opening a recently used file does work now
  6774. - Small UI enhancements
  6775. - Refactoring
  6776. 2006-01-02 Alexander Olk <[email protected]>
  6777. * FileDialog.cs: Forgot too add __MonoCS__
  6778. 2006-01-02 Alexander Olk <[email protected]>
  6779. * FileDialog.cs: We are able to read recently used files now let's
  6780. go on and write them.
  6781. 2006-01-01 Alexander Olk <[email protected]>
  6782. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  6783. button
  6784. * MimeIcon.cs: Do a check for the top level media type also
  6785. 2005-12-31 Alexander Olk <[email protected]>
  6786. * ThemeClearlooks.cs:
  6787. - Added CPDrawStringDisabled
  6788. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  6789. some chars if the text doesn't fit into text_rect
  6790. - DrawListViewItem: If View = View.LargeIcon center the image;
  6791. rewrote the drawing of ListViewItem.Text if View =
  6792. View.LargeIcon
  6793. 2005-12-31 Alexander Olk <[email protected]>
  6794. * MimeIcon.cs: Use default KDE icon theme if there is no
  6795. "48x48" directory for the current icon theme, fixes #77114
  6796. * Mime.cs: Disable not working and actually not used code.
  6797. * ThemeWin32Classic.cs:
  6798. - Replace "new SolidBrush" in GetControlBackBrush and
  6799. GetControlForeBrush with ResPool.GetSolidBrush
  6800. - Changed DrawListViewItem from private to protected virtual
  6801. * FileDialog.cs:
  6802. - Added form.MaximizeBox = true
  6803. - Don't throw an exception if there is a broken symbolic link
  6804. 2005-12-23 Jackson Harper <[email protected]>
  6805. * TabControl.cs: Give the panels focus, keyboard navigation is
  6806. fixed so this works correctly now.
  6807. - We need these key events also.
  6808. * ToolBar.cs: Remove some of the poor mans double buffering.
  6809. 2005-12-24 Alexander Olk <[email protected]>
  6810. * ComboBox.cs: The internal TextBox now returns the focus.
  6811. 2005-12-23 Jackson Harper <[email protected]>
  6812. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  6813. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6814. * Control.cs: Removed debug code
  6815. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  6816. implicit children
  6817. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6818. * Control.cs: When creating the control, update the Z-order after
  6819. all it's children are created, too. (Fixes nexxia not showing
  6820. picturebox bug)
  6821. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6822. * Control.cs: Do not update the anchoring distances if layout is
  6823. suspended, instead do it once layout is resumed
  6824. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6825. * Control.cs:
  6826. - After many hours of debugging, for both Jackson and
  6827. myself, it turns out that it helps to set the parent of a control
  6828. if you want to actually see it onscreen. In the spirit of that
  6829. discovery, we're now setting the parent of the control and
  6830. it's children when the control's handle is created. This fix
  6831. will make Lutz Roeder's Reflector run happily.
  6832. - now just creating the handle instead of the whole control when
  6833. getting a graphics context for the control.
  6834. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6835. * ScrollableControl.cs: When calculating the canvas, don't consider
  6836. the scrollbar widths. Instead, predict if horizontal scrollbar
  6837. will affect canvas when deciding on vertical display and vice versa.
  6838. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6839. * RichTextBox.cs: Set default RTF font for documents that don't
  6840. have a font table (Fixes #77076)
  6841. 2005-12-22 Jackson Harper <[email protected]>
  6842. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  6843. clipboard. This prevents a NullRef in that case.
  6844. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  6845. clipboard. PRIMARY is for the currently selected text only. (We
  6846. should implement PRIMARY at some point.
  6847. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6848. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  6849. a Unicode function with a structure that was defined in Ansi way.
  6850. This fixes #76942.
  6851. 2005-12-21 Jackson Harper <[email protected]>
  6852. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  6853. on. Because thats how it rolls. (and this avoids it using ambient
  6854. colours).
  6855. * ThemeWin32Classic.cs: Use the proper back color for filling.
  6856. * Menu.cs: Use the system menu bar color for drawing menu
  6857. bars. Using the window back color will bring ambient colours into
  6858. the picture.
  6859. 2005-12-21 Alexander Olk <[email protected]>
  6860. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  6861. Bitmaps were created and not disposed.
  6862. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6863. * Control.cs (CreateControl): Don't do anything if the control is
  6864. already created, otherwise we'd fire the OnCreated event more than
  6865. once
  6866. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6867. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  6868. will always match. Instead return -1. Fixes #76464.
  6869. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6870. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  6871. neither the beginning nor the end of the line (Fixes bug #76479)
  6872. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6873. * Control.cs:
  6874. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  6875. where handle is invalid
  6876. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  6877. instead of slower linear search
  6878. * NativeWindow.cs: Don't remove the window from the hashtable until
  6879. after the driver has destroyed it (since the driver might use
  6880. Control.FromHandle to lookup the control object
  6881. * Hwnd.cs: Added DestroyPending property to track if a window is
  6882. already destroyed as far as the driver is concerned and only hasn't
  6883. yet notified the control
  6884. * XplatUIX11.cs:
  6885. - Activate(): Check if the window is still valid before using the
  6886. handle
  6887. - Implemented DestroyChildWindow() method to mark child windows as
  6888. destroyed when a window is destroyed. This prevents situations
  6889. where we might call an X method based on queued events for a
  6890. window that already has been destroyed but we haven't yet pulled
  6891. the destroy method from the queue.
  6892. - Added a call to the new DestroyChildWindow() method to the drivers
  6893. DestroyWindow code. Also now marking the destroyed window itself
  6894. as pending
  6895. 2005-12-20 Jackson Harper <[email protected]>
  6896. * StatusBar.cs:
  6897. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  6898. anymore. Just do them when needed, also track the rects of panels
  6899. so that we can optimize refreshing more in the future.
  6900. 2005-12-20 Alexander Olk <[email protected]>
  6901. * ColorDialog.cs: Fixed focus drawing in small color controls
  6902. 2005-12-19 Jackson Harper <[email protected]>
  6903. * InternalWindowManager.cs:
  6904. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  6905. moving windows works properly.
  6906. 2005-12-19 Peter Dennis Bartok <[email protected]>
  6907. * Control.cs:
  6908. - Removed call to InitLayout() from SetBoundsCore(); doc says
  6909. it's only called when a control is added to a container
  6910. - Split InitLayout logic, moved to separate UpdateDistances() method
  6911. since we need to perform those calculations more often than just
  6912. when adding the control to a container. (Needed to fix #77022)
  6913. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  6914. - Reduced the OnBindingContextChanged events count, don't send them
  6915. unless the control is created, we still aren't totally matching
  6916. MS, but I can't quite figure out some of their rules
  6917. 2005-12-18 Alexander Olk <[email protected]>
  6918. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  6919. stripes
  6920. 2005-12-18 Alexander Olk <[email protected]>
  6921. * ThemeClearlooks.cs:
  6922. - Updated ProgressBar drawing
  6923. - Corrected drawing of ScrollBars and scroll buttons
  6924. - Some temporary fixes for minor pixel artefacts
  6925. 2005-12-18 Peter Dennis Bartok <[email protected]>
  6926. * Control.cs:
  6927. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  6928. cause events to be sent in the same order as MS does.
  6929. - Added ChangeParent() method to trigger various OnXXXChanged events
  6930. that need to be fired when a parent changes (This is a reworking
  6931. of the patch from r54254, with the X11 errors fixed)
  6932. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  6933. since on MS we get OnLayoutChanged events when calling Clear()
  6934. - Changed Enabled property to consider parent state as well, if a
  6935. parent is not enabled, the control will not be either
  6936. - Changed Parent property to simply call Controls.Add() since that
  6937. now does all the work required, this way we avoid code duplication
  6938. - Threw in a few OnBindingsContextChanged calls to try and match
  6939. when MS sends them. We seem to send a few too many, though.
  6940. - Added call to CreateControl when adding the control to a parent.
  6941. We were never calling CreateControl. Still needs some work, in
  6942. some places we treat HandleCreated and ControlCreated as equal,
  6943. which is wrong
  6944. - Removed obsolete commented out code from UpdateZOrder()
  6945. 2005-12-18 Alexander Olk <[email protected]>
  6946. * ThemeClearlooks.cs: Updated TrackBar drawing.
  6947. 2005-12-17 Alexander Olk <[email protected]>
  6948. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  6949. 2005-12-17 Alexander Olk <[email protected]>
  6950. * FileDialog.cs: Add the Help button and the open readonly
  6951. checkbox only if needed
  6952. 2005-12-16 Jackson Harper <[email protected]>
  6953. * Control.cs: Make sure we have an active menu before trying to
  6954. process commands on it. Prevents menu-less forms from crashing
  6955. when Alt is pressed.
  6956. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  6957. Dieter Bremes.
  6958. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  6959. 2.0 build.
  6960. 2005-12-16 Jackson Harper <[email protected]>
  6961. * InternalWindowManager.cs: Don't translate tool windows screen
  6962. coordinates. This fixes windows 'bouncing' around when being moved.
  6963. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6964. * TextBoxBase.cs:
  6965. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  6966. not quite MS compatible, MS uses that number only for single line
  6967. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  6968. the limit at 2GB)
  6969. - Now enforcing the MaxLength limit when entering characters
  6970. - Added argument to internal Paste() method to track if it's called
  6971. from programatically or via keyboard, since keyboard driven pastes
  6972. need to enforce max-length
  6973. - Added logic to Paste to only paste as many chars as MaxLength
  6974. allows
  6975. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  6976. * TextControl.cs:
  6977. - Added Length property to return number of characters in document
  6978. - Added private CharCount property which only tracks actual chars
  6979. in the document (no linefeeds) and fires event when CharCount
  6980. changes
  6981. - Added tracking of character count to all methods that alter it
  6982. - Added LengthChanged event to allow applications to subscribe
  6983. to any changes to the document
  6984. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6985. * TextBox.cs:
  6986. - Removed local password_char field (moved to TextBoxBase)
  6987. - Now setting the document's password var when password is
  6988. set
  6989. * TextBoxBase.cs:
  6990. - Added password_char field (needed here so MultiLine can
  6991. access it)
  6992. - Added logic to MultiLine property setter to set the document's
  6993. variable when password display is allowed
  6994. - Removed debug code and made some debug code conditional
  6995. * TextControl.cs:
  6996. - Added RecalculatePasswordLine() method to handle special password
  6997. char only lines
  6998. - Added PasswordChar property, also added related tracking vars
  6999. - Draw() method now uses local text var for grabbing text to draw,
  7000. this var is set to line.text unless we're doing password display,
  7001. then it is set to the pre-generated all-password-chars line
  7002. - Added calling RecalculatePasswordLine() method for password lines
  7003. 2005-12-14 Peter Dennis Bartok <[email protected]>
  7004. * Hwnd.cs:
  7005. - Added Reparented property to allow tracking of Window Manager
  7006. reparenting actions (which affect X/Y calculations of toplevel
  7007. windows)
  7008. - Made ToString() print window handles in hex
  7009. * XplatUIX11.cs:
  7010. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  7011. determine if X/Y needs offsetting
  7012. - AddConfigureNotify(): Fixed offset calculations
  7013. - Now adds ReparentNotify messages into the queue
  7014. - Now processes ReparentNotify messages and causes a
  7015. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  7016. is reparented (as most likely it's X/Y coordinates are changed
  7017. due to that)
  7018. 2005-12-14 Jackson Harper <[email protected]>
  7019. * XplatUIX11.cs: Tool windows still need to respek focus.
  7020. 2005-12-14 Peter Dennis Bartok <[email protected]>
  7021. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  7022. have a working release
  7023. 2005-12-13 Jackson Harper <[email protected]>
  7024. * Form.cs: Update styles after setting the border style regardless
  7025. of whether or not the window is using a window manager.
  7026. 2005-12-13 Jackson Harper <[email protected]>
  7027. * Form.cs: We now hook into an internal window manager instead of just an
  7028. MDI subsystem, this is so we can have properly behaving tool windows.
  7029. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  7030. * InternalWindowManager.cs: New internal class that acts as a
  7031. window manager for tool windows and as a base for mdi windows.
  7032. * MdiWindowManager.cs: New class that acts as a window manager for
  7033. mdi windows.
  7034. 2005-12-12 Jackson Harper <[email protected]>
  7035. * Control.cs: Updates so we match behavoir for for implicit
  7036. controls. Fixes explosions in MDI.
  7037. 2005-12-12 Jackson Harper <[email protected]>
  7038. * Control.cs: Implement Invalidate (Region).
  7039. 2005-12-12 Peter Dennis Bartok <[email protected]>
  7040. * Control.cs:
  7041. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  7042. the same events as MS does. MS fires events for each property
  7043. except, for unknown reasons, Cursor, when the control is reparented.
  7044. I can't seem to totally match add/remove since MS also fires some
  7045. VisibleChanged events, which makes no sense. Consolidated the
  7046. parenting code into a separate method so it can be called from
  7047. both Add and Remove. set_Parent no longer needs any special logic
  7048. as it calls the parent's add method which implicitly fires
  7049. all events
  7050. - Removed some obsolete code and debug output
  7051. - Enabled state is inherited from parents, if this is enabled
  7052. 2005-12-08 Peter Dennis Bartok <[email protected]>
  7053. * Form.cs: Removed commented out code
  7054. 2005-12-08 Peter Dennis Bartok <[email protected]>
  7055. * Control.cs:
  7056. - Added internal version of Invoke, with additional argument
  7057. indicating if we're calling it from a Dispose() handler. That
  7058. way we can avoid BeginInvoke throwing an exception if we're
  7059. calling for an already destroyed window.
  7060. - Added a dispose argument to BeginInvokeInternal, and made the
  7061. check if a valid window handle chain exists conditional on
  7062. it not being a dispose call
  7063. - Removed code in DestroyHandle to destroy our children. Since we
  7064. now handle the WM_DESTROY message we will catch all our children
  7065. being destroyed.
  7066. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  7067. * Form.cs:
  7068. - Added a field to track the application context of the form.
  7069. - No need to set closing variable as response to WM_CLOSE, instead
  7070. we destroy the window. We also call PostQuitMessage if the form
  7071. has an application context (which makes it the main app form,
  7072. which, when closed terminates the app)
  7073. * XplatUI.cs:
  7074. - Dropped Exit() method, it's naming was confusing
  7075. - Added PostQuitMessage() which causes GetMessage to return false
  7076. once the message queue is empty
  7077. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  7078. PostQuitMessage()
  7079. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  7080. no longer a valid XplatUI method, but left it in since it's used
  7081. internally. Added empty PostQuitMessage() method.
  7082. * MenuAPI.cs: Replaced call to Exit() with call to
  7083. PostQuitMessage, even though this is probably no longer needed.
  7084. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  7085. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  7086. * Application.cs:
  7087. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  7088. - Removed old debug code that would call XplatUI for exception
  7089. display, enabled standard exception handling (Still not enabled
  7090. though, until NativeWindow's ExternalExceptionHandler define
  7091. is removed
  7092. * NativeWindow.cs:
  7093. - Added internal method to allow control to update NativeWindow
  7094. after a window has been destroyed
  7095. - Added handling of already destroyed windows when calling i
  7096. DestroyWindow
  7097. - Added removal of handle from list on ReleaseHandle
  7098. * XplatUIX11.cs:
  7099. - Dropped GetMessageResult var and related code
  7100. - Added PostQuitState to field to track if PostQuitMessage has been
  7101. called
  7102. - Dropped Exit() method
  7103. - Added PostQuitMessage() method
  7104. - GetMessage now will return false if PostQuitState is set and no
  7105. more messages are in the queue.
  7106. - Expose handler will no longer generate WM_PAINT messages if we are
  7107. in PostQuitState since it's very likely any windows have already
  7108. been destroyed, and since Hwnd won't get updated until we have
  7109. processed the DestroyNotify we'd be causing X errors.
  7110. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7111. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  7112. Thanks to Mike for pointing out the err of my ways.
  7113. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7114. * Control.cs(PreProcessMessage): Moved menu handling back, but
  7115. after all other key handling, to match MS (who handles Menu in
  7116. DefWndProc)
  7117. * Menu.cs (WndProc): Removed my brainfart
  7118. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7119. * Control.cs(PreProcessMessage): Removed special menu handling
  7120. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  7121. 2005-12-07 Mike Kestner <[email protected]>
  7122. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  7123. state according in tracker.
  7124. * Menu.cs : promote tracker field to base class and provide a tracker
  7125. lookup capability. Add/Remove shortcuts dynamically if the top menu
  7126. has a tracker. Unparent items that are removed from the collection.
  7127. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  7128. * Theme*.cs: add always_show_hotkeys field to support configurability
  7129. of mnemonic display. win32 doesn't show mnemonics until Alt is
  7130. pressed.
  7131. 2005-12-07 Jackson Harper <[email protected]>
  7132. * MdiChildContext.cs: Use Control.ResetCursor.
  7133. * Control.cs: ResetCursor needs to set the property so that the
  7134. correct XplatUI call gets made.
  7135. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7136. * Control.cs: More fixes to make our key events match MS. We
  7137. were not setting the modifier state on KeyData, and we were
  7138. not generating any events when Alt was pressed with a key
  7139. since handling of WM_SYSxxx was missing for the OnKey methods.
  7140. 2005-12-07 Jackson Harper <[email protected]>
  7141. * MdiChildContext.cs: reenable the sizing code.
  7142. - When the mouse leaves a window reset its cursor.
  7143. 2005-12-07 Alexander Olk <[email protected]>
  7144. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  7145. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7146. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  7147. widths of Fixed3D borders
  7148. 2005-12-07 Jackson Harper <[email protected]>
  7149. * MdiClient.cs: Fix warnings. Earn Mike's love.
  7150. 2005-12-07 Alexander Olk <[email protected]>
  7151. * ThemeClearlooks.cs:
  7152. - Adjusted mouse over button color
  7153. - Added first parts of CheckBox drawing
  7154. - Added correct color for selected text background
  7155. - Fixed ComboBox drawing
  7156. - Added CPDrawBorder3D and CPDrawBorder
  7157. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7158. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  7159. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7160. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7161. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  7162. alert users via sound. We could add an enum arg with different
  7163. types of alerts in the future
  7164. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7165. * Control.cs: Fix behaviour problems pointed out by Mike
  7166. 2005-12-05 Mike Kestner <[email protected]>
  7167. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  7168. prop setters. Calls parent.Refresh for now, but could be maybe be
  7169. optimized with an internal method on StatusBar at some point.
  7170. [Fixes #76513]
  7171. 2005-12-05 Peter Dennis Bartok <[email protected]>
  7172. * RichTextBox.cs: Implemented get_SelectionColor
  7173. 2005-12-05 Alexander Olk <[email protected]>
  7174. * ThemeClearlooks.cs:
  7175. - Removed dead code
  7176. - Draw black button border only if button is Form.AcceptButton
  7177. - Draw correct button color for pressed RadioButton if the mouse
  7178. has entered the button
  7179. - Updated ProgressBar drawing!
  7180. - Updated CPDrawSizeGrip drawing
  7181. - Updated StatusBarPanel drawing
  7182. 2005-12-05 Mike Kestner <[email protected]>
  7183. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  7184. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  7185. 2005-12-04 Alexander Olk <[email protected]>
  7186. * ThemeClearlooks.cs: Initial check-in, activate with
  7187. export MONO_THEME=clearlooks
  7188. * ThemeEngine.cs: Added ThemeClearlooks
  7189. 2005-12-03 Mike Kestner <[email protected]>
  7190. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  7191. [Fixes #76897]
  7192. 2005-12-02 Jackson Harper <[email protected]>
  7193. * Form.cs: If the child form has no menu the default main menu is
  7194. used as the active menu.
  7195. 2005-12-02 Peter Dennis Bartok <[email protected]>
  7196. * ListBox.cs: Check if any items exist before trying to resolve
  7197. coordinates into items
  7198. 2005-12-02 Peter Dennis Bartok <[email protected]>
  7199. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  7200. as the second color for the background hatch
  7201. 2005-12-02 Peter Dennis Bartok <[email protected]>
  7202. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  7203. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  7204. sure that what we pass to FormatText is always 1-based. Fixes #76885
  7205. 2005-11-29 Miguel de Icaza <[email protected]>
  7206. * NumericUpDown.cs (EndInit): When we are done initializing,
  7207. reflect any updates on the UI.
  7208. 2005-12-02 Jackson Harper <[email protected]>
  7209. * ImplicitHScrollBar.cs:
  7210. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  7211. their container controls.
  7212. * TreeView.cs: Use the new implicit scrollbars.
  7213. 2005-12-02 Jackson Harper <[email protected]>
  7214. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  7215. can play with it.
  7216. * TreeNodeCollection.cs: If we remove the topnode we need to
  7217. update topnode to the next node in line.
  7218. - When clearing nodes go through the same process as removing
  7219. them, so they get depareneted and checked if they are top node.
  7220. 2005-12-01 Jackson Harper <[email protected]>
  7221. * TreeView.cs: When imagelists are used the image area is
  7222. selectable as well as the text.
  7223. - If there are no selected nodes select the first one.
  7224. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  7225. so don't do it more then we need to.
  7226. 2005-12-01 Jackson Harper <[email protected]>
  7227. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  7228. that arrows can be scaled.
  7229. 2005-12-01 Jackson Harper <[email protected]>
  7230. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  7231. fail. Patch by Dieter Bremes
  7232. 2005-11-30 Jackson Harper <[email protected]>
  7233. * Form.cs: Property is 2.0 only
  7234. * PrintDialog.cs: Signature fix.
  7235. 2005-11-30 Peter Dennis Bartok <[email protected]>
  7236. * TextControl.cs:
  7237. - No longer artificially moves text 2 pixels down (now that we have
  7238. borders this is no longer needed)
  7239. - Added calcs for left, hanging and right indent
  7240. 2005-11-23 Mike Kestner <[email protected]>
  7241. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  7242. 2005-11-30 Jackson Harper <[email protected]>
  7243. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  7244. get cloned as part of CloneMenu ().
  7245. * Menu.cs: Make sure the parent of the items get set correctly
  7246. when they are added. And the owners are notified of the changes.
  7247. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  7248. we can change the menu being displayed/handled by the form without
  7249. changing the menu assosciated with the form.
  7250. - Don't let Mdi children draw/handle menus.
  7251. 2005-11-30 Jackson Harper <[email protected]>
  7252. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  7253. a MenuChanged event. Just to make the API a little more
  7254. consistent.
  7255. * MainMenu.cs:
  7256. * MenuItem.cs: Use the new OnMenuChanged
  7257. * MdiChildContext.cs: Handle menu merging.
  7258. * Form.cs: Implement MergedMenu.
  7259. 2005-11-30 Jackson Harper <[email protected]>
  7260. * Menu.cs: We were misusing Add. Add goes behind the specified
  7261. index according to the docs, and does not replace the specified
  7262. index. So I added an Insert method.
  7263. 2005-11-30 Peter Dennis Bartok <[email protected]>
  7264. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  7265. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  7266. is for Jackson
  7267. * RichTextBox.cs: Added calls to base for DnD events
  7268. 2005-11-28 Peter Dennis Bartok <[email protected]>
  7269. * TextControl.cs:
  7270. - Fixed drag-selection related crash; style fixes
  7271. - Implemented undo class
  7272. o Implemented method to capture document state for specified
  7273. range in document tree
  7274. o Implemented method to restore captured document state
  7275. o Implemented cursor tracking
  7276. o Implemented basic undo stack
  7277. - Added undo cursor tracking to methods altering cursor location
  7278. - Added undo tracking to selection deletion (still missing
  7279. other text-altering hookups)
  7280. * RichTextBox.cs:
  7281. - Added SelectionLength property
  7282. - Implemented CanPaste()
  7283. - Implemented Paste()
  7284. - Added missing protected methods
  7285. - Fixed RTF->Document conversion; now uses font index 0 and color
  7286. index 0 as the default font for the parsed text
  7287. - Fixed RTF<->Document font size translation
  7288. - Fixed RTF generation, now properly handles cross-tag boundaries
  7289. for single line selection
  7290. - No longer always appends blank line to generated RTF
  7291. - Removed TODOs
  7292. - Added missing attributes
  7293. - Hooked up undo-related methods
  7294. * TextBoxBase.cs:
  7295. - Implemented Copy()
  7296. - Implemented Paste()
  7297. - Implemented Cut()
  7298. - Fixed caret mis-behaviour on backspace across line-boundaries
  7299. 2005-11-29 Jackson Harper <[email protected]>
  7300. * MdiClient.cs: Add a method for activating mdi children. Very
  7301. basic right now. I imagine someday it might need more girth.
  7302. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  7303. children windows names are added to the menu item.
  7304. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  7305. mdilist. This happens regardless of whether or not there are any
  7306. mdi windows to see in the list, and according to my tests happens
  7307. before the items are even added. Also happens if there isn't even
  7308. an mdi client to get windows from.
  7309. 2005-11-29 Alexander Olk <[email protected]>
  7310. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  7311. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  7312. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  7313. * DataGridTableStyle.cs:
  7314. - Create always the styles for the missing columns even if they are
  7315. provided by the user (not default table style)
  7316. * DataGrid.cs:
  7317. - Fixes bug 76770
  7318. - Fixes SetDataBinding (always re-attach source)
  7319. - Fixes SetNewDataSource (only clear styles if they are not for
  7320. this source)
  7321. - Expands OnTableStylesCollectionChanged to handle style refresh
  7322. and remove properly
  7323. 2005-11-29 Jackson Harper <[email protected]>
  7324. * FileDialog.cs: Implement missing bits, remove some dead
  7325. code.
  7326. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  7327. creation of the panel so that the options set on the dialog are
  7328. seen when the panel is created.
  7329. * TreeView.cs: raise a click when items are clicked.
  7330. 2005-11-29 Jackson Harper <[email protected]>
  7331. * MdiClient.cs: Pass some signature methods through to base.
  7332. 2005-11-28 Jackson Harper <[email protected]>
  7333. * ListView.cs: Raise the click event when items are clicked.
  7334. 2005-11-28 Jackson Harper <[email protected]>
  7335. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  7336. a nullref.
  7337. 2005-11-27 Alexander Olk <[email protected]>
  7338. * ThemeNice.cs: - Removed 1 pixel bitmaps
  7339. - Use SmoothingMode.AntiAlias where it makes sense
  7340. (ScrollButton arrow for example)
  7341. - Enhanced Button focus drawing
  7342. - Fixed ComboBox drawing (no artefacts anymore, focus
  7343. rectangle is back again, reduced size of ComboButton, etc.)
  7344. - Fixed RadioButton focus drawing for Appearence.Button
  7345. - Slight ScrollButton redesign
  7346. - Some LinearGradientBrush size fixes
  7347. - GroupBoxes have now rounded edges
  7348. - Fixed StatusBar drawing
  7349. 2005-11-25 Alexander Olk <[email protected]>
  7350. * ThemeNice.cs: - Remove dead code
  7351. - use correct background colors for menus, etc.
  7352. - Fake pixel drawing with 1 pixel bitmaps
  7353. 2005-11-24 Jackson Harper <[email protected]>
  7354. * MdiClient.cs: Size the scrollbars when resizing the window.
  7355. - Resize the maximized windows when the client is resized
  7356. * Form.cs: Make the child context available
  7357. 2005-11-23 Jackson Harper <[email protected]>
  7358. * MdiChildContext.cs: Don't size windows if they are maximized.
  7359. 2005-11-23 Mike Kestner <[email protected]>
  7360. * ContextMenu.cs: use MenuTracker.
  7361. * Control.cs: remove menu handle usage.
  7362. * Form.cs: remove menu handle usage.
  7363. * Hwnd.cs: remove menu handle usage.
  7364. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  7365. motion and clicks to the new Tracker handlers.
  7366. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  7367. and handle usage.
  7368. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  7369. Killed the MENU and MENUITEM data types and associated collections
  7370. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  7371. MenuTracker class that exposes the leftovers from the old MenuAPI
  7372. static methods. Restructured Capture handling so that only one grab is
  7373. done for the entire menu hierarchy instead of handing off grabs to
  7374. submenus. Tracker now has an invisible control to Capture when active.
  7375. * MenuItem.cs: add sizing accessors, kill Create
  7376. and handle usage.
  7377. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  7378. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  7379. MENU(ITEM). remove menu handle usage, use Menu directly.
  7380. * XplatUIDriver.cs: remove menu handle usage.
  7381. * XplatUIOSX.cs: remove menu handle usage.
  7382. * XplatUIWin32.cs: remove menu handle usage.
  7383. * XplatUIX11.cs: remove menu handle usage.
  7384. 2005-11-22 Jackson Harper <[email protected]>
  7385. * Hwnd.cs: Don't compute the menu size for
  7386. DefaultClientRectangle.
  7387. - Reenable menu sizes being computed for GetClienRectangle.
  7388. * Form.cs: Remove comment of trechery
  7389. 2005-11-22 Jackson Harper <[email protected]>
  7390. * Hwnd.cs: The adjustments for the menu bar are made when it is
  7391. attached to the form.
  7392. 2005-11-19 Jackson Harper <[email protected]>
  7393. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  7394. (just like on windows).
  7395. 2005-11-19 Jackson Harper <[email protected]>
  7396. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  7397. use real buttons anymore because they are in non client area. The
  7398. one TODO here is that I need to somehow invalidate a section of
  7399. the non client area.
  7400. 2005-11-18 Jackson Harper <[email protected]>
  7401. * Control.cs: Put the enum check back in now that MDI doesnt have
  7402. to use this to set border styles.
  7403. * Form.cs: Only set mdi child windows borders if the handle has
  7404. been created.
  7405. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  7406. this directly on to the driver.
  7407. - Get the move start position before adjusting for the titlebar
  7408. height, this fixes the windows "skipping" when they are first
  7409. moved.
  7410. 2005-11-18 Jackson Harper <[email protected]>
  7411. * XplatUIX11.cs: Just compute the mdi borders separately as they
  7412. don't totally match up with normal form borders.
  7413. 2005-11-18 Jackson Harper <[email protected]>
  7414. * Control.cs: Set WS_ styles for borders, so that the driver does
  7415. not have to retrieve the control instance to figure out what kind
  7416. of borders it should have.
  7417. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  7418. driver can know its an mdi child easily.
  7419. * XplatUIX11.cs: Get the border styles and whether the window is
  7420. MDI from the Styles and ExStyles params instead of having to get a
  7421. control. This prevents a chicken and egg problem.
  7422. 2005-11-18 Jackson Harper <[email protected]>
  7423. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  7424. 2005-11-18 Jackson Harper <[email protected]>
  7425. * MdiClient.cs: Calculate when to add and remove scrollbars
  7426. correctly.
  7427. * MdiChildContext.cs: Adjust the y position to take the titlebar
  7428. into account.
  7429. - No height for FormBorderStyle.None
  7430. 2005-11-18 Jackson Harper <[email protected]>
  7431. * Control.cs: Allow non enum values to be used for
  7432. InternalBorderStyle. MDI does this to set a special border style.
  7433. - New utility methods for converting points to/from client coords
  7434. - Add the newly created control to the Controls collection before
  7435. updating its style. This way UpdateStyle can walk the control
  7436. heirarchy to find the control if needed.
  7437. so I don't need to create a new Point object all the time.
  7438. * Form.cs: Let MDI windows handle their border styles.
  7439. - Set styles on MDI windows so the correct title style is derived.
  7440. * MdiChildContext.cs: Move all the painting and window handling
  7441. into the non client area.
  7442. - Use correct sizing and put correct buttons on frames based on
  7443. the FormBorderStyle.
  7444. - Notify the mdi client about scrolling
  7445. - Need to handle the buttons ourselves now, because they are all
  7446. in non client areas and we can't add controls there.
  7447. * MdiClient.cs: Halfway to scrolling, this implementation is
  7448. somewhat broken though, we need to check to make sure other
  7449. windows aren't causing scrolling before removing the bars. Also
  7450. the bars need to be drawn on top, maybe I can switch implicit
  7451. controls to be on top.
  7452. * Hwnd.cs: caption_height and tool_caption_height are now
  7453. properties of an hwnd, this way they can be set by the driver
  7454. based on the type of window they are. In X11 the window manager
  7455. handles the decorations so caption_height is zero unless its an
  7456. MDI window.
  7457. - Add 3 pixel borders for MDI windows (0xFFFF).
  7458. - Get rid of some code duplication, have DefaultClientRectanle
  7459. just call GetClientRectangle.
  7460. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  7461. Hwnd now.
  7462. - Set border styles differently for mdi windows.
  7463. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  7464. Hwnd now.
  7465. 2005-11-15 Mike Kestner <[email protected]>
  7466. * Menu.cs: when adding an item to the collection, if item is already
  7467. parented, remove it from the parent.
  7468. 2005-11-13 Alexander Olk <[email protected]>
  7469. * X11DesktopColors.cs: Added KDE support
  7470. 2005-11-11 Peter Dennis Bartok <[email protected]>
  7471. * XplatUIWin32.cs:
  7472. - Clipboard methods now can translate Rtf format
  7473. - No longer removes clipboard contents whenever a new format is added
  7474. to allow placing multiple formats on the clipboard
  7475. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  7476. will place all formats contained in it onto the clipboard. Also
  7477. now cleans the clipboard before placing a new object onto it
  7478. * RichTextBox.cs:
  7479. - Implemented set_Rtf
  7480. - Implemented set_SelectedRtf
  7481. - Created InsertRTFFromStream() method to allow single code base
  7482. for all properties and methods that insert RTF into document
  7483. - Removed debug output
  7484. * TextControl.cs:
  7485. - Fixed Delete(int) to fix up line numbers
  7486. - Fixed ReplaceSelection to combine start and end line
  7487. - Fixed serious DeleteChars bug that would leave the document tree
  7488. broken
  7489. - Improved DumpTree with several logic checks to detect broken
  7490. document trees
  7491. - Removed debug lines
  7492. - Fixed Caret.WordForward/WordBack moving code, now always also
  7493. updates caret.tag (fixes crash when word-selecting across tag
  7494. boundaries via keyboard)
  7495. - Added Insert() method for inserting multiline text into documents
  7496. - Fixed DeleteChars() calculation errors that would cause a broken
  7497. tag chain with multiple tag lines
  7498. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  7499. - Split() no longer moves caret if split is at caret location
  7500. - ReplaceSelection() now updates the cursor and re-displays it
  7501. - ReplaceSelection() now uses new Insert() method to avoid code
  7502. duplication
  7503. - FormatText() can now handle formatting partial lines
  7504. * TextBoxBase.cs:
  7505. - Append now uses new TextControl.Insert() method (this avoids
  7506. duplicate code)
  7507. - Implemented Ctrl-X (Cut) (
  7508. - Implemented Ctrl-C (Copy)
  7509. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  7510. regeneration when pasting text; roundtripping Copy&Paste within
  7511. edit control still fails due to some calculation bugs in GenerateRTF)
  7512. - The Delete key will now remove the current selection if it is visible
  7513. * TextBox.cs: Removed debug lines
  7514. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  7515. driver to be initialized and can't therefore be done via a static ctor)
  7516. 2005-11-10 Peter Dennis Bartok <[email protected]>
  7517. * TextControl.cs: Added backend code for finding char arrays and strings
  7518. * TextBoxBase.cs:
  7519. - Added mouse wheel scroll support
  7520. - Added support for VScroll and HScroll events
  7521. * RichTextBox.cs:
  7522. - Implemented all seven Find() variants
  7523. - Implemented GetCharFromPosition()
  7524. - Implemented GetCharIndexFromPosition()
  7525. - Implemented GetLineFromIndex()
  7526. - Implemented GetPositionFromCharIndex();
  7527. - Implemented SaveFile for PlainText and UnicodeText
  7528. - Fixed set_Font, now setting a new font applies that font to
  7529. the whole document
  7530. - Implemented generic Document to RTF converter
  7531. - Implemented SaveFile for RichText format (still missing unicode
  7532. conversion for non-ansi chars)
  7533. - Implemented get_Rtf
  7534. - Implemented get_SelectedRtf
  7535. 2005-11-09 Peter Dennis Bartok <[email protected]>
  7536. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  7537. to allow any captures to be released before triggering OnClick. This
  7538. way a click handler may capture the mouse without interference.
  7539. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  7540. This way we send them even though X may not allow a grab (if the window
  7541. isn't visible, for example)
  7542. 2005-11-08 Pedro Martinez Julia <[email protected]>
  7543. * DataGridViewRowEventArgs.cs: DataGridView implementation
  7544. * DataGridViewElement.cs: DataGridView implementation
  7545. * DataGridViewComboBoxCell.cs: DataGridView implementation
  7546. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  7547. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  7548. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  7549. * ImageLayout.cs: DataGridView implementation
  7550. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  7551. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  7552. * DataGridViewSelectionMode.cs: DataGridView implementation
  7553. * IDataGridViewEditingControl.cs: DataGridView implementation
  7554. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  7555. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  7556. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  7557. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  7558. * DataGridViewColumnSortMode.cs: DataGridView implementation
  7559. * DataGridView.cs: DataGridView implementation
  7560. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  7561. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  7562. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  7563. * Padding.cs: DataGridView implementation
  7564. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  7565. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  7566. * DataGridViewRowEventHandler.cs: DataGridView implementation
  7567. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  7568. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  7569. * DataGridViewButtonCell.cs: DataGridView implementation
  7570. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  7571. * DataGridViewEditMode.cs: DataGridView implementation
  7572. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  7573. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  7574. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  7575. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  7576. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  7577. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  7578. * DataGridViewCellEventHandler.cs: DataGridView implementation
  7579. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  7580. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  7581. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  7582. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  7583. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  7584. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  7585. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7586. * QuestionEventArgs.cs: DataGridView implementation
  7587. * IDataGridViewEditingCell.cs: DataGridView implementation
  7588. * DataGridViewTriState.cs: DataGridView implementation
  7589. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  7590. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  7591. * DataGridViewColumnCollection.cs: DataGridView implementation
  7592. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  7593. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  7594. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  7595. * DataGridViewColumn.cs: DataGridView implementation
  7596. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  7597. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7598. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  7599. * DataGridViewRow.cs: DataGridView implementation
  7600. * DataGridViewImageCellLayout.cs: DataGridView implementation
  7601. * DataGridViewImageCell.cs: DataGridView implementation
  7602. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  7603. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  7604. * DataGridViewHeaderCell.cs: DataGridView implementation
  7605. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  7606. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  7607. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  7608. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  7609. * QuestionEventHandler.cs: DataGridView implementation
  7610. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  7611. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  7612. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7613. * DataGridViewCell.cs: DataGridView implementation
  7614. * DataGridViewCellEventArgs.cs: DataGridView implementation
  7615. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  7616. * DataGridViewCellStyle.cs: DataGridView implementation
  7617. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  7618. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  7619. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  7620. * TextFormatFlags.cs: DataGridView implementation
  7621. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  7622. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  7623. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  7624. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  7625. * DataGridViewButtonColumn.cs: DataGridView implementation
  7626. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  7627. * HandledMouseEventArgs.cs: DataGridView implementation
  7628. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  7629. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  7630. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  7631. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  7632. * DataGridViewRowCollection.cs: DataGridView implementation
  7633. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  7634. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  7635. * DataGridViewHitTestType.cs: DataGridView implementation
  7636. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  7637. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  7638. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  7639. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  7640. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  7641. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  7642. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  7643. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  7644. * DataGridViewContentAlignment.cs: DataGridView implementation
  7645. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  7646. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  7647. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  7648. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  7649. * DataGridViewPaintParts.cs: DataGridView implementation
  7650. * DataGridViewCellCollection.cs: DataGridView implementation
  7651. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  7652. * DataGridViewImageColumn.cs: DataGridView implementation
  7653. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  7654. * DataGridViewElementStates.cs: DataGridView implementation
  7655. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  7656. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  7657. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  7658. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  7659. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  7660. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  7661. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  7662. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  7663. * DataGridViewTextBoxCell.cs: DataGridView implementation
  7664. * DataGridViewBand.cs: DataGridView implementation
  7665. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  7666. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  7667. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  7668. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  7669. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  7670. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  7671. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  7672. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  7673. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7674. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  7675. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  7676. 2005-11-08 Peter Dennis Bartok <[email protected]>
  7677. * ThemeWin32Classic.cs:
  7678. - Draw the outside focus rectangle around buttons
  7679. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  7680. doesn't use end caps for every dash of a line anymore. This
  7681. workaround ignores the forecolor.
  7682. 2005-11-08 Kornél Pál <[email protected]>
  7683. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  7684. endian safe.
  7685. 2005-11-07 Jackson Harper <[email protected]>
  7686. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  7687. 2005-11-07 Jackson Harper <[email protected]>
  7688. * ScrollableControl.cs: Calculate the maximum and change vars
  7689. (more) correctly so that scrollbars appear as a sensible size.
  7690. 2005-11-04 Jackson Harper <[email protected]>
  7691. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  7692. collection.
  7693. * TreeView.cs: When the tree is sorted null out the top_node so
  7694. that it is recalculated.
  7695. - Use dotted lines instead of dashed lines to match MS better.
  7696. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  7697. * ListView.cs:
  7698. - Implements key search for items. Useful when browsing files with FileDialog
  7699. - When changing view mode or when clear the items reset scrollbar positions
  7700. 2005-11-04 Jackson Harper <[email protected]>
  7701. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  7702. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  7703. as to what the method may do as there is no real way of creating a
  7704. derived CurrencyManager and calling the method.
  7705. 2005-11-03 Jackson Harper <[email protected]>
  7706. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  7707. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  7708. method which seems to just be used internally to refresh the tabs.
  7709. 2005-11-03 Jackson Harper <[email protected]>
  7710. * TabControl.cs: Implement the remove method. Fix some broken
  7711. comments.
  7712. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7713. * DateTimePicker.cs:
  7714. - Added missing DateTimePickerAccessibleObject class
  7715. - Added missing events
  7716. - Added OnFontChanged method
  7717. * Form.cs: Added missing attributes
  7718. * TreeView.cs: Added missing attributes
  7719. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7720. * GridItemCollection.cs: Fix signatures
  7721. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7722. * XplatUI.cs: Updated build rev/date
  7723. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  7724. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  7725. * Application.cs: Trigger context-specific ExitThread events
  7726. 2005-11-03 Jackson Harper <[email protected]>
  7727. * Menu.cs:
  7728. * MainMenu.cs:
  7729. * GridTableStylesCollection.cs:
  7730. * Timer.cs:
  7731. * TabPage.cs:
  7732. * HelpProvider.cs:
  7733. * StatusBar.cs:
  7734. * MonthCalendar.cs: Signature fixes
  7735. 2005-11-03 Jackson Harper <[email protected]>
  7736. * TreeNodeCollection.cs: Remove should not be virtual.
  7737. * TreeView.cs: Implement the last of the missing methods.
  7738. 2005-11-03 Jackson Harper <[email protected]>
  7739. * TreeNodeConverter.cs: Implement to get off my class-status back.
  7740. 2005-11-03 Jackson Harper <[email protected]>
  7741. * TreeView.cs: Hookup the bits for drag and drop.
  7742. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  7743. that nodes can be moved from tree to tree easily this just causes
  7744. all sorts of problems.
  7745. * TreeNodeCollection: Don't need to give treenodes an index and
  7746. treeview anymore when they are added, these are computed on the
  7747. fly. Also make sure to remove a node before its added.
  7748. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7749. * TextControl.cs:
  7750. - Added CaretSelection enum
  7751. - Added comparison methods to Marker struct, makes selection code
  7752. more readable
  7753. - Added SelectionStart and SelectionEnd as 'moveable' location for
  7754. the CaretDirection enum and handler
  7755. - Added selection_prev variable to track optimized invalidation for
  7756. word and line selection
  7757. - Added SelectionVisible property (returns true if there is a valid
  7758. selection)
  7759. - Switched CaretHasFocus to only display the caret if there is no
  7760. visible selection
  7761. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  7762. using the direct character index; should be much faster
  7763. - Added various conditional debug statements
  7764. - Fixed invalidation calculation for selection ranges
  7765. - Added ExpandSelection() method to support word and line selection
  7766. - Switched SetSelectionToCaret to use new Marker compare overloads
  7767. - Added central IsWordSeparator() method to determine word
  7768. separators/whitespace and FindWordSeparator() to streamline common
  7769. usage of IsWordSeparator()
  7770. * TextBoxBase.cs:
  7771. - Removed unneeded grabbed variable, it was just mirroring
  7772. Control.Capture
  7773. - No longer firing OnTextChanged event when Text setter is called,
  7774. since the base will fire the event for us
  7775. - Added handling of Ctrl-Up/Down selection
  7776. - Added handling of Shift-Cursorkey selection
  7777. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  7778. words
  7779. - Added handling of Shift and Ctrl-Shift-Home/End selection
  7780. - Removed some debug output
  7781. - Added handling for single/double/tripple-click to place caret/
  7782. select word/select line respectively (Fixes bug #76031)
  7783. - Added support for drag expansion of word/line selection
  7784. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  7785. current selection
  7786. 2005-11-02 Jackson Harper <[email protected]>
  7787. * X11Dnd.cs: If the drag is going to and from a MWF window just
  7788. copy the data instead of sending it out through the X Selection
  7789. mechanism.
  7790. 2005-11-02 Jackson Harper <[email protected]>
  7791. * X11Dnd.cs:
  7792. * XplatUIX11.cs: When in a drag we don't want motion notify
  7793. messages to get passed on to the other controls. This prevents
  7794. mouse move messages from showing up in the drag source.
  7795. 2005-11-02 Jackson Harper <[email protected]>
  7796. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  7797. the correct button is release to end a drag.
  7798. * XplatUIX11.cs: Make the button state internal so the drag system
  7799. can access it. Dragging needs to know about all button releases,
  7800. not just left button.
  7801. 2005-11-02 Miguel de Icaza <[email protected]>
  7802. * Form.cs (Icon): If the icon is null, reset the icon to the
  7803. default value.
  7804. * Cursor.cs: When writing the AND-mask bitmap do not include the
  7805. number of colors, but hardcode those to two (black and white),
  7806. fixes the loading of color cursors (Paint Dot Net).
  7807. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  7808. turn off autoscaling.
  7809. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  7810. 2005-11-02 Jackson Harper <[email protected]>
  7811. * X11Dnd.cs: Make sure to send a status message if the pointer
  7812. enters a control that can not accept a drop, otherwise the cursor
  7813. isn't updated correctly. Also tried to compress the lines of code
  7814. a bit.
  7815. 2005-11-02 Jackson Harper <[email protected]>
  7816. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  7817. set actions correctly. This isn't perfect as XDND and win32 have
  7818. some differences on how you allow actions. I'll clear this up by
  7819. adding a path for drag from MWF to MWF windows.
  7820. * XplatUIX11.cs: Hook into the dnd system.
  7821. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  7822. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  7823. previously shown but they are no longer need it. Very obvious when
  7824. browsing files with FileDialog.
  7825. 2005-11-01 Peter Dennis Bartok <[email protected]>
  7826. * Control.cs: We always need to call OnPaintBackground. We pretty much
  7827. ignore AllPaintingInWmPaint and always do the painting there, whether
  7828. it's set or not, since we always ignore the WM_ERASEBKGND message
  7829. (which we don't generate on X11). This fixes #76616.
  7830. * Panel.cs: Removed unneeded background painting. This happens properly
  7831. in Control.cs already
  7832. 2005-10-31 Mike Kestner <[email protected]>
  7833. * Menu.cs: Add items to collection before setting their index.
  7834. * MenuItem.cs : add range checking with ArgumentException like MS.
  7835. [Fixes #76510]
  7836. 2005-10-31 Jackson Harper <[email protected]>
  7837. * ListBox.cs: Invalidate if the area is visible at all not just
  7838. contained in the visible rect. Fixes unselection of semi visible
  7839. items.
  7840. 2005-10-31 Jackson Harper <[email protected]>
  7841. * Control.cs: Consistently name the dnd methods. Make them
  7842. internal so we can override them to match some MS behavoir
  7843. internally.
  7844. * Win32DnD.cs: Use the new consistent names.
  7845. 2005-10-31 Jackson Harper <[email protected]>
  7846. * TreeView.cs: Don't draw the selected node when we lose focus.
  7847. 2005-10-31 Jackson Harper <[email protected]>
  7848. * X11Dnd.cs: We still need to reset the state even though a full
  7849. reset isn't being done, otherwise status's still get sent all over
  7850. the place.
  7851. 2005-10-31 Jackson Harper <[email protected]>
  7852. * Control.cs: Make the dnd_aware flag internal so the dnd
  7853. subsystem can check it. Catch exceptions thrown in dnd handlers to
  7854. match MS behavoir.
  7855. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  7856. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  7857. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  7858. flags to reduce the number of dnd enters/status's sent.
  7859. 2005-10-31 Jackson Harper <[email protected]>
  7860. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  7861. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  7862. * PictureBox.cs: Fixes 76512
  7863. 2005-10-28 Jackson Harper <[email protected]>
  7864. * X11Dnd.cs: Early implementation to support winforms being a drag
  7865. source for data on X11. Also restructured the converters so they
  7866. can go both ways now.
  7867. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  7868. 2005-10-27 Peter Dennis Bartok <[email protected]>
  7869. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  7870. clipboard requests
  7871. 2005-10-27 Jackson Harper <[email protected]>
  7872. * TreeNode.cs: Implement serialization so my DnD examples will work.
  7873. 2005-10-24 Kornél Pál <[email protected]>
  7874. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  7875. TreeView.cs: Don't dispose objects that are not owned.
  7876. 2005-10-24 Peter Dennis Bartok <[email protected]>
  7877. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  7878. should retrieve the current cursor and report that, but XplatUI
  7879. doesn't (yet) have an interface for that (and I'm not sure I even
  7880. can, on X11)
  7881. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  7882. until any message loop processing is done (and the WM_SETCURSOR
  7883. replaces the cursor to the proper one)
  7884. * XplatUIX11.cs:
  7885. - Fixed override behaviour, we can't set the cursor globally on X11,
  7886. just for our windows.
  7887. - Invalidating the System.Drawing X11 display handle when we are
  7888. shutting down
  7889. * Control.cs: Fix to make csc happy
  7890. 2005-10-23 Peter Dennis Bartok <[email protected]>
  7891. * TextBoxBase.cs:
  7892. - get_Text: Add last line (without trailing newline) to returned
  7893. value (Fixes 76212)
  7894. - get_TextLength: Count last line in returned length
  7895. - ToString: Call Text property instead of duplicating code
  7896. 2005-10-23 Kornél Pál <[email protected]>
  7897. * ImageList.cs: Dispose ImageAttributes objects.
  7898. 2005-10-22 Kornél Pál <[email protected]>
  7899. * ImageList.cs: Use attribute constructors with less arguments where
  7900. possible.
  7901. 2005-10-22 Kornél Pál <[email protected]>
  7902. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  7903. Use typeof instead of strings when assembly is referenced. Added
  7904. some more comments.
  7905. 2005-10-21 Jackson Harper <[email protected]>
  7906. * ListView.cs: Raise a double click event. Also tried to somewhat
  7907. fix when the selectedindexchanged event is raised. Its still
  7908. broken though.
  7909. 2005-10-21 Jackson Harper <[email protected]>
  7910. * TreeView.cs: New method to invalidate the plus minus area of a
  7911. node without invalidating the whole node (maybe this can be used
  7912. in some more places).
  7913. * TreeNodeCollection.cs: When adding to an empty node we need to
  7914. invalidate its plus minus area so the little block shows up.
  7915. 2005-10-21 Jackson Harper <[email protected]>
  7916. * TreeView.cs: Make sure that when we invalidate a node the bounds
  7917. are big enough to cover the selected box and the focus
  7918. rectangle. Use a different colour for the lines connecting nodes
  7919. so they show up with all themes.
  7920. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7921. * NativeWindow.cs: Don't call anything that could call into the driver,
  7922. we might be on a different thread.
  7923. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7924. * Control.cs(Dispose): Since Dispose might run on a different thread,
  7925. make sure that we call methods that could call into the driver via
  7926. invoke, to avoid thread issues
  7927. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7928. * XplatUI.cs: Removed finalizer
  7929. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  7930. not allowing to be called on the finalizer thread.
  7931. 2005-10-21 Kornél Pál <[email protected]>
  7932. * ImageList.cs:
  7933. - Reverted r51889 and r51891.
  7934. - Added ImageListItem class that stores unmodified image items and image
  7935. properties required to create list images until handle is created.
  7936. - Added AddItem and moved image creation logic to AddItemInternal.
  7937. - Added CreateHandle method that creates images based on unmodified items.
  7938. - Added DestroyHandle that changes state to store unmodified items.
  7939. - Add and AddStrip methods no more create handle.
  7940. - ReduceColorDepth has no return value.
  7941. - Dispose destroys handle.
  7942. - Modified other methods to reflect the above changes.
  7943. - Implemented key support.
  7944. - Added profile 2.0 members and attributes.
  7945. - Added private Reset and ShouldSerialize methods that provide the same
  7946. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  7947. them as they are private.
  7948. - Added some more comments about implementation details.
  7949. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7950. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  7951. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7952. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  7953. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7954. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  7955. * DataGridColumnStyle.cs: Remove debug message
  7956. 2005-10-20 Jackson Harper <[email protected]>
  7957. * TreeView.cs: We can always get input keys regardless of whether
  7958. or not editing is enabled. They are used for navigation.
  7959. 2005-10-20 Jackson Harper <[email protected]>
  7960. * TreeNode.cs: Use the viewport rect for determining if a node
  7961. needs to be moved for visibility. Don't use Begin/End edit. This
  7962. calls a full refresh when its done.
  7963. * TreeView.cs: New SetBottom works correctly. Make the viewport
  7964. rect property internal so the treenodes can see it. When clicking
  7965. on a node we need to ensure that its visible because it might just
  7966. be partly visible when clicked.
  7967. 2005-10-20 Jackson Harper <[email protected]>
  7968. * TreeNodeCollection.cs: Remove debug code.
  7969. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7970. * Datagrid.cs: Implements column sorting in Datagrid
  7971. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  7972. 2005-10-20 Jackson Harper <[email protected]>
  7973. * TreeNodeCollection.cs: Remove items properly. Update the correct
  7974. area after removing them.
  7975. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7976. * Datagrid.cs: Should not call base.OnPaintBackground
  7977. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7978. * XplatUIX11.cs (GetMessage):
  7979. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  7980. window instead of client window
  7981. - Now properly calculates NC_xBUTTONUP message coordinates
  7982. - ScreenToMenu now properly calculates it's coordinates of whole
  7983. window, since menus are in the whole window, not in the client
  7984. window
  7985. - Added WholeToScreen coordinate translation method
  7986. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7987. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  7988. want to return a message, loop back to the beginning of the function
  7989. and grab the next real message to process instead.
  7990. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7991. * Splitter.cs: Properly set limits if no filler control is used
  7992. 2005-10-19 Jackson Harper <[email protected]>
  7993. * ColorDialog.cs: Don't show the help button if it is not enabled
  7994. instead of disabling it (this is what MS does). Don't create the
  7995. panel until the dialog is run, otherwise the vars (such as
  7996. ShowHelp) are not set yet.
  7997. 2005-10-19 Jackson Harper <[email protected]>
  7998. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  7999. are reduced when adding nodes.
  8000. * TreeNode.cs:
  8001. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  8002. tree.
  8003. 2005-10-19 Jackson Harper <[email protected]>
  8004. * FolderBrowserDialog.cs: End editing our treeview so the window
  8005. actually gets refreshed.
  8006. 2005-10-18 Peter Dennis Bartok <[email protected]>
  8007. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  8008. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  8009. inside of WM_PAINT
  8010. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8011. * MenuAPI.cs: Returns after Hidding window
  8012. * XplatUIX11.cs: Added TODO found while debugging menu issues
  8013. 2005-10-18 Peter Dennis Bartok <[email protected]>
  8014. * XplatUIX11.cs: Do not re-map the whole window when it's size
  8015. becomes non-zero unless it's supposed to be actually visible
  8016. 2005-10-18 Jackson Harper <[email protected]>
  8017. * TreeView.cs: We don't need to keep a count anymore.
  8018. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  8019. use the Grow method.
  8020. 2005-10-18 Jackson Harper <[email protected]>
  8021. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  8022. implement it manually here.
  8023. 2005-10-18 Jackson Harper <[email protected]>
  8024. * ImageList.cs: Dont kill the list when the colour depth is
  8025. changed, just change the colour depth of all the images.
  8026. - Same goes for setting the image size. Just resize them all
  8027. instead of killing the list softly.
  8028. 2005-10-18 Jackson Harper <[email protected]>
  8029. * Control.cs: Don't invalidate empty rectangles.
  8030. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8031. * ListViewItem.cs:
  8032. - Adds checked item to the Checked/Item lists (where empty before)
  8033. - Do not add items to the Selected lists if they are already present
  8034. * ListView.cs:
  8035. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  8036. - When deleting items make sure that we delete them for the Selected
  8037. and Checked list also.
  8038. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8039. * Label.cs: Dispose objects no longer used
  8040. * ThemeWin32Classic.cs: Dispose objects no longer used
  8041. 2005-10-18 Jackson Harper <[email protected]>
  8042. * TabControl.cs: Don't refresh the whole control when the tabs are
  8043. scrolled, we just need to refresh the tab area.
  8044. 2005-10-17 Jackson Harper <[email protected]>
  8045. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  8046. after handle when we need it.
  8047. 2005-10-17 Peter Dennis Bartok <[email protected]>
  8048. * Control.cs: When the parent size changes, recalculate anchor
  8049. positions. Partial fix for #76462
  8050. 2005-10-17 Peter Dennis Bartok <[email protected]>
  8051. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  8052. drawn. Fixes #76462
  8053. 2005-10-17 Jackson Harper <[email protected]>
  8054. * MonthCalendar.cs: Don't create the numeric up down until our
  8055. handle is created. Otherwise our handle is created in the
  8056. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  8057. yet.
  8058. 2005-10-17 Jackson Harper <[email protected]>
  8059. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  8060. correctly.
  8061. 2005-10-17 Rafael Teixeira <[email protected]>
  8062. * TreeNode.cs : small logical fix (was using local var instead of field)
  8063. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  8064. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  8065. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  8066. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  8067. 2005-10-16 Peter Dennis Bartok <[email protected]>
  8068. * Control.cs:
  8069. - Re-implemented anchoring code. My first version was really broken.
  8070. This fixes bug #76033. Unlike the previous implementation we will
  8071. no longer have round errors since all numbers are calculated from
  8072. scratch every time. Removed various anchor-related obsolete vars.
  8073. - InitLayout no longer causes layout event firing and layout to be
  8074. performed
  8075. 2005-10-16 Jackson Harper <[email protected]>
  8076. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  8077. which was broken).
  8078. 2005-10-16 Jackson Harper <[email protected]>
  8079. * TabControl.cs: Remove debug code.
  8080. 2005-10-16 Jackson Harper <[email protected]>
  8081. * XEventQueue.cs: Increase the default queue size (very simple
  8082. apps needed to grow the queue).
  8083. * Hwnd.cs: No finalizer so we don't need to suppress
  8084. finalization. Compute the invalid area manually so a new rectangle
  8085. does not newto be created.
  8086. * ScrollableControl.cs: Don't set any params (otherwise visibility
  8087. isn't set correctly).
  8088. * MdiChildContext.cs: New constructor takes the mdi parent so it
  8089. doesn't have to be computed and avoids a crash on windows. Draw
  8090. the window icon properly, and allow the text to be seen.
  8091. * Form.cs: Use new MdiChildContext constructor. Make sure the
  8092. child context isn't null in wndproc.
  8093. * TabControl.cs: Don't set focus, this is muddling keyboard
  8094. behavoir. Expand the tab rows when a window size increase will
  8095. allow extra tabs to be seen. Don't allow tabs smaller than the
  8096. width of a window to be scrolled out of view.
  8097. * TreeNode.cs:
  8098. * TreeView.cs: Use measure string to calculate a nodes width, the
  8099. width is cached and only updated when the text or the font is
  8100. changed. Don't check for expand/collapse clicks on the first level
  8101. nodes if root lines are disabled.
  8102. 2005-10-16 Ritvik Mayank <[email protected]>
  8103. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  8104. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  8105. * DataGridBoolColumn.cs: fixes warning
  8106. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  8107. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  8108. to match more to match more precisely the MS Net behavior
  8109. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8110. * Hwnd.cs: Added field to track if window is mapped
  8111. * XplatUIX11.cs:
  8112. - Unmap windows if they become 0-size, re-map when
  8113. they are >0 again; fixes #76035
  8114. - Re-set our error handler after initializing X11Desktop
  8115. to override any error handlers Gtk or whatever was called
  8116. may have set.
  8117. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8118. * CheckedListBox.cs: Removed unused vars
  8119. * ListView.cs: Fixed signatures
  8120. * RichTextBox.cs: Removed unused vars
  8121. * TextBoxBase.cs: Removed unused vars
  8122. * XplatUIWin32.cs: Removed unused vars
  8123. * XplatUIX11.cs: Removed unused vars
  8124. * XplatUI.cs: Updated version and date to latest published
  8125. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8126. * Cursor.cs: Added private .ctor to work around a bug in
  8127. resourceset (Thanks to Geoff Norton for the help on this)
  8128. * SplitterEventArgs.cs: Made fields accessible so we don't
  8129. waste boatloads of objects and can reuse the same one
  8130. in Splitter
  8131. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  8132. any captions and borders when generating screen coordinates
  8133. * Splitter.cs: Reimplemented control, now fully complete, uses
  8134. rubberband drawing, supports and obeys all properties, has
  8135. proper cursors
  8136. 2005-10-13 Miguel de Icaza <[email protected]>
  8137. * Form.cs (Form): Setup default values for autoscale and
  8138. autoscale_base_size; Make these instance variables, not static
  8139. variables.
  8140. (OnLoad): on the first load, adjust the size of the form.
  8141. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8142. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  8143. width argument to DrawReversibleRectangle()
  8144. * XplatUIWin32.cs, XplatUIX11.cs:
  8145. - Implemented width for DrawReversibleRectangle()
  8146. - Added logic to DrawReversibleRectangle that recognizes a zero
  8147. width or height and only draws a line in that situation
  8148. 2005-10-12 Peter Dennis Bartok <[email protected]>
  8149. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  8150. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  8151. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  8152. method (it uses our FosterParent window to get a graphics context)
  8153. 2005-10-12 Peter Dennis Bartok <[email protected]>
  8154. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  8155. and SetWindowBackground methods
  8156. * Control.cs:
  8157. - Setting proper ControlStyles
  8158. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  8159. EraseWindowBackground, instead we draw the window background
  8160. ourselves in PaintControlBackground. This behaviour is
  8161. required to match MS, where, when OnPaintBackground is not
  8162. called, the background is not drawn.
  8163. - Removed unneeded Refresh() in set_Text
  8164. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  8165. * XplatUIX11.cs:
  8166. - Created DeriveStyles method to translate from CreateParams to
  8167. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  8168. matches FormBorderStyle enum values)
  8169. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  8170. style calculations into single DeriveStyles method
  8171. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  8172. from redrawing the whole window on any resize or expose.
  8173. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  8174. all styles were applied to our whole/client window appropriately
  8175. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8176. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  8177. no longer clear/redraw the background through X
  8178. - Removed handling of erase_pending bit, we have no use for it (or
  8179. so it seems)
  8180. * XplatUIOSX.cs:
  8181. - Removed generation and handling of WM_ERASEBKGND message
  8182. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8183. - Removed handling of hwnd.ErasePending flag
  8184. * XplatUIWin32.cs:
  8185. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8186. - We no longer call EraseWindowBackground on PaintEventStart, we
  8187. ignore the fErase flag, erasing is handled in Control in the
  8188. background handler
  8189. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  8190. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  8191. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  8192. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  8193. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  8194. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  8195. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  8196. 2005-10-12 Jonathan Chambers <[email protected]>
  8197. * PropertyGrids.cs: Get sub properties
  8198. * PropertyGridView.cs: Fix drawing code
  8199. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8200. * ListBox.cs: Fixes 76383
  8201. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8202. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  8203. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  8204. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  8205. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8206. * ComboBox.cs: Fixes border drawing
  8207. 2005-10-10 Miguel de Icaza <[email protected]>
  8208. * MimeIcon.cs: Ignore errors if the file can not be read.
  8209. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8210. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  8211. - Fixed border calculations
  8212. - Fixed horizontal scrolling in single column listboxes
  8213. - Fixed drawing issues
  8214. 2005-10-10 Peter Dennis Bartok <[email protected]>
  8215. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  8216. FormBorderStyle enum
  8217. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  8218. code to determine FormBorderStyles from CreateParams
  8219. * Form.cs:
  8220. - Fixed bug where we'd set the wrong window styles if we were
  8221. not creating an MDI window
  8222. - Added call to XplatUI.SetBorderStyle when form borders are set
  8223. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  8224. * Hwnd.cs:
  8225. - Removed obsolete edge style
  8226. - Switched from BorderStyle to FormBorderStyle
  8227. 2005-10-10 Jackson Harper <[email protected]>
  8228. * Form.cs: Use the property to get the window handle instead of
  8229. accessing it directly. Prevents a null reference exception.
  8230. 2005-10-10 Jackson Harper <[email protected]>
  8231. * TreeView.cs: Don't adjust the rect given to DrawString now that
  8232. our libgdiplus draws correctly.
  8233. 2005-10-08 Jackson Harper <[email protected]>
  8234. * TreeView.cs: Don't try to find the clicked on node if there are
  8235. no nodes in the tree.
  8236. 2005-10-08 Alexander Olk <[email protected]>
  8237. * RichTextBox.cs:
  8238. restore
  8239. 2005-10-08 Alexander Olk <[email protected]>
  8240. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  8241. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  8242. ErrorProvider.cs:
  8243. Use ResPool for brushes and dispose System.Drawing objects that
  8244. are not used anymore.
  8245. 2005-10-07 Jackson Harper <[email protected]>
  8246. * MdiChildContext.cs: Use the new borders instead of drawing them
  8247. ourselves.
  8248. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  8249. * Calling UpdateBounds after changing the window's BorderStyle
  8250. since the style can change the ClientSize
  8251. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8252. * Control.cs: Made PaintControlBackground virtual
  8253. * Panel.cs: Overriding PaintControlBackground instead of using paint
  8254. event; paint event method was interfering with 'real' users of the
  8255. event.
  8256. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  8257. * ThemeWin32Classic.cs: remove border drawing since it is handled
  8258. by the base control class now and was causing double border drawing.
  8259. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8260. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  8261. but it does seem to match MS behaviour. This fixes bug #75324
  8262. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8263. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  8264. somewhat hackish looking
  8265. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8266. * TextBoxBase.cs:
  8267. - We now accept Enter even if AcceptEnter is false, if the containing
  8268. form does not have an AcceptButton configured (fixes bug #76355)
  8269. - Calculations are now fixed to no longer use Width/Height, but
  8270. ClientSize.Width/Height, since we now support borders (this was
  8271. a result of fixing borders and therefore bug #76166)
  8272. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  8273. true (fixes bug #76354)
  8274. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8275. * Control.cs:
  8276. - Defaulting BorderStyle and setting it in XplatUI when our window
  8277. is created
  8278. - Added enum check to InternalBorderStyle setter
  8279. * XplatUIX11.cs:
  8280. - Added drawing of window borders
  8281. - Now properly calculates WM decorations offset for toplevel
  8282. windows (fixes bug #74763)
  8283. * XplatUIWin32.cs:
  8284. - Implemented BorderStyles for windows (we're letting win32 draw
  8285. the border for us)
  8286. - Fixed the signature for SetWindowLong
  8287. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  8288. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  8289. setting borders
  8290. * UpDownBase.cs: Remove drawing of borders, this is handled by
  8291. the driver, outside the client area
  8292. * ListView.cs: Removed bogus border calculations. The control should
  8293. be oblivious to borders, since those are not part of the client
  8294. area.
  8295. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  8296. * ThemeWin32Classic.cs: Removed border calculations from ListView
  8297. drawing code
  8298. 2005-10-06 Jackson Harper <[email protected]>
  8299. * MdiChildContext.cs: Clear out the old virtual position remove
  8300. all the unneeded calls to CreateGraphics.
  8301. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8302. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  8303. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8304. * Form.cs:
  8305. - Added loading and setting of our new default icon
  8306. - Only set icon if window is already created
  8307. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8308. * Label.cs:
  8309. - Do not explicitly set the foreground and background colors, to
  8310. allow inheriting from parents (fixes #76302)
  8311. - Use Control's InternalBorderStyle property to deal with borders
  8312. 2005-10-06 Jackson Harper <[email protected]>
  8313. * MdiChildContext.cs: Use the new xplatui function to draw a
  8314. reversible rect.
  8315. 2005-10-06 Jackson Harper <[email protected]>
  8316. * Form.cs: Add the parent before creating the child context cause
  8317. we need the parent when setting up the child.
  8318. 2005-10-06 Jackson Harper <[email protected]>
  8319. * FolderBrowserDialog.cs: redo the tree population code so a
  8320. second thread isn't used. Should be a lot faster and more stable
  8321. now.
  8322. 2005-10-05 Jackson Harper <[email protected]>
  8323. * TreeView.cs: There are no expand/collapse boxes if the node has
  8324. no children.
  8325. 2005-10-05 Jackson Harper <[email protected]>
  8326. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  8327. 2005-10-05 Alexander Olk <[email protected]>
  8328. * FileDialog.cs: Fix InitialDirectory
  8329. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  8330. * ComboBox.cs:
  8331. - Fixes changing between styles
  8332. - Fixes simple mode
  8333. - Fixes last item crashing when navigating with keyboard
  8334. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  8335. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  8336. 2005-10-05 Jackson Harper <[email protected]>
  8337. * TreeView.cs: If updating the root node do a full refresh.
  8338. * TreeNode.cs: The root node should be expanded by default. Also
  8339. added a utility prop to tell if we are the root node.
  8340. * TreeNodeCollection.cs: Only refresh if the node we are being
  8341. added to is expanded. Also added a comment on a potential
  8342. optimization.
  8343. 2005-10-04 Peter Dennis Bartok <[email protected]>
  8344. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  8345. in dispose method. Fixes #76330
  8346. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  8347. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  8348. - Implements vertical and horizontal scrolling using XplatUI
  8349. - Fixes keyboard navagation
  8350. - Fixes EnsureVisible
  8351. - Drawing fixes
  8352. - Handles and draws focus properly
  8353. 2005-10-04 Kornél Pál <[email protected]>
  8354. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  8355. Create handle. NET_2_0: Destroy handle when value is null.
  8356. 2005-10-03 Jackson Harper <[email protected]>
  8357. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  8358. revert and a new patch to prevent the thumb from refreshing so
  8359. much.
  8360. 2005-10-02 Jackson Harper <[email protected]>
  8361. * ScrollBar.cs: Don't update position if it hasn't actually
  8362. changed. This occurs when you hold down the increment/decrement
  8363. buttons and the thumb gets to the max/min.
  8364. 2005-10-01 Jackson Harper <[email protected]>
  8365. * Form.cs:
  8366. * MdiChildContext.cs:
  8367. * MdiClient.cs: Implement ActiveMdiChild in Form.
  8368. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  8369. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  8370. 2005-10-01 Peter Dennis Bartok <[email protected]>
  8371. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  8372. be found
  8373. 2005-09-30 Jackson Harper <[email protected]>
  8374. * ListBox.cs: Don't do a full refresh unless some data has
  8375. actually changed.
  8376. 2005-09-30 Jackson Harper <[email protected]>
  8377. * TreeView.cs: Make sure that the checkboxes size is factored in
  8378. even when not visible.
  8379. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8380. * FileDialog.cs: Fix Jordi's build break
  8381. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8382. * FileDialog.cs:
  8383. - Use standard the Windows colours for the combobox as espected
  8384. - Dispose objects that use resouces when no longer need them
  8385. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8386. * X11DesktopColors.cs: Initial incomplete implementation
  8387. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  8388. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8389. * Theme.cs:
  8390. - Switched Theme color names to match the names defined in
  8391. System.Drawing.KnownColors. Life's hard enough, no need to make
  8392. it harder.
  8393. - Added setters to all theme color properties so themes can set
  8394. their color schemes. The setters also propagate the color changes
  8395. to System.Drawing.KnownColors via reflection
  8396. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  8397. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  8398. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  8399. use the new, more logical theme color names
  8400. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  8401. post-NT colors
  8402. * ThemeWin32Classic.cs:
  8403. - Removed code to set the old classic Windows colors. Instead it
  8404. now relies on the colors returned by System.Drawing.KnownColors
  8405. which will be either modern static colors (Unix) or colors
  8406. read from the user's configuration (Win32)
  8407. - Updated to use the new, more logical theme color names
  8408. - Switched DataGrid drawing code to use only Theme colors instead of
  8409. a mix of System.Drawing.KnownColors and Theme colors
  8410. - DrawFrameControl(): Removed code that fills the button area, the
  8411. fill would overwrite any previous fill done by a control. This
  8412. fixes bug #75338
  8413. - Added DrawReversibleRectangle() stub
  8414. * ScrollableControl.cs: Set visible state to false when scrollbars
  8415. are removed (pdn fix)
  8416. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  8417. DrawReversibleRectangle() method to allow drawing primitive
  8418. 'rubber bands'
  8419. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  8420. 2005-09-30 Kornél Pál <[email protected]>
  8421. * ImageList.cs: Add(Icon): Create handle.
  8422. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8423. * ListView.cs:
  8424. * ThemeWin32Classic.cs:
  8425. - Fixes detail mode
  8426. - Sets clippings
  8427. - Issues with drawing
  8428. 2005-09-30 Kornél Pál <[email protected]>
  8429. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  8430. source has to be the ImageList.
  8431. 2005-09-30 Kornél Pál <[email protected]>
  8432. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  8433. 2005-09-30 Kornél Pál <[email protected]>
  8434. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  8435. 2005-09-30 Kornél Pál <[email protected]>
  8436. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  8437. 2005-09-29 Jonathan Chambers <[email protected]>
  8438. * GridItem.cs: Fixed TODOs
  8439. * GridItemCollection.cs: Added ICollection interface
  8440. 2005-09-30 Kornél Pál <[email protected]>
  8441. * ImageList.cs: Resize icons when needed.
  8442. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  8443. * ListViewItem.cs
  8444. - Fixes GetBounds and returns on screen rects
  8445. * ListView.cs:
  8446. - Fixes vertical and horzintal scrolling of items
  8447. * ThemeWin32Classic.cs:
  8448. - Fixes drawing
  8449. 2005-09-29 Raja R Harinath <[email protected]>
  8450. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  8451. 2005-09-29 Kornél Pál <[email protected]>
  8452. * ImageList.cs: Added comments about handle creation. Moved Handle,
  8453. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  8454. Handle is created in Add methods.
  8455. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8456. * DataGridDrawingLogic.cs:
  8457. - Takes rows into account on Colum calculations
  8458. - Returns the column when clickig
  8459. * DataGrid.cs:
  8460. - Fixes default HitTestInfo values
  8461. - Fixes HitTestInfo.ToString
  8462. - Fixes ResetBackColor
  8463. 2005-09-28 Jackson Harper <[email protected]>
  8464. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  8465. sizing or cursor changes). Also added some temp code to draw the
  8466. titlebars text (Makes dev a little easier).
  8467. 2005-09-28 Kornél Pál <[email protected]>
  8468. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  8469. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8470. * ListBox.cs: Fixes bug 76253
  8471. 2005-09-28 Kornél Pál <[email protected]>
  8472. * ImageList.cs: Added comments about the current implementation. Added
  8473. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  8474. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  8475. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  8476. with Bitmap.LockBits for better performance. Revised the whole file to
  8477. match MS.NET behaviour and provide better performance. Non-public
  8478. interface members are calling public members even when they throw
  8479. NotSupportedException for better maintainability. Moved ColorDepth,
  8480. ImageSize, ImageStream and TransparentColor implementations to
  8481. ImageCollection for better performance as these properties are not used
  8482. by ImageList.
  8483. * ImageListStreamer.cs: Added a new internal constructor that takes an
  8484. ImageList.ImageCollection and serializes Images based on
  8485. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  8486. match ImageList property name.
  8487. 2005-09-28 Kazuki Oikawa <[email protected]>
  8488. * ListBox.cs: Fixes IndexFromPoint for last item
  8489. 2005-09-27 Jackson Harper <[email protected]>
  8490. * Form.cs: Set the position of new mdi children correctly.
  8491. 2005-09-27 Jackson Harper <[email protected]>
  8492. * MdiClient.cs: New mdi children need to be added to the back of
  8493. the controls collection so the zorder is set correctly. Also add a
  8494. count of all the child windows that have been created.
  8495. 2005-09-27 Jackson Harper <[email protected]>
  8496. * Form.cs (CreateParams): Setup MDI forms correctly.
  8497. 2005-09-27 Jackson Harper <[email protected]>
  8498. * MdiChildContext.cs:
  8499. * MonthCalendar.cs:
  8500. * UpDownBase.cs:
  8501. * ListBox.cs:
  8502. * ListView.cs:
  8503. * TextBoxBase.cs:
  8504. * TreeView.cs:
  8505. * ScrollableControl.cs:
  8506. * ComboBox.cs: Add implicit controls using the new implict control
  8507. functionality in ControlCollection. Also try to block multiple
  8508. control add in a suspend/resume layout to save some cycles.
  8509. 2005-09-27 Jackson Harper <[email protected]>
  8510. * Control.cs: Add functionality to the controls collection to add
  8511. 'implicit controls' these are controls that are created by the
  8512. containing control but should not be exposed to the user. Such as
  8513. scrollbars in the treeview.
  8514. * Form.cs: The list var of the ControlsCollection is no longer
  8515. available because of the potential of implicit controls getting
  8516. ignored by someone accessing the list directly.
  8517. 2005-09-26 Peter Dennis Bartok <[email protected]>
  8518. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  8519. loose it's parent. (Fixed bug introduced in r49103 when we added
  8520. setting the child parent to null on Remove)
  8521. 2005-09-26 Gert Driesen <[email protected]>
  8522. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  8523. * Splitter.cs: Added missing attributes for BorderStyle property.
  8524. * TextBoxBase.cs: Marked Calculate* methods internal.
  8525. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  8526. MS.NET.
  8527. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  8528. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  8529. 2005-09-25 Jackson Harper <[email protected]>
  8530. * TreeView.cs: Update the node bounds correctly regardless of
  8531. whether the node is visible.
  8532. 2005-09-25 Jackson Harper <[email protected]>
  8533. * ImageList.cs: Don't dispose the image after it is added to the
  8534. image list. Only reformat images that need to be resized.
  8535. 2005-09-25 Jackson Harper <[email protected]>
  8536. * ImageList.cs: Don't set the format when changing the image.
  8537. 2005-09-25 Jackson Harper <[email protected]>
  8538. * TreeView.cs: We can't just assume the node has a font. Use the
  8539. treeviews font if no node font is available.
  8540. 2005-09-25 Jackson Harper <[email protected]>
  8541. * TreeView.cs: Allow the scrollbars to be reset with negative
  8542. values.
  8543. - Don't add scrollbars to negative sized windows.
  8544. 2005-09-23 Jackson Harper <[email protected]>
  8545. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  8546. old Mono.Posix. Also remove some stray code that shouldn't have
  8547. been committed.
  8548. 2005-09-23 Jackson Harper <[email protected]>
  8549. * TreeView.cs: Attempt at proper sizing of the horizontal
  8550. scrollbar. Also don't resize the scrollbars unless they are
  8551. visible.
  8552. 2005-09-23 Jackson Harper <[email protected]>
  8553. * TreeView.cs: We don't need to expand the invalid area when the
  8554. selection changes, as this is all drawn in the node's bounding
  8555. box. The area needs to be expanded (previous typo was contracting
  8556. it) when the focus rect moves.
  8557. 2005-09-23 Jackson Harper <[email protected]>
  8558. * TreeView.cs: Display the selection box under the correct
  8559. circumstances. We were rendering white text with no selection box
  8560. before.
  8561. 2005-09-23 Peter Dennis Bartok <[email protected]>
  8562. * TextControl.cs(Split): Now updates selection start/end if it points
  8563. into a line that's being split. Fixes a FIXME and bug #75258
  8564. 2005-09-23 Jackson Harper <[email protected]>
  8565. * Binding.cs:
  8566. * ListControl.cs: Don't use the path when retrieving binding
  8567. managers from the binding context. My bat sense tells me that the
  8568. path is only used on insertion.
  8569. 2005-09-22 Jackson Harper <[email protected]>
  8570. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  8571. 2005-09-22 Jackson Harper <[email protected]>
  8572. * Splitter.cs: There are special cursors used for splitting.
  8573. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  8574. 2005-09-22 Jackson Harper <[email protected]>
  8575. * Splitter.cs: Change the cursor appropriately when the splitter
  8576. is moused over, so the user actually knows there is a splitter
  8577. there.
  8578. 2005-09-22 Hisham Mardam Bey <[email protected]>
  8579. * Label.cs : Fix ToString method to give same output as MS.NET
  8580. 2005-09-22 Jackson Harper <[email protected]>
  8581. * TreeView.cs: Create the scrollbars when the handle is created
  8582. and add them right away, just make them invisble. Also account for
  8583. the window being shrunk vertically to the point that the vert
  8584. scrollbar needs to be added.
  8585. - Remove some 0.5 adjustments to get around anti aliasing issues.
  8586. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  8587. * MainMenu.cs: Fixes default value
  8588. * MenuItem.cs: Fixes default value
  8589. 2005-09-22 Kazuki Oikawa <[email protected]>
  8590. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  8591. 2005-09-21 Jackson Harper <[email protected]>
  8592. * Control.cs: Don't try to set the border style on the window if
  8593. it hasn't been created. When the window is created the border
  8594. style will be used.
  8595. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8596. * Control.cs (Update): Don't call XplatUI if we don't have a
  8597. window handle yet
  8598. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8599. * ContainerControl.cs: Instead of throwing an exception, print
  8600. a one-time warning about Validate not being implemented
  8601. * XplatUIWin32.cs: Removed debug output
  8602. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8603. * Control.cs: Only set XplatUI background if we expect the windowing
  8604. system to handle the background. This stops controls that draw their
  8605. own background from flickering
  8606. * XplatUIX11.cs: Support custom visuals and colormaps for window
  8607. creation. This allows, amongst other things, using MWF X11 windows
  8608. with OpenGL.
  8609. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8610. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  8611. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  8612. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  8613. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  8614. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  8615. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  8616. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  8617. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  8618. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  8619. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  8620. GridColumnStylesCollection.cs,
  8621. IDataGridColumnStyleEditingNotificationService.cs,
  8622. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  8623. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  8624. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  8625. TreeNodeCollection.cs, AmbientProperties.cs,
  8626. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  8627. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  8628. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  8629. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  8630. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  8631. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  8632. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  8633. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  8634. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  8635. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  8636. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  8637. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  8638. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  8639. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  8640. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  8641. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  8642. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  8643. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  8644. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  8645. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  8646. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  8647. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  8648. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  8649. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  8650. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  8651. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  8652. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  8653. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  8654. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  8655. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  8656. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  8657. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  8658. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  8659. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  8660. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  8661. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  8662. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  8663. 2005-09-21 Jackson Harper <[email protected]>
  8664. * TreeNode.cs: Call Before/After Expand not Collapse when
  8665. expanding.
  8666. 2005-09-20 Jackson Harper <[email protected]>
  8667. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  8668. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8669. * ListViewItem.cs:
  8670. - Fixes bug 76120
  8671. - Fixes proper storing of subitems
  8672. - Fixes not updated items
  8673. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8674. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  8675. things if our window handle isn't created yet. Also disabled
  8676. debug for TextBoxBase
  8677. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8678. * MenuAPI.cs: Remove filtering of events to allow menu usage
  8679. 2005-09-20 Miguel de Icaza <[email protected]>
  8680. * Cursor.cs: Allow null to be passed to Cursor.Current.
  8681. 2005-09-20 Alexander Olk <[email protected]>
  8682. * ThemeWin32Classic.cs:
  8683. - Change some private methods/fields to protected virtual so that
  8684. they can be accessed and overriden in derived classes
  8685. - First refactoring of some methods. Derived themes now don't
  8686. need to duplicate the complete code from ThemeWin32Classic
  8687. * ThemeNice.cs:
  8688. - Added nice StatusBar
  8689. - Derive from ThemeWin32Classic and not Theme
  8690. - Removed duplicate ThemeWin32Classic code
  8691. 2005-09-20 Miguel de Icaza <[email protected]>
  8692. * Control.cs (ControlCollection.Add): If the value null is passed
  8693. the control is ignored.
  8694. Optimize this loop.
  8695. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8696. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  8697. PostQuitMessage state.
  8698. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  8699. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8700. * Application.cs: Our constructor will never get called, move
  8701. initialization to fields; fixes bug #75933
  8702. 2005-09-19 Hisham Mardam Bey <[email protected]>
  8703. * FileDialog.cs :
  8704. - Allow files to be selected properly using file name
  8705. combo box.
  8706. - Add ability to change diretory (absolute / relative)
  8707. using file name combo box.
  8708. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8709. * ListBox.cs:
  8710. - Fixes Multicolumn listboxes item wrong calculations
  8711. - Allows to click when only one item is in the listbox
  8712. - Fixes crash when no items using keyboard navigation
  8713. 2005-09-16 Alexander Olk <[email protected]>
  8714. * ComboBox.cs: Reverted almost everything from the latest patch which
  8715. broke ComboBox
  8716. 2005-09-16 Kazuki Oikawa <[email protected]>
  8717. * ToolTip.cs:
  8718. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  8719. * ComboBox.cs:
  8720. - When DropDownStyle is Simple, it does not show scrollbar
  8721. to the last item of the list.
  8722. - When DropDownStyle is Simple, it crashed when the list was
  8723. scrolled down with the down cursor key.
  8724. - Fixed a bug that when DropDownStyle is DropDownList, the
  8725. selected item was not shown.
  8726. - The position of the selected item was not preserved when
  8727. the next dropdown happened.
  8728. * ThemeWin32Classic.cs:
  8729. - Items were wrapped at the right end.
  8730. * CheckedListBox.cs:
  8731. - Fixed Add method
  8732. * ListBox.cs:
  8733. - Items should be fully shown.
  8734. - When resizing and vertical scrollbar disappeared, the item
  8735. of index 0 should be on the top of the list.
  8736. - GetItemRectangle should consider the size of ver. scrollbar
  8737. * StatusBar.cs:
  8738. - SizingGrip area should not be allocated when it is not
  8739. displayed.
  8740. - Now it reflects MinWidth of the containing panel and
  8741. fixed a crash that happens when its width becomes so small.
  8742. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8743. * CheckedListBox.cs: Fixes bug 76028
  8744. * ListBox.cs: Fixes bug 76028
  8745. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8746. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  8747. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  8748. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  8749. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  8750. 2005-09-09 Jonathan Chambers <[email protected]>
  8751. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  8752. 2005-09-09 Jonathan Chambers <[email protected]>
  8753. * IRootGridEntry.cs: Added
  8754. * PropertyGridCommands.cs: Added
  8755. * PropertiesTab.cs: Added missing methods and property
  8756. * PropertyGridView.cs: Made class internal
  8757. * PropertyGridTextBox.cs: Made class internal
  8758. 2005-09-09 Alexander Olk <[email protected]>
  8759. * MimeIcon.cs: Try to check some other environment variables
  8760. if "DESKTOP_SESSION" returns "default"
  8761. 2005-09-09 Alexander Olk <[email protected]>
  8762. * ThemeNice.cs: Corrected background colors (e.g. menus)
  8763. * ColorDialog.cs: Use correct background colors for controls
  8764. 2005-09-09 Alexander Olk <[email protected]>
  8765. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  8766. 2005-09-08 Peter Dennis Bartok <[email protected]>
  8767. * RichTextBox.cs: Added initial implementation
  8768. * lang.cs: Removed. Was accidentally checked in long time ago
  8769. * TODO: Removed. Contents were obsolete
  8770. 2005-09-06 Jonathan Chambers <[email protected]>
  8771. * PropertiesTab.cs : Added
  8772. 2005-09-06 Jonathan Chambers <[email protected]>
  8773. * PropertyGrid.cs : Update
  8774. * PropertyGridView.cs : Update
  8775. * System.Windows.Forms.resx : Added images and strings
  8776. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8777. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  8778. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8779. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  8780. a busy loop right after the Ungrab the X11 display is otherwise
  8781. blocked
  8782. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  8783. * ThemeWin32Classic.cs: Optimise the use of clipping
  8784. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  8785. * DataGrid.cs: fixes recursion bug
  8786. 2005-09-03 Alexander Olk <[email protected]>
  8787. * ThemeNice.cs:
  8788. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  8789. - Cleanup
  8790. 2005-09-02 Alexander Olk <[email protected]>
  8791. * ThemeNice.cs: Draw nice ProgressBars
  8792. 2005-09-01 Miguel de Icaza <[email protected]>
  8793. * VScrollBar.cs: Another buglet found by Aaron's tool.
  8794. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  8795. bug finder.
  8796. 2005-08-30 Alexander Olk <[email protected]>
  8797. * ThemeNice.cs:
  8798. - Added nicer menu drawing
  8799. - Updated DrawTab
  8800. - some refactoring
  8801. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8802. * CreateParams.cs (ToString): Made output match MS
  8803. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  8804. handle is already created (to avoid forcing window creation)
  8805. * XplatUIX11.cs: Set window text to caption after creating window,
  8806. in case Text was set before window was created
  8807. * Form.cs: Use this.Text instead of a static string as caption
  8808. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8809. * NotifyIcon.cs: Don't set the window to visible; this screws
  8810. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  8811. OnPaint without a bitmap)
  8812. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  8813. happen very often anyway; we could add the check to the WM_PAINT
  8814. event generation code
  8815. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8816. * NotifyIcon.cs: Fill the icon area with a background color, to
  8817. avoid 'residue' when transparent icons are drawn
  8818. * XplatUIX11.cs:
  8819. - Handle whole_window == client_window when destroying windows
  8820. - SystrayAdd(): Set client_window to whole_window value to
  8821. get mouse and other events passed to NotifyIcon
  8822. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8823. * Form.cs: Set proper default for Opacity property
  8824. * NotifyIcon.cs:
  8825. - ShowSystray(): Don't bother creating telling the OS
  8826. about the systray item if no icon is provided
  8827. - Now handles WM_NCPAINT message to deal with whole/client window
  8828. split
  8829. - Create window as visible to not get caught by Expose optimization
  8830. * Hwnd.cs: Removed debug message
  8831. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  8832. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  8833. PaintEventStart/End to use new client argument
  8834. * TextBoxBase.cs:
  8835. - Commented out debug messages
  8836. - Switched PaintEventStart/End to use new client argument
  8837. * XplatUI.cs: Added client window bool to PaintEventStart()/
  8838. PaintEventEnd() calls, to support drawing in non-client areas
  8839. * XplatUIDriver.cs:
  8840. - Added client window bool to PaintEventStart()/PaintEventEnd()
  8841. calls, to support drawing in non-client areas
  8842. - Added conditional compile to allow using MWF BeginInvoke
  8843. on MS runtime
  8844. * XplatUIX11.cs:
  8845. - Added some conditional debug output
  8846. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  8847. whole/client window split
  8848. - Implemented handling of client argument to PaintEventStart()/End()
  8849. * Control.cs:
  8850. - Throw exception if BeginInvoke() is called and the window handle
  8851. or one of the window's parent handles is not created
  8852. - Added conditional compile to allow using MWF BeginInvoke on
  8853. MS runtime
  8854. - get_Parent(): Only sets parent if handle is created. This avoids
  8855. forcing window handle creation when parent is set.
  8856. - Now fires Layout and Parent changed events in proper order
  8857. - Switched to use Handle instead of window.Handle for Z-Order setting,
  8858. the get_Parent() patch above causes us to possibly get null for 'window'
  8859. - Implemented handling of client argument to PaintEventStart()/End()
  8860. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  8861. default handling)
  8862. - Now sends a Refresh() to all child windows when Refresh() is called
  8863. 2005-08-29 Peter Dennis Bartok <[email protected]>
  8864. * Form.cs: Added (non-functional) Opacity property
  8865. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  8866. 2005-08-29 Alexander Olk <[email protected]>
  8867. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  8868. use export MONO_THEME=nice to activate it.
  8869. Currently supported controls:
  8870. - Button
  8871. - ComboBox
  8872. - ScrollBar
  8873. - TabControl (TabAlignment.Top only, other will follow)
  8874. * ThemeEngine.cs: Add theme nice
  8875. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  8876. if enabled
  8877. 2005-08-25 Jonathan Chambers <[email protected]>
  8878. * Splitter.cs: Resize docked control and its neighbor.
  8879. 2005-08-24 Rafael Teixeira <[email protected]>
  8880. -- Making Windows with Menus layout correctly --
  8881. * Form.cs : The first leg of the fix
  8882. Menu setter - adjust Client Size as needed to make space for the menu
  8883. SetClientSizeCore - doesn't call base version to be able to pass the
  8884. menu handle to XplatUI.CalculateWindowRect
  8885. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  8886. * XplatUIX11.cs: The critical second leg of the fix
  8887. GetWindowPos needs to use a recalculated client_rect
  8888. so that resizing the window doesn't break layout of child controls.
  8889. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  8890. Lots of \t\n killed
  8891. 2005-08-23 Peter Dennis Bartok <[email protected]>
  8892. * Label.cs: Now properly recalculates width and height on Font and Text
  8893. changes if AutoSize is set
  8894. 2005-08-19 Rafael Teixeira <[email protected]>
  8895. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  8896. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  8897. * ImageList.cs: Makes ToString method compatible with MS
  8898. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  8899. * MenuAPI.cs: fixes bug 75716
  8900. 2005-08-11 Umadevi S <[email protected]>
  8901. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  8902. 2005-08-11 Umadevi S <[email protected]>
  8903. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  8904. 2005-08-10 Umadevi S <[email protected]>
  8905. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  8906. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  8907. * Menu.cs: fixes bug 75700
  8908. * MenuAPI.cs: fixes navigation issues
  8909. 2005-08-09 Umadevi S <[email protected]>
  8910. * CheckedListBox.cs - simple fix for GetItemChecked.
  8911. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  8912. * ComboBox.cs: Serveral fixes
  8913. * ListBox.cs: Serveral fixes
  8914. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8915. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  8916. * ListBox.cs: Fixes FindString methods
  8917. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8918. * DataGrid.cs: fixes bugs exposed by new tests
  8919. 2005-08-04 Peter Dennis Bartok <[email protected]>
  8920. * Mime.cs: Compile Mono assembly references only if compiling
  8921. with Mono (Allows to build with VS.Net again)
  8922. 2005-07-28 Marek Safar <[email protected]>
  8923. * Control.cs (PaintControlBackground): Draw background image
  8924. corrrectly.
  8925. (CheckForIllegalCrossThreadCalls): Stubbed.
  8926. * Form.cs (OnCreateControl): Center when should be centered.
  8927. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  8928. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  8929. * Binding.cs: Binding to properties should be case unsensitive
  8930. 2005-07-18 [email protected]
  8931. * DataGrid.cs: fixes setmember order
  8932. 2005-07-07 Alexander Olk <[email protected]>
  8933. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  8934. * FileDialog.cs: FileDialog is now resizable and uses the new
  8935. MimeIconEngine
  8936. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  8937. * DataGridTextBoxColumn.cs: default value
  8938. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  8939. * GridTableStylesCollection.cs: fixes checking MappingName
  8940. * DataGridDrawingLogic.cs: fixes drawing logic issues
  8941. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  8942. * DataGrid.cs: fixes
  8943. 2005-07-06 Alexander Olk <[email protected]>
  8944. * MimeGenerated.cs: Use case sensitive comparer for
  8945. NameValueCollections
  8946. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  8947. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  8948. * ThemeWin32Classic.cs: bug fixes, code refactoring
  8949. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  8950. * DataGrid.cs: bug fixes, code refactoring
  8951. * DataGridTextBox.cs: bug fixes, code refactoring
  8952. * DataGridColumnStyle.cs: bug fixes, code refactoring
  8953. * Theme.cs: bug fixes, code refactoring
  8954. 2005-07-01 Peter Bartok <[email protected]>
  8955. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  8956. and other text box usage
  8957. 2005-07-01 Jackson Harper <[email protected]>
  8958. * TabControl.cs: Make sure the bottom of the tab covers the pages
  8959. border.
  8960. 2005-06-30 Peter Bartok <[email protected]>
  8961. * Form.cs (ShowDialog): Assign owner of the dialog
  8962. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  8963. might have been moved to a tag with different height
  8964. 2005-06-30 Jackson Harper <[email protected]>
  8965. * Form.cs: Don't create an infinite loop when setting focus
  8966. * MenuItem.cs: Don't dirty the parents if we don't have any
  8967. 2005-06-29 Ben Maurer <[email protected]>
  8968. * LibSupport.cs: Rename
  8969. 2005-06-29 Peter Bartok <[email protected]>
  8970. * TextBoxBase.cs: Re-align caret after deleting a character
  8971. * TextControl.cs:
  8972. - DeleteChars(): Ensure that tag covers the provided position
  8973. - StreamLine(): Drop reference for dropped tag
  8974. 2005-06-29 Peter Bartok <[email protected]>
  8975. * TextControl.cs:
  8976. - Selections now work properly, anchoring at the initial location
  8977. and properly extending in either direction (SetSelectionToCaret(),
  8978. SetSelectionStart() and SetSelectionEnd())
  8979. - No longer redraws the whole control on selection change, now
  8980. calculates delta between previous and new selection and only
  8981. invalidates/redraws that area
  8982. - Fixed FindPos() math off-by-one errors
  8983. - Changed DeleteChars() to verify the provided tag covers the
  8984. provided position, selections may have a tag that doesn't cover
  8985. the position if the selection is at a tag border
  8986. - Fixed off-by-one errors in DeleteChars()
  8987. - Added missing streamlining check in DeleteChars() to remove
  8988. zero-length tags
  8989. - Implemented Invalidate() method, now properly calculates exposures
  8990. between two given lines/positions
  8991. - Implemented SetSelection()
  8992. - Obsoleted and removed FixupSelection()
  8993. - Improved RecalculateDocument() logic, removing code duplication
  8994. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8995. * LibSupport.cs: changes to match different input/output arguments.
  8996. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8997. * LibSupport.cs: added libsupport.so init routine.
  8998. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  8999. * ControlBindingsCollection.cs
  9000. - Throws an exception on null datasource when adding
  9001. - Checks for duplicated bindings when adding
  9002. 2005-06-28 Jackson Harper <[email protected]>
  9003. * TreeView.cs (OnKeyDown): Support left and right properly
  9004. (navigates as well as expanding and collapsing.
  9005. - Add support for Multiply, this expands all the selected nodes
  9006. children.
  9007. - Fix some tabbing.
  9008. 2005-06-28 Jackson Harper <[email protected]>
  9009. * TreeView.cs: Implement keyboard navigation, currently supports,
  9010. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  9011. support for toggling checkboxes with the space bar.
  9012. 2005-06-28 Jackson Harper <[email protected]>
  9013. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  9014. tree.
  9015. 2005-06-28 Jackson Harper <[email protected]>
  9016. * TreeView.cs: Add missing event.
  9017. 2005-06-27 Peter Bartok <[email protected]>
  9018. * TextControl.cs:
  9019. - Made line ending size configurable (now allows for counting
  9020. lineendings as \n or \r\n)
  9021. - Added margin to viewport to keep caret visible on right side
  9022. - Fixed translation routines for line/pos to documentpos to consider
  9023. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  9024. - Fixed some line-endings to be unix style
  9025. - Fixed Document.FormatText to perform it's calculations 1-based
  9026. - Added descriptions for a few methods that might otherwise get
  9027. used wrong
  9028. - Added NOTE section with some basic conventions to remember at
  9029. the top of the file
  9030. - Major fixup for RichTextBox selection drawing:
  9031. * Fixed crashes when multiple tags on a single line were selected
  9032. * fixed selection box drawing not overlaying text
  9033. * fixed bogus offset calculation for tags not starting at index 1
  9034. * Switched behaviour from using multiple Substrings of a
  9035. StringBuilder.ToString() to using multiple
  9036. StringBuilder.ToString(start, length) statements, hoping this is
  9037. faster (kept original version commented out in the code, in case
  9038. original version was faster)
  9039. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  9040. alignment != Left
  9041. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  9042. call it as well
  9043. 2005-06-27 Jackson Harper <[email protected]>
  9044. * TabControl.cs: Move to the left and right with the arrow
  9045. keys. These keys don't cycle beyond first and last like
  9046. tab. Refresh all the tabs when scrolling them to the left or
  9047. right.
  9048. 2005-06-27 Jackson Harper <[email protected]>
  9049. * TabControl.cs:
  9050. - ToString: Added method
  9051. - CreateParams: Remove TODO and comment
  9052. - OnKeyDown: Cycle through bounds properly.
  9053. - SelectedIndex: Scroll to the right or left if we need to
  9054. display the newly selected tab.
  9055. 2005-06-23 Jackson Harper <[email protected]>
  9056. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  9057. set.
  9058. 2005-06-23 Jackson Harper <[email protected]>
  9059. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  9060. CTRL-SHIFT-TAB, and HOME, END are there any others?
  9061. 2005-06-23 Jackson Harper <[email protected]>
  9062. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  9063. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  9064. * DataGridTextBoxColumn.cs: fixes and enhancements
  9065. * ThemeWin32Classic.cs: fixes and enhancements
  9066. * DataGridBoolColumn.cs: fixes and enhancements
  9067. * DataGridDrawingLogic.cs: fixes and enhancements
  9068. * CurrencyManager.cs: fixes and enhancements
  9069. * DataGrid.cs: fixes and enhancements
  9070. * DataGridColumnStyle.cs: fixes and enhancements
  9071. 2005-06-22 Jackson Harper <[email protected]>
  9072. * TabControl.cs: Add some missing methods that just call into the
  9073. base. Make the TabPageCollection's IList interface behave in the
  9074. same manner as the MS implementation.
  9075. 2005-06-22 Peter Bartok <[email protected]>
  9076. * TextControl.cs: Added sanity check
  9077. * TextBoxBase.cs:
  9078. - Fixed wrapping behaviour, don't set wrap on single line controls
  9079. (this fixes the breakage of colordialog introduced in an earlier
  9080. checkin)
  9081. - Added rudimentary support for autoscrolling right-aligned controls
  9082. (still needs fixing, also, center alignment scroll is missing)
  9083. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  9084. * ScrollBar.cs: Fixes thumbpos on Maximum values
  9085. 2005-06-21 Jonathan Chambers <[email protected]>
  9086. * PropertyGridView.cs: Pass context information to UITypeEditors
  9087. 2005-06-21 Peter Bartok <[email protected]>
  9088. * TextBoxBase.cs:
  9089. - Now calling PositionCaret with absolute space coordinates
  9090. - Enabled vertical scrolling
  9091. - Better tracking of scrollbar changes, tied into WidthChange
  9092. event
  9093. - Improved cursor tracking
  9094. - Removed debug output
  9095. * TextControl.cs:
  9096. - PositionCaret coordinates are now works in absolute space, not
  9097. the canvas
  9098. - Improved tracking of document size
  9099. - Added events for width and height changes
  9100. 2005-06-21 Peter Bartok <[email protected]>
  9101. * Form.cs: Set focus to active control when form is activated
  9102. * TextControl.cs:
  9103. - Added word-wrap functionality to RecalculateLine()
  9104. - Added some short function descriptions for VS.Net to aid in
  9105. writing dependent controls
  9106. - Added Caret property, returning the current coords of the caret
  9107. - Added ViewPortWidth and ViewPortHeight properties
  9108. - Added Wrap property
  9109. - Added CaretMoved event
  9110. - Removed some old debug code
  9111. - Split() can now create soft splits
  9112. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  9113. - Added method to format existing text
  9114. - Fixed size/alignment calculations to use viewport
  9115. - RecalculateDocument now can handle changing line-numbers while
  9116. calculating lines
  9117. * TextBox.cs:
  9118. - Added some wrap logic, we don't wrap if alignment is not left
  9119. - Added casts for scrollbar var, base class switched types to
  9120. also support RichTextBoxA
  9121. - Implemented handling of scrollbar visibility flags
  9122. * TextBoxBase.cs:
  9123. - Switched scrollbars type to RichTextBoxScrollBars to support
  9124. RichTextBox
  9125. - Added tracking of canvas width/height
  9126. - Switched scrollbars to be not selectable (to keep focus on text)
  9127. - Added central CalculateDocument() method to handle all redraw
  9128. requirements
  9129. - Added ReadOnly support
  9130. - Added WordWrap support
  9131. - Fixed handling of Enter key (we now treat it as a DialogKey)
  9132. - Fixed caret positioning when h or v scroll is not zero
  9133. - Fixed placing/generation of vertical scrollbar
  9134. - Added CalculateScrollBars() method to allow updating scrollbar
  9135. limits and visibility
  9136. - Fixed handling of horizontal scroll
  9137. - Added handling of vertical scroll
  9138. - Implemented auto-'jump' when caret moves to close to a left or
  9139. right border and there is text to be scrolled into view (currently
  9140. there's the potential for a stack overflow, until a bug in
  9141. scrollbar is fixed)
  9142. 2005-06-21 Geoff Norton <[email protected]>
  9143. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  9144. 2005-06-19 Alexander Olk <[email protected]>
  9145. * Mime.cs:
  9146. - added inodes.
  9147. - return application/x-zerosize for files with size zero
  9148. (if no extension pattern matches).
  9149. - check matches collection for strings too.
  9150. - return only the first mime type if the name value
  9151. collection has more than one mime type.
  9152. 2005-06-18 Jonathan Chambers <[email protected]>
  9153. * PropertyGrid.cs: Cleaned up some TODOs
  9154. * PropertyGridView.cs: Added support for UITypeEditors
  9155. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  9156. * DataGrid.cs: clears cached value
  9157. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  9158. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  9159. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  9160. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  9161. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  9162. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  9163. * ThemeWin32Classic.cs: fixes colour
  9164. 2005-06-15 Peter Bartok <[email protected]>
  9165. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  9166. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  9167. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  9168. * Control.cs: Added some MWFCategory and MWFDescription attributes
  9169. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  9170. 2005-06-15 Alexander Olk <[email protected]>
  9171. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  9172. usage
  9173. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  9174. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  9175. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  9176. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  9177. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  9178. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  9179. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  9180. 2005-06-13 Jackson Harper <[email protected]>
  9181. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  9182. isn't printed when the user enables dropping. (X11 does accept
  9183. drops).
  9184. 2005-06-13 Jackson Harper <[email protected]>
  9185. * TreeView.cs: Remove some TODOS.
  9186. 2005-06-13 Jackson Harper <[email protected]>
  9187. * Form.cs: Hook into the mdi framework.
  9188. * MdiClient.cs: Use the base control collections add method so
  9189. parents get setup correctly. Set the default back colour and dock
  9190. style.
  9191. * MdiChildContext.cs: New class, this bad actor handles an
  9192. instance of an MDI window. Right now there is only basic
  9193. support. You can drag, close, and resize windows. Minimize and
  9194. Maximize are partially implemented.
  9195. 2005-06-13 Jackson Harper <[email protected]>
  9196. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  9197. freaky when both vals are negative. NOTE: There are probably other
  9198. places in XplatUIX11 that this needs to be done.
  9199. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  9200. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  9201. * DataGridColumnStyle.cs: fixes signature
  9202. 2005-06-12 Jackson Harper <[email protected]>
  9203. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  9204. windows.
  9205. 2005-06-11 Jackson Harper <[email protected]>
  9206. * StatusBarPanel.cs: Signature cleanups. Implement
  9207. BeginInit/EndInit.
  9208. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  9209. * DataGridTextBoxColumn.cs: Honors aligment
  9210. * GridColumnStylesCollection.cs: Contains is case unsensitive
  9211. * GridTableStylesCollection.cs: several fixes
  9212. * DataGridTableStyle.cs: default column creation
  9213. * DataGridDrawingLogic.cs: fixes
  9214. * CurrencyManager.cs: ListName property
  9215. * DataGrid.cs: multiple styles support
  9216. * DataGridColumnStyle.cs: fixes
  9217. 2005-06-10 Peter Bartok <[email protected]>
  9218. * Control.cs(Select): Moved SetFocus call to avoid potential
  9219. loops if controls change the active control when getting focus
  9220. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  9221. the up/down buttons
  9222. 2005-06-10 Matthias Felgner <[email protected]>
  9223. * ImageListConverter.cs: Implemented
  9224. 2005-06-10 John BouAntoun <[email protected]>
  9225. * MonthCalendar.cs: Wired in NumericUpDown control for year
  9226. 2005-06-10 John BouAntoun <[email protected]>
  9227. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  9228. DoubleClick events, since they are not meant to be fired.
  9229. 2005-06-09 Peter Bartok <[email protected]>
  9230. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  9231. Jonathan's standalone controls into MWF, implemented missing
  9232. events, attributes and methods; added xxxAccessible classes
  9233. * AccessibleObject.cs: Made fields internal so other classes
  9234. can change them if needed
  9235. 2005-06-09 Jonathan Gilbert <[email protected]>
  9236. * UpDownBase.cs: Complete implementation
  9237. * NumericUpDown.cs: Complete implementation
  9238. * DomainUpDown.cs: Complete implementation
  9239. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  9240. * DataGridTextBoxColumn.cs: drawing fixes
  9241. * DataGridCell.cs: fixes ToString method to match MSNet
  9242. * DataGridTableStyle.cs: fixes
  9243. * DataGridBoolColumn.cs: fixes, drawing
  9244. * DataGridDrawingLogic.cs: fixes, new methods
  9245. * DataGridTextBox.cs: Keyboard and fixes
  9246. * DataGrid.cs:
  9247. - Keyboard navigation
  9248. - Scrolling fixes
  9249. - Row selection (single, multiple, deletion, etc)
  9250. - Lots of fixes
  9251. 2005-06-07 Jackson Harper <[email protected]>
  9252. * ThemeWin32Classic.cs: Clear the background area when drawing
  9253. buttons.
  9254. 2005-06-06 Peter Bartok <[email protected]>
  9255. * ImageListStreamer.cs: Fixed signature for GetData
  9256. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  9257. * ComboBox.cs:
  9258. - Added missing ChildAccessibleObject class
  9259. - Added missing OnXXXFocus overrides, switched to using those
  9260. instead of the event handler
  9261. * Control.cs:
  9262. - Added Parent property for ControlAccessibleObject
  9263. - Fixed signatures
  9264. - Fixed attributes
  9265. - Added ResetBindings()
  9266. * ListBindingConverter.cs: Implemented some methods
  9267. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  9268. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  9269. * ContainerControl.cs: Fixed signature, now subscribing to the
  9270. ControlRemoved event instead of overriding the handler, LAMESPEC
  9271. * CurrencyManager.cs: Added missing attribute
  9272. * MonthCalendar.cs: Added missing properties
  9273. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  9274. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  9275. 2005-06-06 Gaurav Vaish and Ankit Jain
  9276. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  9277. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  9278. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  9279. * Control.cs: fixes CreateParams Width / Height.
  9280. 2005-06-05 Peter Bartok <[email protected]>
  9281. * Win32DnD.cs: Removed compilation warnings
  9282. 2005-06-05 Peter Bartok <[email protected]>
  9283. * Control.cs (CreateParams): Since we don't know if one of the
  9284. properties we use is overridden, lets make sure if we fail accessing
  9285. we continue with a backup plan
  9286. 2005-06-05 Peter Bartok <[email protected]>
  9287. * Win32DnD.cs:
  9288. - Removed debug output
  9289. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  9290. struct
  9291. - Plugged resource leak
  9292. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  9293. MS size
  9294. 2005-06-05 Peter Bartok <[email protected]>
  9295. * XplatUIWin32.cs: Removed DnD code
  9296. * Win32DnD.cs: Implemented drop source and drop target functionality
  9297. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  9298. * UpDownBase.cs: remove duplicate addition of event, enable some code
  9299. that was commented out.
  9300. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  9301. Validate input when a key is pressed. It works fine now for every
  9302. combination of Hexadecimal. Only missing some drawing love when sharing
  9303. space with other controls.
  9304. 2005-06-04 Peter Bartok <[email protected]>
  9305. * Control.cs:
  9306. - We need to pass a window for DragDrop, so enable callback events
  9307. - Added DnD callback events when being a DragSource
  9308. * XplatUI.cs (StartDrag): Added window handle argument
  9309. * XplatUIDriver.cs (StartDrag): Added window handle argument
  9310. * QueryContinueDragEventArgs: Made fields internally accessible so
  9311. drivers can set them
  9312. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  9313. can set them
  9314. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  9315. * DataGridTextBoxColumn.cs: column text editing
  9316. * DataGridTableStyle.cs: Respect columns styles created by the user
  9317. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  9318. * DataGridBoolColumn.cs: bool column editing
  9319. * DataGrid.cs: fixes to scrolling, properties, etc
  9320. * DataGridTextBox.cs: handle keyboard
  9321. * DataGridColumnStyle.cs: fixes
  9322. 2005-06-02 Jackson Harper <[email protected]>
  9323. * ImageListStreamer.cs: Somewhat broken implementation of
  9324. GetObjectData. The RLE needs some work to match MS properly.
  9325. 2005-06-02 Jackson Harper <[email protected]>
  9326. * X11Dnd.cs: Attempting to keep at least one file in MWF
  9327. monostyled.
  9328. 2005-06-02 Peter Bartok <[email protected]>
  9329. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  9330. that way
  9331. 2005-06-02 Peter Bartok <[email protected]>
  9332. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  9333. * XplatUI.cs: Added DoDragDrop() method
  9334. * XplatUIDriver.cs: Added DoDragDrop() method
  9335. 2005-06-02 Jackson Harper <[email protected]>
  9336. * Splitter.cs: Implement BorderStyle.
  9337. 2005-06-02 Jackson Harper <[email protected]>
  9338. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  9339. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  9340. X11 using XDND.
  9341. 2005-06-02 Peter Bartok <[email protected]>
  9342. * DataObject.cs:
  9343. - Added Data setter
  9344. - Fixed broken insertion code for SetData, now also
  9345. overwrites any existing entry of the same format name
  9346. * Hwnd.cs: Added list of pointers that automatically gets
  9347. freed when the window is disposed
  9348. * XplatUI.cs: Call driver initialization method when loading
  9349. a driver
  9350. * Control.cs:
  9351. - OnDragLeave takes EventArgs, not DragEventArgs
  9352. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  9353. supported
  9354. - Forces style update when drop state changes
  9355. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  9356. not perfect since we cannot (yet) call the IDataObject.GetData()
  9357. method, we keep getting 0x80004005 error, dunno why)
  9358. 2005-06-02 Peter Bartok <[email protected]>
  9359. * DragEventArgs.cs: Make fields internal so we can cache the
  9360. object and re-set the fields from XplatUI
  9361. 2005-06-02 Jackson Harper <[email protected]>
  9362. * Control.cs: Add some internal methods so the DnD subsystem can
  9363. raise DnD events. Also call into the driver when AllowDrop is set.
  9364. * XplatUI.cs:
  9365. * XplatUIDriver.cs: New method for setting whether or not a window
  9366. is allowed to accept drag and drop messages.
  9367. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  9368. * ScrollBar.cs: Make sure that values sent in Scroll events
  9369. are always between Maximum and Minimum.
  9370. 2005-06-01 Marek Safar <[email protected]>
  9371. * Menu.cs: Call MenuChanged when menuitem visibility has been
  9372. changed.
  9373. * MenuItem.cs: Rebuild menu when item is (not) visible.
  9374. * MainMenu.cs: MainMenu has special MenuChanged.
  9375. * Theme.cs: Caption and FrameBorderSize are not fixed.
  9376. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  9377. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  9378. * XplatUIX11.cs,
  9379. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  9380. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  9381. 2005-05-30 Jackson Harper <[email protected]>
  9382. * DataFormat.cs: We can't statically initialize this stuff because
  9383. it calls into the xplatui and could create a loop. So we lazy init
  9384. it.
  9385. 2005-05-28 Jackson Harper <[email protected]>
  9386. * Control.cs: Proper implementation of Product(Name/Version).
  9387. 2005-05-27 Jackson Harper <[email protected]>
  9388. * DataObject.cs: Dont crash if no data is found.
  9389. 2005-05-26 Rafael Teixeira <[email protected]>
  9390. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  9391. as per status page, guessing it should be set to true
  9392. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  9393. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  9394. * DataGridTableStyle.cs: set proper formatting text, def header text
  9395. * ThemeWin32Classic.cs: new themable paramaters
  9396. * DataGridBoolColumn.cs: paint check box, get data, fixes
  9397. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  9398. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  9399. * DataGridColumnStyle.cs: fixes
  9400. * Theme.cs: new themable paramaters
  9401. 2005-05-26 Peter Bartok <[email protected]>
  9402. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  9403. 2005-05-24 Jonathan S. Chambers <[email protected]>
  9404. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  9405. 2005-05-24 Peter Bartok <[email protected]>
  9406. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  9407. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  9408. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  9409. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  9410. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  9411. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  9412. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  9413. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  9414. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  9415. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  9416. missing attributes, etc
  9417. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  9418. 2005-05-24 Peter Bartok <[email protected]>
  9419. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  9420. when user tries to get help
  9421. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  9422. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  9423. to suppress warnings
  9424. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  9425. avoid unreachable code warning
  9426. 2005-05-20 Peter Bartok <[email protected]>
  9427. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  9428. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9429. * DataGridTextBoxColumn.cs: Basic painting methods
  9430. * DataGridTableStyle.cs: Set table style in the column
  9431. * ThemeWin32Classic.cs: Use Theme for colors
  9432. * DataGridDrawingLogic.cs: Implement more drawing
  9433. * DataGrid.cs: drawing, theming, enhacements, fixes
  9434. * DataGridColumnStyle.cs: fixes, drawing
  9435. * Theme.cs: theming for Datagrid
  9436. 2005-05-20 Peter Bartok <[email protected]>
  9437. * Cursor.cs: Implemented GetObjectData() method
  9438. 2005-05-20 Peter Bartok <[email protected]>
  9439. * Cursors.cs: Added setting of cursor name
  9440. * Cursor.cs:
  9441. - Implemented constructors
  9442. - Implemented Draw and DrawStretched
  9443. - Implemented Current property
  9444. - Implemented == and != operators
  9445. - Implemented Dispose()
  9446. - Implemented ToString
  9447. - Added missing attributes
  9448. * XplatUIX11.cs:
  9449. - Added missing reset for OverrideCursor when DoEvents is called
  9450. - Fixed creation of cursor, logic was wrong
  9451. * XplatUIWin32.cs:
  9452. - Added missing reset for OverrideCursor when DoEvents is called
  9453. - Fixed creation of cursor, bit arrays were swapped
  9454. * Clipboard.cs: Removed obsolete MonoTODO attribute
  9455. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9456. * ComboBox.cs: fixes OnSelectedItemChanged
  9457. * ControlBindingsCollection.cs: fixes item range check
  9458. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9459. * UpDownBase.cs:
  9460. - Calc preferred height properly
  9461. - Implement missing properties
  9462. * NumericUpDown.cs: Implement missing events
  9463. 2005-05-19 Jackson Harper <[email protected]>
  9464. * TabControl.cs: New method that resizes the tab pages before
  9465. redrawing them. This as needed as the control is double buffered
  9466. and sizing will not be recalculated unless ResizeTabPages is
  9467. called.
  9468. * TabPage.cs: Set base.Text instead of Text in the constructor so
  9469. that UpdateOwner does not get called. Use the new Redraw method of
  9470. TabControl instead of Refresh so the sizing is recalculated.
  9471. * ThemeWin32Classic.cs: Draw the text for button tabs.
  9472. 2005-05-19 Jackson Harper <[email protected]>
  9473. * Control.cs: Paint control background images. Fix typo where
  9474. PaintControlBackground was not getting called correctly.
  9475. 2005-05-19 Peter Bartok <[email protected]>
  9476. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  9477. I can investigate, apparently I broke FileDialog
  9478. 2005-05-19 Marek Safar <[email protected]>
  9479. * AxHost.cs: Some simple properties.
  9480. * Control.cs: window must be accessible after ctor.
  9481. * Form.cs: Added TransparencyKey property.
  9482. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  9483. * XplatUIWin32.cs: SetBorderStyle implemented.
  9484. 2005-05-18 Peter Bartok <[email protected]>
  9485. * DataObject.cs: Entries are not global but particular to the
  9486. DataObject, now it behaves that way
  9487. * XplatUIWin32.cs: Implemented Clipboard methods
  9488. * Clipboard.cs: Implemented
  9489. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  9490. * XplatUIOSX.cs: Updated to final clipboard prototypes
  9491. * XplatUIX11.cs: Implemented Clipboard methods
  9492. * XplatUIDriver.cs: Updated to final clipboard prototypes
  9493. * XplatUIStructs.cs:
  9494. - Added BITMAPINFOHEADER struct
  9495. - Added ClipboardFormats enum
  9496. * X11Structs.cs:
  9497. - Added ClipboardStruct
  9498. - Added Atom enum items for clipboard types
  9499. - Fixed atom types for Selection event structures
  9500. * DataFormats.cs:
  9501. - Added internal properties and methods for drivers to enumerate
  9502. all known formats
  9503. - Switched initialization method to allow drivers to assign their
  9504. own IDs even for the MS predefined clipboard IDs
  9505. * XplatUI.cs: Updated to final clipboard interface
  9506. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9507. * PropertyGridView.cs: Fixed compiler warnings.
  9508. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9509. * PropertyGrid.cs: Added some event calls
  9510. * PropertyGridView.cs: Change drawing code to use double buffering
  9511. * PropertyGridTextBox.cs: Changed Text property name
  9512. * GridItem.cs: Added Bounds property.
  9513. * GridEntry.cs: Added Bounds property.
  9514. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  9515. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  9516. since GetType() may not return the correct type if the object is
  9517. a remoting proxy.
  9518. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  9519. * TreeNodeCollection.cs: fixes get/set item ranges
  9520. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9521. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  9522. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9523. * ComboBox.cs: Fix item range comparation
  9524. * ListView.cs: Fix item range comparation
  9525. 2005-05-03 Alexander Olk <[email protected]>
  9526. * FontDialog.cs:
  9527. - Clear example panel when OnPaint is called
  9528. - Better solution for displaying the example panel text
  9529. - Select default indexes in the ListBoxes
  9530. 2005-05-11 Geoff Norton <[email protected]>
  9531. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  9532. 2005-05-11 Peter Bartok <[email protected]>
  9533. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  9534. * SelectionRangeConverter.cs: Implemented
  9535. * PropertyGrid.cs: Fixed attribute value
  9536. * Control.cs:
  9537. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  9538. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  9539. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  9540. that's common to all drivers. First methods to go there are
  9541. Sebastien Pouliot's CAS Stack Propagation helper methods
  9542. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  9543. Sebastien Pouliot for CAS Stack Propagation
  9544. 2005-05-11 Geoff Norton <[email protected]>
  9545. * OSXStructs.cs:
  9546. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  9547. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  9548. * DataGridTextBoxColumn.cs: fixed some members
  9549. * GridColumnStylesCollection.cs: indexed column is case insensitive
  9550. * DataGridTableStyle.cs: fixes
  9551. * ThemeWin32Classic.cs: add new theme parameter
  9552. * Theme.cs: add new theme parameter
  9553. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  9554. * DataGrid.cs: fixes, new internal properties, etc.
  9555. * DataGridColumnStyle.cs: allows to set grid value
  9556. *
  9557. 2005-05-10 Peter Bartok <[email protected]>
  9558. * AccessibleObject.cs:
  9559. - Removed MonoTODO attribute on help, method is correct
  9560. - Fixed Bounds property
  9561. * AxHost.cs: Moved MonoTODO
  9562. * ButtonBase.cs: Now setting AccessibleObject properties
  9563. * RadioButton.cs: Setting proper AccessibleObject role
  9564. * CheckBox.cs: Setting proper AccessibleObject role
  9565. * ControlBindingsCollection.cs: Added properties, methods and attributes
  9566. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  9567. userdefined DataFormats.Format items as well
  9568. * ListControl.cs: Removed data_member from the public eye
  9569. * OpenFileDialog.cs:
  9570. - Made class sealed
  9571. - Added missing attributes
  9572. * SaveFileDialog.cs: Added missing attributes
  9573. * ImageListStreamer.cs: Fixed code that caused warnings
  9574. * LinkLabel.cs: Removed unreachable code
  9575. * TreeView.cs: Fixed code that caused warnings
  9576. * PropertyGridView.cs: Fixed code that caused warnings
  9577. * GridColumnStylesCollection.cs: Added missing attributes
  9578. * GridTableStylesCollection: Added missing attribute
  9579. * PropertyManager: Added .ctor
  9580. * SecurityIDType: Added
  9581. * DataObject.cs: Implemented class
  9582. * LinkArea.cs: Added missing attribute
  9583. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  9584. * RadioButton.cs: call base method to allow to fire OnClick event
  9585. * UpDownBase.cs: OnMouseUp call base method
  9586. * CheckedListBox.cs: call base method before returning
  9587. * TrackBar.cs: call base method before returning
  9588. 2005-05-10 Peter Bartok <[email protected]>
  9589. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  9590. for messages
  9591. 2005-05-10 Peter Bartok <[email protected]>
  9592. * DataFormats.cs: Implemented
  9593. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  9594. XplatUIX11.cs: Added Clipboard APIs
  9595. * XplatUIWin32.cs: Implemented Clipboard APIs
  9596. * FolderBrowserDialog.cs: Added missing event, attributes
  9597. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  9598. * CheckBox.cs: call base method to allow to fire OnClick event
  9599. 2005-05-09 Sebastien Pouliot <[email protected]>
  9600. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  9601. 2005-05-06 Peter Bartok <[email protected]>
  9602. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  9603. * Screen.cs: Implemented
  9604. * HelpNavigator.cs: Added
  9605. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  9606. property
  9607. * HelpProvider.cs: Implemented all we can do until we have a CHM
  9608. help library (which means that "What's This" does work now)
  9609. 2005-05-06 Jackson Harper <[email protected]>
  9610. * XplatUIX11.cs: Fix waking up the main loop.
  9611. 2005-05-05 Peter Bartok <[email protected]>
  9612. * XplatUI.cs: Updated revision
  9613. * Form.cs: Removed enless loop
  9614. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  9615. * Label.cs (OnPaint): Added call to base.OnPaint()
  9616. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  9617. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  9618. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  9619. * AxHost.cs: Added
  9620. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  9621. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  9622. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  9623. reuse of ToolTipWindow by other controls
  9624. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  9625. * XplatUIX11.cs: Now clipping drawing area (experimental)
  9626. * PictureBox.cs: Moved base.OnPaint() call to end of method
  9627. * Theme.cs: Fixed ToolTip abstracts to match new format
  9628. * ErrorProvider.cs: Implemented
  9629. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  9630. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  9631. * LinkLabel.cs:
  9632. - Adds cursors
  9633. - Handles focus
  9634. - Implements LinkBehavior
  9635. - Fixes many issues
  9636. 2005-05-03 Jackson Harper <[email protected]>
  9637. * ListView.cs: Calculate the scrollbar positioning on resize and
  9638. paint, so they get put in the correct place.
  9639. 2005-05-03 Alexander Olk <[email protected]>
  9640. * ColorDialogs.cs: The small color panels are now handled by
  9641. SmallColorControl. This fixes drawing of the focus rectangle
  9642. and adds a 3D border.
  9643. 2005-05-03 Peter Bartok <[email protected]>
  9644. * Control.cs: Modified version of Jonathan Chamber's fix for
  9645. double-buffering
  9646. 2005-05-03 Jackson Harper <[email protected]>
  9647. * ListView.cs: Remove redraw variable. Control now handles whether
  9648. or not a redraw needs to be done, and will only raise the paint
  9649. event if redrawing is needed.
  9650. 2005-05-03 Jackson Harper <[email protected]>
  9651. * Splitter.cs: No decorations for the splitter form. Cache the
  9652. hatch brush.
  9653. 2005-05-03 Jackson Harper <[email protected]>
  9654. * TreeView.cs: Use dashed lines to connect nodes. Use the
  9655. ControlPaint method for drawing the focus rect instead of doing
  9656. that in treeview.
  9657. 2005-05-02 Peter Bartok <[email protected]>
  9658. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  9659. 2005-04-29 Jackson Harper <[email protected]>
  9660. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  9661. entire image buffer. Just clear the clipping rectangle.
  9662. 2005-04-29 Jackson Harper <[email protected]>
  9663. * ThemeWin32Classic.cs: Don't draw list view items that are
  9664. outside the clipping rectangle.
  9665. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  9666. * ListBox.cs: added horizontal item scroll
  9667. 2005-04-29 Jackson Harper <[email protected]>
  9668. * ThemeWin32Classic.cs: Remove some old debug code that was
  9669. causing flicker with the new double buffering code.
  9670. 2005-04-29 John BouAntoun <[email protected]>
  9671. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  9672. behave like combobox and comboboxlist (still not sure if this is
  9673. correct though).
  9674. 2005-04-28 Jackson Harper <[email protected]>
  9675. * ThemeWin32Classic.cs: Don't fill the middle of progress
  9676. bars. This fills areas outside of the clip bounds that don't need
  9677. to be filled.
  9678. 2005-04-28 Jackson Harper <[email protected]>
  9679. * Control.cs: Don't expose functionality to touch the image buffers.
  9680. * ProgressBar.cs:
  9681. * ListView.cs: We do not need to (and no longer can) manipulate
  9682. the image buffers directly. All of this is handled by Control.
  9683. 2005-04-28 Peter Bartok <[email protected]>
  9684. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9685. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  9686. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  9687. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9688. * Combobox:
  9689. - Adjust control's height for non-simple comboboxes (bug fix)
  9690. - Remove dead code
  9691. * MenuAPI.cs: remove unused var
  9692. * ScrollBar.cs: remove unsed var
  9693. * ListBox.cs: unselect items when clearing
  9694. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9695. * ListControl.cs: honors OnPositionChanged and default Selected Item
  9696. * ListBox.cs: unselect items when clearing
  9697. 2005-04-27 Jackson Harper <[email protected]>
  9698. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  9699. if a "correct" keyboard is not found. This will make us not crash,
  9700. but might give some users bad keyboard layouts...seems to be the
  9701. same thing rewind does.
  9702. 2005-04-27 Jackson Harper <[email protected]>
  9703. * BindingManagerBase.cs: Attach the current/position changed
  9704. handlers to their respective events.
  9705. 2005-04-27 Jackson Harper <[email protected]>
  9706. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  9707. not just a blit.
  9708. * ThemeWin32Classic.cs: Don't fill the background for picture
  9709. boxes. This could overright user drawing.
  9710. * ComboBox.cs: Just fill the clipping rect not the entire client
  9711. rect when drawing the background. This prevents pieces of the
  9712. image buffer from getting overwritten and is theoretically faster.
  9713. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  9714. * ComboBox.cs: Databinding support fixes, fire missing events
  9715. * ListControl.cs: implement missing methods and properties, fixes
  9716. * ThemeWin32Classic.cs: Databiding support on Drawing
  9717. * CheckedListBox.cs: Databinding support fixes, fire missing events
  9718. * ListBox.cs: Databinding support fixes, fire missing events
  9719. 2005-04-25 Peter Bartok <[email protected]>
  9720. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  9721. 2005-04-25 Jackson Harper <[email protected]>
  9722. * TreeView.cs: Use the horizontal scrollbars height not width when
  9723. determining how much of the client area is available.
  9724. 2005-04-25 Jackson Harper <[email protected]>
  9725. * Control.cs: Double buffering is handled differently now. As per
  9726. the spec, the extra buffer is created in the WM_PAINT message and
  9727. passed down to the control's drawing code.
  9728. * GroupBox.cs:
  9729. * Label.cs:
  9730. * CheckBox.cs:
  9731. * ProgressBar.cs:
  9732. * RadioButton.cs:
  9733. * ColorDialog.cs:
  9734. * ComboBox.cs:
  9735. * PropertyGridView.cs:
  9736. * UpDownBase.cs:
  9737. * MessageBox.cs:
  9738. * MenuAPI.cs:
  9739. * ListView.cs:
  9740. * ButtonBase.cs:
  9741. * SizeGrip.cs:
  9742. * ScrollBar.cs:
  9743. * ListBox.cs:
  9744. * TrackBar.cs:
  9745. * ToolBar.cs:
  9746. * PictureBox.cs:
  9747. * DateTimePicker.cs:
  9748. * StatusBar.cs:
  9749. * TreeView.cs: Update to new double buffering system.
  9750. * MonthCalendar.cs: Uncomment block, as Capture is now
  9751. working. Update to new double buffering
  9752. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  9753. * PaintEventArgs.cs: New internal method allows us to set the
  9754. graphics object. This is used for double buffering.
  9755. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  9756. rectangle. The internal paint_area var has been removed from
  9757. StatusBar. The clipping rect should be used instead.
  9758. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  9759. * TabPage.cs: The RefreshTabs method was removed, so just call the
  9760. tab controls Refresh method now.
  9761. * TabControl.cs: Update to new double buffering. Make sure the
  9762. handle is created before sizing the tab pages, otherwise we will
  9763. get stuck in a loop.
  9764. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  9765. * LinkLabel.cs: Fix typo, bug #74719; patch
  9766. from Borja Sanchez Zamorano
  9767. 2005-04-22 Jackson Harper <[email protected]>
  9768. * TreeNode.cs: Implement Handle stuff.
  9769. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  9770. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  9771. * DataGridTextBoxColumn.cs: call base constructors, fixes
  9772. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  9773. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  9774. * DataGridTableStyle.cs: implements create default column styles
  9775. * DataGridBoolColumn.cs: which types can handle
  9776. * DataGrid.cs: missing methods, fixes, new functionality
  9777. * DataGridColumnStyle.cs: fixes
  9778. 2005-04-20 Alexander Olk <[email protected]>
  9779. * FolderBrowserDialog.cs:
  9780. - Use a thread to fill the TreeView
  9781. - Adjusted some sizes
  9782. 2005-04-19 Peter Bartok <[email protected]>
  9783. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  9784. property. Fixes #74360.
  9785. 2005-04-19 Jackson Harper <[email protected]>
  9786. * XEventQueue.cs: Lock when getting the lockqueue size.
  9787. * PictureBox.cs: Call base OnPaint
  9788. 2005-04-19 Peter Bartok <[email protected]>
  9789. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  9790. messages were no longer being processed (this broke BeginInvoke)
  9791. 2005-04-18 Jackson Harper <[email protected]>
  9792. * TreeView.cs: buglet that caused node images to get drawn
  9793. regardless of whether or not they were in the clipping rectangle.
  9794. 2005-04-18 Jackson Harper <[email protected]>
  9795. * CurrencyManager.cs: There are four rules for GetItemProperties:
  9796. - If the type is an array use the element type of the array
  9797. - If the type is a typed list, use the type
  9798. - If the list contains an Item property that is not an object, use
  9799. that property
  9800. - use the first element of the list if there are any elements in
  9801. the list.
  9802. 2005-04-17 Jackson Harper <[email protected]>
  9803. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  9804. click. This handles offsets for scrolling properly and reduces
  9805. memory. Also fixed GetNode to not offset now that TopNode works
  9806. properly.
  9807. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  9808. 2005-04-17 Jackson Harper <[email protected]>
  9809. * CursorConverter.cs: Initial implementation.
  9810. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9811. * ListControl.cs: work towards complex data binding support on ListControl
  9812. * CurrencyManager.cs: work towards complex data binding support on ListControl
  9813. * ListBox.cs: work towards complex data binding support on ListControl
  9814. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9815. * GridTableStylesCollection.cs: fixes name and constructor
  9816. * DataGridTableStyle.cs: fixes
  9817. * DataGridBoolColumn.cs: fixes names and constructors
  9818. * DataGrid.cs: define methods and properties. Some init implementations
  9819. * DataGridCell.cs: define methods and properties. Some init implementations
  9820. * GridTablesFactory.cs: Define methods and properties
  9821. 2005-04-15 Geoff Norton <[email protected]>
  9822. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  9823. graphics port changes. We still want the coordinates in global screen
  9824. coordinates.
  9825. 2005-04-14 Jackson Harper <[email protected]>
  9826. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  9827. check plus minus or checkbox clicks unless those features are enabled.
  9828. 2005-04-14 Jackson Harper <[email protected]>
  9829. * TreeView.cs: Add methods for setting the top and bottom visible
  9830. nodes. TreeNode::EnsureVisible uses these methods.
  9831. * TreeNode.cs: Implement EnsureVisible
  9832. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  9833. * Form.cs: Pospone menu assignation if the window has not been created yet
  9834. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  9835. size and position
  9836. 2005-04-12 Jackson Harper <[email protected]>
  9837. * TreeView.cs: Set the TopNode properly when scrolling
  9838. occurs. This has the added benifit of reducing the amount of
  9839. walking that needs to be done when drawing. Also removed an old
  9840. misleading TODO.
  9841. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  9842. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  9843. * Timer.cs: fixes interval setting when the timer is already enabled
  9844. 2005-04-10 Alexander Olk <[email protected]>
  9845. * FolderBrowserDialog.cs: First approach
  9846. 2005-04-09 Peter Bartok <[email protected]>
  9847. * FolderBrowserDialog: Added
  9848. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  9849. * LinkLabel.cs: move drawing code into the theme
  9850. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  9851. * Theme.cs: define DrawLinkLabel method
  9852. 2005-04-05 Jackson Harper <[email protected]>
  9853. * BindingContext.cs: Use weak references so these bad actors don't
  9854. stay alive longer then they need to.
  9855. 2005-04-05 Jackson Harper <[email protected]>
  9856. * ListControl.cs: Basic implementation of complex databinding.
  9857. * ComboBox.cs:
  9858. * ListBox.cs: Add calls to ListControl databinding methods.
  9859. 2005-04-05 Alexander Olk <[email protected]>
  9860. * FileDialog.cs:
  9861. - Don't change PopupButtonState to Normal when the
  9862. PopupButton gets pressed several times.
  9863. - Renamed ButtonPanel to PopupButtonPanel
  9864. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  9865. * ColorDialog.cs: Use cached objects instead of creating them
  9866. * LinkLabel.cs: Use cached objects instead of creating them
  9867. * Splitter.cs: Use cached objects instead of creating them
  9868. * FontDialog.cs: Use cached objects instead of creating them
  9869. * PropertyGridView.cs: Use cached objects instead of creating them
  9870. * MessageBox.cs: Use cached objects instead of creating them
  9871. * FileDialog.cs: Use cached objects instead of creating them
  9872. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  9873. * TreeView.cs: Use cached objects instead of creating them
  9874. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  9875. * Control.cs: use Equals to compare the font since no == op
  9876. * ScrollBar.cs: use Equals to compare the font since no == op
  9877. 2005-04-04 Alexander Olk <[email protected]>
  9878. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  9879. 2005-04-01 Jackson Harper <[email protected]>
  9880. * Binding.cs: Implement IsBinding.
  9881. * BindingManagerBase.cs:
  9882. * PropertyManager.cs:
  9883. * CurrencyManager.cs: Add IsSuspended property.
  9884. 2005-04-01 Jackson Harper <[email protected]>
  9885. * Binding.cs: Had some IsAssignableFrom calls backwards.
  9886. 2005-04-01 Jackson Harper <[email protected]>
  9887. * Binding.cs: Handle null data members when pulling data.
  9888. * PropertyManager.cs: Handle the data member being a property that
  9889. does not exist.
  9890. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9891. * DataGridTextBoxColumn.cs: fixes signature
  9892. * DataGrid.cs: calls right constructor
  9893. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9894. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  9895. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  9896. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  9897. * DataGridTableStyle.cs: implements DataGridTableStyle
  9898. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  9899. * DataGridTextBox.cs: implements DataGridTextBox
  9900. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  9901. 2005-03-31 Alexander Olk <[email protected]>
  9902. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  9903. 2005-03-29 Peter Bartok <[email protected]>
  9904. * Application.cs:
  9905. - Properly implemented CompanyName property
  9906. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  9907. returns a path that includes CompanyName, ProductName and
  9908. Version (fixes bug #70330)
  9909. 2005-03-29 Stefan Buehler <[email protected]>
  9910. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  9911. fixes bug #72588.
  9912. 2005-03-28 Alexander Olk <[email protected]>
  9913. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  9914. - Added ReadOnly CheckBox
  9915. - Further refactoring: moved some code from Open-/SaveFileDialog
  9916. to FileDialog
  9917. 2005-03-28 Alexander Olk <[email protected]>
  9918. * OpenFileDialog.cs: Fixed CheckFileExists
  9919. * FileDialog.cs:
  9920. Moved FileView and DirComboBox outside FileDialog class.
  9921. They can now be used outside FileDialog
  9922. 2005-03-27 Alexander Olk <[email protected]>
  9923. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  9924. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  9925. 2005-03-27 Alexander Olk <[email protected]>
  9926. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9927. - Added missing CreatePrompt property in SaveDialog
  9928. - Overall SaveDialog handling should be better now
  9929. - Added non standard ShowHiddenFiles property
  9930. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  9931. - Added InitialDirectory and RestoreDirectory support
  9932. 2005-03-26 Alexander Olk <[email protected]>
  9933. * FileDialog.cs: Made dirComboBox usable
  9934. 2005-03-24 Alexander Olk <[email protected]>
  9935. * FileDialog.cs: Added Filter support (case sensitiv)
  9936. 2005-03-24 Jackson Harper <[email protected]>
  9937. * TabControl.cs: Need a couple more pixels for the lines.
  9938. 2005-03-23 Jackson Harper <[email protected]>
  9939. * TabControl.cs: Give the tab page focus when it is selected.
  9940. 2005-03-23 Jackson Harper <[email protected]>
  9941. * TabControl.cs: Account for the drawing of tabs borders when
  9942. invalidating. If the slider was clicked dont do click detection on
  9943. the tabs.
  9944. 2005-03-23 Jackson Harper <[email protected]>
  9945. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  9946. 2005-03-22 Jonathan Chambers <[email protected]>
  9947. * CategoryGridEntry.cs: Added
  9948. * GridItem.cs: Added helper properties
  9949. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  9950. * GridEntry.cs: Updated code for collection
  9951. * PropertyGrid.cs: Cleaned up some formatting
  9952. * PropertyGridView.cs: Added drop down functionality for enums.
  9953. * GridItemCollection.cs: Added enumerator logic
  9954. * PropertyGridEntry.cs: Added
  9955. 2005-03-19 Alexander Olk <[email protected]>
  9956. * FileDialog.cs:
  9957. - Removed unnecessary commented code
  9958. - Fixed handling for entering the filename manually in the combobox
  9959. 2005-03-19 Alexander Olk <[email protected]>
  9960. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  9961. 2005-03-18 Peter Bartok <[email protected]>
  9962. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  9963. them being touching the border
  9964. 2005-03-18 Peter Bartok <[email protected]>
  9965. * TextControl.cs: Quick hack to center text better
  9966. 2005-03-18 Peter Bartok <[email protected]>
  9967. * ControlPaint.cs:
  9968. - Don't throw NotImplemented exceptions, just print a notice once
  9969. instead (requested by Miguel). This makes running existing SWF
  9970. apps a bit easier
  9971. * Control.cs:
  9972. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  9973. - Added context menu trigger on right click
  9974. * Panel.cs: Trigger invalidate on resize
  9975. * StatusBar.cs:
  9976. - Removed old double-buffer drawing
  9977. - Added ResizeRedraw style to force proper update of statusbar
  9978. * ListView.cs:
  9979. - Removed debug output
  9980. * ThemeWin32Classic.cs:
  9981. - Fixed drawing of status bar, now draws Text property if there
  9982. are no defined panels
  9983. 2005-03-18 Jackson Harper <[email protected]>
  9984. * ImageList.cs: When the image stream is set pull all the images
  9985. from it.
  9986. * ImageListStreamer.cs: Implement reading image list streams.
  9987. 2005-03-18 Peter Bartok <[email protected]>
  9988. * ThemeWin32Classic.cs (DrawPictureBox):
  9989. - Fixed calculations for centered drawing
  9990. - Fixed drawing for normal mode, not scaling the image on normal
  9991. 2005-03-18 Peter Bartok <[email protected]>
  9992. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  9993. textbox
  9994. * FileDialog.cs:
  9995. - Made Open/Save button the accept button for FileDialog
  9996. - Tied the cancel button to the IButtonControl cancel button
  9997. - Save/Open now properly builds the pathname
  9998. - Now handles user-entered text
  9999. - Preventing crash on right-click if no item is selected
  10000. - Fixed Text property, now uses contents of textbox
  10001. - Fixed SelectedText property, now just returns the text part that
  10002. is selected in the text box
  10003. 2005-03-18 Jackson Harper <[email protected]>
  10004. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  10005. rect, make sure to de-adjust the interior rect after drawing the
  10006. tab text.
  10007. 2005-03-18 Peter Bartok <[email protected]>
  10008. * MenuAPI.cs: Remove menu *before* executing selected action to
  10009. prevent the menu from 'hanging around'
  10010. 2005-03-17 Geoff Norton <[email protected]>
  10011. * XplatUIOSX.cs: Implemented WorkingArea property
  10012. 2005-03-17 Peter Bartok <[email protected]>
  10013. * XplatUIX11.cs: Fixed menu coord calculations
  10014. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  10015. for calculating offsets
  10016. 2005-03-17 Peter Bartok <[email protected]>
  10017. * Hwnd.cs: Do not consider menu presence for default client
  10018. rectangle location/size
  10019. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  10020. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  10021. translation functions
  10022. * FileDialog.cs: Fixed (what I presume is a) typo
  10023. 2005-03-17 Jonathan Gilbert <[email protected]>
  10024. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  10025. X access (avoids X-Async errors)
  10026. 2005-03-16 Jackson Harper <[email protected]>
  10027. * TabControl.cs: Raise the SelectedIndexChanged event.
  10028. 2005-03-16 Alexander Olk <[email protected]>
  10029. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  10030. - Removed vertical ToolBar and replaced it with a custom panel
  10031. (desktop and home button already work)
  10032. - Added Help button (some controls get resized or relocated then)
  10033. - Draw correct text depending on Open or Save.
  10034. - Fixed some typos...
  10035. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  10036. * ScrollBar.cs:
  10037. - Only change Maximum and Minimum when need it (bug fix)
  10038. 2005-03-15 Peter Bartok <[email protected]>
  10039. * Form.cs: Use Handle for icon, to trigger creation if
  10040. the window does not yet exist
  10041. * Control.cs:
  10042. - CanSelect: Slight performance improvement
  10043. - Focus(): Preventing possible recursion
  10044. - Invalidate(): Removed ControlStyle based clear flag setting
  10045. - WM_PAINT: fixed logic for calling OnPaintBackground
  10046. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  10047. EraseWindowBackground if the control doesn't paint background
  10048. * XplatUIWin32.cs:
  10049. - Moved EraseWindowBackground() method to internal methods
  10050. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  10051. is sent via SendMessage on BeginPaint call on Win32
  10052. * XplatUIX11.cs:
  10053. - Added EraseWindowBackground() method
  10054. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  10055. PaintEventStart, which more closely matches Win32 behaviour
  10056. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  10057. - Fixed SetFocus() to properly deal with client and whole windows
  10058. * Hwnd.cs: Added ErasePending property
  10059. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  10060. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  10061. 2005-03-12 Geoff Norton <[email protected]>
  10062. * XplatUIOSX.cs:
  10063. - Fix hard loop when timers exist.
  10064. - Fix bugs with middle and right click for 3 button mice.
  10065. 2005-03-11 Peter Bartok <[email protected]>
  10066. * XplatUIX11.cs:
  10067. - get_WorkingArea: Need to call X directly, GetWindowPos only
  10068. returns cached data now
  10069. - Added sanity check to GetWindowPos hwnd usage
  10070. 2005-03-11 Jackson Harper <[email protected]>
  10071. * BindingManagerBase.cs: This method isn't used anymore as
  10072. PullData now updates the data in the control.
  10073. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  10074. * Form.cs: fixes menu drawing on X11
  10075. * MenuAPI.cs: fixes menu drawing on X11
  10076. 2005-03-11 Peter Bartok <[email protected]>
  10077. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  10078. from Jonathan Gilbert; should fix bug #73606
  10079. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  10080. in Screen coordinates. Thanks, Jordi.
  10081. * Form.cs: Added missing attribute
  10082. 2005-03-11 Peter Bartok <[email protected]>
  10083. * Form.cs:
  10084. - Rudimentary Mdi support
  10085. - Removed outdated FormParent code
  10086. - Implemented lots of missing properties and methods, still missing
  10087. transparency support
  10088. - Added missing attributes
  10089. - Implemented support for MaximumBounds
  10090. - Added firing of various events
  10091. * XplatUI.cs: Added SetIcon() method
  10092. * XplatUIDriver.cs: Added SetIcon() abstract
  10093. * XplatUIOSX.cs: Stubbed out SetIcon() method
  10094. * XplatUIX11.cs:
  10095. - Implemented SetIcon() support
  10096. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  10097. - Switched to unix line endings
  10098. * XplatUIWin32.cs:
  10099. - Made POINT internal so for can access it as part of MINMAX
  10100. - Implemented SetIcon() support
  10101. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  10102. native Mdi support again, might have to go managed)
  10103. * Control.cs: Now fires the StyleChanged event
  10104. * MdiClient.cs: Added; still mostly empty
  10105. 2005-03-10 Peter Bartok <[email protected]>
  10106. * SaveFileDialog.cs: Added emtpy file
  10107. 2005-03-08 Peter Bartok <[email protected]>
  10108. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  10109. in turn triggers OnCreateContro) when creating a handle for the
  10110. first time.
  10111. * TextControl.cs: Fixed endless loop in certain cases when
  10112. replacing the current selection
  10113. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  10114. * ScrollBar.cs:
  10115. - Honors NewValue changes in Scroll events allowing apps to change it
  10116. - Adds First and Last Scroll events
  10117. - Fixes Thumb events
  10118. 2005-03-07 Peter Bartok <[email protected]>
  10119. * Hwnd.cs: Added DefaultClientRectangle property
  10120. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  10121. more detailed debug information
  10122. * XplatUIX11.cs:
  10123. - Fixed size-change feedback loop, where we would pull an old size
  10124. off the queue and mistakenly change our window's size to an
  10125. earlier value
  10126. - Now compressing ConfigureNotify events, to reduce looping and
  10127. redraw issues
  10128. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  10129. is called
  10130. 2005-03-07 Jackson Harper <[email protected]>
  10131. * Binding.cs: Push data pushes from data -> property. Check if the
  10132. property is readonly when attempting to set it.
  10133. 2005-03-07 Jackson Harper <[email protected]>
  10134. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  10135. instead of IsSubclassOf. Pulling data now sets the value on the
  10136. control.
  10137. * PropertyManager.cs:
  10138. * CurrencyManager.cs: Just need to pull data when updating now,
  10139. because PullData will set the value on the control.
  10140. 2005-03-04 Jackson Harper <[email protected]>
  10141. * Binding.cs: Implement data type parsing and converting on pulled
  10142. data. TODO: Are there more ways the data can be converted?
  10143. 2005-03-04 Jackson Harper <[email protected]>
  10144. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  10145. controls Validating method so we can repull the data when the
  10146. control loses focus.
  10147. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  10148. * ColumnHeader.cs:
  10149. - Fixes null string format
  10150. * ListView.cs:
  10151. - Adds enum type checks
  10152. - Fixes redrawing and recalc need after changing some properties
  10153. - Fixes on focus_item set after the event
  10154. - Fixes adding columns after the control has been created
  10155. * ThemeWin32Classic.cs:
  10156. - Fixes CheckBox focus rectangle
  10157. - Fixes ColumnHeader drawing
  10158. 2005-03-03 Jackson Harper <[email protected]>
  10159. * Binding.cs: Bind to <Property>Changed events so we can detect
  10160. when properties are changed and update the data.
  10161. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  10162. * ImageList.cs:
  10163. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  10164. - Fixes ImageList constructor with ImageList container
  10165. - Fixes image scaling (wrong parameters at DrawImage)
  10166. 2005-02-02 Jackson Harper <[email protected]>
  10167. * Binding.cs: Make property searches case-insensitive. Eliminate
  10168. some duplicated code.
  10169. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  10170. * ComboBox.cs:
  10171. - Handle focus event
  10172. - Fix scrollbar events
  10173. - Discard highlighted item if remove it
  10174. - Fixes SelectedItem with strings
  10175. 2005-03-01 Peter Bartok <[email protected]>
  10176. * Control.cs:
  10177. - Fixed Visible property, now follows (once again) parent chain
  10178. to return false if any control in the chain is visible=false
  10179. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  10180. - Fixed several places where is_visible instead of Visible was used
  10181. - Implemented FIXME related to focus selection when setting focused
  10182. control to be invisible
  10183. * XplatUIWin32.cs: Now using proper method to find out if window is
  10184. visible. Thanks to Jordi for pointing it out
  10185. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  10186. * ComboBox.cs: show/hide scrollbar instead of creating it
  10187. 2005-02-27 Jackson Harper <[email protected]>
  10188. * CurrencyManager.cs: Add PositionChanged stuff.
  10189. 2005-02-27 Peter Bartok <[email protected]>
  10190. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  10191. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  10192. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  10193. * XplatUIX11.cs:
  10194. - Implemented GetMenuDC()
  10195. - Implemented GetMenuOrigin()
  10196. - Implemented ReleaseMenuDC()
  10197. - Implemented generation of WM_NCPAINT message
  10198. - Implemented generation and handling of WM_NCCALCSIZE message
  10199. * Form.cs: Added debug helper message for Jordi's menu work
  10200. * Hwnd.cs:
  10201. - Modified ClientRect property; added setter, fixed getter to handle
  10202. setting of ClientRect
  10203. - Added MenuOrigin property
  10204. 2005-02-26 Peter Bartok <[email protected]>
  10205. * XplatUIX11.cs:
  10206. - Destroys the caret if a window that's being destroyed contains it
  10207. - Ignores expose events coming from the X11 queue for windows that
  10208. already are destroyed
  10209. - Now uses the proper variable for handling DestroyNotify, before we
  10210. marked the wrong window as destroyed
  10211. - Improved/added some debug output
  10212. 2005-02-26 Peter Bartok <[email protected]>
  10213. * X11Keyboard.cs: Fixes to work on 64bit systems
  10214. 2005-02-26 Peter Bartok <[email protected]>
  10215. * Control.cs:
  10216. - Now calling OnHandleDestroyed from DestroyHandle()
  10217. instead of Dispose()
  10218. - Removed bogus call to controls.Remove() from DestroyHandle()
  10219. 2005-02-26 Peter Bartok <[email protected]>
  10220. * Control.cs: Properly destroy child windows when our handle is
  10221. destroyed
  10222. 2005-02-25 Peter Bartok <[email protected]>
  10223. * XplatUI.cs:
  10224. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  10225. - Alphabetized Static Methods and Subclasses
  10226. * XplatUIX11.cs:
  10227. - Added XException class to allow custom handling of X11 exceptions
  10228. - Created custom X11 error handler, tied into XException class
  10229. - Added support for MONO_XEXCEPTIONS env var to allow the user
  10230. to either throw an exception on X errors or continue running
  10231. after displaying the error
  10232. - Added handling of DestroyNotify message
  10233. - Added handler for CreateNotify message (still disabled)
  10234. - Improved (tried to at least) Where method to provide file and lineno
  10235. * X11Structs.cs:
  10236. - Added XErrorHandler delegate
  10237. - Added XRequest enumeration (to suppor translation of errors)
  10238. 2005-02-25 Jackson Harper <[email protected]>
  10239. * PropertyManager.cs: Implement editing features
  10240. * CurrencyManager.cs:
  10241. * Binding.cs: First attempt at UpdateIsBinding
  10242. * BindingManagerBase.cs: Call UpdateIsBinding before
  10243. pushing/pulling data.
  10244. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  10245. * MenuAPI.cs: Respect disabled items
  10246. * ThemeWin32Classic.cs
  10247. - Caches ImageAttributes creation for DrawImageDisabled
  10248. - Fixes vertical menu line drawing
  10249. - Draws disabled arrows in disable menu items
  10250. 2005-02-24 Peter Bartok <[email protected]>
  10251. * Hwnd.cs:
  10252. - Added UserData property to allow associating arbitrary objects
  10253. with the handle
  10254. - Fixed leak; now removing Hwnd references from static windows array
  10255. * XplatUIWin32.cs:
  10256. - Fixed Graphics leak in PaintEventEnd
  10257. - Removed usage of HandleData, switched over to Hwnd class
  10258. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  10259. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  10260. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  10261. * ScrollBar.cs: Fixes bug
  10262. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  10263. keyboard navigation enhancements
  10264. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  10265. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  10266. * GroupBox.cs: Add control styles
  10267. * Label.cs: Add control styles
  10268. * UpDownBase.cs: Add control styles
  10269. * ListBox.cs: Add control styles
  10270. * XplatUIWin32.cs: Fixes wrong parameter order
  10271. 2005-02-23 Chris Bacon <[email protected]>
  10272. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  10273. 2005-02-23 Jackson Harper <[email protected]>
  10274. * PropertyManager.cs: Implement property binding. This doesn't
  10275. seem to work yet though as (I think) there are some bugs in
  10276. System.ComponentModel.PropertyDescriptor.
  10277. * BindingContext.cs: Use new PropertyManager constructor.
  10278. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  10279. * ProgressBar.cs: use clip region in ProgressBar
  10280. * ThemeWin32Classic.cs: use clip region in ProgressBar
  10281. 2004-02-22 Jackson Harper <[email protected]>
  10282. * BindingsCollection.cs: Remove some debug code.
  10283. 2005-02-22 Jackson Harper <[email protected]>
  10284. * BindingContext.cs:
  10285. * ControlBindingsCollection.cs:
  10286. * CurrencyManager.cs:
  10287. * Binding.cs:
  10288. * BindingManagerBase.cs: Initial implementation
  10289. * BindingsCollection.cs: Add an internal contains method that the
  10290. BindingManagerBase uses to ensure bindings aren't added twice to
  10291. the collection.
  10292. * PropertyManager.cs: Stubbed out.
  10293. * Control.cs:
  10294. * ContainerControl.cs: Hook up databinding
  10295. 2005-02-22 Geoff Norton <[email protected]>
  10296. * XplatUIOSX.cs:
  10297. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  10298. Fixed Invalidate/Update chain.
  10299. Fixed tons of other minor bugs (this is almost a complete rewrite).
  10300. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  10301. * ComboBox.cs: do subcontrol creation when the control is created
  10302. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  10303. * Label.cs: fixes image drawing (image and imagelist)
  10304. * ThemeWin32Classic.cs: cache brushes
  10305. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  10306. * Form.cs: Move menu drawing code to Theme class
  10307. * ComboBox.cs: Move ComboBox drawing code to Theme class
  10308. * MenuItem.cs: Move menu drawing code to Theme class
  10309. * MenuAPI.cs: Move menu drawing code to Theme class
  10310. * ThemeWin32Classic.cs: New methods
  10311. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  10312. * ListBox.cs: Move Listbox drawing code to Theme class
  10313. * Theme.cs: New methods
  10314. 2005-02-20 Peter Bartok <[email protected]>
  10315. * Control.cs:
  10316. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  10317. only process mnemonics on those)
  10318. - Fixed event sequence for key handling; first calling
  10319. ProcessKeyEventArgs now
  10320. * TextBoxBase.cs:
  10321. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  10322. for processing non-character keys
  10323. - Fixed WM_CHAR to generate proper event sequence before processing
  10324. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  10325. generation
  10326. 2005-02-19 Peter Bartok <[email protected]>
  10327. * UserControl.cs: Added TextChanged event; added attributes
  10328. * SizeGrip.cs: Implemented resizing and optional display of grip
  10329. * Form.cs: Fixed attribute
  10330. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  10331. Changed meaning of ScrollWindow bool argument; instead of the
  10332. clear attribute (which will be true usually anyway), it gives the
  10333. option of moving child controls as well.
  10334. * XplatUIX11.cs:
  10335. - Changed to match new ScrollWindow argument
  10336. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  10337. now handles the implicit parent window a WM puts around us
  10338. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  10339. to work)
  10340. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  10341. * TreeView.cs: Adjusted to new ScrollWindow arguments
  10342. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  10343. * Form.cs: Menu integration with non-client area
  10344. * MenuItem.cs: Menu integration with non-client area
  10345. * MenuAPI.cs: Menu integration with non-client area
  10346. 2005-02-18 Peter Bartok <[email protected]>
  10347. * MethodInvoker.cs: Added
  10348. * MdiLayout.cs: Added
  10349. * SendKeys.cs: Started implementation
  10350. * ErrorIconAlignment.cs: Added
  10351. 2005-02-18 Peter Bartok <[email protected]>
  10352. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  10353. * Form.cs: Added handling for Menu-related Non-client messages
  10354. 2005-02-17 Peter Bartok <[email protected]>
  10355. * UpDownBase.cs: Fixed typo, compilation errors
  10356. * DomainUpDown.cs: Fixed attribute value
  10357. 2005-02-16 Miguel de Icaza <[email protected]>
  10358. * UpDownBase.cs: Attach entry events.
  10359. Propagate events.
  10360. Add ForeColor property, Focused, InterceptArrowKeys (interception
  10361. does not work yet).
  10362. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  10363. * Form.cs:
  10364. - Redraw non client are on Setmenu
  10365. - Calc proper menu starting point
  10366. 2005-02-17 Peter Bartok <[email protected]>
  10367. * Application.cs: Fixed message_filter check
  10368. 2005-02-17 Peter Bartok <[email protected]>
  10369. * Application.cs: Now calls registered message filters
  10370. * DockStyle.cs: Fixed attribute
  10371. * Form.cs: Fixed attribute
  10372. * Menu.cs: Fixed attribute
  10373. * ToolTip.cs: Fixed attribute
  10374. * TreeNode.cs: Added missing attributes and arranged in regions
  10375. * PropertyGrid.cs: Fixed signatures
  10376. * TreeNodeCollection.cs: Added attributes
  10377. * Splitter.cs: Added missing attributes; arranged into regions
  10378. * TabPage.cs: Added missing attributes; arranged into regions
  10379. * TextBoxBase.cs: Added missing attributes
  10380. * TextBox.cs: Added missing attributes
  10381. * ArrangeDirection.cs: Added missing attributes
  10382. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  10383. * ToolBarButton.cs: Fixed attributes
  10384. * AnchorStyles.cs: Fixed attribute
  10385. * TrackBar.cs: Fixed attributes
  10386. * TabControl.cs: Added missing attributes and arranged into regions
  10387. * ToolBar.cs: Fixed attribute
  10388. * StatusBar.cs: Fixed signature, organized into regions and added
  10389. attributes
  10390. * StatusBarPanel.cs: Fixed attributes
  10391. * ContentsResizedEventArgs.cs: Implemented
  10392. * ContentsResizedEventHandler.cs: Implemented
  10393. * DateBoldEventArgs.cs: Implemented
  10394. * DateBoldEventHandler.cs: Implemented
  10395. * UpDownEventArgs.cs: Implemented
  10396. * UpDownEventHandler.cs: Implemented
  10397. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  10398. * Form.cs: first Menu NC refactoring
  10399. * MenuAPI.cs: first Menu NC refactoring
  10400. 2005-02-16 Peter Bartok <[email protected]>
  10401. * ImeMode.cs: Added missing attributes
  10402. * Menu.cs: Fixed attribute
  10403. * GroupBox.cs: Fixed attribute
  10404. * Label.cs: Fixed attribute
  10405. * ColorDialog.cs (RunDialog): Removed TODO attribute
  10406. * ComboBox.cs: Fixed attributes
  10407. * ListControl.cs: Added missing attributes
  10408. * PropertyGrid.cs: Fixed attributes
  10409. * Control.cs: Fixed attributes
  10410. * ListViewItem.cs: Added TypeConverter attribute
  10411. * NotifyIcon.cs: Fixed attributes
  10412. * ListView.cs: Fixed attributes
  10413. * ButtonBase.cs: Fixed attribute
  10414. * ImageList.cs: Added missing attributes
  10415. * ContainerControl.cs: Fixed signature
  10416. * CheckedListBox.cs: Fixed attribute; added missing attributes
  10417. * Panel.cs: Fixed attributes
  10418. * PropertyTabChangedEventArgs.cs: Added missing attribute
  10419. * PropertyValueChangedEventArgs.cs: Added missing attribute
  10420. * Binding.cs: Fixed attribute
  10421. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  10422. * ListBox.cs: Fixed attribute; added missing attributes;
  10423. * ScrollableControl.cs: Added missing attributes
  10424. * PictureBox.cs: Added missing attributes; implemented missing property
  10425. * DateTimePicker.cs: Added missing attributes
  10426. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  10427. * MonthCalendar.cs: Fixed attributes
  10428. * StatusBarPanel.cs: Added missing attributes
  10429. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  10430. 2005-02-16 Peter Bartok <[email protected]>
  10431. * TextBoxBase.cs: The previous method to enforce height yet remember
  10432. the requested high was less than ideal, this is an attempt to do
  10433. it better.
  10434. * Control.cs: Added comment about possible problem
  10435. * Copyright: Updated format
  10436. * GridItemType.cs: Fixed swapped values
  10437. 2005-02-15 Jackson Harper <[email protected]>
  10438. * BaseCollection.cs: Use property so we never access an
  10439. uninitialized list. Also initialize the list in the property.
  10440. 2005-02-15 Peter Bartok <[email protected]>
  10441. * GroupBox.cs (ProcessMnemonic): Implemented
  10442. * Label.cs (ProcessMnemonic): Implemented
  10443. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  10444. hotkeys
  10445. 2005-02-15 Peter Bartok <[email protected]>
  10446. * RadioButton.cs (ProcessMnemonic): Implemented
  10447. * CheckBox.cs (ProcessMnemonic): Implemented
  10448. * Control.cs:
  10449. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  10450. handling
  10451. - Added internal method to allow calling ProcessMnemonic from other
  10452. controls
  10453. * ContainerControl.cs:
  10454. - Started support for handling validation chain handling
  10455. - Implemented ProcessMnemonic support
  10456. - Added Select() call to Active, to make sure the active control
  10457. receives focus
  10458. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  10459. FormParent rewrite)
  10460. * ThemeWin32Classic.cs:
  10461. - DrawCheckBox(): Fixed stringformat to show hotkeys
  10462. - DrawRadioButton(): Fixed stringformat to show hotkeys
  10463. * CommonDialog.cs: Removed WndProc override, not needed
  10464. 2005-02-14 Peter Bartok <[email protected]>
  10465. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  10466. missed those in the rewrite
  10467. 2005-02-14 Miguel de Icaza <[email protected]>
  10468. * NumericUpDown.cs (Increment, ToString): Add.
  10469. (DecimalPlaces): implement.
  10470. Add attributes.
  10471. * UpDownBase.cs: Add the designer attributes.
  10472. 2005-02-13 Peter Bartok <[email protected]>
  10473. * Panel.cs: Removed border_style, now in Control
  10474. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  10475. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  10476. 2005-02-13 Peter Bartok <[email protected]>
  10477. * MouseButtons.cs: Added missing attributes
  10478. * XplatUIStructs.cs: Added enumeration for title styles
  10479. * LeftRightAlignment.cs: Added missing attributes
  10480. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  10481. it compatible with Graphics.FromHwnd()
  10482. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  10483. * Keys.cs: Added missing attributes
  10484. * SelectionRange.cs: Added missing attributes
  10485. * SelectionRangeConverter.cs: Added
  10486. * XplatUI.cs:
  10487. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  10488. ReleaseMenuDC methods
  10489. - Renamed ReleaseWindow to UngrabWindow
  10490. - Added proper startup notice to allow version identification
  10491. * Form.cs:
  10492. - Added missing attributes
  10493. - Removed FormParent concept
  10494. * Label.cs: Removed border_style field, now in Control
  10495. * RadioButton.cs: Now properly selects RadioButton when focus is
  10496. received
  10497. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  10498. * Control.cs:
  10499. - Added missing attributes
  10500. - Added borderstyle handling
  10501. - Removed FormParent concept support
  10502. - Fixed calls to XplatUI to match changed APIs
  10503. - Fixed bug that would case us to use disposed Graphics objects
  10504. - Removed unneeded internal methods
  10505. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  10506. - SelectNextControl(): Fixed to properly check common parents
  10507. * TextBoxBase.cs: Removed border_style field (now in Control)
  10508. * MessageBox.cs:
  10509. - Patch by Robert Thompson ([email protected]): Added icon support,
  10510. fixed calculations for form size
  10511. - Added support for localized strings and icons
  10512. - Improved form size calculations, added border
  10513. * ListView.cs: Removed border_style field (now in Control)
  10514. * X11Structs.cs: Moved several structs from X11 driver here
  10515. * X11Keyboard.cs: Changed debug message
  10516. * Application.cs: Removed FormParent concept support
  10517. * CommonDialog.cs:
  10518. - Resetting end_modal flag
  10519. - Removed FormParent concept support
  10520. * NativeWindow.cs: Removed FormParent concept support
  10521. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  10522. Client area and Non-Client whole window to allow support for WM_NC
  10523. messages
  10524. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  10525. prevent using it until it supports Hwnd as per Geoff Norton's request
  10526. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  10527. * PictureBox.cs: Removed border_style field, now in Control
  10528. * XplatUIWin32.cs: Added new driver methods
  10529. 2005-02-12 Peter Bartok <[email protected]>
  10530. * OpacityConverter.cs: Implemented
  10531. * Hwnd.cs: Internal class to support drivers that need to emulate
  10532. client area/non-client area window behaviour
  10533. 2005-02-11 Peter Bartok <[email protected]>
  10534. * KeysConverter.cs: Implemented
  10535. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  10536. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  10537. * LinkLabel: Added missing attributes
  10538. * MainMenu.cs: fixes ToString
  10539. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  10540. * ListBox.cs: fixes event position
  10541. * TrackBar.cs: adds missing attributes and events
  10542. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  10543. * MenuItem.cs: Use SystemInformation and bug fixes
  10544. * MenuAPI.cs: Use SystemInformation and bug fixes
  10545. 2005-02-09 Jackson Harper <[email protected]>
  10546. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  10547. their keystate otherwise things like VK_MENU get stuck "on".
  10548. 2005-02-09 Kazuki Oikawa <[email protected]>
  10549. * ListBox.cs: Fixes AddRange bug
  10550. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  10551. * ProgressBar.cs
  10552. - Add missing attributes
  10553. - Add missing method
  10554. * CheckedListBox.cs: Added missing attributes
  10555. - Add missing attributes
  10556. - Remove extra method
  10557. * ComboBox.cs: Added missing attributes
  10558. * VScrollBar.cs: Added missing attributes
  10559. * ScrollBar.cs: Added missing attributes
  10560. * ListBox.cs: Fixes signature, add missing consts
  10561. * LinkArea.cs: Added missing attributes
  10562. 2005-02-08 Peter Bartok <[email protected]>
  10563. * Menu.cs: Added missing attributes
  10564. * MainMenu.cs: Added missing attributes
  10565. * GroupBox.cs: Added missing attributes
  10566. * Label.cs: Added missing attributes
  10567. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  10568. * ColorDialog.cs:
  10569. - Added Instance and Options properties
  10570. - Added missing attributes
  10571. * Cursor.cs: Made Serializable
  10572. * NotifyIcon: Added missing attributes
  10573. * MenuItem.cs: Added missing attributes
  10574. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  10575. * Panel.cs: Added Missing attributes
  10576. * MonthCalendar.cs: Fixed CreateParams
  10577. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10578. * LinkLabel.cs:
  10579. - Fixes signature
  10580. - Fixes issues with links
  10581. - Adds the class attributes
  10582. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10583. * ComboBox.cs:
  10584. - Fixes button when no items available in dropdown
  10585. - Fixes repainting problems
  10586. - Adds the class attributes
  10587. 2005-02-07 Geoff Norton <[email protected]>
  10588. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  10589. the current theme. Cache these on startup.
  10590. 2005-02-07 Jackson Harper <[email protected]>
  10591. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  10592. the scrollbar buttons when they are depressed.
  10593. 2005-02-07 Geoff Norton <[email protected]>
  10594. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  10595. Get the display size from the main displayid. We currently dont
  10596. support multiple display configurations.
  10597. 2005-02-07 Geoff Norton <[email protected]>
  10598. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  10599. 2005-02-07 Miguel de Icaza <[email protected]>
  10600. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  10601. 2005-02-05 Jonathan Chambers <[email protected]>
  10602. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  10603. 2005-02-04 Jackson Harper <[email protected]>
  10604. * ThemeWin32Classic.cs: Respect the clipping rect when
  10605. drawing. Only fill the intersection of clips and rects so there
  10606. isn't a lot of large fills.
  10607. * ScrollBar.cs: Pass the correct clipping rect to the theme
  10608. engine. Remove some debug code.
  10609. 2005-02-05 John BouAntoun <[email protected]>
  10610. * DateTimePicker.cs:
  10611. - Fixed crash on DateTime.Parse, use Constructor instead
  10612. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10613. * MenuItem.cs:
  10614. * MenuAPI.cs:
  10615. - Owner draw support (MeasureItem and DrawItem)
  10616. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10617. * Menu.cs:
  10618. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  10619. - Fixes MenuItems.Add range
  10620. * MenuItem.cs:
  10621. - MergeMenu and Clone and CloneMenu functions
  10622. 2005-02-03 Jackson Harper <[email protected]>
  10623. * ScrollBar.cs: Make abstract
  10624. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  10625. is abstract.
  10626. 2005-02-03 Jackson Harper <[email protected]>
  10627. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  10628. all the unneeded refreshes and uses invalidates with properly
  10629. computed rects.
  10630. 2005-02-03 Peter Bartok <[email protected]>
  10631. * ComponentModel.cs: Added
  10632. * IDataGridEditingService.cs: Added
  10633. * Timer.cs: Added missing attributes
  10634. * ToolTip.cs: Added missing attributes
  10635. 2005-02-03 Jonathan Chambers <[email protected]>
  10636. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  10637. 2005-02-03 Peter Bartok <[email protected]>
  10638. * ListBox.cs: Added missing attributes
  10639. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  10640. * ListBox.cs:
  10641. - Fixes font height after font change
  10642. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  10643. 2005-02-02 Peter Bartok <[email protected]>
  10644. * HandleData.cs: Introduced static methods to allow class
  10645. to be more self-contained and track it's own HandleData objects
  10646. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  10647. HandleData to use new static methods
  10648. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  10649. * Combobox.cs:
  10650. - Fixes default size and PreferredHeight
  10651. - Missing events
  10652. - ObjectCollection.Insert implementation
  10653. * ListControl.cs
  10654. - Fixes signature
  10655. * ListBox.cs:
  10656. - Several fixes
  10657. - ObjectCollection.Insert implementation
  10658. - No selection after clean
  10659. - Small fixes
  10660. 2005-01-31 John BouAntoun <[email protected]>
  10661. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  10662. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  10663. * Combobox.cs:
  10664. - Caches ItemHeight calculation for OwnerDrawVariable
  10665. - Handles dropdown properly
  10666. - Fixes several minor bugs
  10667. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10668. * ListBox.cs:
  10669. - Fixes 71946 and 71950
  10670. - Fixes changing Multicolumn on the fly
  10671. - Fixes keyboard navigation on Multicolumn listboxes
  10672. 2005-01-31 Geoff Norton <[email protected]>
  10673. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  10674. crash reporter log.
  10675. 2005-01-31 Geoff Norton <[email protected]>
  10676. * XplatUIOSX.cs: Allow applications to actually exit.
  10677. 2005-01-31 Geoff Norton <[email protected]>
  10678. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  10679. their parent at creation time rather than lazily later. Fixes a major
  10680. regression we were experiencing.
  10681. 2005-01-31 John BouAntoun <[email protected]>
  10682. * ThemeWin32Classic.cs: more date time picker painting fixes
  10683. * DateTimePicker.cs: more monthcalendar drop down fixes
  10684. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  10685. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10686. * ScrollBar.cs:
  10687. - When moving the thumb going outside the control should stop the moving
  10688. - Adds the firing of missing events
  10689. - Fixes no button show if Size is not specified
  10690. - End / Home keys for keyboard navigation
  10691. 2005-01-30 Peter Bartok <[email protected]>
  10692. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  10693. sanity check to prevent theoretical loop
  10694. * XplatUIWin32.cs (SetVisible): Removed debug output
  10695. * XplatUIX11.cs (SystrayChange): Added sanity check
  10696. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  10697. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  10698. behaviour, valid until the X11 client window rewrite is done
  10699. * TextBox.cs (ctor): Setting proper default foreground and background
  10700. colors
  10701. 2005-01-30 John BouAntoun <[email protected]>
  10702. * Theme: Added DrawDateTimePicker to interface
  10703. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  10704. * DateTimePicker.cs: Created (still needs keys and painting code)
  10705. * DateTimePickerFormat.cs: added
  10706. * MonthCalendar.cs: fixed CreateParams for popup window mode
  10707. 2005-01-29 Peter Bartok <[email protected]>
  10708. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  10709. this should also the calculations for ligher/darker
  10710. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  10711. 2005-01-29 Peter Bartok <[email protected]>
  10712. * ArrangeDirection.cs: Added
  10713. * ArrangeStartingPositon.cs: Added
  10714. * SystemInformation.cs: Implemented
  10715. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10716. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  10717. used by SystemInformation class
  10718. * X11Strucs.cs: Added XSizeHints structure
  10719. * MenuAPI.cs:
  10720. - Fixed CreateParams to make sure the menu window is always visible
  10721. - TrackPopupMenu: Added check to make sure we don't draw the
  10722. menu offscreen
  10723. 2005-01-29 Peter Bartok <[email protected]>
  10724. * HandleData.cs: Added method for altering invalid area
  10725. * TextBoxBase.cs: Implemented TextLength
  10726. 2005-01-28 Peter Bartok <[email protected]>
  10727. * XplatUIX11.cs: Improvement over last patch, not sending
  10728. the WM_PAINT directly anymore, instead we scroll any pending
  10729. exposed areas and let the system pick out the WM_PAINT later
  10730. 2005-01-28 Peter Bartok <[email protected]>
  10731. * SWF.csproj: Deleted, no longer used. Instead,
  10732. Managed.Windows.Forms/SWF.csproj should be used
  10733. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  10734. directly, to avoid a potential race condition with the next
  10735. scroll
  10736. 2005-01-28 Peter Bartok <[email protected]>
  10737. * XplatUI.cs: Made class internal
  10738. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  10739. * CheckedListBox.cs:
  10740. - Draw focus
  10741. - Fixed Drawing
  10742. - Missing methods and events
  10743. 2005-01-27 Peter Bartok <[email protected]>
  10744. * Application.cs (Run): Don't use form if we don't have one
  10745. 2005-01-27 Peter Bartok <[email protected]>
  10746. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  10747. 2005-01-27 Peter Bartok <[email protected]>
  10748. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  10749. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  10750. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  10751. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  10752. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  10753. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  10754. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10755. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10756. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10757. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10758. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10759. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10760. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10761. * Combobox.cs:
  10762. - Draw focus on Simple Combobox
  10763. - Fixes drawing issues
  10764. - fixes 71834
  10765. 2005-01-27 Peter Bartok <[email protected]>
  10766. * Form.cs:
  10767. - Place window in default location, instead of hardcoded 0/0
  10768. - Send initial LocationChanged event
  10769. * Control.cs:
  10770. - UpdateBounds after creation to find out where the WM placed us
  10771. - Make sure that if the ParentForm changes location the Form
  10772. is notified
  10773. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  10774. to the root, but to whatever the WM placed around us.
  10775. Translate to root coordinates before returning toplevel
  10776. coordinates
  10777. * XplatUIWin32.cs: Removed debug output
  10778. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  10779. flag to GetWindowPos, to allow translation of coordinates on X11
  10780. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10781. * ListBox.cs: connect LostFocus Event
  10782. 2005-01-27 Peter Bartok <[email protected]>
  10783. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10784. XplatUIX11.cs: Extended the Systray API
  10785. * Form.cs: Removed debug output
  10786. * Application.cs: Fixed focus assignment, always need to call
  10787. XplatUI.Activate() since Form.Activate() has rules that may
  10788. prevent activation
  10789. * NotifyIcon.cs: Should be complete now
  10790. * ToolTip.cs: Worked around possible timer bug
  10791. 2005-01-27 Jackson Harper <[email protected]>
  10792. * TabControl.cs:
  10793. - Only invalidate the effected tabs when the
  10794. selected index changes. This reduces drawing and gets rid of some
  10795. flicker.
  10796. - Only refresh if the tabs need to be shifted, otherwise only
  10797. invalidate the slider button.
  10798. - On windows the tabs are not filled to right if the slider is
  10799. visible.
  10800. 2005-01-27 Jackson Harper <[email protected]>
  10801. * TabControl.cs: Only refresh on mouseup if we are showing the
  10802. slider. Also only invalidate the button whose state has changed.
  10803. 2005-01-26 Peter Bartok <[email protected]>
  10804. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  10805. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  10806. and SystrayRemove() methods
  10807. * XplatUIOSX.cs: Stubbed Systray methods
  10808. * XplatUIX11.cs:
  10809. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  10810. methods
  10811. - Fixed broken XChangeProperty calls (marshalling messed up things)
  10812. * X11Structs.cs: Added enums and structs required for Size hinting
  10813. * NotifyIcon.cs: Added & implemented
  10814. 2005-01-26 Jackson Harper <[email protected]>
  10815. * TabControl.cs: Space vertically layed out tabs properly.
  10816. 2005-01-26 Peter Bartok <[email protected]>
  10817. * Form.cs (CreateClientParams): Always set the location to 0,0
  10818. since we're a child window.
  10819. * Control.cs (SetVisibleCore): Always explicitly setting the location
  10820. of a toplevel window, apparently X11 doesn't like to move windows
  10821. while they're not mapped.
  10822. 2005-01-26 Jackson Harper <[email protected]>
  10823. * TabControl.cs: Implement FillToRight size mode with vertically
  10824. rendered tabs.
  10825. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10826. * ControlPaint.cs, ThemeWin32Classic.cs
  10827. - Fixes DrawFocusRectangle
  10828. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10829. * MenuAPI.cs:
  10830. - MenuBar tracking only starts when item is first clicked
  10831. - Fixes menu hidding for multiple subitems
  10832. - Unselect item in MenuBar when item Executed
  10833. - Fixes bug 71495
  10834. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  10835. * ListControl.cs:
  10836. - IsInputKey for ListBox
  10837. * ListBox.cs:
  10838. - Focus item
  10839. - Shift and Control item selection
  10840. - Implement SelectionMode.MultiExtended
  10841. - Fixes RightToLeft
  10842. * ComboBox.cs:
  10843. - IsInputKey implemented
  10844. - Do not generate OnTextChangedEdit on internal txt changes
  10845. 2005-01-23 Peter Bartok <[email protected]>
  10846. * AccessibleObject.cs: Partially implemented Select()
  10847. * MonthCalendar.cs: Added missing attributes and events
  10848. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  10849. form can properly override CreateParams.
  10850. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10851. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  10852. Control performs Invalidate & Update
  10853. * NativeWindow (CreateHandle): Added special handling for Form
  10854. and Form.FormParent classes to allow overriding of From.CreateParams
  10855. * Control.cs:
  10856. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  10857. name 'owner'
  10858. - ControlNativeWindow: Added Owner property
  10859. - Removed usage of Refresh() on property changes, changed into
  10860. Invalidate(), we need to wait until the queue is processed for
  10861. updates, direct calls might cause problems if not all vars for
  10862. Paint are initialized
  10863. - Added call to UpdateStyles() when creating the window, to set any
  10864. styles that CreateWindow might have ignored.
  10865. - Added support for Form CreateParent overrides to UpdateStyles()
  10866. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  10867. CreateParams are now properly overridable
  10868. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  10869. CreateParams are now properly overridable
  10870. 2005-01-23 Miguel de Icaza <[email protected]>
  10871. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  10872. OnTextBoxChanged.
  10873. Capture LostFocus and OnTextBoxChanged. The later introduces a
  10874. recursive invocation that I have not figured out yet.
  10875. Reset the timer when not using (it was accumulating).
  10876. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  10877. user has made changes that require validation.
  10878. Reset changing to avoid loops.
  10879. 2005-01-22 Miguel de Icaza <[email protected]>
  10880. * NumericUpDown.cs: Display value at startup.
  10881. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  10882. ValidateEditText.
  10883. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  10884. filled in. Added some basic parsing of text.
  10885. Still missing the OnXXX method overrides, and figuring out the
  10886. events that must be emitted.
  10887. * UpDownBase.cs: Handle UserEdit on the Text property.
  10888. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  10889. * ComboBox.cs:
  10890. - Fixes IntegralHeight
  10891. - ToString method
  10892. 2005-01-21 Jackson Harper <[email protected]>
  10893. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  10894. is set so that the page visibility is updated and the tabs are
  10895. sized correctly.
  10896. 2005-01-21 Jackson Harper <[email protected]>
  10897. * TabControl.cs: Use cliping rectangle for blitting. Give the
  10898. theme the clipping rect so we can do clipping while
  10899. drawing. Remove some debug code.
  10900. 2005-01-21 Jackson Harper <[email protected]>
  10901. * TabPage.cs: Add a new method so tab pages can force the tab
  10902. control to recalculate the tab page sizes.
  10903. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  10904. sizes.
  10905. 2005-01-20 Jackson Harper <[email protected]>
  10906. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  10907. 2005-01-20 Jackson Harper <[email protected]>
  10908. * TreeView.cs: Set the bounds for nodes properly. They were
  10909. getting screwed up when checkboxes were not enabled, but images
  10910. were.
  10911. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  10912. * ListBox.cs:
  10913. - Owner draw support
  10914. - Fixes
  10915. 2005-01-20 Jackson Harper <[email protected]>
  10916. * XplatUIStructs.cs: More misc keys
  10917. * X11Keyboard.cs: Ignore some control keys.
  10918. 2005-01-20 Jackson Harper <[email protected]>
  10919. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  10920. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  10921. 2005-01-19 Peter Bartok <[email protected]>
  10922. * Control.cs: Un-selecting the control when it is loosing focus
  10923. 2005-01-19 Jackson Harper <[email protected]>
  10924. * TreeView.cs: Hook up to the text controls leave event so we can
  10925. end editing when the users clicks outside the text box.
  10926. 2005-01-19 Jackson Harper <[email protected]>
  10927. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  10928. get set in the conversion array.
  10929. 2005-01-19 Peter Bartok <[email protected]>
  10930. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  10931. focus is properly set
  10932. * Button.cs:
  10933. - Added missing attributes
  10934. - removed styles, those are already set in the base class
  10935. * ButtonBase.cs:
  10936. - Added missing attributes
  10937. - Added clip window styles
  10938. * CheckBox.cs: Added missing attributes
  10939. * CommonDialog.cs:
  10940. - FormParentWindow.CreateParams: Added required clip styles
  10941. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  10942. also filters modifier keys
  10943. * MessageBox.cs:
  10944. - Added assignment of Accept and Cancel button to enable Enter
  10945. and Esc keys in MessageBox dialogs
  10946. - FormParentWindow.CreateParams: Added required clip styles
  10947. * RadioButton.cs: Added missing attributes
  10948. * TextControl.cs: No longer draws selection if control does not
  10949. have focus
  10950. * TextBoxBase.cs:
  10951. - Now draws simple rectangle around test area to make it obvious
  10952. there's a control. This is a hack until we properly support borders
  10953. - A few simple fixes to support selections better, now erases selected
  10954. text when typing, and resets selection when using movement keys
  10955. 2005-01-19 Miguel de Icaza <[email protected]>
  10956. * UpDownBase.cs: Added some new properties.
  10957. * DomainUpDown.cs: Implement a lot to get my test working.
  10958. 2005-01-19 Geoff Norton <[email protected]>
  10959. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  10960. 2005-01-19 Geoff Norton <[email protected]>
  10961. * OSXStructs (WindowAttributes): Fixed csc complaints
  10962. 2005-01-19 Geoff Norton <[email protected]>
  10963. * XplayUIOSX.cs:
  10964. OSXStructs.cs: Initial refactor to move enums and consts into
  10965. OSXStructs and use them in the driver for greater readability.
  10966. 2005-01-19 Geoff Norton <[email protected]>
  10967. * XplatUIOSX.cs: Initial support for Standard Cursors.
  10968. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  10969. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  10970. * ComboBox.cs: ability to change style when the ctrl is already
  10971. created, missing methods and events, bug fixes, signature fixes
  10972. 2005-01-19 Peter Bartok <[email protected]>
  10973. * Cursors.cs (ctor): Added ctor to fix signature
  10974. 2005-01-18 Peter Bartok <[email protected]>
  10975. * Button.cs: Implemented DoubleClick event
  10976. * ButtonBase.cs:
  10977. - Fixed keyboard handling to behave like MS, where the press of
  10978. Spacebar is equivalent to a mousedown, and the key release is
  10979. equivalent to mouseup. Now a spacebar push will give the same
  10980. visual feedback like a mouse click.
  10981. - Added missing attributes
  10982. - Added ImeModeChanged event
  10983. - Added support for generating DoubleClick event for derived classes
  10984. * CheckBox.cs:
  10985. - Implemented DoubleClick event
  10986. - Added missing attributes
  10987. * CommonDialog.cs: Added missing attribute
  10988. * ContextMenu.cs: Added missing attributes
  10989. * RadioButton.cs:
  10990. - AutoChecked buttons do not allow to be unselected when clicked
  10991. (otherwise we might end up with no selected buttons in a group)
  10992. - Added missing attributes
  10993. - Implemented DoubleClickEvent
  10994. * ThreadExceptionDialog.cs: Enabled TextBox code
  10995. 2005-01-18 Peter Bartok <[email protected]>
  10996. * Form.cs: Removed debug output
  10997. * Button.cs: Added support for DoubleClick method
  10998. 2005-01-18 Peter Bartok <[email protected]>
  10999. * Form.cs:
  11000. - Added method to parent window that allows triggering size
  11001. calculations when a menu is added/removed
  11002. - set_Menu: Cleaned up mess from early days of Form and Control,
  11003. now properly triggers a recalc when a menu is added/removed
  11004. - Added case to select form itself as focused form if no child
  11005. controls exist
  11006. - Added PerformLayout call when showing dialog, to ensure properly
  11007. placed controls
  11008. * Control.cs:
  11009. - Select(): Made internal so Form can access it
  11010. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  11011. status
  11012. * Application.cs (Run): Removed hack and calls PerformLayout instead
  11013. to trigger calculation when Form becomes visible
  11014. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  11015. * ComboBox.cs: fixes for ownerdraw
  11016. 2005-01-18 Peter Bartok <[email protected]>
  11017. * TextControl.cs:
  11018. - Sentinel is no longer static, each Document gets it's own, this
  11019. avoids locking or alternatively overwrite problems when more
  11020. than one text control is used simultaneously.
  11021. - Switched to use Hilight and HilightText brushes for text selection
  11022. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  11023. 2005-01-18 Peter Bartok <[email protected]>
  11024. * Control.cs:
  11025. - Hooked up the following events:
  11026. o ControlAdded
  11027. o ControlRemoved
  11028. o HandleDestroyed
  11029. o ImeModeChanged
  11030. o ParentChanged
  11031. o TabStopChanged
  11032. o Invalidated
  11033. o SystemColorsChanged
  11034. o ParentFontChanged
  11035. o Move
  11036. - Removed debug output
  11037. - Added a call to the current theme's ResetDefaults when a color change
  11038. is detected
  11039. * Form.cs: Now setting the proper ImeMode
  11040. * Theme.cs: Defined a method to force recreation of cached resources
  11041. and rereading of system defaults (ResetDefaults())
  11042. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  11043. 2005-01-17 Peter Bartok <[email protected]>
  11044. * Control.cs: Added missing attributes
  11045. 2005-01-17 Jackson Harper <[email protected]>
  11046. * TreeNode.cs: Implement editing. Add missing properties selected
  11047. and visible.
  11048. * TreeView.cs: Implement node editing. Also some fixes to use
  11049. Invalidate (invalid area) instead of Refresh when selecting.
  11050. 2005-01-17 Peter Bartok <[email protected]>
  11051. * Control.cs:
  11052. - Implemented InvokeGotFocus() method
  11053. - Implemented InvokeLostFocus() method
  11054. - Implemented InvokePaint() method
  11055. - Implemented InvokePaintBackground() method
  11056. - Implemented InvokeClick() method
  11057. - Implemented FindForm() method
  11058. - Implemented RectangleToClient() method
  11059. - Implemented ClientToRectangle() method
  11060. - Implemented ResetBackColor() method
  11061. - Implemented ResetCursor() method
  11062. - Implemented ResetFont() method
  11063. - Implemented ResteForeColor() method
  11064. - Implemented ResetImeMode() method
  11065. - Implemented ResetLeftToRight() method
  11066. - Implemented ResetText() method
  11067. - Implemented Scale() methods
  11068. - Implemented ScaleCore() method
  11069. - Implemented Update() method
  11070. - Removed unused variables
  11071. - Stubbed AccessibilityNotifyClients and
  11072. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  11073. with those yet)
  11074. - Now setting proper default for RightToLeft property
  11075. - Fixed bug in SetClientSizeCore that would cause windows to get
  11076. really big
  11077. - Now sending Click/DoubleClick events
  11078. - Now selecting controls when left mouse button is clicked on
  11079. selectable control
  11080. * AccessibleEvents.cs: Added
  11081. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  11082. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  11083. * XplatUIWin32.cs: Implemented UpdateWindow() method
  11084. * XplatUIX11.cs: Implemented UpdateWindow() method
  11085. * Form.cs: Removed stray semicolon causing CS0162 warning
  11086. * ThemeWin32Classic.cs: Fixed unused variable warnings
  11087. * ScrollableControl.cs: Now calls base method for ScaleCore
  11088. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  11089. style to avoid interference with internal click handler (which is
  11090. different than standard Control click handling)
  11091. * RadioButton.cs:
  11092. - Now unchecks all sibling radio buttons when control is
  11093. selected (Fixes #68756)
  11094. - Removed internal tabstop variable, using the one inherited from
  11095. Control
  11096. 2005-01-17 Jackson Harper <[email protected]>
  11097. * NavigateEventArgs.cs: Fix base type.
  11098. * LinkLabel.cs: Sig fix
  11099. 2005-01-17 Jackson Harper <[email protected]>
  11100. * TreeView.cs: Only invalidate the effected nodes bounds when
  11101. selecting nodes.
  11102. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11103. * XplatUIWin32.cs: fixes Win32 marshaling
  11104. * XplatUIX11.cs: fixes method signature
  11105. 2005-01-17 Peter Bartok <[email protected]>
  11106. * XplatUIX11.cs: Clean up resources when we no longer need them
  11107. 2005-01-17 Peter Bartok <[email protected]>
  11108. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  11109. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  11110. and DestroyCursor() methods.
  11111. * Cursor.cs: Partially implemented, now supports standard cursors;
  11112. still contains some debug code
  11113. * Cursors.cs: Implemented class
  11114. * Control.cs:
  11115. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  11116. appropriate cursor
  11117. - Implemented Cursor property
  11118. - Replaced break; with return; more straightforwar and possibly
  11119. faster
  11120. - Now properly setting the result for WM_HELP
  11121. * X11Structs.cs: Added CursorFontShape enum
  11122. * XplatUIStructs.cs:
  11123. - Added StdCursor enum (to support DefineStdCursor() method)
  11124. - Added HitTest enum (to support sending WM_SETCURSOR message)
  11125. * XplatUIX11.cs:
  11126. - Now sends the WM_SETCURSOR message
  11127. - Implemented new cursor methods
  11128. * XplatUIOSX.cs: Stubbed new cursor methods
  11129. * XplatUIWin32.cs:
  11130. - Implemented new cursor methods
  11131. - Added GetSystemMetrics function and associated enumeration
  11132. 2005-01-15 Peter Bartok <[email protected]>
  11133. * Control.cs:
  11134. - WndProc(): Now handles EnableNotifyMessage
  11135. - SelectNextControl(): Fixed bug where if no child or sibling
  11136. controls exist we looped endlessly
  11137. 2005-01-14 Jackson Harper <[email protected]>
  11138. * TreeView.cs: Recalculate the tab pages when a new one is added
  11139. so that the proper bounding rects are created.
  11140. 2005-01-14 Jackson Harper <[email protected]>
  11141. * TreeView.cs: Draw a gray box instead of a grip in the lower
  11142. right hand corner when there are both horizontal and vertical
  11143. scroll bars.
  11144. 2005-01-14 Jackson Harper <[email protected]>
  11145. * Control.cs: When erasing backgrounds use FromHwnd instead of
  11146. FromHdc when there is a NULL wparam. This occurs on the X driver.
  11147. * XplatUIX11.cs: Set the wparam to NULL.
  11148. 2005-01-13 Jackson Harper <[email protected]>
  11149. * PictureBox.cs: Implement missing methods (except ToString, need
  11150. to test that on windows) and events. When visibility is changed we
  11151. need to redraw the image because the buffers are killed. When size
  11152. is changed refresh if the sizemode needs it.
  11153. 2005-01-13 Peter Bartok <[email protected]>
  11154. * Control.cs (SelectNextControl): Was using wrong method to select
  11155. a control
  11156. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11157. * ComboBox.cs: fixes dropstyle
  11158. 2005-01-13 Peter Bartok <[email protected]>
  11159. * Form.cs:
  11160. - Implemented Select() override
  11161. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  11162. - Now sets keyboard focus on startup
  11163. * Control.cs (SelectNextControl): Now properly handles directed=true
  11164. * TextBoxBase.cs:
  11165. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  11166. - Added (really bad) focus rectangle (mostly for testing)
  11167. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  11168. to enforce redraw on focus changes
  11169. * ContainerControl.cs:
  11170. - Fixed detection of Shift-Tab key presses
  11171. - Fixed traversal with arrow keys
  11172. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  11173. gonna keep this or if it's complete yet
  11174. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11175. * ComboBox.cs: missing properties, fixes
  11176. 2005-01-13 Peter Bartok <[email protected]>
  11177. * Panel.cs (ctor): Setting Selectable window style to off
  11178. * Splitter.cs (ctor): Setting Selectable window style to off
  11179. * GroupBox.cs (ctor): Setting Selectable window style to off
  11180. * Label.cs (ctor): Setting Selectable window style to off
  11181. 2005-01-12 Miguel de Icaza <[email protected]>
  11182. * UpDownBase.cs (InitTimer): If the timer has been already
  11183. created, enable it.
  11184. Use a TextBox instead of a Label.
  11185. 2005-01-12 Jackson Harper <[email protected]>
  11186. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  11187. draw the connecting node lines (when ShowLines is true).
  11188. * TreeNode.cs: The nodes index can now be updated. This is used
  11189. when a node collection is sorted.
  11190. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  11191. insert or an existing unsorted node collection can be sorted.
  11192. 2005-01-12 Peter Bartok <[email protected]>
  11193. * ContainerControl.cs: Implemented ProcessDialogKeys()
  11194. 2005-01-12 Peter Bartok <[email protected]>
  11195. * Control.cs:
  11196. - Implemented SelectNextControl() method
  11197. - Several focus related bug fixes
  11198. - Fixed Docking calculations to match MS documentation and
  11199. behaviour
  11200. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  11201. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  11202. bug fixes
  11203. 2005-01-12 Peter Bartok <[email protected]>
  11204. * Control.cs:
  11205. - Fixed broken Contains() method
  11206. - Implemented GetNextControl() method. Finally. This is the pre-
  11207. requisite for focus handling.
  11208. 2005-01-12 Peter Bartok <[email protected]>
  11209. * OSXStrucs.cs: Added
  11210. 2005-01-12 Peter Bartok <[email protected]>
  11211. * XplatUIWin32.cs:
  11212. - Removed PeekMessageFlags
  11213. - Implemented SetWindowStyle() method
  11214. * XplatUIStructs.cs: Added PeekMessageFlags
  11215. * X11Structs: Added missing border_width field to XWindowChanges struct
  11216. * XplatUIX11.cs:
  11217. - PeekMessage: Now throws exception if flags which are not yet
  11218. supported are passed
  11219. - Implemented SetWindowStyle() method
  11220. - Fixed SetZOrder to handle AfterHwnd properly
  11221. * XplatUI.cs: Added SetWindowStyle() method
  11222. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  11223. * Control.cs:
  11224. - Implemented UpdateStyles() method
  11225. - Implemented UpdateZOrder() method
  11226. * XplatUIOSX.cs: Added SetWindowStyle() stub
  11227. 2005-01-12 Geoff Norton <[email protected]>
  11228. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  11229. button mouse).
  11230. 2005-01-11 Jackson Harper <[email protected]>
  11231. * TreeView.cs: Still need to draw lines to siblings even if out of
  11232. the current node is out of the clip.
  11233. 2005-01-11 Jackson Harper <[email protected]>
  11234. * TreeView.cs: When setting the hbar/vbar/grip position use
  11235. SetBounds so that perform layout is only called once. Also suspend
  11236. and resume layout so layout is only done once for all controls.
  11237. - Removed some debug fluff
  11238. * SizeGrip.cs: Call base implmentation in overriding methods.
  11239. - When visibility is changed the drawing buffers are killed so we
  11240. need to redraw.
  11241. 2005-01-11 Jackson Harper <[email protected]>
  11242. * TreeView.cs: Calculate the open node count while drawing. This
  11243. saves us an entire tree traversal for every paint operation. Use
  11244. a member var for the open node count so less vars are passed around.
  11245. 2005-01-11 John BouAntoun <[email protected]>
  11246. * MonthCalendar.cs:
  11247. - fixed selection to use mousemove, not mouse polling on timer
  11248. * ThemeWin32Classic.cs
  11249. - removed redundant unused variable "no_more_content"
  11250. 2005-01-11 Peter Bartok <[email protected]>
  11251. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  11252. are pending, so it now calls PeekMessage instead of GetMessage;
  11253. implemented a incomplete version of PeekMessage
  11254. 2005-01-11 Peter Bartok <[email protected]>
  11255. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  11256. I18n issues
  11257. * TextBoxBase.cs: Added sending of TextChanged event
  11258. 2005-01-10 Jackson Harper <[email protected]>
  11259. * TreeView.cs: Try not to draw outside the clipping rectangle on
  11260. each node element.
  11261. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  11262. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  11263. 2005-01-10 Jackson Harper <[email protected]>
  11264. * TreeView.cs:
  11265. - Implement fast scrolling. Now only the newly
  11266. exposed nodes are drawn and the old image is moved using the
  11267. XplatUI::ScrollWindow method.
  11268. - Factor in height of nodes when calculating whether or not the
  11269. node is in the clipping rect.
  11270. 2005-01-10 Jackson Harper <[email protected]>
  11271. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  11272. 2005-01-10 Peter Bartok <[email protected]>
  11273. * Application.cs: Added temporary hack to resolve all our resize
  11274. required issues on startup. This will get fixed properly at
  11275. some point in the future
  11276. 2005-01-10 Jackson Harper <[email protected]>
  11277. * SizeGrip.cs: New internal class that is used as a sizing
  11278. grip control...hence the name.
  11279. 2005-01-10 Peter Bartok <[email protected]>
  11280. * Control.cs: Implemented proper TabIndex handling, now assigning
  11281. a tabindex when a control is added to a container
  11282. * GroupBox.cs (ctor): Now sets the Container style bit, required
  11283. for Control.GetNextControl()
  11284. 2005-01-09 Jackson Harper <[email protected]>
  11285. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  11286. 2005-01-09 Peter Bartok <[email protected]>
  11287. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  11288. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  11289. an overload for ScrollWindow to allow only scrolling a rectangle
  11290. 2005-01-09 Peter Bartok <[email protected]>
  11291. * Form.cs:
  11292. - Implemented SetDesktopBounds method
  11293. - Implemented SetDesktopLocation method
  11294. 2005-01-08 Jackson Harper <[email protected]>
  11295. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  11296. the node count has changed, this removes to VScroll::Refresh calls
  11297. when drawing.
  11298. 2005-01-08 Geoff Norton <[email protected]>
  11299. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  11300. 2005-01-07 Jackson Harper <[email protected]>
  11301. * TreeNode.cs: Just update the single node when it is
  11302. checked. Don't refresh after toggling, the Expand/Collapse already
  11303. handles this.
  11304. * TreeView.cs: Respect clipping a little more when drawing. Try
  11305. not to redraw things that don't need to be redrawn. Just hide the
  11306. scrollbars when they are no longer needed instead of removing
  11307. them, so they don't have to be created again and again.
  11308. 2005-01-07 Geoff Norton <[email protected]>
  11309. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  11310. coordinates to window space to place the caret properly, FIXED.
  11311. Implement GetWindowState & SetWindowState
  11312. 2005-01-06 Peter Bartok <[email protected]>
  11313. * Form.cs:
  11314. - Implemented ClientSize property
  11315. - Implemented DesktopBounds property
  11316. - Implemented DesktopLocation property
  11317. - Implemented IsRestrictedWindow property
  11318. - Implemented Size property
  11319. - Implemented TopLevel property
  11320. - Implemented FormWindowState property
  11321. * Control.cs:
  11322. - Implemented GetTopLevel() method
  11323. - Implemented SetTopLevel() method
  11324. * X11Structs.cs (Atom):
  11325. - Added AnyPropertyType definition
  11326. - Added MapState definiton and updated XWindowAttribute struct
  11327. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  11328. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  11329. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  11330. * XplatUIWin32.cs:
  11331. - Implemented GetWindowState() and SetWindowState() methods
  11332. - Fixed Win32GetWindowLong return type
  11333. * XplatUIX11.cs:
  11334. - Introduced central function for sending NET_WM messages
  11335. - Implemented GetWindowState() and SetWindowState() methods
  11336. * TextBoxBase.cs (set_Lines):
  11337. - Now uses Foreground color for text added via Text property (Duh!)
  11338. - Added code to remember programmatically requested size (fixes
  11339. behaviour when Multiline is set after Size)
  11340. - Added AutoSize logic
  11341. 2005-01-06 Jackson Harper <[email protected]>
  11342. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  11343. 2005-01-06 Jackson Harper <[email protected]>
  11344. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  11345. set to less then 0.
  11346. 2005-01-06 Jackson Harper <[email protected]>
  11347. * ScrollableControl.cs: Lazy init the scrollbars.
  11348. 2005-01-06 Jackson Harper <[email protected]>
  11349. * Theme.cs: Speed up getting pens and solid brushes, by using
  11350. their ARGB as a hash instead of tostring and not calling Contains.
  11351. 2005-01-06 Peter Bartok <[email protected]>
  11352. * Form.cs:
  11353. - Implemented OnActivated and OnDeactivate event trigger
  11354. - Implemented Activate() method
  11355. - Fixed ShowDialog() to activate the form that was active before
  11356. the dialog was shown
  11357. * XplatUIX11.cs:
  11358. - Added global active_window var that tracks the currently active
  11359. X11 window
  11360. - Now always grabs Property changes from the root window to always
  11361. catch changes on the active window property
  11362. - Added code to PropertyNotify handler to send Active/Inactive
  11363. messages when state changes. This puts X11 and Win32 en par on
  11364. WM_ACTIVATE notifications (except for double notifications when
  11365. the user clicks away from our modal window to another one of our
  11366. windows)
  11367. 2005-01-05 Jackson Harper <[email protected]>
  11368. * ImageList.cs: Implment ctor
  11369. 2005-01-05 Geoff Norton <[email protected]>
  11370. * XplatUIOSX.cs: Implement Activate/SetTopmost
  11371. 2005-01-05 Geoff Norton <[email protected]>
  11372. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  11373. 2005-01-05 Geoff Norton <[email protected]>
  11374. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  11375. 2005-01-05 Peter Bartok <[email protected]>
  11376. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  11377. XplatUIOSX.cs: Added GetActive method to return the currently
  11378. active window for the application (or null, if none is active)
  11379. * Form.cs:
  11380. - Implemented ActiveForm
  11381. - Commented out owner assignment for modal dialogs (causes problems
  11382. on Win32, since the owner will be disabled)
  11383. - Reworked some Active/Focus handling (still incomplete)
  11384. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  11385. (causes problems on Win32, since the owner will be disabled)
  11386. * IWin32Window: Added ComVisible attribute
  11387. 2005-01-05 Peter Bartok <[email protected]>
  11388. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  11389. required XplatUI functions.
  11390. 2005-01-05 Peter Bartok <[email protected]>
  11391. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  11392. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  11393. to implement focus and activation handling; still incomplete and
  11394. with debug output
  11395. 2005-01-04 Peter Bartok <[email protected]>
  11396. * TextBoxBase.cs: Changed access level for Document property to
  11397. match switch to internal for TextControl
  11398. 2005-01-04 Peter Bartok <[email protected]>
  11399. * AccessibleObject: Added ComVisible attribute
  11400. 2005-01-04 Jackson Harper <[email protected]>
  11401. * X11Keyboard.cs: Remove unneeded var.
  11402. 2005-01-04 Jackson Harper <[email protected]>
  11403. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  11404. but PAINT.
  11405. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  11406. ClientMessage. This makes apps exit cleanly (more often).
  11407. 2005-01-04 Jackson Harper <[email protected]>
  11408. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  11409. handling focus, return correct colors and fonts,
  11410. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  11411. handle selection, horizontal scrolling, and mouse interaction.
  11412. 2005-01-04 Peter Bartok <[email protected]>
  11413. * ICommandExecutor.cs: Added
  11414. * IDataGridColumnStyleEditingNotificationService.cs: Added
  11415. * IFeatureSupport.cs: Added
  11416. * IFileReaderService.cs: Added
  11417. * IDataObject.cs: Added ComVisible attribute
  11418. * AmbientProperties.cs: Added
  11419. * BaseCollection.cs: Added missing attributes
  11420. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  11421. * BaseCollection.cs: Added missing attributes
  11422. * Binding.cs: Added TypeConverter attribute
  11423. * BindingContext.cs: Added DefaultEvent attribute
  11424. * BindingsCollection.cs: Added DefaultEvent attribute
  11425. * Button.cs: Added DefaultValue attribute
  11426. * DragEventArgs.cs: Added ComVisible attribute
  11427. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  11428. * KeyEventArgs.cs: Added ComVisible attribute
  11429. * KeyPressEventArgs.cs: Added ComVisible attribute
  11430. * MouseEventArgs.cs: Added ComVisible attribute
  11431. * NavigateEventArgs.cs: Added
  11432. * NavigateEventHandler.cs: Added
  11433. * FeatureSupport.cs: Added
  11434. * OSFeature.cs: Added
  11435. * Theme.cs: Added abstract Version property to support OSFeature
  11436. * ThemeWin32Classic.cs: Added Version property to
  11437. support OSFeature.Themes
  11438. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  11439. the proper styles to avoid background drawing are set, also doesn't
  11440. match MS signature
  11441. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  11442. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  11443. * ScrollEventArgs.cs: Added ComVisible attribute
  11444. * SplitterEventArgs.cs: Added ComVisible attribute
  11445. * AccessibleSelection.cs: Added Flags attribute
  11446. * Appearance.cs: Added ComVisible attribute
  11447. * Border3DSide.cs: Added ComVisible attribute
  11448. * Border3DStyle.cs: Added ComVisible attribute
  11449. * BorderStyle.cs: Added ComVisible attribute
  11450. * DragAction.cs: Added ComVisible attribute
  11451. * ErrorBlinkStyle.cs: Added
  11452. * ScrollEventType.cs: Added ComVisible attribute
  11453. * AnchorStyles.cs: Added Editor attribute
  11454. * DockStyle.cs: Added Editor attribute
  11455. * HorizontalAlignment.cs: Added ComVisible attribute
  11456. * HelpEventArgs.cs: Added ComVisible attribute
  11457. * PaintEventArgs.cs: Added IDisposable
  11458. 2005-01-04 Peter Bartok <[email protected]>
  11459. * TextControl.cs: Switched Line, LineTag and Document classes to
  11460. internal
  11461. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11462. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  11463. Simple mode, fixes, IntegralHeight, etc.
  11464. 2005-01-04 Peter Bartok <[email protected]>
  11465. * TextBoxBase.cs: Using proper font variable now
  11466. 2005-01-04 Peter Bartok <[email protected]>
  11467. * Form.cs (ShowDialog): Set parent to owner, if provided
  11468. * GroupBox.cs: Removed unused vars
  11469. * TextControl.cs:
  11470. - Added GetHashCode() for Document and LineTag classes
  11471. - Removed unused variables
  11472. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  11473. to allow translation between continuous char position and line/pos
  11474. * CheckBox.cs: Removed vars that are provided by base class
  11475. * RadioButton.cs: Removed vars that are provided by base class, added
  11476. new keyword where required
  11477. * LinkLabel.cs: Added new keyword where required
  11478. * Control.cs (WndProc): Removed unused variable
  11479. * TextBoxBase.cs:
  11480. - Finished SelectionLength property
  11481. - Implemented SelectionStart property
  11482. - Implemented Text property
  11483. - Removed unused vars
  11484. * MessageBox.cs: Added new keyword where required
  11485. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  11486. WndProc signature
  11487. * MenuAPI.cs: Added new keyword where required
  11488. * ButtonBase.cs: Removed vars that are provided by base class, added
  11489. new keyword where required
  11490. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  11491. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  11492. into this)
  11493. * Application.cs (Run): Now triggers the ThreadExit event
  11494. * CommonDialog.cs: Added new keyword where required; now properly sets
  11495. parent (owner) for dialog
  11496. * XplatUIX11.cs: Commented out unused vars
  11497. * StatusBar.cs: Fixed signature for Text property
  11498. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  11499. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11500. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  11501. TrackBar.cs, MonthCalendar.cs: remove unused vars
  11502. 2005-01-03 Jackson Harper <[email protected]>
  11503. * ThemeWin32Classic.cs:
  11504. * X11Keyboard.cs: Remove unused vars.
  11505. 2005-01-03 Peter Bartok <[email protected]>
  11506. * TextBox.cs:
  11507. - set_Text: Tied into TextControl
  11508. - set_TextAlignment: Tied into TextControl
  11509. * TextControl.cs:
  11510. - Added alignment properties and implemented alignment handling
  11511. and drawing (still has a bug, not generating proper expose events)
  11512. - Added new Line() constructor to allow passing the line alignment
  11513. - Fixed selection setting, properly handling end<start now
  11514. - Added aligment considerations to RecalculateDocument()
  11515. * TextBoxBase.cs:
  11516. - Now properly enforces control height for single line controls
  11517. - Added support for CharacterCasing
  11518. - Added IsInputKey override
  11519. - Fixed Keys.Enter logic
  11520. - Added SetBoundsCore override
  11521. - Fixed mouse selection handling
  11522. 2005-01-03 Jackson Harper <[email protected]>
  11523. * TreeView.cs:
  11524. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  11525. - Checkboxes are always aligned to the bottom of the node,
  11526. regardless of item height.
  11527. - Use the node bounds to draw the text so we can center it when
  11528. the item height is greater then the font height.
  11529. - Node::Bounds are only the text part of the node.
  11530. * TreeNode.cs: New method to combine collapsing and unchecking all
  11531. nodes recursively.
  11532. 2005-01-02 Jackson Harper <[email protected]>
  11533. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  11534. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  11535. tree when a check is changed. TODO: Only refresh the checked node.
  11536. 2004-12-30 Jackson Harper <[email protected]>
  11537. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  11538. * TreeNode.cs: When collapsing make sure to never collapse the
  11539. root node.
  11540. 2004-12-29 Jackson Harper <[email protected]>
  11541. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  11542. 2004-12-28 Zoltan Varga <[email protected]>
  11543. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  11544. 2004-12-28 Peter Bartok <[email protected]>
  11545. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  11546. not yet assigned
  11547. 2004-12-28 Peter Bartok <[email protected]>
  11548. * Control.cs (WndProc): Added WM_HELP handler, now generates
  11549. HelpRequested event
  11550. * Form.cs: Added HelpButton property and required support code
  11551. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  11552. 2004-12-28 Peter Bartok <[email protected]>
  11553. * CommonDialog.cs:
  11554. - Made DialogForm.owner variable internal
  11555. - Added check to ensure owner form is set before setting
  11556. owner properties in CreateParams
  11557. 2004-12-28 Geoff Norton <[email protected]>
  11558. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  11559. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  11560. GetCursorPos. Fix major visibility issues. Rework the windowing
  11561. system to support borderless/titleless windows (implements menus).
  11562. Fix GetWindowPos. Implement initial background color support for
  11563. views.
  11564. 2004-12-28 Peter Bartok <[email protected]>
  11565. * Form.cs (get_CreateParams): Make sure we have an owner before using
  11566. the owner variable. Implement proper default if no owner exists
  11567. 2004-12-28 Peter Bartok <[email protected]>
  11568. * In preparation for making Managed.Windows.Forms the default build target
  11569. for System.Windows.Forms, the following stubbed files were added.
  11570. Dialogs are currently being implemented by contributors and are only
  11571. short-term place holders.
  11572. * ColorDialog.cs: Initial check-in (minmal stub)
  11573. * DataGrid.cs: Initial check-in (minimal stub)
  11574. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  11575. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  11576. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  11577. * FontDialog.cs: Initial check-in (minimal stub)
  11578. * FileDialog.cs: Initial check-in (minimal stub)
  11579. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  11580. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  11581. * OpenFileDialog: Initial check-in (minimal stub)
  11582. * IComponentEditorPageSite.cs: Initial check-in
  11583. * Splitter.cs: Initial check-in (for Jackson)
  11584. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  11585. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  11586. * TextBox.cs: Initial check-in; still needs some wiring to
  11587. TextControl backend
  11588. * Form.cs: Implemented ControlBox property
  11589. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  11590. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  11591. * TextControl.cs: Added selection functionality; added todo header
  11592. * TextBoxBase.cs:
  11593. - Implemented Lines property
  11594. - Implemented TextHeight property
  11595. - Implemented SelectedText property
  11596. - Implemented SelectionLength property
  11597. - Implemented SelectAll method
  11598. - Implemented ToString method
  11599. - Removed and cleaned up some debug code
  11600. - Implemented (still buggy) mouse text selection
  11601. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  11602. * ComboBox.cs: Complete DropDownList implementation, fixes.
  11603. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  11604. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  11605. * ComboBoxStyle.cs: ComboBoxStyle enum
  11606. * ComboBox.cs: Initial work on ComboBox control
  11607. 2004-12-21 Peter Bartok <[email protected]>
  11608. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  11609. forward so that anything that creates a window gets the default,
  11610. also no longer uses Visible property in CreateParams to avoid
  11611. walking up the parent chain and possibly get the wrong visible
  11612. status. Fixed IsVisible to no longer walk up to the parent.
  11613. 2004-12-21 Peter Bartok <[email protected]>
  11614. * Form.cs (ShowDialog): Unset modality for the proper window
  11615. 2004-12-20 Peter Bartok <[email protected]>
  11616. * CommonDialog.cs: Initial check-in
  11617. 2004-12-20 Peter Bartok <[email protected]>
  11618. * Control.cs (Visible): Now uses the parent window instead of the
  11619. client area window for the property
  11620. * Form.cs
  11621. - ShowDialog(): Now uses the proper window for modality
  11622. - The default visibility state for the form parent is now false. This
  11623. will prevent the user from seeing all the changes to the form and
  11624. its controls before the application hits Application.Run()
  11625. - Removed some stale commented out code
  11626. * NativeWindow.cs:
  11627. - Added FindWindow() method to have a method to check for existence
  11628. of a window handle
  11629. - Added ability to override default exception handling (for example
  11630. when debugging with VS.Net; to do this the ExternalExceptionHandler
  11631. define must be set
  11632. - Removed some useless debug output
  11633. * XplatUIX11.cs:
  11634. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  11635. not working as expected
  11636. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  11637. property to allow switching back to the modal window if focus is
  11638. given to another one of our windows (Application Modal)
  11639. - Now only sets override_redirect if we create a window
  11640. without WS_CAPTION
  11641. - Moved EventMask selection before mapping of newly created window
  11642. so we can catch the map event as well
  11643. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  11644. - Added various Atom related DllImports
  11645. - Implemented Exit() method
  11646. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  11647. in the CreateParams
  11648. * MessageBox.cs: Now properly deals with the FormParent window by
  11649. providing an override the FormParent CreateParams property to
  11650. set as POPUP instead of OVERLAPPED window.
  11651. 2004-12-19 Geoff Norton <[email protected]>
  11652. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  11653. Minor code cleanup.
  11654. 2004-12-19 Geoff Norton <[email protected]>
  11655. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  11656. 2004-12-18 Peter Bartok <[email protected]>
  11657. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  11658. implementing SetModal() method
  11659. 2004-12-18 Peter Bartok <[email protected]>
  11660. * X11Structs.cs (XGCValues): Fixed type of function element
  11661. * XplatUI.cs: Added ScrollWindow() method
  11662. * XplatUIDriver.cs: Added ScrollWindow() abstract
  11663. * XplatUIWin32.cs: Implemented ScrollWindow() method
  11664. * XplatUIX11.cs: Implemented ScrollWindow() method
  11665. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  11666. 2004-12-17 Geoff Norton <[email protected]>
  11667. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  11668. Some more keyboard support (INCOMPLETE)
  11669. 2004-12-17 Peter Bartok <[email protected]>
  11670. * TextControl.cs:
  11671. - Added color attribute to line tags.
  11672. - Added color argument to all functions dealing with tags
  11673. - Added color argument support to various functions
  11674. - Fixed miss-calculation of baseline/shift in certain circumstances
  11675. * TextBoxBase.cs: Added new color option to test code
  11676. 2004-12-17 Jackson Harper <[email protected]>
  11677. * TreeNode.cs:
  11678. * MonthCalendar.cs: Signature fixes
  11679. 2004-12-17 Geoff Norton <[email protected]>
  11680. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  11681. keyboard event moved it. Create a new graphics context for each paint resolves this
  11682. 2004-12-17 Geoff Norton <[email protected]>
  11683. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  11684. Make caret exist and go blink blink. Initial keyboard support.
  11685. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  11686. works.
  11687. 2004-12-17 Jackson Harper <[email protected]>
  11688. * XplatUIStructs.cs: Updated set of virtual keycodes.
  11689. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  11690. 2004-12-17 Jackson Harper <[email protected]>
  11691. * XplatUIX11.cs: Prune old keyboard code.
  11692. 2004-12-17 Jackson Harper <[email protected]>
  11693. * XplatUIX11.cs: When generating mouse wparams get the modifier
  11694. keys from the ModifierKeys property.
  11695. 2004-12-17 Jackson Harper <[email protected]>
  11696. * X11Keyboard.cs: Send up/down input when generating
  11697. messages. Remove some unused vars.
  11698. 2004-12-17 Jackson Harper <[email protected]>
  11699. * TabControl.cs:
  11700. * TreeView.cs: get rid of warnings.
  11701. 2004-12-17 Jackson Harper <[email protected]>
  11702. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  11703. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  11704. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  11705. CheckedListBox.cs: Implementation
  11706. 2004-12-17 Peter Bartok <[email protected]>
  11707. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  11708. 2004-12-16 Peter Bartok <[email protected]>
  11709. * TextControl.cs:
  11710. - InsertCharAtCaret(): Fixed start pos fixup
  11711. - CaretLine_get: No longer derives the line from the tag, the tag
  11712. could be stale if lines in the document have been added or deleted
  11713. - RebalanceAfterDelete(): Fixed bug in balancing code
  11714. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  11715. - Line.Streamline(): Now can also elminate leading empty tags
  11716. - DumpTree(): Added a few more tests and prevented exception on
  11717. uninitialized data
  11718. - Added Debug section for Combining lines
  11719. - Delete(): Now copies all remaining properties of a line
  11720. * TextBoxBase.cs:
  11721. - Left mousebutton now sets the caret (and middle button still acts
  11722. as formatting tester, which must go away soon)
  11723. - Added Debug section for Deleting/Combining lines
  11724. - Fixed calculations for UpdateView after Combining lines
  11725. 2004-12-16 Peter Bartok <[email protected]>
  11726. * TextControl.cs: Now properly aligns text on a baseline, using the
  11727. new XplatUI.GetFontMetrics() method. Simplified several calculations
  11728. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  11729. defined
  11730. 2004-12-16 Peter Bartok <[email protected]>
  11731. * XplatUI.cs: Added GetFontMetrics() method
  11732. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  11733. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  11734. into libgdiplus, our private GetFontMetrics function
  11735. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  11736. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  11737. 2004-12-16 Jackson Harper <[email protected]>
  11738. * XplatUIStruct.cs: Add enum for dead keys
  11739. * X11Keyboard.cs: Map and unmap dead keys.
  11740. 2004-12-16 Jackson Harper <[email protected]>
  11741. * X11Keyboard.cs: Detect and use the num lock mask.
  11742. 2004-12-16 Peter Bartok <[email protected]>
  11743. * Control.cs (CreateGraphics): Added check to make sure the
  11744. handle of the window exists before calling Graphics.FromHwnd()
  11745. 2004-12-16 Peter Bartok <[email protected]>
  11746. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  11747. contains a lot of code that's not supposed to be there for the
  11748. real thing, but required for developing/testing the textbox
  11749. backend.
  11750. 2004-12-16 Peter Bartok <[email protected]>
  11751. * TextControl.cs:
  11752. - Fixed Streamline method
  11753. - Added FindTag method to Line
  11754. - Added DumpTree method for debugging
  11755. - Added DecrementLines() method for deleting lines
  11756. - Fixed UpdateView to update the cursor to end-of-line on single-line
  11757. updates
  11758. - Added PositionCaret() method
  11759. - Fixed MoveCaret(LineDown) to move into the last line, too
  11760. - Added InsertChar overload
  11761. - Fixed InsertChar tag offset calculations
  11762. - Added DeleteChar() method
  11763. - Added Combine() method for folding lines
  11764. - Fixed Delete() method, no longer allocates wasted Line object and
  11765. now copies all properties when swapping nodes
  11766. - Delete() method now updates document line counter
  11767. 2004-12-15 Jackson Harper <[email protected]>
  11768. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  11769. * X11Keyboard.cs: Expose the currently selected modifier keys
  11770. through a property.
  11771. 2004-12-15 Peter Bartok <[email protected]>
  11772. * TextControl.cs: Initial check-in. Still incomplete
  11773. 2004-12-15 Jackson Harper <[email protected]>
  11774. * TreeNode.cs:
  11775. * TreeView.cs: Fix build on csc (second time today ;-))
  11776. 2004-12-15 Jackson Harper <[email protected]>
  11777. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  11778. is calculated and use this for click testing.
  11779. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  11780. 2004-12-15 Jackson Harper <[email protected]>
  11781. * TreeView.cs: Pass the nodes image index to the image list when
  11782. drawing that image.
  11783. 2004-12-15 Jackson Harper <[email protected]>
  11784. * X11Keyboard.cs: Set messages hwnd.
  11785. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  11786. post_message calls.
  11787. 2004-12-15 Jackson Harper <[email protected]>
  11788. * X11Keyboard.cs: Fix to compile with csc.
  11789. 2004-12-15 Jackson Harper <[email protected]>
  11790. * X11Structs.cs: Add key mask values
  11791. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  11792. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  11793. down/up foo into WM_CHAR foo
  11794. * KeyboardLayouts.cs: Common keyboard layouts
  11795. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  11796. post messages into the main queue.
  11797. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  11798. * Button.cs: implement ProcessMnemonic
  11799. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  11800. brushes everytime
  11801. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  11802. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  11803. 2004-12-12 John BouAntoun <[email protected]>
  11804. * MonthCalendar.cs: Implemented click-hold for next/previous month
  11805. and date selection
  11806. 2004-12-11 Peter Bartok <[email protected]>
  11807. * X11Structs.cs:
  11808. - Added XKeyboardState (moved from XplatUIX11.cs)
  11809. - Added XCreateGC related enums and structures
  11810. - Added GXFunction for XSetFunction
  11811. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  11812. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  11813. CaretVisible() calls
  11814. * ToolTip.cs: Added code to prevent stealing focus from app windows
  11815. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  11816. DestroyCaret, SetCaretPos and CaretVisible)
  11817. * XplatUIX11.cs:
  11818. - Added implementation for caret functions
  11819. - Moved hover variables into a struct, to make it a bit easier
  11820. on the eyes and to debug
  11821. - Removed XKeyboardState (moved to XplatUIX11.cs)
  11822. - Moved Keyboard properties into the properties region
  11823. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  11824. call to get a graphics context for our control
  11825. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  11826. * TreeView.cs: Fixed bug. No matter what color was set it would always
  11827. return SystemColors.Window
  11828. * XplatUIWin32.cs: Implemented caret overrides
  11829. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  11830. * ListBox.cs: fire events, implement missing methods and properties,
  11831. sorting.
  11832. 2004-12-10 John BouAntoun <[email protected]>
  11833. * MonthCalendar.cs: invalidation bug fixing
  11834. * ThemeWin32Classic.cs: paint fixing
  11835. 2004-12-09 Geoff Norton <[email protected]>
  11836. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  11837. prepare the CGContextRef there now.
  11838. 2004-12-09 John BouAntoun <[email protected]>
  11839. * MonthCalendar.cs:
  11840. - optimisationL only invalidate areas that have changed
  11841. * ThemeWin32Classic.cs:
  11842. - only paint parts that intersect with clip_area
  11843. 2004-12-09 Peter Bartok <[email protected]>
  11844. * Application.cs: Undid changes from r37004 which cause problems
  11845. on X11
  11846. 2004-12-09 Ravindra <[email protected]>
  11847. * ToolBar.cs: Added support for displaying ContextMenu
  11848. attached to a button on ToolBar.
  11849. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  11850. property.
  11851. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11852. * Label.cs: autosize works in text change and removes unnecessary
  11853. invalidate
  11854. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11855. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11856. remove warnings
  11857. 2004-12-08 Geoff Norton <[email protected]>
  11858. * XplatUIOSX.cs: Added mouse move/click/grab support
  11859. Remove some debugging WriteLines not needed anymore.
  11860. Add window resizing/positioning.
  11861. Fix visibility on reparenting.
  11862. 2004-12-08 Peter Bartok <[email protected]>
  11863. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  11864. 2004-12-07 Geoff Norton <[email protected]>
  11865. * XplatUIOSX.cs: Initial checkin
  11866. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  11867. 2004-12-03 Ravindra <[email protected]>
  11868. * ListView.cs: Added some keybindings and fixed scrolling.
  11869. ScrollBars listen to ValueChanged event instead of Scroll
  11870. Event. This would let us take care of all changes being
  11871. done in the scrollbars' values programmatically or manually.
  11872. * ListView.cs (CanMultiselect): Added a check for shift key.
  11873. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  11874. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  11875. of ListViewSubItemCollection as well.
  11876. 2004-12-06 Peter Bartok <[email protected]>
  11877. * Control.cs (Parent): Added check and exception to prevent
  11878. circular parenting
  11879. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  11880. * ListBox.cs: implemented clipping, selection single and multiple,
  11881. bug fixing
  11882. 2004-12-03 Ravindra <[email protected]>
  11883. * ListView.cs (ListView_KeyDown):
  11884. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  11885. when CTRL key is pressed.
  11886. * ListViewItem.cs (Selected): Fixed setting the property.
  11887. 2004-12-03 Marek Safar <[email protected]>
  11888. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  11889. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  11890. MinimizeBox, ShowInTaskbar, TopMost properties.
  11891. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  11892. will be implemented).
  11893. 2004-12-03 Marek Safar <[email protected]>
  11894. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  11895. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  11896. tests.
  11897. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  11898. * TreeView.cs: BackColor is Colors.Window.
  11899. 2004-12-01 Jackson Harper <[email protected]>
  11900. * TreeView.cs: When resizing the tree if the user is making it
  11901. smaller we don't get expose events, so we need to handle adding
  11902. the horizontal scrollbar in the size changed handler as well as
  11903. the expose handler.
  11904. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  11905. * DrawItemState.cs: fixes wrong enum values
  11906. 2004-12-01 Jackson Harper <[email protected]>
  11907. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  11908. 2004-12-01 Jackson Harper <[email protected]>
  11909. * NodeLabelEditEventArgs.cs:
  11910. * NodeLabelEditEventHandler.cs:
  11911. * OpenTreeNodeEnumerator.cs:
  11912. * TreeNode.cs:
  11913. * TreeNodeCollection.cs:
  11914. * TreeView.cs:
  11915. * TreeViewAction.cs:
  11916. * TreeViewCancelEventArgs.cs:
  11917. * TreeViewCancelEventHandler.cs:
  11918. * TreeViewEventArgs.cs:
  11919. * TreeViewEventHandler.cs: Initial implementation.
  11920. 2004-12-01 Ravindra <[email protected]>
  11921. * ListView.cs (CalculateListView): Fixed scrolling related
  11922. calculations. Also, removed some debug statements from other
  11923. places.
  11924. * ListViewItem.cs: Changed access to 'selected' instance variable
  11925. from private to internal.
  11926. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  11927. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  11928. * ThemeWin32Classic.cs: remove cache of brush and pens for
  11929. specific controls and use the global system, fixes scrollbutton
  11930. bugs (for small sizes, disabled, etc)
  11931. * ScrollBar.cs: does not show the thumb for very small controls
  11932. (as MS) and allow smaller buttons that the regular size
  11933. 2004-12-01 Miguel de Icaza <[email protected]>
  11934. * UpDownBase.cs: Add abstract methods for the interface.
  11935. Add new virtual methods (need to be hooked up to TextEntry when it
  11936. exists).
  11937. Add override methods for most features.
  11938. Computes the size, forces the height of the text entry.
  11939. * NumericUpDown.cs: Put here the current testing code.
  11940. * Set eol-style property on all files that do not have mixed line
  11941. endings, to minimize the future problems. There are still a few
  11942. files with mixed endings, and someone should choose whether they
  11943. want to move it or not.
  11944. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  11945. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  11946. System.Colors
  11947. 2004-11-30 Ravindra <[email protected]>
  11948. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  11949. drawing and replaced use of SystemColors by theme colors.
  11950. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  11951. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  11952. same ListViewItem is being added more than once.
  11953. 2004-11-30 John BouAntoun <[email protected]>
  11954. * MonthCalendar.cs:
  11955. - ControlStyles love to make the control not flicker
  11956. 2004-11-30 Peter Bartok <[email protected]>
  11957. * CharacterCasing.cs: Added
  11958. 2004-11-29 Peter Bartok <[email protected]>
  11959. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11960. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  11961. I am removing these files as they conflict with already completed
  11962. work. While it is fantastic to get contributions to MWF, I
  11963. respectfully ask that everyone please coordinate their contributions
  11964. through mono-winforms-list or #mono-winforms at this time. We're
  11965. explicitly avoiding stubbing and don't want controls that don't have
  11966. their basic functionality implemented in svn. Please also see
  11967. http://www.mono-project.com/contributing/winforms.html
  11968. 2004-11-29 Marek Safar <[email protected]>
  11969. * Application.cs (ModalRun): Don't hang after exit.
  11970. * Theme.cs: New TreeViewDefaultSize property.
  11971. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  11972. with less hardcoded SystemColors constant.
  11973. Implemented TreeViewDefaultSize.
  11974. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11975. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  11976. 2004-11-29 John BouAntoun <[email protected]>
  11977. * MonthCalendar.cs:
  11978. - Fix NextMonthDate and PrevMonthDate click moving calendar
  11979. 2004-11-26 John BouAntoun <[email protected]>
  11980. * MonthCalendar.cs:
  11981. - Fix usage of ScrollChange Property when scrolling months
  11982. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  11983. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  11984. - Fixes menu destroying
  11985. - Support adding and removing items on already created menus
  11986. 2004-11-26 John BouAntoun <[email protected]>
  11987. * MonthCalendar.cs:
  11988. - Re-worked all bolded dates handling to match win32
  11989. * ThemeWin32Classic.cs:
  11990. - Fixed rendering with bolded dates
  11991. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  11992. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  11993. - Horizontal scroolbar
  11994. - Multicolumn
  11995. - Fixes
  11996. 2004-11-25 John BouAntoun <[email protected]>
  11997. * MonthCalendar.cs:
  11998. - Fix Usage of MaxSelectionCount from SelectionRange
  11999. - Fixed Shift + Cursor Selection
  12000. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  12001. - Fixed normal cursor selection to be compat with win32
  12002. - Fixed Shift + Mouse Click selection
  12003. 2004-11-24 Peter Bartok <[email protected]>
  12004. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  12005. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  12006. * XplatUIX11.cs:
  12007. - CreatedKeyBoardMsg now updates keystate with Alt key
  12008. - Added workaround for timer crash to CheckTimers, Jackson will
  12009. develop a proper fix and check in later
  12010. - Implemented DispatchMessage
  12011. - Removed calling the native window proc from GetMessage (call
  12012. now moved to DispatchMessage)
  12013. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  12014. the keydata (Fixes bug #69831)
  12015. * XplatUIWin32.cs:
  12016. - (DispatchMessage): Switched to return IntPtr
  12017. - Added DllImport for SetFocus
  12018. 2004-11-24 Ravindra <[email protected]>
  12019. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  12020. background drawing.
  12021. * ListViewItem.cs: Fixed various properties, calculations
  12022. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  12023. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  12024. and some internal properties. Fixed MouseDown handler and Paint
  12025. method.
  12026. 2004-11-24 John BouAntoun <[email protected]>
  12027. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  12028. 2004-11-24 John BouAntoun <[email protected]>
  12029. * ContainerControl.cs: correct accidental check in of local changes
  12030. 2004-11-24 John BouAntoun <[email protected]>
  12031. * ThemeWin32Classic.cs:
  12032. - Fixed Drawing Last month in grid (sometimes not showing)
  12033. * MonthCalendar.cs:
  12034. - Fixed title width calculation bug (makeing title small)
  12035. 2004-11-23 Peter Bartok <[email protected]>
  12036. * XplatUIX11.cs:
  12037. - Added generation of WM_MOUSEHOVER event
  12038. - Added missing assignment of async_method atom
  12039. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  12040. 2004-11-23 John BouAntoun <[email protected]>
  12041. * ThemeWin32Classic.cs:
  12042. - Fixed Drawing of today circle when showtodaycircle not set
  12043. - fixed drawing of first and last month in the grid (gay dates)
  12044. * MonthCalendar.cs:
  12045. - Fixed Drawing of today circle
  12046. - Fixed drawing of grady dates
  12047. - Fixed HitTest for today link when ShowToday set to false
  12048. - Fixed DefaultSize to obey ShowToday
  12049. 2004-11-23 John BouAntoun <[email protected]>
  12050. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  12051. * System.Windows.Forms/Theme.cs
  12052. * MonthCalendar.cs: added for MonthCalendar
  12053. * SelectionRange.cs: added for MonthCalendar
  12054. * Day.cs: added for MonthCalendar: added for MonthCalendar
  12055. * DateRangeEventArgs.cs: added for MonthCalendar
  12056. * DateRangeEventHandler.cs: added for MonthCalendar
  12057. 2004-11-22 Ravindra <[email protected]>
  12058. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  12059. property.
  12060. 2004-11-22 Miguel de Icaza <[email protected]>
  12061. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  12062. event handler.
  12063. * NumericUpDown.cs: Added new implementation.
  12064. * UpDownBase.cs: Added new implementation.
  12065. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  12066. implementations.
  12067. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  12068. implementations.
  12069. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  12070. methods.
  12071. 2004-11-21 Miguel de Icaza <[email protected]>
  12072. * Timer.cs (Dispose): Should call the base dispose when
  12073. overriding.
  12074. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  12075. * ScrollBar.cs: updates thumb position when max, min or increment
  12076. is changed
  12077. 2004-11-21 Ravindra <[email protected]>
  12078. * ListView.cs: Implemented item selection, activation and
  12079. column header style. Fixed properties to do a redraw, if
  12080. required. Added support for MouseHover, DoubleClick, KeyDown
  12081. and KeyUp event handling and some minor fixes.
  12082. * ListViewItem.cs: Fixed constructor.
  12083. * ThemeWin32Classic.cs: Improved drawing for ListView.
  12084. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  12085. * ThemeWin32Classic.cs: initial listbox drawing code
  12086. * DrawMode.cs: new enumerator
  12087. * ListControl.cs: stubbed class
  12088. * ListBox.cs: initial implementation
  12089. * Theme.cs: new methods definitions
  12090. * SelectionMode.cs: new enumerator
  12091. 2004-11-17 Peter Bartok <[email protected]>
  12092. * XplatUIWin32.cs: Added double-click events to the class style
  12093. * Control.cs (WndProc):
  12094. - Added handling of click-count to MouseDown/ MouseUp events.
  12095. - Added handling of middle and right mouse buttons
  12096. - Removed old debug code
  12097. 2004-11-17 Jackson Harper <[email protected]>
  12098. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  12099. 2004-11-17 Ravindra <[email protected]>
  12100. * ListView.cs: Added event handling for MouseMove/Up/Down.
  12101. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  12102. * ThemeWin32Classic.cs: We need to clear the graphics context and
  12103. draw column header in a proper state.
  12104. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  12105. * Menu.cs: fixes signature
  12106. 2004-11-16 Peter Bartok <[email protected]>
  12107. * XplatUIX11.cs (GetMessage): Implemented generation of
  12108. double click mouse messages
  12109. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  12110. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  12111. not by menu
  12112. 2004-11-11 Peter Bartok <[email protected]>
  12113. * HandleData.cs: Added Visible property
  12114. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  12115. HandleData
  12116. * XplatUIX11.cs: Removed old debug leftovers
  12117. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  12118. * Control.cs (WndProc): Removed old debug leftovers,
  12119. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  12120. needed WM_SIZE handling
  12121. 2004-11-11 Jackson Harper <[email protected]>
  12122. * OwnerDrawPropertyBag.cs:
  12123. * TreeViewImageIndexConverter.cs: Initial implementation
  12124. 2004-11-10 Jackson Harper <[email protected]>
  12125. * ThemeWin32Classic.cs:
  12126. * TabControl.cs: instead of moving tabs by the slider pos just
  12127. start drawing at the tab that is offset by the slider. This way
  12128. scrolling always moves by exactly one tab.
  12129. 2004-11-10 Jackson Harper <[email protected]>
  12130. * TabControl.cs: You can only scroll left when the slider has
  12131. already ben moved right.
  12132. 2004-11-10 Jackson Harper <[email protected]>
  12133. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  12134. the clip area.
  12135. 2004-11-10 Jackson Harper <[email protected]>
  12136. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  12137. clip area.
  12138. 2004-11-09 Jackson Harper <[email protected]>
  12139. * TabControl.cs (CalcXPos): New helper method so we can determine
  12140. the proper place to start drawing vertical tabs.
  12141. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  12142. 2004-11-09 Jackson Harper <[email protected]>
  12143. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  12144. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  12145. and Bottom, left and right are illegal values for this and
  12146. multiline is enabled when the alignment is set to left or right.
  12147. (DrawTab): Each alignment block should draw the text itself now
  12148. because Left requires special love. Also add rendering for Left
  12149. aligned tabs.
  12150. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  12151. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  12152. does not destroy the windows, removes debugging messages
  12153. 2004-11-09 jba <[email protected]>
  12154. * ThemeWin32Classic.cs
  12155. (DrawButtonBase): Fix verticle text rect clipping in windows
  12156. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  12157. rendering and incorrect text rect clipping
  12158. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  12159. rendering and incorrect text rect clipping
  12160. 2004-11-08 Jackson Harper <[email protected]>
  12161. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  12162. bottom when they are bottom aligned so the bottoms of the tabs get
  12163. displayed.
  12164. * TabControl.cs (DropRow): Move rows up instead of down when the
  12165. tab control is bottom aligned.
  12166. 2004-11-08 13:59 pbartok
  12167. * XplatUIX11.cs:
  12168. - Added handling for various window styles
  12169. - Added handling for popup windows
  12170. - Added SetTopmost handling
  12171. 2004-11-08 13:55 pbartok
  12172. * XplatUIWin32.cs:
  12173. - Added argument to SetTopmost method
  12174. - Fixed broken ClientToScreen function
  12175. 2004-11-08 13:53 pbartok
  12176. * XplatUIStructs.cs:
  12177. - Added missing WS_EX styles
  12178. 2004-11-08 13:53 pbartok
  12179. * XplatUI.cs, XplatUIDriver.cs:
  12180. - Added argument to SetTopmost
  12181. 2004-11-08 13:52 pbartok
  12182. * X11Structs.cs:
  12183. - Added XSetWindowAttributes structure
  12184. - Improved XWindowAttributes structure
  12185. - Added SetWindowValuemask enum
  12186. - Added window creation arguments enum
  12187. - Added gravity enum
  12188. - Added Motif hints structure
  12189. - Added various Motif flags and enums
  12190. - Added PropertyMode enum for property functions
  12191. 2004-11-08 13:50 pbartok
  12192. * Form.cs:
  12193. - Fixed arguments for updated SetTopmost method
  12194. 2004-11-08 13:49 pbartok
  12195. * ToolTip.cs:
  12196. - Fixed arguments for updated SetTopmost function
  12197. - Fixed usage of PointToClient
  12198. 2004-11-08 13:44 pbartok
  12199. * MenuAPI.cs:
  12200. - Added Clipping of children and siblings
  12201. 2004-11-08 13:41 pbartok
  12202. * MainMenu.cs:
  12203. - Removed SetMenuBarWindow call. We do this in Form.cs
  12204. 2004-11-08 13:40 jackson
  12205. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  12206. scrolling jimmi in the correct location with bottom aligned tabs
  12207. 2004-11-08 13:36 pbartok
  12208. * ContainerControl.cs:
  12209. - Implemented BindingContext
  12210. - Implemented ParentForm
  12211. 2004-11-08 12:46 jackson
  12212. * TabControl.cs: Put bottom rendered tabs in the right location
  12213. 2004-11-08 07:15 jordi
  12214. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  12215. removes dead code
  12216. 2004-11-05 17:30 jackson
  12217. * TabControl.cs: When selected tabs are expanded make sure they
  12218. don't go beyond the edges of the tab control
  12219. 2004-11-05 14:57 jackson
  12220. * TabControl.cs: Reset show_slider so if the control is resized to
  12221. a size where it is no longer needed it's not displayed anymore
  12222. 2004-11-05 13:16 jackson
  12223. * TabControl.cs: Make tab pages non visible when added to the
  12224. control
  12225. 2004-11-05 12:42 jackson
  12226. * TabControl.cs: Implement SizeMode.FillToRight
  12227. 2004-11-05 12:16 jackson
  12228. * Control.cs: Do not call CreateHandle if the handle is already
  12229. created
  12230. 2004-11-05 11:46 jackson
  12231. * TabControl.cs: Remove superflous call to CalcTabRows
  12232. 2004-11-05 09:07 jackson
  12233. * XplatUIX11.cs: Update for Mono.Posix changes
  12234. 2004-11-05 07:00 ravindra
  12235. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  12236. scrolling.
  12237. 2004-11-04 22:47 jba
  12238. * ThemeWin32Classic.cs:
  12239. - Fix Button rendering for FlatStyle = Flat or Popup
  12240. - Fix RadioButton and CheckBox rendering when Appearance = Button
  12241. (normal and flatstyle).
  12242. - Correct outer rectangle color when drawing focus rectangle
  12243. - Adjust button bounds to be 1 px smaller when focused
  12244. - Make button not draw sunken 3d border when pushed (windows compat)
  12245. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  12246. - Offset the text in RadioButton and Checkbox when being rendered as
  12247. a button.
  12248. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  12249. radiobuttons
  12250. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  12251. - Fixed disabled text rendering for normally rendered radiobuttons
  12252. 2004-11-04 10:26 jackson
  12253. * TabControl.cs: Recalculate tab rows when resizing
  12254. 2004-11-04 07:47 jordi
  12255. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  12256. collection completion, drawing issues, missing features
  12257. 2004-11-04 05:03 ravindra
  12258. * ScrollBar.cs:
  12259. - We need to recalculate the Thumb area when
  12260. LargeChange/maximum/minimum values are changed.
  12261. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  12262. than minimum. This is required to handle the case if large_change is
  12263. more than max, and use LargeChange property instead of large_change
  12264. variable.
  12265. - We return max+1 when large_change is more than max, like MS does.
  12266. 2004-11-04 04:29 ravindra
  12267. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  12268. - Changed default value signatures (prefixed all with ListView).
  12269. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  12270. ListView.
  12271. - Fixed calculations for ListViewItem and implemented Clone()
  12272. method.
  12273. 2004-11-04 04:26 ravindra
  12274. * Theme.cs, ThemeWin32Classic.cs:
  12275. - Changed default ListView values signatures (prefixed all with
  12276. ListView).
  12277. - Fixed default size values for VScrollBar and HScrollBar.
  12278. - Fixed DrawListViewItem method.
  12279. 2004-11-04 04:05 ravindra
  12280. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  12281. 2004-11-04 04:04 ravindra
  12282. * ImageList.cs: Implemented the missing overload for Draw method.
  12283. 2004-11-03 19:29 jackson
  12284. * TabControl.cs: Handle dropping rows on selection properly
  12285. 2004-11-03 11:59 jackson
  12286. * TabControl.cs: remove debug code
  12287. 2004-11-03 11:52 jackson
  12288. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  12289. the scrolly widgerywoo
  12290. 2004-11-02 13:52 jackson
  12291. * TabControl.cs: Resize the tab pages and tabs when the tab control
  12292. is resized
  12293. 2004-11-02 13:40 jackson
  12294. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  12295. selected tab to the bottom
  12296. 2004-11-02 13:39 jackson
  12297. * TabPage.cs: Store the tab pages row
  12298. 2004-11-02 12:33 jordi
  12299. * MenuItem.cs: fixes handle creation
  12300. 2004-11-02 11:42 jackson
  12301. * TabControl.cs: signature fix
  12302. 2004-11-02 08:56 jackson
  12303. * TabControl.cs: Calculate whether the tab is on an edge properly.
  12304. Remove top secret debugging code
  12305. 2004-11-01 19:57 jackson
  12306. * TabControl.cs: Add click handling, and proper sizing
  12307. 2004-11-01 19:47 jackson
  12308. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  12309. tab controls
  12310. 2004-11-01 19:39 jackson
  12311. * TabPage.cs: add internal property to store the bounds of a tab
  12312. page
  12313. 2004-10-30 04:23 ravindra
  12314. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  12315. values.
  12316. 2004-10-30 04:21 ravindra
  12317. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  12318. fixed calculations.
  12319. 2004-10-30 03:06 pbartok
  12320. * XplatUIX11.cs:
  12321. - Removed extension of DllImported libs
  12322. 2004-10-29 09:55 jordi
  12323. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  12324. navigation, itemcollection completion, menu fixes
  12325. 2004-10-27 22:58 pbartok
  12326. * XplatUIX11.cs:
  12327. - Now throws a nice error message when no X display could be opened
  12328. 2004-10-26 13:51 jordi
  12329. * ListView.cs: removes warning
  12330. 2004-10-26 03:55 ravindra
  12331. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  12332. ThemeWin32Classic.cs: Some formatting for my last checkins.
  12333. 2004-10-26 03:36 ravindra
  12334. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  12335. control and default values.
  12336. 2004-10-26 03:35 ravindra
  12337. * Theme.cs: Added some default values for ListView control.
  12338. 2004-10-26 03:33 ravindra
  12339. * ToolBar.cs: ToolBar should use the user specified button size, if
  12340. there is any. Added a size_specified flag for the same.
  12341. 2004-10-26 03:33 ravindra
  12342. * ColumnHeader.cs: Added some internal members and calculations for
  12343. ColumnHeader.
  12344. 2004-10-26 03:32 ravindra
  12345. * ListViewItem.cs: Calculations for ListViewItem.
  12346. 2004-10-26 03:31 ravindra
  12347. * ListView.cs: Added some internal members and calculations for
  12348. ListView.
  12349. 2004-10-22 13:31 jordi
  12350. * MenuAPI.cs: speedup menus drawing
  12351. 2004-10-22 13:16 jackson
  12352. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  12353. expose event
  12354. 2004-10-22 11:49 jackson
  12355. * Control.cs: oops
  12356. 2004-10-22 11:41 jackson
  12357. * Control.cs: Check to see if the window should have its background
  12358. repainted by X when drawing.
  12359. 2004-10-22 11:31 jackson
  12360. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  12361. clear is true, this way we do not get flicker from X repainting the
  12362. background
  12363. 2004-10-22 11:28 jackson
  12364. * XEventQueue.cs: Queue properly
  12365. 2004-10-21 09:38 jackson
  12366. * XEventQueue.cs: Fix access modifier
  12367. 2004-10-21 09:36 jackson
  12368. * XEventQueue.cs: Don't loose messages
  12369. 2004-10-21 09:22 jackson
  12370. * XEventQueue.cs: Don't loose messages
  12371. 2004-10-20 04:15 jordi
  12372. * BootMode.cs: enum need it by SystemInfo
  12373. 2004-10-19 21:58 pbartok
  12374. * XplatUIWin32.cs:
  12375. - Small sanity check
  12376. 2004-10-19 21:56 pbartok
  12377. * Form.cs:
  12378. - Added private FormParentWindow class which acts as the container
  12379. for our form and as the non-client area where menus are drawn
  12380. - Added/Moved required tie-ins to Jordi's menus
  12381. - Fixed/Implemented the FormStartPosition functionality
  12382. 2004-10-19 21:52 pbartok
  12383. * Control.cs:
  12384. - Removed unneeded locals
  12385. - Added code to all size and location properties to understand and
  12386. deal with the parent container of Form
  12387. 2004-10-19 21:33 pbartok
  12388. * Application.cs:
  12389. - Fixed to deal with new Form subclasses for menus
  12390. 2004-10-19 17:48 jackson
  12391. * XEventQueue.cs: commit correct version of file
  12392. 2004-10-19 16:50 jackson
  12393. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  12394. 2004-10-19 16:15 jordi
  12395. * MenuAPI.cs: MenuBarCalcSize returns the height
  12396. 2004-10-19 08:31 pbartok
  12397. * Control.cs:
  12398. - Added missing call to PreProcessMessage before calling OnXXXKey
  12399. methods
  12400. 2004-10-19 00:04 ravindra
  12401. * ToolTip.cs: Fixed constructor.
  12402. 2004-10-18 09:31 jordi
  12403. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  12404. 2004-10-18 09:26 jordi
  12405. * MenuItem.cs: fixes MenuItem class signature
  12406. 2004-10-18 08:56 jordi
  12407. * MenuAPI.cs: prevents windows from showing in the taskbar
  12408. 2004-10-18 00:28 ravindra
  12409. * ToolTip.cs: Suppressed a warning message.
  12410. 2004-10-18 00:27 ravindra
  12411. * Control.cs: Default value of visible property must be true.
  12412. 2004-10-17 23:19 pbartok
  12413. * ToolTip.cs:
  12414. - Complete implementation
  12415. 2004-10-17 23:19 pbartok
  12416. * XplatUIX11.cs:
  12417. - Added EnableWindow method
  12418. - Added SetModal stub
  12419. - Added generation of WM_ACTIVATE message (still needs testing)
  12420. - Added SetTopMost stub
  12421. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  12422. 2004-10-17 23:17 pbartok
  12423. * XplatUIWin32.cs:
  12424. - Removed VirtualKeys to XplatUIStructs
  12425. - Implemented SetTopMost method
  12426. - Implemented EnableWindow method
  12427. - Bugfix in ScreenToClient()
  12428. - Bugfixes in ClientToScreen()
  12429. 2004-10-17 22:51 pbartok
  12430. * XplatUIStructs.cs:
  12431. - Added WS_EX styles to WindowStyles enumeration
  12432. 2004-10-17 22:50 pbartok
  12433. * XplatUI.cs, XplatUIDriver.cs:
  12434. - Added method for enabling/disabling windows
  12435. - Added method for setting window modality
  12436. - Added method for setting topmost window
  12437. 2004-10-17 22:49 pbartok
  12438. * ThemeWin32Classic.cs:
  12439. - Added ToolTip drawing code
  12440. 2004-10-17 22:49 pbartok
  12441. * Theme.cs:
  12442. - Added ToolTip abstracts
  12443. 2004-10-17 22:47 pbartok
  12444. * Form.cs:
  12445. - Fixed Form.ControlCollection to handle owner relations
  12446. - Added Owner/OwnedForms handling
  12447. - Implemented Z-Ordering for owned forms
  12448. - Removed unneeded private overload of ShowDialog
  12449. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  12450. so I hope)
  12451. - Fixed Close(), had wrong default
  12452. - Added firing of OnLoad event
  12453. - Added some commented out debug code for Ownership handling
  12454. 2004-10-17 22:16 pbartok
  12455. * Control.cs:
  12456. - Fixed/implemented flat list of controls
  12457. 2004-10-17 22:14 pbartok
  12458. * Application.cs:
  12459. - Added code to simulate modal dialogs on Win32
  12460. 2004-10-17 16:11 jordi
  12461. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  12462. mouse event
  12463. 2004-10-17 13:39 jordi
  12464. * MenuAPI.cs: menu drawing fixes
  12465. 2004-10-15 09:10 ravindra
  12466. * StructFormat.cs: General Enum.
  12467. 2004-10-15 09:09 ravindra
  12468. * SizeGripStyle.cs: Enum for Form.
  12469. 2004-10-15 09:08 ravindra
  12470. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  12471. in Theme for ListView.
  12472. 2004-10-15 09:06 ravindra
  12473. * ColumnHeader.cs: Flushing some formatting changes.
  12474. 2004-10-15 09:05 ravindra
  12475. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  12476. style.
  12477. 2004-10-15 09:03 ravindra
  12478. * ListView.cs: Implemented Paint method and fixed coding style.
  12479. 2004-10-15 07:34 jordi
  12480. * MenuAPI.cs: fix for X11
  12481. 2004-10-15 07:32 ravindra
  12482. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  12483. - Renamed Paint() method to Draw() for clarity. Also, moved
  12484. DrawImage() to OnPaint().
  12485. 2004-10-15 07:25 ravindra
  12486. * CheckBox.cs, RadioButton.cs:
  12487. - Removed Redraw (), we get it from ButtonBase.
  12488. - Implemented Paint (), to do class specific painting.
  12489. 2004-10-15 07:16 ravindra
  12490. * ButtonBase.cs:
  12491. - Redraw () is not virtual now.
  12492. - Added an internal virtual method Paint (), so that
  12493. derived classes can do their painting on their own.
  12494. - Modified OnPaint () to call Paint ().
  12495. 2004-10-15 06:43 jordi
  12496. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  12497. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  12498. 2004-10-15 00:30 ravindra
  12499. * MessageBox.cs:
  12500. - MessageBox on windows does not have min/max buttons.
  12501. This change in CreateParams fixes this on Windows. We
  12502. still need to implement this windowstyle behavior in
  12503. our X11 driver.
  12504. 2004-10-14 05:14 ravindra
  12505. * ToolBar.cs:
  12506. - Changed Redraw () to do a Refresh () always.
  12507. - Fixed the MouseMove event handling when mouse is pressed,
  12508. ie drag event handling.
  12509. - Replaced the usage of ToolBarButton.Pressed property to
  12510. ToolBarButton.pressed internal variable.
  12511. 2004-10-14 05:10 ravindra
  12512. * ToolBarButton.cs:
  12513. - Added an internal member 'inside' to handle mouse move
  12514. with mouse pressed ie mouse drag event.
  12515. - Changed 'Pressed' property to return true only when
  12516. 'inside' and 'pressed' are both true.
  12517. - Some coding style love.
  12518. 2004-10-14 00:17 ravindra
  12519. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  12520. public method.
  12521. 2004-10-14 00:15 ravindra
  12522. * ButtonBase.cs: Redraw () related improvements.
  12523. 2004-10-14 00:14 ravindra
  12524. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  12525. removed unnecessary calls to Button.Show () method.
  12526. 2004-10-13 17:50 pbartok
  12527. * XplatUIX11.cs:
  12528. - Formatting fix
  12529. - Removed destroying of window until we solve the problem of X
  12530. destroying the window before us on shutdown
  12531. 2004-10-13 16:32 pbartok
  12532. * ButtonBase.cs:
  12533. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  12534. 2004-10-13 14:18 pbartok
  12535. * XplatUIX11.cs:
  12536. - Added code to destroy the X window
  12537. 2004-10-13 14:18 pbartok
  12538. * XplatUIWin32.cs:
  12539. - Added code to destroy a window
  12540. 2004-10-13 14:12 pbartok
  12541. * ButtonBase.cs:
  12542. - Added the Redraw on Resize that got dropped in the last rev
  12543. 2004-10-13 09:06 pbartok
  12544. * ThemeWin32Classic.cs:
  12545. - Path from John BouAntoun:
  12546. * Fix check rendering (centre correctly for normal style, offset
  12547. correctly for FlatStyle).
  12548. * Fix border color usage (use backcolor) for FlatStyle.Popup
  12549. * Use checkbox.Capture instead of checkbox.is_pressed when
  12550. rendering flatstyle states.
  12551. 2004-10-12 21:48 pbartok
  12552. * ThemeWin32Classic.cs:
  12553. - Removed all occurences of SystemColors and replaced them with the
  12554. matching theme color
  12555. 2004-10-12 21:41 pbartok
  12556. * ThemeWin32Classic.cs:
  12557. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  12558. him using the function for flatstyle drawing
  12559. - Changed functions to use the new version of CPDrawBorder3D
  12560. 2004-10-12 21:15 pbartok
  12561. * ControlPaint.cs:
  12562. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  12563. match MS documentation. They need to return defined colors if the
  12564. passed color matches the configured control color. Thanks to John
  12565. BouAntoun for pointing this out.
  12566. 2004-10-12 20:57 pbartok
  12567. * Control.cs:
  12568. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  12569. color is changed
  12570. 2004-10-12 20:46 pbartok
  12571. * CheckBox.cs:
  12572. - Fix from John BouAntoun: Now properly sets the Appearance property
  12573. 2004-10-12 20:45 pbartok
  12574. * ThemeWin32Classic.cs:
  12575. - Fixes from John BouAntoun: now handles forecolors and backcolors
  12576. for flatstyle rendered controls much better; It also fixes normal
  12577. checkbox rendering when pushed or disabled.
  12578. 2004-10-08 02:50 jordi
  12579. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  12580. work
  12581. 2004-10-07 08:56 jordi
  12582. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  12583. 2004-10-06 03:59 jordi
  12584. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12585. XplatUIWin32.cs: removes warnings from compilation
  12586. 2004-10-05 12:23 jackson
  12587. * RadioButton.cs: Fix ctor
  12588. 2004-10-05 11:10 pbartok
  12589. * MessageBox.cs:
  12590. - Partial implementation by Benjamin Dasnois
  12591. 2004-10-05 10:15 jackson
  12592. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  12593. by John BouAntoun
  12594. 2004-10-05 03:07 ravindra
  12595. * ToolBar.cs:
  12596. - Removed a private method, Draw ().
  12597. - Fixed the ButtonDropDown event handling.
  12598. - Fixed MouseMove event handling.
  12599. 2004-10-05 03:04 ravindra
  12600. * ThemeWin32Classic.cs:
  12601. - Added DrawListView method and ListViewDefaultSize property.
  12602. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  12603. - Changed DOS style CRLF to Unix format (dos2unix).
  12604. 2004-10-05 03:03 ravindra
  12605. * Theme.cs:
  12606. - Added DrawListView method and ListViewDefaultSize property.
  12607. 2004-10-05 02:42 ravindra
  12608. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  12609. clicks on DropDown arrow.
  12610. 2004-10-04 22:56 jackson
  12611. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  12612. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  12613. Control handle the buffers, derived classes should not have to
  12614. CreateBuffers themselves.
  12615. 2004-10-04 21:20 jackson
  12616. * StatusBar.cs: The control handles resizing the buffers now.
  12617. 2004-10-04 21:18 jackson
  12618. * Control.cs: When resizing the buffers should be invalidated. This
  12619. should be handled in Control not in derived classes.
  12620. 2004-10-04 14:45 jackson
  12621. * TabPage.cs: oops
  12622. 2004-10-04 02:14 pbartok
  12623. * LeftRightAlignment.cs:
  12624. - Initial check-in
  12625. 2004-10-04 01:09 jordi
  12626. * ThemeWin32Classic.cs: fixes right button position causing right
  12627. button not showing on horizontal scrollbars
  12628. 2004-10-02 13:12 pbartok
  12629. * XplatUIX11.cs:
  12630. - Simplified the Invalidate method by using an X call instead of
  12631. generating the expose ourselves
  12632. - Added an expose when the window background is changed
  12633. - Implemented ClientToScreen method
  12634. 2004-10-02 13:08 pbartok
  12635. * XplatUIWin32.cs:
  12636. - Added Win32EnableWindow method (test for implementing modal
  12637. dialogs)
  12638. - Added ClientToScreen method and imports
  12639. 2004-10-02 13:07 pbartok
  12640. * XplatUI.cs, XplatUIDriver.cs:
  12641. - Added ClientToScreen coordinate translation method
  12642. 2004-10-02 13:06 pbartok
  12643. * KeyPressEventArgs.cs:
  12644. - Fixed access level for constructor
  12645. 2004-10-02 13:06 pbartok
  12646. * NativeWindow.cs:
  12647. - Changed access level for the window_collection hash table
  12648. 2004-10-02 13:05 pbartok
  12649. * Form.cs:
  12650. - Added KeyPreview property
  12651. - Added Menu property (still incomplete, pending Jordi's menu work)
  12652. - Implemented ProcessCmdKey
  12653. - Implemented ProcessDialogKey
  12654. - Implemented ProcessKeyPreview
  12655. 2004-10-02 13:02 pbartok
  12656. * Control.cs:
  12657. - Added private method to get the Control object from the window
  12658. handle
  12659. - Implemented ContextMenu property
  12660. - Implemented PointToScreen
  12661. - Implemented PreProcessMessage
  12662. - Implemented IsInputChar
  12663. - Implemented IsInputKey
  12664. - Implemented ProcessCmdKey
  12665. - Completed ProcessKeyEventArgs
  12666. - Fixed message loop to call the proper chain of functions on key
  12667. events
  12668. - Implemented ProcessDialogChar
  12669. - Implemented ProcessDialogKey
  12670. - Implemented ProcessKeyMessage
  12671. - Implemented ProcessKeyPreview
  12672. - Added RaiseDragEvent stub (MS internal method)
  12673. - Added RaiseKeyEvent stub (MS internal method)
  12674. - Added RaiseMouseEvent stub (MS Internal method)
  12675. - Added RaisePaintEvent stub (MS Internal method)
  12676. - Added ResetMouseEventArgs stub (MS Internal method)
  12677. - Implemented RtlTranslateAlignment
  12678. - Implemented RtlTranslateContent
  12679. - Implemented RtlTranslateHorizontal
  12680. - Implemented RtlTranslateLeftRight
  12681. - Added generation of KeyPress event
  12682. 2004-10-02 05:57 ravindra
  12683. * ListViewItem.cs: Added attributes.
  12684. 2004-10-02 05:32 ravindra
  12685. * ListView.cs: Added attributes.
  12686. 2004-10-01 11:53 jackson
  12687. * Form.cs: Implement the Close method so work on MessageBox can
  12688. continue.
  12689. 2004-09-30 14:06 pbartok
  12690. * XplatUIX11.cs:
  12691. - Bug fixes
  12692. 2004-09-30 11:34 jackson
  12693. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  12694. 2004-09-30 07:26 ravindra
  12695. * ListViewItemConverter.cs: Converter for ListViewItem.
  12696. 2004-09-30 07:26 ravindra
  12697. * SortOrder.cs: Enum for ListView control.
  12698. 2004-09-30 07:25 ravindra
  12699. * ColumnHeader.cs: Supporting class for ListView control.
  12700. 2004-09-30 07:24 ravindra
  12701. * ListView.cs, ListViewItem.cs: Initial implementation.
  12702. 2004-09-30 07:20 ravindra
  12703. * ItemActivation.cs: Enum for ListView Control.
  12704. 2004-09-29 20:29 pbartok
  12705. * XplatUIX11.cs:
  12706. - Added lookup of pixel value for background color; tries to get a
  12707. color 'close' to the requested color, it avoids having to create a
  12708. colormap. Depending on the display this could mean the used color
  12709. is slightly off the desired color. Might have to change it to a more
  12710. resource intensive colormap approach, but it will work as a
  12711. workaround to avoid red screens.
  12712. 2004-09-29 14:27 jackson
  12713. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  12714. 2004-09-28 12:44 pbartok
  12715. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  12716. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  12717. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  12718. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12719. TrackBar.cs, VScrollBar.cs:
  12720. - Streamlined Theme interfaces:
  12721. * Each DrawXXX method for a control now is passed the object for
  12722. the control to be drawn in order to allow accessing any state the
  12723. theme might require
  12724. * ControlPaint methods for the theme now have a CP prefix to avoid
  12725. name clashes with the Draw methods for controls
  12726. * Every control now retrieves it's DefaultSize from the current
  12727. theme
  12728. 2004-09-28 12:17 jackson
  12729. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  12730. drawing
  12731. 2004-09-24 14:57 jackson
  12732. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  12733. Gives us a nice little performance boost.
  12734. 2004-09-24 12:02 jackson
  12735. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  12736. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  12737. Control and supporting classes. Initial checkin
  12738. 2004-09-23 13:08 jackson
  12739. * Form.cs: Temp build fixage
  12740. 2004-09-23 01:39 ravindra
  12741. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  12742. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  12743. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  12744. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  12745. EventHandlers needed by ListView Control.
  12746. 2004-09-22 14:12 pbartok
  12747. * ScrollableControl.cs:
  12748. - Implemented DockPadding property
  12749. - Implemented AutoScroll property
  12750. - Implemented AutoScrollMargin property
  12751. - Implemented AutoScrollMinSize property
  12752. - Implemented AutoScrollPosition property
  12753. - Implemented DisplayRectangle property (still incomplete)
  12754. - Implemented CreateParams property
  12755. - Implemented HScroll property
  12756. - Implemented VScroll property
  12757. - Implemented OnVisibleChanged property
  12758. 2004-09-22 14:09 pbartok
  12759. * Form.cs:
  12760. - Added Form.ControllCollection class
  12761. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  12762. RemoveOwnedForm (still incomplete, missing on-top and common
  12763. minimize/maximize behaviour)
  12764. - Added StartPosition property (still incomplete, does not use when
  12765. creating the form)
  12766. - Added ShowDialog() methods (still incomplete, missing forcing the
  12767. dialog modal)
  12768. 2004-09-22 14:05 pbartok
  12769. * Application.cs:
  12770. - Added message loop for modal dialogs
  12771. 2004-09-22 14:02 pbartok
  12772. * GroupBox.cs:
  12773. - Fixed wrong types for events
  12774. 2004-09-22 14:00 pbartok
  12775. * Shortcut.cs, FormWindowState.cs:
  12776. - Fixed wrong values
  12777. 2004-09-22 12:01 jackson
  12778. * Control.cs: Text is never null
  12779. 2004-09-20 22:14 pbartok
  12780. * XplatUIWin32.cs:
  12781. - Fixed accessibility level for Idle handler
  12782. 2004-09-20 18:54 jackson
  12783. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12784. XplatUIX11.cs: New message loop that uses poll so we don't get a
  12785. busy loop
  12786. 2004-09-17 10:43 pbartok
  12787. * ScrollBar.cs:
  12788. - Fixed behaviour of arrow buttons. Now properly behaves like
  12789. Buttons (and like Microsoft's scrollbar arrow buttons)
  12790. 2004-09-17 10:14 pbartok
  12791. * ScrollBar.cs:
  12792. - Added missing release of keyboard/mouse capture
  12793. 2004-09-17 06:18 jordi
  12794. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  12795. Theme.cs: Very early menu support
  12796. 2004-09-16 17:45 pbartok
  12797. * XplatUIWin32.cs:
  12798. - Fixed sending a window to the front
  12799. - Added overload for SetWindowPos to avoid casting
  12800. 2004-09-16 17:44 pbartok
  12801. * Control.cs:
  12802. - Added SendToBack and BringToFront methods
  12803. 2004-09-16 07:00 ravindra
  12804. * Copyright: Added Novell URL.
  12805. 2004-09-16 07:00 ravindra
  12806. * ToolBar.cs: Invalidate should be done before redrawing.
  12807. 2004-09-15 21:19 ravindra
  12808. * ColumnHeaderStyle.cs: Enum for ListView Control.
  12809. 2004-09-15 21:18 ravindra
  12810. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  12811. ListView Control.
  12812. 2004-09-13 18:26 jackson
  12813. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  12814. properly
  12815. 2004-09-13 18:13 jackson
  12816. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  12817. a second thread and post messages into the main threads message
  12818. queue. This makes timing much more consistent. Both win2K and XP
  12819. have a minimum timer value of 15 milliseconds, so we now do this
  12820. too.
  12821. 2004-09-13 15:18 pbartok
  12822. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12823. XplatUIX11.cs:
  12824. - Added Z-Ordering methods
  12825. 2004-09-13 10:56 pbartok
  12826. * Form.cs:
  12827. - Fixed #region names
  12828. - Moved properties and methods into their proper #regions
  12829. 2004-09-13 10:51 pbartok
  12830. * Form.cs:
  12831. - Added Accept and CancelButton properties
  12832. - Added ProcessDialogKey() method
  12833. 2004-09-13 08:18 pbartok
  12834. * IWindowTarget.cs:
  12835. - Initial check-in
  12836. 2004-09-10 21:50 pbartok
  12837. * Control.cs:
  12838. - Added DoDragDrop() [incomplete]
  12839. - Properly implemented 'Visible' handling
  12840. - Added SetVisibleCore()
  12841. - Implemented FindChildAtPoint()
  12842. - Implemented GetContainerControl()
  12843. - Implemented Hide()
  12844. 2004-09-10 19:28 pbartok
  12845. * Control.cs:
  12846. - Moved methods into their appropriate #regions
  12847. - Reordered methods within regions alphabetically
  12848. 2004-09-10 18:57 pbartok
  12849. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12850. - Added method to retrieve text from window
  12851. 2004-09-10 18:56 pbartok
  12852. * Control.cs:
  12853. - Moved some internal functions into the internal region
  12854. - Implemented FontHeight
  12855. - Implemented RenderRightToLeft
  12856. - Implemented ResizeRedraw
  12857. - Implemented ShowFocusCues
  12858. - Implemented ShowKeyboardCues
  12859. - Implemented FromChildHandle
  12860. - Implemented FromHandle
  12861. - Implemented IsMnemonic
  12862. - Implemented ReflectMessage
  12863. - All public and protected Static Methods are now complete
  12864. 2004-09-10 16:54 pbartok
  12865. * Control.cs:
  12866. - Implemented remaining missing public instance properties
  12867. - Alphabetized some out of order properties
  12868. 2004-09-10 05:51 ravindra
  12869. * PictureBox.cs: Added a check for null image.
  12870. 2004-09-10 00:59 jordi
  12871. * GroupBox.cs: remove cvs tag
  12872. 2004-09-09 05:25 ravindra
  12873. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  12874. 2004-09-09 05:23 ravindra
  12875. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  12876. parent redraw.
  12877. 2004-09-09 02:28 pbartok
  12878. * ThemeWin32Classic.cs:
  12879. - Improve disabled string look
  12880. 2004-09-09 01:15 jordi
  12881. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  12882. args and handler
  12883. 2004-09-08 23:56 ravindra
  12884. * ItemBoundsPortion.cs: It's enum, not a class!
  12885. 2004-09-08 23:47 ravindra
  12886. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  12887. Enums for Form.
  12888. 2004-09-08 21:13 ravindra
  12889. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  12890. ListView control.
  12891. 2004-09-08 21:03 ravindra
  12892. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  12893. avoid crash.
  12894. 2004-09-08 21:01 ravindra
  12895. * ScrollableControl.cs: Removed unreachable code.
  12896. 2004-09-08 06:45 jordi
  12897. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  12898. 2004-09-08 01:00 jackson
  12899. * XplatUIX11.cs: Only run the timers when updating the message
  12900. queue. This effectively gives X messages a higher priority then
  12901. timer messages. Timers still need love though
  12902. 2004-09-07 14:01 jackson
  12903. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  12904. this for us and the handle is no longer valid.
  12905. 2004-09-07 13:59 jackson
  12906. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  12907. loop that manages to not crash. TODO: Add poll and cleanup timers
  12908. 2004-09-07 11:12 jordi
  12909. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  12910. 2004-09-07 03:40 jordi
  12911. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  12912. fixes, methods, multiple links
  12913. 2004-09-06 06:55 jordi
  12914. * Control.cs: Caches ClientRectangle rectangle value
  12915. 2004-09-05 02:03 jordi
  12916. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  12917. certain situations
  12918. 2004-09-04 11:10 jordi
  12919. * Label.cs: Refresh when font changed
  12920. 2004-09-02 16:24 pbartok
  12921. * Control.cs:
  12922. - Added sanity check to creation of double buffer bitmap
  12923. 2004-09-02 16:24 pbartok
  12924. * ButtonBase.cs:
  12925. - Fixed selection of text color
  12926. - Fixed handling of resize event; now properly recreates double
  12927. buffering bitmap
  12928. - Added missing assignment of TextAlignment
  12929. - Added proper default for TextAlignment
  12930. 2004-09-02 14:26 pbartok
  12931. * RadioButton.cs:
  12932. - Added missing RadioButton.RadioButtonAccessibleObject class
  12933. 2004-09-02 14:26 pbartok
  12934. * Control.cs:
  12935. - Added missing Control.ControlAccessibleObject class
  12936. - Started to implement Select()ion mechanisms, still very incomplete
  12937. 2004-09-02 14:25 pbartok
  12938. * AccessibleObject.cs:
  12939. - Added missing methods
  12940. 2004-09-02 14:23 pbartok
  12941. * AccessibleNavigation.cs, AccessibleSelection.cs:
  12942. - Initial check-in
  12943. 2004-09-02 10:32 jordi
  12944. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  12945. pool for pens, brushes, and hatchbruses
  12946. 2004-09-01 15:30 jackson
  12947. * StatusBar.cs: Fix typo
  12948. 2004-09-01 14:44 pbartok
  12949. * RadioButton.cs:
  12950. - Fixed state
  12951. 2004-09-01 14:39 pbartok
  12952. * Button.cs, RadioButton.cs:
  12953. - Functional initial check-in
  12954. 2004-09-01 14:01 pbartok
  12955. * CheckBox.cs:
  12956. - Added missing default
  12957. - Added missing region mark
  12958. 2004-09-01 09:10 jordi
  12959. * Label.cs: fixes method signatures, new methods, events, fixes
  12960. autosize
  12961. 2004-09-01 07:19 jordi
  12962. * Control.cs: Init string variables with an empty object
  12963. 2004-09-01 04:20 jordi
  12964. * Control.cs: fires OnFontChanged event
  12965. 2004-08-31 20:07 pbartok
  12966. * ButtonBase.cs:
  12967. - Enabled display of strings
  12968. 2004-08-31 20:05 pbartok
  12969. * Form.cs:
  12970. - Added (partial) implementation of DialogResult; rest needs to be
  12971. implemented when the modal loop code is done
  12972. 2004-08-31 19:55 pbartok
  12973. * CheckBox.cs:
  12974. - Fixed to match the removal of the needs_redraw concept
  12975. 2004-08-31 19:55 pbartok
  12976. * ButtonBase.cs:
  12977. - Removed the rather odd split between 'needs redraw' and redrawing
  12978. - Now handles the events that require regeneration (ambient
  12979. properties and size)
  12980. 2004-08-31 19:41 pbartok
  12981. * Control.cs:
  12982. - Added firing of BackColorChanged event
  12983. - Added TopLevelControl property
  12984. - Fixed handling of WM_ERASEBKGRND message
  12985. 2004-08-31 12:49 pbartok
  12986. * ButtonBase.cs:
  12987. - Removed debug
  12988. - Minor fixes
  12989. 2004-08-31 12:48 pbartok
  12990. * CheckBox.cs:
  12991. - Finished (famous last words)
  12992. 2004-08-31 04:35 jordi
  12993. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  12994. scrolling bugs, adds new methods
  12995. 2004-08-30 14:42 pbartok
  12996. * CheckBox.cs:
  12997. - Implemented CheckBox drawing code
  12998. 2004-08-30 14:42 pbartok
  12999. * ButtonBase.cs:
  13000. - Made Redraw() and CheckRedraw() virtual
  13001. - Improved mouse up/down/move logic to properly track buttons
  13002. 2004-08-30 09:44 pbartok
  13003. * CheckBox.cs:
  13004. - Updated to fix broken build. Not complete yet.
  13005. 2004-08-30 09:28 pbartok
  13006. * CheckState.cs:
  13007. - Initial checkin
  13008. 2004-08-30 09:17 pbartok
  13009. * Appearance.cs:
  13010. - Initial check-in
  13011. 2004-08-27 16:12 ravindra
  13012. * ToolBarButton.cs: Added TypeConverter attribute.
  13013. 2004-08-27 16:07 ravindra
  13014. * ImageIndexConverter.cs: Implemented.
  13015. 2004-08-27 14:17 pbartok
  13016. * Control.cs:
  13017. - Removed unneeded stack vars
  13018. - First attempt to fix sizing issues when layout is suspended
  13019. 2004-08-25 15:35 jordi
  13020. * ScrollBar.cs: more fixes to scrollbar
  13021. 2004-08-25 14:04 ravindra
  13022. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  13023. Added the missing divider code and grip for ToolBar Control.
  13024. 2004-08-25 13:20 pbartok
  13025. * Control.cs:
  13026. - Control now properly passes the ambient background color to child
  13027. controls
  13028. 2004-08-25 13:20 jordi
  13029. * ScrollBar.cs: small bug fix regarding bar position
  13030. 2004-08-25 12:33 pbartok
  13031. * Timer.cs:
  13032. - Now only calls SetTimer or KillTimer if the enabled state has
  13033. changed
  13034. 2004-08-25 12:33 pbartok
  13035. * XplatUIWin32.cs:
  13036. - Fixed timer handling, now seems to work
  13037. - Improved error message for window creation
  13038. 2004-08-25 12:32 pbartok
  13039. * Control.cs:
  13040. - Fixed generation of MouseUp message
  13041. 2004-08-25 12:29 jordi
  13042. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  13043. and fixes for progressbar
  13044. 2004-08-24 18:43 ravindra
  13045. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  13046. in ToolBar control.
  13047. 2004-08-24 17:15 pbartok
  13048. * Panel.cs:
  13049. - Added #region
  13050. - Added missing events
  13051. - Alphabetized
  13052. 2004-08-24 17:14 pbartok
  13053. * StatusBar.cs, PictureBox.cs:
  13054. - Now uses Control's CreateParams
  13055. 2004-08-24 16:36 pbartok
  13056. * XplatUIX11.cs:
  13057. - Fixed background color handling
  13058. - Fixed sending of enter/leave events on a grab
  13059. 2004-08-24 16:35 pbartok
  13060. * X11Structs.cs:
  13061. - Refined definitions for CrossingEvent
  13062. 2004-08-24 12:37 jordi
  13063. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  13064. formmating, methods signature, and adds missing events
  13065. 2004-08-24 12:24 jordi
  13066. * Control.cs: fire OnEnabledChanged event
  13067. 2004-08-24 11:17 pbartok
  13068. * XplatUIWin32.cs:
  13069. - Implemented SetTimer() and KillTimer()
  13070. 2004-08-24 11:16 pbartok
  13071. * XplatUIX11.cs:
  13072. - Now uses Remove instead of Add to kill the timer
  13073. 2004-08-24 10:16 jackson
  13074. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  13075. picture boxes in the theme now. Draw picture box borders and obey
  13076. sizing modes
  13077. 2004-08-24 05:49 jackson
  13078. * Timer.cs: Remove top secret debugging code
  13079. 2004-08-24 05:34 jackson
  13080. * PictureBox.cs: Temp hack to make picture boxes draw their full
  13081. image
  13082. 2004-08-24 05:29 jackson
  13083. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13084. XplatUIX11.cs: Move timers to the driver level. On X they are
  13085. queued by the driver and checked on idle.
  13086. 2004-08-24 01:07 jackson
  13087. * XplatUIX11.cs: Use a queue for async messages instead of passing
  13088. them as ClientMessages since that was totally broken. Also simply
  13089. check for events and return an idle message if none are found. This
  13090. gives us an idle handler, and prevents deadlocking when no messages
  13091. are in the queue.
  13092. 2004-08-23 18:19 ravindra
  13093. * XplatUIWin32.cs: Removed the unwanted destructor.
  13094. 2004-08-23 17:27 pbartok
  13095. * ButtonBase.cs:
  13096. - Finishing touches. Works now, just needs some optimizations.
  13097. 2004-08-23 16:53 jordi
  13098. * ScrollBar.cs: small fix
  13099. 2004-08-23 16:45 pbartok
  13100. * Application.cs:
  13101. - Removed debug output
  13102. - Simplifications
  13103. 2004-08-23 16:43 jordi
  13104. * ScrollBar.cs: [no log message]
  13105. 2004-08-23 16:10 pbartok
  13106. * Form.cs:
  13107. - Fixed handling of WM_CLOSE message
  13108. - Removed debug output
  13109. 2004-08-23 16:09 pbartok
  13110. * Application.cs:
  13111. - Added handling of Idle event
  13112. - Added handling of form closing
  13113. - Fixed reporting of MessageLoop property
  13114. - Removed some unneeded code, should provide a bit of a speedup
  13115. 2004-08-23 15:22 pbartok
  13116. * Control.cs:
  13117. - Added InitLayout() method
  13118. - Added code to properly perform layout when Anchor or Dock property
  13119. is changed
  13120. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  13121. LAMESPEC, tried to do it in a way that makes sense
  13122. 2004-08-23 14:10 jordi
  13123. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  13124. properties and methods
  13125. 2004-08-23 13:55 pbartok
  13126. * Control.cs:
  13127. - Properly fixed Jordi's last fix
  13128. - Now uses Cursor's Position property instead of calling XplatUI
  13129. directly
  13130. 2004-08-23 13:44 jordi
  13131. * PaintEventHandler.cs: Adding missing attribute
  13132. 2004-08-23 13:39 pbartok
  13133. * Cursor.cs:
  13134. - Implemented Position property
  13135. 2004-08-23 13:39 pbartok
  13136. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13137. - Added method to move mouse cursor
  13138. 2004-08-23 13:39 pbartok
  13139. * XplatUIX11.cs:
  13140. - Fixed setting of background color
  13141. - Added method to move mouse cursor
  13142. 2004-08-23 13:16 jordi
  13143. * Control.cs: avoids null exception
  13144. 2004-08-22 17:46 jackson
  13145. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  13146. PictureBox
  13147. 2004-08-22 17:40 jackson
  13148. * XplatUIX11.cs: Add some missing locks
  13149. 2004-08-22 15:10 pbartok
  13150. * Control.cs, Form.cs:
  13151. - Removed OverlappedWindow style from Control, instead it's default
  13152. now is child
  13153. - Made form windows OverlappedWindow by default
  13154. 2004-08-22 13:34 jackson
  13155. * ScrollBar.cs: Update the position through the Value property so
  13156. the OnValueChanged event is raised.
  13157. 2004-08-22 12:04 pbartok
  13158. * SWF.csproj:
  13159. - Added Cursor.cs and UserControl.cs
  13160. 2004-08-22 12:03 pbartok
  13161. * Cursor.cs:
  13162. - Started implementation, not usable yet
  13163. 2004-08-22 12:00 pbartok
  13164. * UserControl.cs:
  13165. - Implemented UserControl (complete)
  13166. 2004-08-21 19:20 ravindra
  13167. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  13168. 2004-08-21 18:49 ravindra
  13169. * ToolBar.cs: Probably this completes the missing attributes in
  13170. toolbar control.
  13171. 2004-08-21 18:03 ravindra
  13172. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  13173. Fixed toolbar control signatures.
  13174. 2004-08-21 16:32 pbartok
  13175. * LinkLabel.cs:
  13176. - Signature Fixes
  13177. 2004-08-21 16:30 pbartok
  13178. * Label.cs:
  13179. - Signature fixes
  13180. 2004-08-21 16:19 pbartok
  13181. * Control.cs, Label.cs:
  13182. - Signature fixes
  13183. 2004-08-21 15:57 pbartok
  13184. * ButtonBase.cs:
  13185. - Added loads of debug output for development
  13186. - Fixed typo in method name
  13187. 2004-08-21 15:52 pbartok
  13188. * ToolBarButtonClickEventArgs.cs:
  13189. - Added missing base class
  13190. 2004-08-21 14:53 pbartok
  13191. * Control.cs:
  13192. - Updated to match new GrabWindow signature
  13193. 2004-08-21 14:51 pbartok
  13194. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13195. - Added method to get default display size
  13196. 2004-08-21 14:23 pbartok
  13197. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13198. - Added method to query current grab state
  13199. - Added argument to allow confining a grab to a window
  13200. 2004-08-21 14:22 pbartok
  13201. * Keys.cs:
  13202. - Added [Flags] attribute so that modifiers can be used in bitwise
  13203. ops
  13204. 2004-08-21 14:21 pbartok
  13205. * TrackBar.cs, ScrollBar.cs:
  13206. - Replaced direct XplatUI calls with their Control counterpart
  13207. 2004-08-21 13:32 pbartok
  13208. * Control.cs:
  13209. - Implemented Created property
  13210. 2004-08-21 13:28 pbartok
  13211. * Control.cs:
  13212. - Implemented ContainsFocus
  13213. 2004-08-21 13:26 pbartok
  13214. * Control.cs:
  13215. - Implemented CausesValidation
  13216. 2004-08-21 13:21 pbartok
  13217. * Control.cs:
  13218. - Implemented CanFocus
  13219. - Implemented CanSelect
  13220. - Implemented Capture
  13221. 2004-08-21 12:35 pbartok
  13222. * XplatUIWin32.cs:
  13223. - Fixed bug with Async message handling
  13224. - Implemented getting the ModifierKeys
  13225. 2004-08-21 12:32 jackson
  13226. * AsyncMethodResult.cs: Make sure we have the mutex before we
  13227. release it. Fixes BeginInvoke on windows
  13228. 2004-08-21 11:31 pbartok
  13229. * XplatUIWin32.cs, XplatUIX11.cs:
  13230. - Drivers now return proper mouse state
  13231. 2004-08-21 10:54 jackson
  13232. * Control.cs: Implement EndInvoke
  13233. 2004-08-21 10:48 jackson
  13234. * Timer.cs: Remove unneeded finalizer
  13235. 2004-08-20 19:52 ravindra
  13236. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  13237. in mouse event handling in the ToolBar control.
  13238. 2004-08-20 19:50 ravindra
  13239. * ImageList.cs: Changed draw method to use the arguments passed in
  13240. to draw the image.
  13241. 2004-08-20 18:58 pbartok
  13242. * XplatUIStructs.cs:
  13243. - Added private message for async communication
  13244. 2004-08-20 17:38 ravindra
  13245. * Control.cs: Made RightToLeft property virtual and removed a
  13246. Console.WriteLine.
  13247. 2004-08-20 14:39 jordi
  13248. * ThemeGtk.cs: use style_attach
  13249. 2004-08-20 14:39 pbartok
  13250. * XplatUIWin32.cs:
  13251. - Added jackson's Async code from X11 to Win32
  13252. 2004-08-20 14:09 pbartok
  13253. * SWF.csproj:
  13254. - Added all new files
  13255. 2004-08-20 14:09 pbartok
  13256. * Control.cs:
  13257. - Added call to set window background color
  13258. 2004-08-20 14:03 pbartok
  13259. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  13260. - Added method for setting the window background
  13261. 2004-08-20 14:02 pbartok
  13262. * XplatUIWin32.cs:
  13263. - Added method for setting the background color
  13264. - Added handling for erasing the window background
  13265. 2004-08-20 13:45 jordi
  13266. * TrackBar.cs: fixes timer, new properties and methods
  13267. 2004-08-20 13:34 jackson
  13268. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  13269. correct thread
  13270. 2004-08-20 13:22 jackson
  13271. * Timer.cs: Timer Tick events are now handed through Controls Async
  13272. mechanism so the callbacks are executed in the same thread as X
  13273. 2004-08-20 13:19 jackson
  13274. * XplatUIDriver.cs: Expose functionality to send async messages
  13275. through the driver
  13276. 2004-08-20 13:18 jackson
  13277. * Control.cs: Implement Begininvoke
  13278. 2004-08-20 13:14 jackson
  13279. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  13280. messages through the driver
  13281. 2004-08-20 13:12 jackson
  13282. * XplatUIX11.cs: Lock before all X operations. Also added Async
  13283. method functionality through XSendEvent
  13284. 2004-08-20 13:11 jackson
  13285. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  13286. This will screw up on 64 bit systems)
  13287. 2004-08-20 13:10 jackson
  13288. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  13289. Async messages through X/Win32
  13290. 2004-08-19 19:39 pbartok
  13291. * XplatUIX11.cs:
  13292. - Updated code to match new HandleData.DeviceContext type
  13293. 2004-08-19 19:38 pbartok
  13294. * HandleData.cs:
  13295. - Made DeviceContext a generic object to allow usage from various
  13296. drivers
  13297. - Added support for queueing Windows messages
  13298. 2004-08-19 19:37 pbartok
  13299. * XplatUIWin32.cs:
  13300. - Added generation of MouseEnter, MouseLeave and MouseHover events
  13301. - Added cleanup on EndPaint
  13302. 2004-08-19 19:17 pbartok
  13303. * Control.cs:
  13304. - Added handling of WM_MOUSEHOVER
  13305. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  13306. code
  13307. 2004-08-19 18:55 jordi
  13308. * ThemeGtk.cs: fixes button order
  13309. 2004-08-19 18:12 jordi
  13310. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  13311. 2004-08-19 17:09 pbartok
  13312. * Control.cs:
  13313. - Added Right property
  13314. - Added RightToLeft property
  13315. 2004-08-19 16:27 jordi
  13316. * ThemeGtk.cs: experimental GTK theme support
  13317. 2004-08-19 16:26 jordi
  13318. * ITheme.cs, Theme.cs: move themes from an interface to a class
  13319. 2004-08-19 16:25 jordi
  13320. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  13321. theme enhancaments
  13322. 2004-08-19 16:04 pbartok
  13323. * XplatUIX11.cs:
  13324. - Added colormap basics
  13325. - Added a way to re-initialize with a different display handle
  13326. - Fixed setting of the window background color
  13327. - Added various X11 imports related to colors and colormaps
  13328. 2004-08-19 15:51 pbartok
  13329. * X11Structs.cs:
  13330. - Removed packing hints (Paolo suggested this a while back)
  13331. - fixed colormap type
  13332. - Added default Atom types
  13333. - Added Screen and color structs and enums
  13334. 2004-08-19 15:39 pbartok
  13335. * ImageList.cs:
  13336. - Added missing Draw() method
  13337. - Added missing RecreateHandle event
  13338. 2004-08-19 15:30 pbartok
  13339. * Form.cs:
  13340. - Added handling of WM_CLOSE
  13341. 2004-08-18 13:16 jordi
  13342. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  13343. a table
  13344. 2004-08-18 09:56 jordi
  13345. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  13346. 2004-08-17 15:31 ravindra
  13347. * SWF.csproj: Updated project.
  13348. 2004-08-17 15:25 pbartok
  13349. * Control.cs:
  13350. - Drawing improvement; don't call UpdateBounds if we are not visible
  13351. (or have been minimized)
  13352. 2004-08-17 15:24 pbartok
  13353. * XplatUIWin32.cs:
  13354. - Finished IsVisible
  13355. - Added Win32GetWindowPlacement
  13356. 2004-08-17 15:08 jackson
  13357. * Panel.cs: Initial checkin of the Panel
  13358. 2004-08-17 14:25 pbartok
  13359. * Control.cs:
  13360. - Fixed broken handling of default window sizes
  13361. 2004-08-17 13:29 jackson
  13362. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  13363. has a large startup time.
  13364. 2004-08-17 10:25 jackson
  13365. * HandleData.cs: union areas properly
  13366. 2004-08-17 10:12 jackson
  13367. * HandleData.cs: union areas properly
  13368. 2004-08-16 20:00 ravindra
  13369. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  13370. 2004-08-16 18:48 ravindra
  13371. * ToolBar.cs: Added attributes.
  13372. 2004-08-16 17:17 ravindra
  13373. * SWF.csproj: Updated project.
  13374. 2004-08-16 17:16 jackson
  13375. * XplatUIX11.cs: Check for more expose events before sending a
  13376. WM_PAINT so they can all be grouped together. This makes dragging a
  13377. window across another window redraw in a sane way.
  13378. 2004-08-16 15:47 pbartok
  13379. * Control.cs:
  13380. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  13381. support OnMouseEnter/Leave()
  13382. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  13383. exposure handling
  13384. 2004-08-16 15:46 pbartok
  13385. * XplatUIStructs.cs, XplatUIX11.cs:
  13386. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  13387. OnMouseEnter/Leave()
  13388. 2004-08-16 15:34 jackson
  13389. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  13390. sure messages get the message field set to WM_NULL if they are not
  13391. handled.
  13392. 2004-08-16 15:24 jackson
  13393. * HandleData.cs: HandleData is used for storing message information
  13394. for window handles
  13395. 2004-08-15 17:23 ravindra
  13396. * ColorDepth.cs: Added attribute.
  13397. 2004-08-15 17:23 ravindra
  13398. * SWF.csproj: Updated project for ToolBar Control.
  13399. 2004-08-15 17:20 ravindra
  13400. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  13401. control and also dos2unix format.
  13402. 2004-08-15 17:13 ravindra
  13403. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  13404. ToolBarButtonClickEventArgs.cs,
  13405. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  13406. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  13407. 2004-08-15 15:31 pbartok
  13408. * ButtonBase.cs:
  13409. - First (mostly) working version
  13410. 2004-08-13 16:15 pbartok
  13411. * Control.cs:
  13412. - Fixed Anchor default
  13413. 2004-08-13 15:43 pbartok
  13414. * Control.cs:
  13415. - Changed GetCursorPos signature
  13416. 2004-08-13 15:42 pbartok
  13417. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13418. - Changed signature for GetCursorPos
  13419. 2004-08-13 15:25 pbartok
  13420. * XplatUIX11.cs:
  13421. - Cleanup
  13422. - Fixed resizing/exposure handling
  13423. 2004-08-13 15:22 jordi
  13424. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  13425. with tickposition
  13426. 2004-08-13 14:55 jordi
  13427. * TrackBar.cs: change from wndproc to events
  13428. 2004-08-13 13:00 jordi
  13429. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13430. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  13431. 2004-08-13 12:53 pbartok
  13432. * XplatUIWin32.cs:
  13433. - Changed GetWindowPos to also provide client area size
  13434. - Fixed broken prototypes for several win32 functions
  13435. 2004-08-13 12:53 pbartok
  13436. * XplatUI.cs, XplatUIDriver.cs:
  13437. - Changed GetWindowPos to also provide client area size
  13438. 2004-08-13 12:52 pbartok
  13439. * XplatUIX11.cs:
  13440. - Added generation of WM_POSCHANGED
  13441. - Changed GetWindowPos to also provide client area size
  13442. 2004-08-13 12:52 pbartok
  13443. * Control.cs:
  13444. - Added Dispose() and destructor
  13445. - Fixed resizing and bounds calculation
  13446. - Fixed Layout
  13447. - Added memory savings for invisible windows
  13448. 2004-08-13 12:46 jordi
  13449. * TrackBar.cs: adds timer and grap window
  13450. 2004-08-13 10:25 jackson
  13451. * Timer.cs: SWF Timer
  13452. 2004-08-12 16:59 pbartok
  13453. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13454. - Implemented method to get current mouse position
  13455. 2004-08-12 14:29 jordi
  13456. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  13457. enhancement, fix mouse problems, highli thumb, etc
  13458. 2004-08-12 13:31 pbartok
  13459. * Control.cs:
  13460. - Fixed Anchoring bugs
  13461. 2004-08-12 13:01 jackson
  13462. * StatusBar.cs: Don't forget things
  13463. 2004-08-12 12:54 jackson
  13464. * ThemeWin32Classic.cs: Handle owner draw status bars
  13465. 2004-08-12 12:54 jackson
  13466. * StatusBar.cs: Implement missing properties, events, and methods.
  13467. Handle mouse clicking
  13468. 2004-08-12 10:19 jackson
  13469. * StatusBarPanelClickEventArgs.cs,
  13470. StatusBarPanelClickEventHandler.cs: Classes for handling status
  13471. bar panel click events
  13472. 2004-08-12 10:10 jackson
  13473. * Control.cs: Add missing properties
  13474. 2004-08-12 09:46 pbartok
  13475. * BindingsManagerBase.cs:
  13476. - Name changed to BindingManagerBase.cs
  13477. 2004-08-12 09:25 jordi
  13478. * ScrollableControl.cs: calls ctrlbase instead of exeception
  13479. 2004-08-11 16:28 pbartok
  13480. * InputLanguageChangingEventArgs.cs:
  13481. - Never check in before compiling. Fixes the last check-in
  13482. 2004-08-11 16:26 pbartok
  13483. * InputLanguageChangingEventArgs.cs:
  13484. - More signature fixes
  13485. 2004-08-11 16:20 pbartok
  13486. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  13487. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  13488. ImageListStreamer.cs, InputLanguage.cs,
  13489. InputLanguageChangedEventArgs.cs,
  13490. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  13491. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  13492. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  13493. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13494. - Signature fixes
  13495. 2004-08-11 16:16 pbartok
  13496. * Application.cs:
  13497. - Fixed Signature
  13498. - Added .Net 1.1 method
  13499. 2004-08-11 15:25 pbartok
  13500. * SWF.csproj:
  13501. - Fixed BindingManagerBase.cs filename
  13502. 2004-08-11 15:22 pbartok
  13503. * BindingManagerBase.cs:
  13504. - Was checked in with wrong filename
  13505. 2004-08-11 14:50 pbartok
  13506. * SWF.csproj:
  13507. - Updated
  13508. 2004-08-11 13:41 jordi
  13509. * XplatUIWin32.cs: Fixes ClientRect
  13510. 2004-08-11 13:19 pbartok
  13511. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13512. XplatUIX11.cs:
  13513. - We had SetWindowPos and MoveWindow to set window positions and
  13514. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  13515. keep SetWindowPos as matching counterpart
  13516. - Added some X11 sanity checking
  13517. 2004-08-11 12:59 pbartok
  13518. * Control.cs:
  13519. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  13520. (It seems that SetBounds is just a front for SetBoundsCore and
  13521. SetBoundsCore updates the underlying window system and
  13522. UpdateBounds is responsible for updating the variables associated
  13523. with the Control and sending the events)
  13524. - Major cleanup of Size handling; we now have two sizes, client_size
  13525. and bounds. Bounds defines the window with decorations, client_size
  13526. without them.
  13527. 2004-08-11 12:55 pbartok
  13528. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13529. - Added method to calculate difference between decorated window and
  13530. raw client area
  13531. 2004-08-11 12:54 pbartok
  13532. * Label.cs:
  13533. - Forcing redraw on resize
  13534. 2004-08-11 11:43 pbartok
  13535. * ImageList.cs:
  13536. - Removed disposing of the actual images when the list is disposed
  13537. 2004-08-11 09:13 pbartok
  13538. * Control.cs:
  13539. - Now properly reparents windows
  13540. 2004-08-11 08:37 pbartok
  13541. * Control.cs:
  13542. - Duh!
  13543. 2004-08-11 07:47 pbartok
  13544. * Control.cs:
  13545. - Rewrote the collection stuff. Might not be as fast now, not
  13546. keeping the number of children around and accessible directly, but
  13547. it's more straightforward
  13548. 2004-08-11 07:44 pbartok
  13549. * AccessibleObject.cs:
  13550. - Fixed to match ControlCollection rewrite
  13551. 2004-08-11 07:43 pbartok
  13552. * ImageList.cs:
  13553. - Added missing creation of the collection list
  13554. 2004-08-10 20:08 jackson
  13555. * StatusBar.cs: Get the paint message from WndProc
  13556. 2004-08-10 19:31 jackson
  13557. * ThemeWin32Classic.cs: Create Brushes as little as possible
  13558. 2004-08-10 19:20 jackson
  13559. * UICues.cs: Add Flags attribute
  13560. 2004-08-10 19:19 jackson
  13561. * StatusBarPanel.cs: Signature cleanup
  13562. 2004-08-10 19:10 jackson
  13563. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  13564. Initial implementation of status bar item drawing
  13565. 2004-08-10 17:27 jordi
  13566. * TrackBar.cs: add missing methods, properties, and restructure to
  13567. hide extra ones
  13568. 2004-08-10 16:24 jackson
  13569. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  13570. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  13571. attribute
  13572. 2004-08-10 13:21 jordi
  13573. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  13574. enhancements and standarize on win colors defaults
  13575. 2004-08-10 12:52 jackson
  13576. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  13577. ThemeWin32Classic.cs: Implement DrawItem functionality
  13578. 2004-08-10 12:47 jordi
  13579. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  13580. 2004-08-10 12:32 jordi
  13581. * Control.cs: throw ontextchange event
  13582. 2004-08-10 11:43 pbartok
  13583. * Control.cs:
  13584. - Added more to the still unfinished Dock/Anchor layout code
  13585. 2004-08-10 11:39 pbartok
  13586. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  13587. - Added GetWindowPos method
  13588. 2004-08-10 11:36 pbartok
  13589. * XplatUIWin32.cs:
  13590. - Implemented several methods
  13591. 2004-08-10 09:47 jackson
  13592. * TrackBar.cs: Allow control to handle buffering
  13593. 2004-08-10 09:41 jackson
  13594. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  13595. 2004-08-10 09:24 jackson
  13596. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  13597. 2004-08-10 09:09 jackson
  13598. * StatusBar.cs: Let Control handle all the buffering.
  13599. 2004-08-10 09:08 jackson
  13600. * Control.cs: Control will now handle the buffering code, so each
  13601. control does not have to implement this.
  13602. 2004-08-10 08:34 jackson
  13603. * XplatUIDriver.cs: Use default colors from the theme
  13604. 2004-08-09 17:12 pbartok
  13605. * ImageList.cs:
  13606. - Fixed several bugs Ravindra pointed out
  13607. 2004-08-09 16:11 pbartok
  13608. * Control.cs:
  13609. - Added incomplete dock layout code
  13610. - Added support for mouse wheel
  13611. 2004-08-09 16:09 pbartok
  13612. * XplatUIX11.cs:
  13613. - Added handling for middle and right mousebutton
  13614. - Added handling for mouse wheel
  13615. - Added handling for key state and mouse state and position
  13616. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  13617. messages
  13618. 2004-08-09 15:40 jackson
  13619. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  13620. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  13621. checkin
  13622. 2004-08-09 15:37 jackson
  13623. * StatusBar.cs: Initial implementation of StatusBar
  13624. 2004-08-09 15:36 jackson
  13625. * ITheme.cs: Add support for drawing status bar and getting status
  13626. bar item sizes
  13627. 2004-08-09 15:35 pbartok
  13628. * MouseButtons.cs:
  13629. - Fixed values
  13630. 2004-08-09 15:34 jackson
  13631. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  13632. status bar item sizes
  13633. 2004-08-09 15:21 jackson
  13634. * ThemeWin32Classic.cs: Use known colors for default control
  13635. colours
  13636. 2004-08-09 15:12 jackson
  13637. * ThemeWin32Classic.cs: Make the default font static, it is static
  13638. in control so this doesn't change functionality and creating fonts
  13639. is sloooooow.
  13640. 2004-08-09 14:56 pbartok
  13641. * X11Structs.cs:
  13642. - Added GrabMode enum
  13643. 2004-08-09 14:55 pbartok
  13644. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13645. - Removed Run method, was only required for initial development
  13646. 2004-08-09 14:51 pbartok
  13647. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13648. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  13649. capture
  13650. 2004-08-09 13:48 pbartok
  13651. * XplatUIX11.cs:
  13652. - Fixed default sizing for child windows
  13653. 2004-08-09 12:56 pbartok
  13654. * XplatUIX11.cs:
  13655. - Added generation of WM_DESTROY message
  13656. - Added handling of window manager induced shutdown
  13657. 2004-08-09 11:31 jackson
  13658. * ThemeWin32Classic.cs: New names for control properties
  13659. 2004-08-09 11:25 jackson
  13660. * Control.cs: Use new color names
  13661. 2004-08-09 11:02 jackson
  13662. * XplatUI.cs: Get default window properties from the theme
  13663. 2004-08-09 11:01 jackson
  13664. * ITheme.cs: The theme engine now controls default window
  13665. properties
  13666. 2004-08-09 11:00 jackson
  13667. * ThemeWin32Classic.cs: Add default window color properties
  13668. 2004-08-09 10:17 jackson
  13669. * ThemeWin32Classic.cs: Use correct default back color
  13670. 2004-08-09 10:05 jackson
  13671. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  13672. the theme now.
  13673. 2004-08-09 09:56 jackson
  13674. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  13675. 2004-08-09 09:54 jackson
  13676. * Control.cs: Get default properties from the theme.
  13677. 2004-08-09 09:53 jackson
  13678. * ITheme.cs: Themes now handle default control properties
  13679. 2004-08-09 09:53 jackson
  13680. * ThemeWin32Classic.cs: Themes now handle default control
  13681. properties so coloring will be consistent
  13682. 2004-08-08 16:54 jordi
  13683. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  13684. 2004-08-08 15:08 jordi
  13685. * XplatUIX11.cs: fixes keyboard crash
  13686. 2004-08-08 13:47 jordi
  13687. * Label.cs: add cvs header info
  13688. 2004-08-08 12:09 jackson
  13689. * ThemeWin32Classic.cs: Add pen_buttonface
  13690. 2004-08-08 11:52 jordi
  13691. * Label.cs, LinkLabel.cs: [no log message]
  13692. 2004-08-08 11:34 jordi
  13693. * ThemeWin32Classic.cs: Use Windows Standard Colours
  13694. 2004-08-07 17:32 jordi
  13695. * TrackBar.cs: throw exceptions of invalid enums values
  13696. 2004-08-07 17:31 jordi
  13697. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  13698. draw method name
  13699. 2004-08-07 16:56 jackson
  13700. * HorizontalAlignment.cs: Initial checkin
  13701. 2004-08-07 13:16 jordi
  13702. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  13703. methods
  13704. 2004-08-07 13:05 jordi
  13705. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  13706. GetSysColor defines
  13707. 2004-08-06 18:01 pbartok
  13708. * ThemeWin32Classic.cs:
  13709. - Fixed some rounding issues with float/int
  13710. 2004-08-06 18:00 jackson
  13711. * DockStyle.cs, AnchorStyles.cs:
  13712. Add flags and serializable attributes.
  13713. 2004-08-06 17:46 pbartok
  13714. * XplatUIX11.cs:
  13715. - Implemented GetParent
  13716. 2004-08-06 17:18 pbartok
  13717. * TrackBar.cs:
  13718. - Fixed some rounding issues with float/int
  13719. 2004-08-06 17:17 pbartok
  13720. * X11Structs.cs, XplatUIX11.cs:
  13721. - Fixed Refresh and Invalidate
  13722. 2004-08-06 15:30 pbartok
  13723. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  13724. - Fixed recursive loop when resizing
  13725. - Improved/fixed redrawing on expose messages
  13726. 2004-08-06 09:53 jordi
  13727. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  13728. keyboard navigation
  13729. 2004-08-06 08:02 pbartok
  13730. * X11Structs.cs, XplatUIX11.cs:
  13731. - Fixed reparenting
  13732. - Fixed window border creation
  13733. 2004-08-05 15:38 pbartok
  13734. * XplatUIX11.cs:
  13735. - Attempted fix for reparenting problems
  13736. 2004-08-04 15:14 pbartok
  13737. * Control.cs:
  13738. - Fixed Invalidation bug (calculated wrong client area)
  13739. - Added ClientSize setter
  13740. 2004-08-04 15:13 pbartok
  13741. * Form.cs:
  13742. - Added AutoScale properties
  13743. 2004-08-04 15:13 pbartok
  13744. * SWF.csproj:
  13745. - Added latest files
  13746. 2004-08-04 14:11 pbartok
  13747. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13748. XplatUIX11.cs:
  13749. - Added Invalidate handling
  13750. 2004-08-03 17:09 jordi
  13751. * XplatUIDriver.cs: fixes spelling mistake
  13752. 2004-07-27 09:53 jordi
  13753. * TrackBar.cs: fixes trackbar events, def classname, methods
  13754. signature
  13755. 2004-07-27 09:29 jordi
  13756. * ScrollBar.cs: fixes scrollbar events
  13757. 2004-07-27 04:38 jordi
  13758. * Control.cs: changes to be able to run winforms samples
  13759. 2004-07-26 11:42 jordi
  13760. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  13761. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  13762. 2004-07-26 05:41 jordi
  13763. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  13764. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  13765. implementation
  13766. 2004-07-22 09:22 jordi
  13767. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  13768. check link overlapping, implement events, and fixes
  13769. 2004-07-21 10:28 jordi
  13770. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  13771. 2004-07-21 10:19 jordi
  13772. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  13773. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  13774. LinkLabelLinkClickedEventArgs.cs,
  13775. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  13776. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  13777. implementation
  13778. 2004-07-19 13:09 jordi
  13779. * Control.cs, Label.cs: label control re-written: added missing
  13780. functionlity, events, and properties
  13781. 2004-07-19 10:49 jordi
  13782. * Control.cs: fixes SetBounds logic
  13783. 2004-07-19 01:29 jordi
  13784. * Control.cs: Call RefreshWindow only if the window has created
  13785. 2004-07-15 14:05 pbartok
  13786. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  13787. - Implemented ImageList and ImageList.ImageCollection classes
  13788. - Added ColorDepth enumeration
  13789. - Updated SWF VS.Net project
  13790. 2004-07-15 11:06 jordi
  13791. * XplatUIStructs.cs: added MsgButons enum
  13792. 2004-07-15 11:03 jordi
  13793. * Control.cs: added basic mouse handeling events
  13794. 2004-07-15 03:38 jordi
  13795. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  13796. Vertical TrackBar control implementation
  13797. 2004-07-13 09:33 jordi
  13798. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  13799. 2004-07-13 09:31 jordi
  13800. * Control.cs, Form.cs: commit: new properties and fixes form size
  13801. problems
  13802. 2004-07-09 14:13 miguel
  13803. * ProgressBar.cs: Spelling
  13804. 2004-07-09 11:25 pbartok
  13805. * ProgressBar.cs:
  13806. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  13807. faster
  13808. 2004-07-09 11:17 miguel
  13809. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  13810. * ProgressBar.cs: Fixed spelling for `block'
  13811. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  13812. style guidelines.
  13813. Avoid using the += on rect.X, that exposed a bug in the compiler.
  13814. 2004-07-08 23:21 pbartok
  13815. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  13816. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  13817. BaseCollection.cs, Binding.cs, BindingContext.cs,
  13818. BindingMemberInfo.cs, BindingsCollection.cs,
  13819. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  13820. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  13821. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  13822. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  13823. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  13824. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  13825. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  13826. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  13827. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  13828. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  13829. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  13830. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  13831. InputLanguageChangedEventArgs.cs,
  13832. InputLanguageChangedEventHandler.cs,
  13833. InputLanguageChangingEventArgs.cs,
  13834. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  13835. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  13836. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  13837. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  13838. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  13839. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  13840. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  13841. QueryAccessibilityHelpEventArgs.cs,
  13842. QueryAccessibilityHelpEventHandler.cs,
  13843. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  13844. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  13845. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  13846. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  13847. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  13848. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  13849. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  13850. XplatUIX11.cs, lang.cs:
  13851. - Initial check-in