ChangeLog 612 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436
  1. 2006-10-09 Jackson Harper <[email protected]>
  2. * TextBoxBase.cs: Set the default max values to MaxValue since
  3. we use the scrollbar for autoscrolling and the default value is
  4. 100. If we don't do this the caret won't keep up with typing
  5. after about 18 characters.
  6. 2006-10-07 Andreia Gaita <[email protected]>
  7. * Form.cs: The active control should be selected after the
  8. OnLoad so that any child control initialization that affects
  9. the selection is done. Fixes #79406
  10. 2006-10-06 Chris Toshok <[email protected]>
  11. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  12. to have no evil effects.
  13. - Stop selecting StructureNotifyMask on non-toplevel windows.
  14. The only way children should be resized is by using the SWF api,
  15. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  16. Toplevel windows can be interacted with via the window manager,
  17. and so we keep the input mask there.
  18. The other event StructureNotifyMask gives us (that we care
  19. about) is DestroyNotify. The code is already structured such
  20. that it assumes we won't be getting a DestroyNotify event for
  21. the window we pass to XDestroyWindow (which is what
  22. StructureNotifyMask is supposed to guarantee.) So, that code
  23. shouldn't be affected by this either.
  24. - Stop selecting VisibilityChangeMask altogether.
  25. We weren't doing anything with the resulting events anyway.
  26. This vastly reduces the number of X requests and events we see
  27. when resizing/laying out a large ui.
  28. 2006-10-06 Chris Toshok <[email protected]>
  29. * ScrollableControl.cs (DisplayRectangle): we need to take into
  30. account the DockPadding regardless of whether or not auto_scroll
  31. == true. rework this slightly to this effect, and fix bug #79606,
  32. and part of #72499 (you can now see the drag handles and drag
  33. toolbars around).
  34. 2006-10-06 Gert Driesen <[email protected]>
  35. * ListViewItem.cs: Collections of selected and checked items are now
  36. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  37. we mark the collection "dirty".
  38. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  39. to only clear SelectedItems when a new item is selected and MultiSelect
  40. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  41. event of ListViewItemCollection, and mark its list dirty whenever
  42. that event is fire. This allows us to return selected/checked items
  43. in the same order as they are in the Items collection. This matches
  44. the MS behavior.
  45. 2006-10-06 Chris Toshok <[email protected]>
  46. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  47. right mouse clicks. Fixes bug #79593.
  48. 2006-10-06 Chris Toshok <[email protected]>
  49. * Splitter.cs: doh, fix splitters that don't want to cancel the
  50. movement when you drag them. Also, impose the limits on the
  51. values we send to the SplitterMovingEvent. Fixes #79598.
  52. 2006-10-06 Jackson Harper <[email protected]>
  53. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  54. since we use this for auto scrolling also.
  55. 2006-10-05 Chris Toshok <[email protected]>
  56. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  57. beginning to think that most datagrid column types don't need this
  58. method. Fixes bug #79392.
  59. 2006-10-05 Chris Toshok <[email protected]>
  60. * DataGrid.cs: move back to a more lazy scheme for creating the
  61. CurrencyManager, so we aren't updating it every time you set
  62. either DataSource or DataMember. Also, don't call
  63. RecreateDataGridRows if the currency manager hasn't changed.
  64. 2006-10-05 Chris Toshok <[email protected]>
  65. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  66. emitted, SelectedIndex should already be updated. Fixes bug
  67. #78929.
  68. 2006-10-05 Jonathan Pobst <[email protected]>
  69. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  70. ToolStripTextBox.cs: Initial commit.
  71. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  72. 2006-10-05 Jackson Harper <[email protected]>
  73. * TabControl.cs: We need to invalidate the tab control area when
  74. new ones are added (duh).
  75. 2006-10-03 Chris Toshok <[email protected]>
  76. * Form.cs (ProcessDialogKey): if the focused control is in this
  77. form and is a button, call its PerformClick method here. Fixes
  78. #79534.
  79. 2006-10-04 Jackson Harper <[email protected]>
  80. * TabPage.cs: Ignore setting of Visible, and add an internal
  81. method for setting the controls visibility. TabPage's Visible
  82. property is a little strange on MS, this seems to make us
  83. compatible, and fixes cases where people set all the tab pages to
  84. visible.
  85. * TabControl.cs: Use the new internal setting on tab pages
  86. visibility.
  87. 2006-10-03 Mike Kestner <[email protected]>
  88. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  89. 2006-10-03 Mike Kestner <[email protected]>
  90. * ListView.cs : use is_visible instead of Visible to check if
  91. scrollbars should be placed/sized. Also some max_wrap_width
  92. love for LargeIcon view. [Fixes #79533]
  93. 2006-10-03 Atsushi Enomoto <[email protected]>
  94. * TextControl.cs :
  95. Make set_TextAlign() do actually update the align. Fixed #78403.
  96. 2006-10-03 Chris Toshok <[email protected]>
  97. * DataGrid.cs: fix a crash when switching datasources if the
  98. vertical scrollbar is at someplace other than Value = 0. Also,
  99. reduce the number of recalculation passes we do in SetDataSource
  100. from 2 to 1.
  101. 2006-10-03 Jackson Harper <[email protected]>
  102. * TextBoxBase.cs: Move the if value the same bail check up, we
  103. don't want to empty the document if it is already empty, this
  104. seems to severly mess up the caret. TODO: I should probably fix
  105. the empty statement to update teh caret somehow.
  106. 2006-10-03 Chris Toshok <[email protected]>
  107. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  108. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  109. reflection, an internal row type, properties on said type, etc.)
  110. will work with our datagrid. Fixes #79531.
  111. 2006-10-03 Alexander Olk <[email protected]>
  112. * FileDialog.cs: Don't crash if a path is not accessible
  113. (System.UnauthorizedAccessException). Fixes #79569.
  114. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  115. a ':' too. Return unknown icon for those paths/files.
  116. 2006-10-03 Sebastien Pouliot <[email protected]>
  117. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  118. GetContainerControl returns null.
  119. 2006-10-02 Chris Toshok <[email protected]>
  120. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  121. call to XGetWindowAttributes instead of "handle". fixes an X
  122. error using notifyicon after the NotifyIconWindow to Form base
  123. class switch.
  124. 2006-10-02 Chris Toshok <[email protected]>
  125. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  126. server grab and looping we need to do to get down to the most
  127. deeply nested child window.
  128. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  129. QueryPointer again after the WarpPointer so we can generate a
  130. proper (fake) MotionNotify event to be enqueued in the destination
  131. window's queue.
  132. (GetCursorPos): call QueryPointer.
  133. Fixes #79556.
  134. 2006-10-02 Jackson Harper <[email protected]>
  135. * NotifyIcon.cs: Derive the notify icon from a form, so things
  136. like FindForm work on it.
  137. - Swallow the WM_CONTEXTMENU message, since that is generated on
  138. mouse down, and context menu is a mouse up kinda guy. I believe
  139. the correct fix here is probably to make the notify icon entirely
  140. NC area, but this seems to work fine for anyone not manipulating
  141. WndProc.
  142. 2006-10-02 Jonathan Pobst <[email protected]>
  143. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  144. ToolStripItemCollection.cs, ToolStripLabel.cs,
  145. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  146. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  147. Initial implementation.
  148. * TextRenderer.cs: Provide padding to MeasureText.
  149. 2006-10-02 Sebastien Pouliot <[email protected]>
  150. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  151. of ButtonBaseAccessibleObject. Fix bug #79552.
  152. 2006-10-02 Jackson Harper <[email protected]>
  153. * MdiWindowManager.cs: When maximizing use the containers client
  154. rect, not it's bounds, so nc area is accounted correctly.
  155. - Use the parent form's size for the menu position, since the
  156. client isn't always the full form size.
  157. 2006-10-01 Chris Toshok <[email protected]>
  158. * ScrollableControl.cs: make sure neither right_edge or
  159. bottom_edge are < 0, since they're used as LargeChange for the
  160. horiz/vert scrollbars respectively. Fixes #79539.
  161. 2006-10-01 Chris Toshok <[email protected]>
  162. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  163. the xplatuix11 code can cause us to destroy/recreate our handle.
  164. * XplatUIX11.cs
  165. (SystrayAdd):
  166. - this code can be invoked many times for the same Hwnd. Make
  167. sure we only destroy the client window once (the first time this
  168. method is called). This fixes bug #79544.
  169. - Remove the call to the improperly bound XSync. why we had two
  170. bindings to this, I will never know, but this call resulted in
  171. events being discarded from the queue(!).
  172. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  173. not our current state but the state we wish to be in. So, 0 if
  174. we don't want to be mapped. Change it to 1.
  175. (SystrayRemove): The XEMBED spec makes mention of the fact that
  176. gtk doesn't support the reparent of client windows away from the
  177. embedder. Looking at gtksocket-x11.c seems to agree with this.
  178. The only avenue we have for removing systray icons is to destroy
  179. them. We don't want the handle to go away for good, though, so
  180. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  181. #79545.
  182. 2006-10-01 Chris Toshok <[email protected]>
  183. * Form.cs (WndProc): inline the native_enabled variable usage into
  184. the cases in which it's used. Fixes #79536.
  185. 2006-09-29 Mike Kestner <[email protected]>
  186. * ListView.cs : toggle the selection state for ctrl clicks in
  187. multiselect mode. [Fixes #79417]
  188. 2006-09-29 Mike Kestner <[email protected]>
  189. * ListView.cs : kill CanMultiSelect and refactor the selection
  190. code to support multiselection in the absence of mod keys. Steal
  191. arrow/home/end keys by overriding InternalPreProcessMessage to
  192. restore regressed keynav behavior.
  193. [Fixes #79416]
  194. 2006-09-29 Jackson Harper <[email protected]>
  195. * MdiClient.cs: Repaint the titlebars when the active window is
  196. changed.
  197. 2006-09-29 Chris Toshok <[email protected]>
  198. * Application.cs: when entering a runloop with a modal, make sure
  199. the hwnd is enabled. Fixes #79480.
  200. 2006-09-29 Chris Toshok <[email protected]>
  201. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  202. when ListManager.CanAddRows == false, bump us back one.
  203. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  204. listmanager.CanAddRows check. This makes ArrayLists uneditable
  205. using a datagrid, which is not right.
  206. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  207. is an IEditable, but call property_descriptor.SetValue regardless.
  208. fixes #79435.
  209. 2006-09-29 Chris Toshok <[email protected]>
  210. * DataGridBoolColumn.cs: we need to test equality in the face of
  211. possible null values (as is the case with the default NullValue).
  212. This patch keeps us from crashing in that case.
  213. 2006-09-29 Jackson Harper <[email protected]>
  214. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  215. here, since it will get called for every node collection in the
  216. tree. This is now done in the treeview once the sorting is
  217. finished.
  218. * TreeView.cs: Recalculate the visible order, and update the
  219. scrollbars after sorting, set the top nope to the root so that the
  220. recalc actually works.
  221. 2006-09-29 Chris Toshok <[email protected]>
  222. * LinkLabel.cs: more handling of the default link collection in
  223. the face of LinkArea manipulation. The default link collection
  224. contains 1 element (start=0,length=-1). If the user sets LinkArea
  225. to anything and the links collection is the default, clear it.
  226. Then only add the link if its nonempty. Fixes #79518.
  227. 2006-09-29 Chris Toshok <[email protected]>
  228. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  229. piece correctly when we hit a '\n'. Fixes #79517.
  230. 2006-09-29 Chris Toshok <[email protected]>
  231. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  232. change the binding of gdk_init_check to take two IntPtr's, and
  233. pass IntPtr.Zero for both of them. Fixes #79520.
  234. 2006-09-29 Mike Kestner <[email protected]>
  235. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  236. [Fixes #78779]
  237. 2006-09-28 Jackson Harper <[email protected]>
  238. * XplatUIX11.cs: When translating NC messages make sure we go from
  239. whole window to screen, not client window to screen.
  240. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  241. method doesn't exist
  242. - Skip over controls that aren't forms when arranging.
  243. 2006-09-28 Jackson Harper <[email protected]>
  244. * XplatUIWin32.cs: Clip the rect to the parent window.
  245. * XplatUIStructs.cs: Add clipping modes struct.
  246. * InternalWindowManager.cs: New private method that factors title
  247. bar heights in when calculating the pos of an NC mouse message.
  248. - Use SendMessage to force a paint when the form's size is changed
  249. instead of painting the decorations immediately.
  250. - Don't let the NC button click messages get to DefWndProc,
  251. because they will attempt to handle windowing themself, and this
  252. messes up z-order (it will put them in front of the scrollbars).
  253. * XplatUIX11.cs: Make sure that we don't reset window managers if
  254. we already have one (ie the window is an MDI window).
  255. 2006-09-28 Chris Toshok <[email protected]>
  256. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  257. menu code really needs going over.
  258. 2006-09-27 Chris Toshok <[email protected]>
  259. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  260. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  261. window is maximizable. So, we need to make sure that even if we
  262. clear the border/wm frame of those functions, they're still
  263. available (basically, we remove the decoration without removing
  264. the function). Half the fix for #79338.
  265. 2006-09-27 Chris Toshok <[email protected]>
  266. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  267. Fixes bug #79515.
  268. 2006-09-27 Chris Toshok <[email protected]>
  269. * Splitter.cs: reorder things a bit so that we don't actually
  270. draw/move the splitter until after calling OnSplitterMoving. This
  271. lets users cancel/disallow the movement by explicitly setting
  272. event.SplitX/SplitY. Fixes #79372.
  273. 2006-09-27 Jackson Harper <[email protected]>
  274. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  275. because it is most likely on a window being destroyed, and that
  276. will give us an X11 error.
  277. 2006-09-27 Chris Toshok <[email protected]>
  278. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  279. the dropdown button now toggles between showing and hiding the
  280. dropdown. Also, get rid of dropdown_form_showing and just use
  281. dropdown_form.Visible. We still don't do a grab, but I'll leave
  282. that part to someone who has handled Capture-fu before.
  283. 2006-09-27 Chris Toshok <[email protected]>
  284. * DataGrid.cs: return false if alt isn't pressed when '0' is
  285. pressed. this keeps the '0' key from being swallowed, and fixes
  286. bug #79350.
  287. 2006-09-27 Chris Toshok <[email protected]>
  288. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  289. Calling Refresh (in response to a scrollbar event) screws up the
  290. scrollbar painting. Fixes bug #78923.
  291. 2006-09-27 Chris Toshok <[email protected]>
  292. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  293. then insert into hashtable" blocks threadsafe.
  294. 2006-09-27 Chris Toshok <[email protected]>
  295. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  296. baseclass's, since otherwise the
  297. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  298. effect. This gets the close button back in messageboxes.
  299. 2006-09-27 Chris Toshok <[email protected]>
  300. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  301. flag, not just != 0. this makes flags that are actually multiple
  302. bits (like WS_CAPTION) work. fixes bug #79508.
  303. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  304. * PageSetupDialog.cs: add support for getting and settings the
  305. paper size, source and orientation.
  306. 2006-09-26 Chris Toshok <[email protected]>
  307. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  308. and caption == "", we need to remove the resize handles as well as
  309. the title bar.
  310. * Control.cs (set_Text): turns out that setting Text on a form
  311. should change the WM styles on the window, since if ControlBox ==
  312. false, the only way to get a window border is to have a non-""
  313. Text property. check winforms/forms/text.cs for an example. so,
  314. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  315. update both window styles and title. This fixes a lot of dialogs
  316. (including the preferences dialog in MonoCalendar.)
  317. 2006-09-26 Chris Toshok <[email protected]>
  318. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  319. control isn't a Form), call Win32ShowWindow to hide the window,
  320. but don't update the control Visible property. When we reparent
  321. back to a parent control, call SetVisible in order for the
  322. window's visibility to be reinstated.
  323. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  324. the FosterParent.
  325. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  326. call for good, since it breaks MonoCalendar (and other things I'm
  327. sure.) Also, set all_controls to null *after* the owner calls,
  328. which end up regenerating it.
  329. (ChangeParent): allow new_parent to be == null, passing
  330. IntPtr.Zero down to XplatUI.
  331. this fixes #79294 the right way.
  332. 2006-09-26 Mike Kestner <[email protected]>
  333. * GridEntry.cs : internal SetParent method.
  334. * PropertyGrid.cs : attach to property changed on the proper
  335. target if we have a hierarchical grid with subobjects. Setup
  336. GridItem.Parent for hierarchical items.
  337. * PropertyGridView.cs : Set value on the correct target for
  338. hierarchical grids. [Fixes #78903]
  339. 2006-09-26 Chris Toshok <[email protected]>
  340. * Control.cs (ChildNeedsRecreating): this should return true if
  341. either we're being recreated and the child is in our list, or our
  342. parent is waiting for our recreation.
  343. 2006-09-26 Chris Toshok <[email protected]>
  344. * Control.cs (ControlCollection.Remove): reinstate the
  345. value.Hide() call as suggested in bug #79294.
  346. 2006-09-26 Sebastien Pouliot <[email protected]>
  347. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  348. coordinates (versus a relative move).
  349. 2006-09-26 Chris Toshok <[email protected]>
  350. * Control.cs: rework child recreation a little bit. It turns out
  351. that we race between the DestroyNotify the WM_DESTROY message. If
  352. the parent gets its DestroyNotify before the child gets the
  353. WM_DESTROY message, the child ends up not recreating (since the
  354. parent finishes its recreation on DestroyNotify, and the child
  355. checks ParentIsRecreating.)
  356. So, instead we store off a list of all the child controls which
  357. need to be recreated when the parent control starts to recreate
  358. itself. Then, when child controls get their WM_DESTROY message we
  359. check to see if they're in the parent's pending recreation list,
  360. and if so, we recreate. This removes all dependency on ordering
  361. from the code and fixes the initial MonoCalendar upgrade dialog.
  362. 2006-09-26 Jackson Harper <[email protected]>
  363. * TextControl.cs: Use the Line to get the length of the line,
  364. since soft line breaks can change the end line.
  365. 2006-09-26 Chris Toshok <[email protected]>
  366. * Control.cs (ControlCollection.AddImplicit): don't add the
  367. control again if it's already in one of our lists. This keeps us
  368. from adding controls over and over again for comboboxes when their
  369. handle gets recreated (as the combobox adds implicit controls in
  370. OnHandleCreated). Fixes the X11 errors in bug #79480.
  371. 2006-09-26 Jackson Harper <[email protected]>
  372. * TextControl.cs: When deleting characters make sure that any
  373. orphaned zero lengthed tags get deleted.
  374. - Fix ToString for zero lengthed tags.
  375. 2006-09-25 Jackson Harper <[email protected]>
  376. * TextControl.cs: When getting a tag at the location there can be
  377. multiple tags at the same spot, these are 0-lengthed tags that
  378. appear when extra formatting has been stuck in a location. We
  379. need to pull out the last of these 0 lengthed tags.
  380. 2006-09-25 Jackson Harper <[email protected]>
  381. * TextControl.cs: Fix print out in debug method.
  382. * TextBoxBase.cs: When text is set bail if we are setting to the
  383. previous value.
  384. 2006-09-24 Alexander Olk <[email protected]>
  385. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  386. It is now possible to change the selected index in a FontXXXListBox
  387. with the up and down arrow keys from the FontXXXTextBoxes.
  388. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  389. FontXXXListBoxes to match ms.
  390. 2006-09-22 Sebastien Pouliot <[email protected]>
  391. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  392. anyone can dispose it, anytime. All other properties returns enums,
  393. structs or basic types so they don't need such tricks.
  394. 2006-09-22 Jackson Harper <[email protected]>
  395. * XplatUI.cs:
  396. * XplatUIWin32.cs:
  397. * Clipboard.cs:
  398. * DataFormats.cs:
  399. * XplatUIOSX.cs:
  400. * XplatUIDriver.cs: Update interface to add a primary selection
  401. flag, so the driver can use the primary selection buffer if
  402. needed.
  403. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  404. * RichTextBox.cs: We need to supply the data object to paste now
  405. (so we can choose to supply CLIPBOARD or PRIMARY).
  406. * TextBoxBase.cs: Supply data object to paste (see above).
  407. - Middle click uses the primary selection data object.
  408. 2006-09-21 Chris Toshok <[email protected]>
  409. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  410. of SetWMStyles. It's still a rat's nest and is largely
  411. order-dependent which I dislike immensely. This also fixes the X
  412. button disappearing from toplevel forms.
  413. 2006-09-21 Mike Kestner <[email protected]>
  414. * ListBox.cs: move Jordi's click/dblclick raising code to the
  415. mouse up handler.
  416. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  417. * ListBox.cs: Fixes 79450
  418. 2006-09-21 Mike Kestner <[email protected]>
  419. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  420. to deal with people updating the TreeNodeCollection after the tree
  421. is disposed. "Fixes" 79330.
  422. 2006-09-20 Jackson Harper <[email protected]>
  423. * TextControl.cs: Push the cursor record onto the undo stack
  424. before the delete action. This fixes 78651.
  425. 2006-09-20 Jonathan Chambers <[email protected]>
  426. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  427. CreateParams. Fixes 79329.
  428. 2006-09-19 Chris Toshok <[email protected]>
  429. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  430. things up a bit. First, get rid of the NetAtoms array (and the NA
  431. enum), and just embed the atoms as static fields. Also, add a
  432. couple of functions (StyleSet and ExStyleSet) to clean up all the
  433. bitmask testing of styles.
  434. * X11Structs.cs: remove the NA enum, not needed anymore.
  435. 2006-09-19 Chris Toshok <[email protected]>
  436. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  437. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  438. added cleanup to get MessageBox titles appearing again, which were
  439. broken by my earlier fix for caption-less/ControlBox-less windows.
  440. 2006-09-18 Jonathan Pobst <[email protected]>
  441. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  442. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  443. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  444. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  445. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  446. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  447. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  448. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  449. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  450. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  451. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  452. Inital import.
  453. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  454. ToolStripButton.cs: Stubs needed for above.
  455. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  456. 2006-09-15 Chris Toshok <[email protected]>
  457. * XplatUIX11.cs:
  458. - make the MessageQueues hashtable Synchronized.
  459. - SendMessage: if the Hwnd is owned by a different thread, use the
  460. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  461. thread. Fixes bug #79201.
  462. 2006-09-15 Chris Toshok <[email protected]>
  463. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  464. ControlBox == false, we disallow maximize/minimize/close. If the
  465. form Caption is "" we also disallow move (and get rid of the Title
  466. decoration). Unfortunately, regardless of how things are set,
  467. we're stuck with the Title and WM menu.
  468. 2006-09-15 Chris Toshok <[email protected]>
  469. * Application.cs: add locking around the static message_filters
  470. ArrayList, part of #79196.
  471. 2006-09-15 Chris Toshok <[email protected]>
  472. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  473. Form.ControlBox == false, the window has no titlebar nor resize
  474. handles. fixes bug #79368.
  475. 2006-09-15 Chris Toshok <[email protected]>
  476. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  477. >= 0. Fixes bug #79370.
  478. 2006-09-15 Jonathan Pobst <[email protected]>
  479. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  480. * Control.cs:
  481. Add properties: LayoutEngine, Margin, DefaultMargin.
  482. Add method: GetPreferredSize.
  483. Move layout logic from PerformLayout to layout engines.
  484. 2006-09-13 Chris Toshok <[email protected]>
  485. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  486. fix for #79326 broke #78718, so this change addresses that.
  487. - in SendWMDestroyMessages remove the call to
  488. CleanupCachedWindows, since we might be recreating the control and
  489. need to maintain the references to right Hwnd handles. Also, set
  490. the zombie flag to true for each of the children in the hierarchy
  491. instead of calling hwnd.Dispose. This will cause GetMessage to
  492. ignore all events for the window except for DestroyNotify.
  493. - In GetMessage, ignore messages except for DestroyNotify for
  494. zombie hwnds.
  495. * Control.cs: revert the is_recreating fix from the last
  496. ChangeLog. It's definitely "right", but it breaks switching from
  497. an MDI form to a non-MDI form. Will need to revisit that.
  498. * Hwnd.cs: add a zombie flag, which means "the
  499. client_window/whole_window handles are invalid, but we're waiting
  500. for the DestroyNotify event to come in for them". Set the flag to
  501. false explicitly if setting WholeWindow/ClientWindow, and also
  502. when Disposing.
  503. 2006-09-13 Chris Toshok <[email protected]>
  504. * XplatUIX11.cs: rework window destruction slightly.
  505. - when destroying the windows associated with a control, we don't
  506. need 2 separate XDestroyWindow calls. Just the one for the
  507. whole_window (or for client_window if whole_window is somehow
  508. IntPtr.Zero -- can this happen?) is enough.
  509. - reworked SendWMDestroyMessages slightly, so we always dispose
  510. the child control hwnd's after sending the messages.
  511. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  512. the two places it was used (one was even using hwnd.Handle and the
  513. other hwnd.client_window. ugh), adding another call in
  514. SendWMDestroyMessages. We need this new call because now the
  515. DestroyNotify events in the queue will be ignored for the child
  516. controls (as their hwnd's were disposed, and the window id's
  517. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  518. - this fixes bug #79326.
  519. 2006-09-13 Chris Toshok <[email protected]>
  520. * Control.cs: don't always set is_recreating to false at the end
  521. of RecreateHandle, since sometimes we're not done (and won't be
  522. until WndProc handles the WM_DESTROY message). Also, set
  523. is_recreating to false in the WM_DESTROY handling code. Part of
  524. the fix for bug #79326.
  525. 2006-09-13 Miguel de Icaza <[email protected]>
  526. * X11DesktopColors.cs: Start the droppage of debugging messages.
  527. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  528. 2006-09-13 Jonathan Pobst <[email protected]>
  529. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  530. 2006-09-12 Chris Toshok <[email protected]>
  531. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  532. to create it using SetDataSource. Fixes bug #79151.
  533. 2006-09-11 Chris Toshok <[email protected]>
  534. * XEventQueue.cs: add a DispatchIdle property.
  535. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  536. either the queue is null, or the queue has DispatchIdle set to
  537. true.
  538. (DoEvents): set queue.DispatchIdle to false around the
  539. peek/translate/dispatch message loop in this method. This keeps
  540. Application.Doevents from emitting idle events. Part of the fix
  541. for #78823.
  542. 2006-09-11 Chris Toshok <[email protected]>
  543. * DataGrid.cs (set_DataSource): make this work for both the
  544. winforms/datagrid test and ReportBuilder. It seems as though when
  545. we've created a ListManager (or maybe it's if we have a
  546. BindingContext?), when we set the DataSource it clears the
  547. DataMember to "". otherwise we reuse the datamember. Fixes bug
  548. #79333.
  549. 2006-09-11 Chris Toshok <[email protected]>
  550. * XplatUIX11.cs: deal with queue being null, which happens in all
  551. the Clipboard functions. Fixes one of the two problems mentioned
  552. in #78612.
  553. 2006-09-11 Chris Toshok <[email protected]>
  554. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  555. button on various spots (including outside the menu) works closer
  556. to MS, and doesn't crash. Fixes #79343.
  557. 2006-09-11 Gert Driesen <[email protected]>
  558. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  559. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  560. and the internal comparer is set. When a new ListViewItemSorter is set,
  561. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  562. was specified. No further processing is necessary if SortOrder is set
  563. to it's current value. If Sorting is modified to None, and View is
  564. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  565. (either custom or our internal ItemComparer) to null, on 1.0 profile
  566. only set item_sorter to null if its our internal IComparer. If Sorting
  567. is modified to Ascending or Descending, then use our internal IComparer
  568. if none is set, and if the current IComparer is our internal one then:
  569. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  570. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  571. Enum.IsDefined to verify whether a valid View value is specified in
  572. its setter. Automatically sort listview items when listview is
  573. created. In Sort, do nothing if ListView is not yet created, or if
  574. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  575. to None or ListViewItemSorter was set to null). Added Sort overload
  576. taking a bool to indicate whether the ListView should be redrawn when
  577. items are sorted (we use this in ListViewItemCollection to avoid double
  578. redraws). Modified our internal IComparer to take the sort order into
  579. account. In Add and AddRange methods of ListViewItemCollection, also
  580. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  581. view), but use overload with noredraw option to avoid double redraw.
  582. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  583. true when View is Tile, and do the same when attempting to set View to
  584. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  585. for selected/checked indices, as it involves overhead when sorting is
  586. done while these collections are not used all that often. Instead
  587. we'll build the indices on demand. Modified IList implementation of
  588. CheckedIndexCollection to use public methods if object is int.
  589. Modified CheckedListViewItemCollection to hide checked items if
  590. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  591. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  592. IList implementation in SelectedIndexCollection to use public methods
  593. if object is int. Modified SelectedListViewItemCollection to hide
  594. selected items if listview is not yet created.
  595. * ListViewItem.cs: CheckedIndices list no longer needs to be
  596. maintained separately (see ListView changes). Also clone font, fixes
  597. test failure.
  598. 2006-09-11 Mike Kestner <[email protected]>
  599. * ComboBox.cs: if we are updating the contents of the currently
  600. selected index, refresh the control or the textbox selection.
  601. [Fixes #79066]
  602. 2006-09-11 Mike Kestner <[email protected]>
  603. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  604. the 'specified' logic has been moved there. This seems like a bug
  605. in Control.cs, since our current SetBoundsCore completely ignores
  606. the specified parameter. Peter's commit seems to indicate that is
  607. the way the MS control implementation works. [Fixes #79325]
  608. 2006-09-10 Jonathan Chambers <[email protected]>
  609. * XplatUI.cs: Set default_class_name to be composed
  610. of current domain id. This allows MWF to be loaded in multiple
  611. domains on Win32.
  612. 2006-09-09 Miguel de Icaza <[email protected]>
  613. * X11Keyboard.cs: If we are unable to obtain the input method, do
  614. not call CreateXic to create the input context. Should fix
  615. #78944/79276.
  616. 2006-09-08 Alexander Olk <[email protected]>
  617. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  618. Simplified gnome support by adding more pinvokes to get the
  619. icon for a file or mime type.
  620. 2006-09-08 Jackson Harper <[email protected]>
  621. * MenuAPI.cs: Deslect popup context menu items before closing the
  622. window, so that you don't see the previously selected item
  623. selected when you reopen the menu.
  624. * TextControl.cs: Update the cursor position even if we don't have
  625. focus. This fixes typing in things like the ComboBox. I'm not
  626. totally sure we should always set the visibility if we don't have
  627. focus, but couldn't find any corner cases where the cursor showed
  628. up when it shouldn't.
  629. 2006-09-08 Chris Toshok <[email protected]>
  630. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  631. our arrays are length 256. & 0xff before indexing. Fixes the
  632. crash in bug #78077.
  633. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  634. * ThemeWin32Classic.cs:
  635. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  636. is true. Handle that check box too.
  637. 2006-09-07 Chris Toshok <[email protected]>
  638. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  639. 79244.
  640. 2006-09-07 Chris Toshok <[email protected]>
  641. * Control.cs: in set_BackColor only do the work if
  642. background_color != value.
  643. * XplatUIX11.cs: move the clearing of invalid areas (both client
  644. and nc) to the same block of code where we set (nc_)expose_pending
  645. to false. That is, move it from PaintEventEnd to PaintEventStart,
  646. so things that cause invalidates from within OnPaint will trigger
  647. another call to OnPaint. Fixes bug #79262.
  648. 2006-09-07 Alexander Olk <[email protected]>
  649. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  650. * FileDialog.cs: Fix typo
  651. 2006-09-07 Jackson Harper <[email protected]>
  652. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  653. for tab pages if they have any.
  654. 2006-09-06 Mike Kestner <[email protected]>
  655. * Splitter.cs: use the "current" rect when finishing drag handle
  656. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  657. 2006-09-06 Mike Kestner <[email protected]>
  658. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  659. support offset splitters. [Fixes #79298]
  660. 2006-09-06 Alexander Olk <[email protected]>
  661. * Mime.cs: Fixed a bug that could override the global mime type
  662. result.
  663. 2006-09-05 Jackson Harper <[email protected]>
  664. * TabControl.cs: Better calculation method for setting the slider
  665. pos. Prevents crashes on really wide tabs.
  666. - Draw Image on tab pages if an image list is used.
  667. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  668. * MonthCalendar.cs: When Font changes, the Size should be
  669. updated to fit the new font's space requirements.
  670. 2006-09-02 Alexander Olk <[email protected]>
  671. * ListBox.cs: If the items are cleared with Items.Clear set
  672. top_index to 0.
  673. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  674. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  675. fire DateChanged event instead of DateSelected event when
  676. the date was changed by keyboard interaction.
  677. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  678. * DateTimePicker.cs: Handle DateChanged for the associated
  679. month_calendar control, and set month_calendar.Font from
  680. OnFontChanged method, as well as resize the height of the
  681. control when needed. Make PreferredHeight proportional.
  682. 2006-09-01 Chris Toshok <[email protected]>
  683. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  684. properties.
  685. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  686. 2006-09-01 Peter Dennis Bartok <[email protected]>
  687. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  688. for decorations (Fixes #79219)
  689. 2006-09-01 Mike Kestner <[email protected]>
  690. * ComboBox.cs: first stab at sorting plus some selection handling
  691. fixes to bring us more in line with MS behavior. Also switches back
  692. to index based selection. Alternative patches for index-based
  693. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  694. and [email protected] on bug 78848. I assume they were similar to this
  695. code I've had simmering in my tree forever.
  696. [Fixes #78848]
  697. 2006-09-01 Chris Toshok <[email protected]>
  698. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  699. when setting list position guard against ending up with a -1 index
  700. (the other part of the fix for #78812). Should probably make sure
  701. we don't need the analogous fix in the ItemDeleted case.
  702. * DataGrid.cs:
  703. - in SetDataSource, work around the fact that the way
  704. OnBindingContextChanged is invoked will cause us to re-enter this
  705. method. I'll remove the hack once I investigate
  706. OnBindingContextChanged.
  707. - fix the logic in set_DataSource and set_DataMember (basically
  708. what to do if the other of the two is null.)
  709. - in OnListManagerItemChanged, we need to take into account the
  710. edit row when deciding whether or not to call RecreateDataGridRows
  711. (part of the fix for #78812).
  712. 2006-09-01 Jackson Harper <[email protected]>
  713. * Splitter.cs: Don't do anything if there is no control to affect
  714. (prevents us from crashing in weird tet cases).
  715. * TreeView.cs: Bounding box for the mouse movement reverting
  716. focus/selection back to previously selected node. This matches
  717. MS, and makes the tree a lot more useable.
  718. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  719. use clipping so they are not drawn. This fixes when the control
  720. is set to have a transparent background, or if it was over an
  721. image.
  722. 2006-09-01 Alexander Olk <[email protected]>
  723. * MimeIcon.cs: Improved handling for reading default icons when
  724. using gnome (2.16 made it necessary). Check and read svg icons
  725. first, then 48x48 and then 32x32 icons.
  726. 2006-08-31 Chris Toshok <[email protected]>
  727. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  728. visible.
  729. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  730. ProcessKeyPreview. Fixes part of #77806.
  731. * DataGrid.cs: big patch.
  732. - revert the queueing up of DataSource/DataMember if inside
  733. BeginInit/EndInit calls. That's not the way the datagrid achieves
  734. its delayed databinding. Instead, call SetDataSource in
  735. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  736. #78811.
  737. - Also, it wasn't mentioned in #78811, but the test case exhibits
  738. behavior that was lacking in our datagrid implementation - Columns
  739. that have mapping names that don't exist in the datasource's
  740. properties aren't shown. Yuck. To fix this I added the bound
  741. field to the column style, and basically any calculation to figure
  742. out anything about columns uses a loop to find the bound columns.
  743. still need to investigate if I can cache an array of the bound
  744. columns or if the indices must be the same.
  745. - When setting CurrentCell, we no longer abort if the cell being
  746. edited was in the add row. This fixes the other part of #77806.
  747. - The new code also fixes #78807.
  748. * ThemeWin32Classic.cs: perpetrate the same disgusting
  749. column.bound field hack, and only render bound fields.
  750. 2006-08-31 Chris Toshok <[email protected]>
  751. * DataGridColumnStyle.cs: add bound field. this field is true if
  752. the datasource has a property corresponding to the mapping name.
  753. * DataGridTableStyle.cs: set the bound field on the column styles
  754. depending on whether or not we have a column for that property.
  755. 2006-08-31 Peter Dennis Bartok <[email protected]>
  756. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  757. splitter control (fixes #79228)
  758. 2006-08-31 Chris Toshok <[email protected]>
  759. * DataGridColumnStyle.cs: we need to delay the assignment of
  760. property descriptor until the last possible moment due to the lazy
  761. databinding stuff in the datagrid. Also, fix the exceptions
  762. thrown by CheckValidDataSource to match MS.
  763. 2006-08-31 Jackson Harper <[email protected]>
  764. * Form.cs: When activated select the active control, if there is
  765. no active control, we select the first control.
  766. * XplatUIX11.cs: If there is no focus control when we get a
  767. FocusIn event, find the toplevel form and activate it. This
  768. occurs when you popup a window, it becomes the focus window, then
  769. you close that window, giving focus back to the main window.
  770. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  771. * MonthCalendar.cs:
  772. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  773. as StringFormat with Center alignments in MonthCalendar,
  774. instead of creating new ones when drawing the control.
  775. Also, draw the month name in bold style.
  776. 2006-08-30 Peter Dennis Bartok <[email protected]>
  777. * Control.cs:
  778. - PerformLayout(): It would seem MS performs the fill even if the
  779. control is not visible (part of #79218 fix)
  780. - ResetBackColor(): Use the setter to reset the color, to allow
  781. overriders to catch the change.
  782. * Form.cs:
  783. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  784. - CreateHandle(): dito (part of $79218 fix)
  785. - Don't set an icon if we have a dialog
  786. * ScrollableControl.cs:
  787. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  788. - ScrollIntoView(): No need to scroll if control is already visible
  789. (resolves fixme and fixes #79218)
  790. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  791. * MonthCalendar.cs: Change proportions in SingleMonthSize
  792. to match the aspect of the original control.
  793. 2006-08-29 Alexander Olk <[email protected]>
  794. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  795. get updated when they get maximized.
  796. 2006-08-29 Peter Dennis Bartok <[email protected]>
  797. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  798. 2006-08-29 Chris Toshok <[email protected]>
  799. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  800. 2006-08-29 Jackson Harper <[email protected]>
  801. * TreeView.cs: Need to track selected node and highlighted node,
  802. they aren't always the same thing, when the mouse is down on a
  803. node it is hilighted, but not selected yet.
  804. - Do the HideSelection stuff right
  805. - Need to focus on rbutton mouse down. And redraw selection when
  806. right click is mouse upped.
  807. 2006-08-29 Mike Kestner <[email protected]>
  808. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  809. when SubItems.Count < Columns.Count. [Fixes #79167]
  810. 2006-08-28 Peter Dennis Bartok <[email protected]>
  811. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  812. 2006-08-28 Peter Dennis Bartok <[email protected]>
  813. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  814. from X. Only send based on ConfigureNotify if we don't have the
  815. correct location in hwnd (if the window manager moved us)
  816. 2006-08-28 Mike Kestner <[email protected]>
  817. * ListView.cs: remove a TODO.
  818. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  819. [Fixes ListView part of #79166]
  820. 2006-08-28 Mike Kestner <[email protected]>
  821. * ListView.cs: move wheel handler to parent since it is focused
  822. instead of the item_control now. [Fixes #79177]
  823. 2006-08-28 Mike Kestner <[email protected]>
  824. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  825. when the control is focused. [Fixes #79171]
  826. 2006-08-28 Mike Kestner <[email protected]>
  827. * ListView.cs: size the item and header controls for empty and
  828. unscrollable views.
  829. * ThemeWin32Classic.cs: draw disabled backgrounds.
  830. [Fixes #79187]
  831. 2006-08-28 Chris Toshok <[email protected]>
  832. * Form.cs: remove unused "active_form" static field.
  833. * Hwnd.cs: lock around accesses to static windows collection.
  834. * Application.cs: lock threads in Exit ().
  835. 2006-08-28 Chris Toshok <[email protected]>
  836. * NativeWindow.cs: lock around accesses to window_collection.
  837. 2006-08-28 Chris Toshok <[email protected]>
  838. * Control.cs: err, fix this the right way, by locking on controls
  839. when using it. not by making it synchronized.
  840. 2006-08-28 Chris Toshok <[email protected]>
  841. * Control.cs: make the static "controls" field synchronized, as it
  842. gets updated from multiple threads.
  843. 2006-08-27 Peter Dennis Bartok <[email protected]>
  844. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  845. Prevent other threads from exiting when calling thread sets quit state.
  846. * XEventQueue.cs: Added PostQuitState property
  847. 2006-08-27 Chris Toshok <[email protected]>
  848. * AsyncMethodData.cs: add a slot for the window handle.
  849. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  850. window (the destination control's window, not the foster window).
  851. * Control.cs (BeginInvokeInternal): store the window's handle in
  852. the AsyncMethodData.
  853. 2006-08-27 Peter Dennis Bartok <[email protected]>
  854. * XplatUIX11.cs:
  855. - PostQuitMessage: Removed resetting S.D display handle, we might have
  856. another loop started after calling PostQuitMessage (Fixes #79119)
  857. - Created destructor to reset S.D handle
  858. 2006-08-27 Peter Dennis Bartok <[email protected]>
  859. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  860. 2006-08-23 Peter Dennis Bartok <[email protected]>
  861. * TextControl.cs (Insert): Update the caret position even if we don't
  862. have a handle yet, just don't call the driver in that case.
  863. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  864. to the end of the new selection text (Fixes #79184)
  865. 2006-08-23 Peter Dennis Bartok <[email protected]>
  866. * Form.cs (Activate): Only activate if the handle is created)
  867. * Control.c:
  868. - Mark window as invisible when it's disposed
  869. - Check if window handle is created when setting window visible,
  870. instead of relying just on the is_created variable
  871. - Check if object is disposed when creating the control (Fixes #79155)
  872. 2006-08-23 Peter Dennis Bartok <[email protected]>
  873. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  874. when allowing layout again. Otherwise we re-generate the anchoring
  875. distance to the border again and actually alter what the user wanted
  876. This is ugly, it'd be better if we used DisplayRectangle instead of
  877. ClientRectangle for Control.UpdateDistances, but that causes us to
  878. have other problems (initial anchoring positons would be wrong)
  879. (Fixes #78835)
  880. 2006-08-23 Peter Dennis Bartok <[email protected]>
  881. * Control.cs:
  882. - The size and location setters shouldn't go directly to
  883. SetBoundsCore, but to SetBounds, which triggers layout on the
  884. parent, then calls SetBoundsCore. (Related to fix for #78835)
  885. - SetBounds: Moved actual location update code into this function
  886. from SetBoundsCore, to match MS. Added call to PerformLayout if
  887. we have a parent (to trigger resizing of anchored parents if the
  888. child size has changed (see testcase for #78835)
  889. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  890. new control code
  891. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  892. 2006-08-23 Peter Dennis Bartok <[email protected]>
  893. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  894. System.Drawing when a toplevel window gets closed; there might
  895. be other toplevel windows belonging to the same app (Fixes #78052)
  896. 2006-08-26 Alexander Olk <[email protected]>
  897. * FileDialog.cs: After reading FileDialog settings from mwf_config
  898. use Desktop prefix only if a real folder doesn't exist anymore.
  899. * FontDialog.cs: Added char sets.
  900. It is now possible to select the font, size or style with the
  901. textboxes.
  902. 2006-08-25 Kornél Pál <[email protected]>
  903. * PrintPreviewDialog.cs: Use assembly name constants.
  904. 2006-08-23 Peter Dennis Bartok <[email protected]>
  905. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  906. scrollbar from whacking it's buttons)
  907. 2006-08-24 Chris Toshok <[email protected]>
  908. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  909. in this patch (aggregating setting Left/Top/Width/Height to
  910. setting Bounds on the scrollbars), but the crux of the fix is in
  911. Recalculate, where we scroll by the remaining scroll_position if
  912. we're hiding a scrollbar. The 2*$5 reward in the comment is
  913. serious.
  914. 2006-08-24 Jackson Harper <[email protected]>
  915. * MdiClient.cs:
  916. * MdiWindowManager.cs: If the form is made a non-mdi window we
  917. need to remove the form closed event so that closing forms works
  918. correctly.
  919. 2006-08-24 Jackson Harper <[email protected]>
  920. * Control.cs: Make IsRecreating internal so that the driver can
  921. check it
  922. - Temporarily remove the Hide when controls are removed, its
  923. making a whole bunch of things not work because visibility isn't
  924. getting reset elsewhere correctly
  925. * Form.cs: Need to do a full handle recreation when the mdi parent
  926. is set.
  927. * XplatUIX11.cs: If we are recreating handles don't dispose the
  928. HWNDs. What was happening is the handles were being recreated in
  929. SendWMDestroyMessages, but then flow continued on in that method
  930. and destroyed the new handles.
  931. 2006-08-23 Jackson Harper <[email protected]>
  932. * Form.cs: MdiClient is always at the back of the bus
  933. * Control.cs: When the order of items in the collection is changed
  934. we need to reset the all_controls array
  935. - do the same sorta setup thats done when adding a control when a
  936. control is set on the collection.
  937. 2006-08-23 Peter Dennis Bartok <[email protected]>
  938. * TextBoxBase.cs (get_Text): Return an empty array if our document
  939. is empty (fixes #79052)
  940. 2006-08-23 Peter Dennis Bartok <[email protected]>
  941. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  942. on WM_SYSCHAR messages (fixes #79053)
  943. 2006-08-23 Chris Toshok <[email protected]>
  944. * DataGrid.cs: fix flickering when scrolling vertically.
  945. 2006-08-23 Chris Toshok <[email protected]>
  946. * DataGrid.cs (EndEdit): only invalidate the row header when we
  947. need to.
  948. 2006-08-23 Chris Toshok <[email protected]>
  949. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  950. methods. fixes the flicker when scrolling around.
  951. 2006-08-23 Peter Dennis Bartok <[email protected]>
  952. * FileDialog.cs: Making sure the control is created before we get a
  953. chance to use it with BeginInvoke (Fixes #79096)
  954. 2006-08-23 Chris Toshok <[email protected]>
  955. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  956. width to use when painting the rows.
  957. 2006-08-23 Peter Dennis Bartok <[email protected]>
  958. * TextBoxBase.cs:
  959. - Throw ArgumentException if a negative value is passed to SelectionLength
  960. - Update the selection end if start is moved. end needs to be always
  961. after start. (Fixes #79095)
  962. - Track selection length; MS keeps the selection length even if start
  963. is changed; reset on all other operations affection selection
  964. 2006-08-22 Jackson Harper <[email protected]>
  965. * TreeView.cs: Make sure both scrollbars get displayed and sized
  966. correctly when the other bar is visible.
  967. - Use the original clip rectangle for checking if the area between
  968. the two scrollbars is visible, not the viewport adjusted clipping
  969. rectangle.
  970. 2006-08-22 Jackson Harper <[email protected]>
  971. * Binding.cs: We don't use IsBinding because it requires the
  972. control to be created, which really shouldn't be necessary just to
  973. set a property on the control.
  974. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  975. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  976. ArgumentNullReferenceException when the argument is null.
  977. 2006-08-21 Jackson Harper <[email protected]>
  978. * Timer.cs: Track the thread that the timer is started in (NOT
  979. CREATED), this way messages for it will only be triggered on its
  980. queue.
  981. * XEventQueue.cs: Track the timers here, this makes timers per
  982. thread, like MS.
  983. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  984. 2006-08-19 Chris Toshok <[email protected]>
  985. * XplatUIX11.cs: after further communication with pdb, we get the
  986. best of both worlds. SetZOrder working for un-Mapped windows, and
  987. no X errors for un-mapped windows.
  988. 2006-08-19 Chris Toshok <[email protected]>
  989. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  990. as it was causing pdn toolbars to not have the correct stacking.
  991. 2006-08-18 Mike Kestner <[email protected]>
  992. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  993. calculation. Not sure why control should ever be setting a negative
  994. width though. Fixes #78931.
  995. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  996. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  997. null items in ObjectCollection class.
  998. * ListBox.cs.: Likewise.
  999. 2006-08-18 Atsushi Enomoto <[email protected]>
  1000. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  1001. as the base method in ThemeWin32Classic should work fine.
  1002. Fixed bug #78607.
  1003. 2006-08-18 Jackson Harper <[email protected]>
  1004. * Binding.cs: When validating if the value entered doesn't convert
  1005. properly reset to the old value.
  1006. * RadioButton.cs: Don't fire click when we get focus.
  1007. 2006-08-18 Jackson Harper <[email protected]>
  1008. * FileDialog.cs: Paint the selection on the directory combobox the
  1009. same way as on MS.
  1010. 2006-08-17 Jackson Harper <[email protected]>
  1011. * ErrorProvider.cs: Don't allow the error control to be selected.
  1012. * Control.cs: Don't send the SetFocus messages, the control
  1013. activation will do this, and if we do it blindly here validation
  1014. does not work.
  1015. 2006-08-17 Jackson Harper <[email protected]>
  1016. * Control.cs:
  1017. * ContainerControl.cs: Make validation events fire in the correct
  1018. order. TODO: For some reason the first validation event is not
  1019. getting fired.
  1020. 2006-08-17 Mike Kestner <[email protected]>
  1021. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  1022. 2006-08-17 Mike Kestner <[email protected]>
  1023. * ComboBox.cs : implement scroll wheel support for popped-down
  1024. state. Fixes #78945.
  1025. 2006-08-17 Jackson Harper <[email protected]>
  1026. * TreeView.cs: Specify treeview actions (old patch that didn't get
  1027. committed for some reason).
  1028. - Don't let the mouse wheel scroll us too far. Just want to make
  1029. the bottom node visible, not scroll it all the ways to the top.
  1030. 2006-08-17 Jackson Harper <[email protected]>
  1031. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  1032. 2006-08-17 Mike Kestner <[email protected]>
  1033. * ComboBox.cs : don't do mouseover selection in simple mode.
  1034. 2006-08-16 Jackson Harper <[email protected]>
  1035. * Form.cs: Fire the closing events for all the mdi child windows
  1036. when a window is closed. If the cancel args are set to true, the
  1037. main window still gets the event fired, but it doesn't not close.
  1038. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  1039. handler, instead of when the button is clicked, so cancelling the
  1040. close works correctly.
  1041. * ComboBox.cs: Send the mouse down to the scrollbar.
  1042. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  1043. * ListBox.cs: When passing 'null' to SelectedItem,
  1044. set SelectedIndex to -1, to unselect items. This is the
  1045. observed behaviour in .Net.
  1046. 2006-08-16 Peter Dennis Bartok <[email protected]>
  1047. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  1048. MS flags saying there won't be any. (fixes #78800)
  1049. * Control.cs (HandleClick): Made virtual
  1050. 2006-08-16 Atsushi Enomoto <[email protected]>
  1051. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  1052. cultures. Fixed bug #78399.
  1053. 2006-08-16 Jackson Harper <[email protected]>
  1054. * Form.cs: Use the MdiClients MdiChildren property to access
  1055. MdiChildren instead of creating the array from the child controls.
  1056. * MdiClient.cs: Maintain a separate array of the mdi children, so
  1057. that insertion order is maintained when the Z-order is changed.
  1058. 2006-08-16 Mike Kestner <[email protected]>
  1059. * ListView.cs : add an ItemComparer and default to it for sorting.
  1060. Fixes #79076, but sorting needs a complete overhaul to be compat with
  1061. MS.
  1062. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1063. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  1064. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1065. * Hwnd.cs (Mapped): Properly traverse the tree
  1066. 2006-08-15 Chris Toshok <[email protected]>
  1067. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  1068. pass manager.Current.GetType() to ParseData. It has to be the
  1069. property type. So, hold off doing the ParseData until we're in
  1070. SetPropertyValue where we know the type. This fixes the crash in
  1071. #78821 but the textbox is still empty.
  1072. 2006-08-15 Chris Toshok <[email protected]>
  1073. * DataGrid.cs:
  1074. - when we're scrolling, only call Edit() again if the
  1075. current cell is still unobscured. Fixes bug #78927.
  1076. - when handling mousedown on a cell, ensure the cell is visible
  1077. before calling Edit.
  1078. - remove the properties from DataGridRow, and remove the
  1079. DataGridParentRow class altogether.
  1080. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1081. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  1082. fire OnTextChanged by ourselves. There's no point calling base,
  1083. we don't set the base value anywhere else. Fixes #78773.
  1084. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  1085. * ListBox.cs: Call CollectionChanged when modifying
  1086. an item from Items indexer, to update the actual items
  1087. in the list box.
  1088. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  1089. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  1090. to match .Net behaviour.
  1091. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1092. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  1093. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1094. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  1095. 2006-08-15 Peter Dennis Bartok <[email protected]>
  1096. * MessageBox.cs: Prevent potential NRE exception.
  1097. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  1098. 2006-08-14 Peter Dennis Bartok <[email protected]>
  1099. * MessageBox.cs: Calculate the owner of a messagebox, also make
  1100. it topmost. Fixes #78753
  1101. 2006-08-14 Chris Toshok <[email protected]>
  1102. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  1103. programmatically move windows. first, set the PPosition hint as
  1104. well as the USPosition hint. Second include some code from pdb
  1105. that sets the window type to NORMAL when we set the transient for
  1106. hint. This is because, in the absence of a window type, metacity
  1107. thinks any window with TransientFor set is a dialog, and refuses
  1108. to let us move it programmatically. fascists.
  1109. 2006-08-14 Peter Dennis Bartok <[email protected]>
  1110. * XplatUIX11.cs: When setting normal hints, take into consideration
  1111. an different hints previously set so we don't delete them (fixes #78866)
  1112. 2006-08-12 Chris Toshok <[email protected]>
  1113. * ToolBarButton.cs: make Layout return a boolean, if something to
  1114. do with the button's layout changed.
  1115. * ToolBar.cs:
  1116. - add another parameter to Redraw, @force, which all existing
  1117. calls set to true.
  1118. - make the Layout function return a boolean which is true if the
  1119. layout has actually changed. Redraw now uses this (and @force)
  1120. to determine when to invalidate. At present the only place
  1121. where @force can be false is the call from OnResize, when
  1122. background_image == null. So, resizing a toolbar when the
  1123. layout doesn't change results in no drawing.
  1124. 2006-08-12 Chris Toshok <[email protected]>
  1125. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  1126. the VScrollBar and HScrollbar reversed. oops.
  1127. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  1128. scrollbars. we were assigning them twice (once in
  1129. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  1130. therefore causing two scrollbar resizes (and redraws?) to happen
  1131. per grid resize.
  1132. 2006-08-12 Chris Toshok <[email protected]>
  1133. * ToolBarButton.cs: redraw the entire button if the theme tells us
  1134. to.
  1135. * Theme.cs: add ToolBarInvalidateEntireButton.
  1136. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  1137. buttons, just the border.
  1138. * ThemeNice.cs: redraw the entire toolbar button since we need to
  1139. draw the highlight image.
  1140. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  1141. we need to redraw the entire button (not just the border).
  1142. 2006-08-11 Peter Dennis Bartok <[email protected]>
  1143. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  1144. for vertical bars. Fixes the mismatches shown by #78513
  1145. 2006-08-11 Alexander Olk <[email protected]>
  1146. * FileDialog.cs: If a saved/remembered path doesn't exist
  1147. anymore, fall back to "Desktop".
  1148. 2006-08-11 Peter Dennis Bartok <[email protected]>
  1149. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  1150. parent. It's apparently legal to not have one
  1151. * XplatUIX11.cs:
  1152. - SetZOrder: Don't try to set Z-Order on an unmapped window
  1153. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  1154. it unless the coordinates are negative
  1155. 2006-08-10 Mike Kestner <[email protected]>
  1156. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  1157. when setting to null per msdn docs. Fixes #78854.
  1158. 2006-08-10 Chris Toshok <[email protected]>
  1159. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  1160. flickering by setting a clip rectangle on the Graphics when we
  1161. need to redraw just a particular menuitem. Also, rename "OnClick"
  1162. to "OnMouseDown" to reflect what it actually is.
  1163. * Form.cs: track the OnMouseDown change.
  1164. 2006-08-10 Peter Dennis Bartok <[email protected]>
  1165. * CommonDialog.cs: Properly inherit the CreateParams from the form
  1166. and only change what we need. Fixes #78865
  1167. 2006-08-10 Chris Toshok <[email protected]>
  1168. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  1169. flickering in flat mode (and most of the flickering in general) by
  1170. only invalidating the button border (and not the entire rectangle)
  1171. when the state changes. A couple of cases still flicker:
  1172. ToggleButtons, and the dropdown arrow case when the user mouse
  1173. ups.
  1174. 2006-08-10 Alexander Olk <[email protected]>
  1175. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  1176. for german keyboards. Numlock state shouldn't affect the behaviour
  1177. of the Del key. Fixes bug #78291.
  1178. 2006-08-10 Chris Toshok <[email protected]>
  1179. * ListControl.cs: remove the items.Clear line from BindDataItems,
  1180. as this is the first thing done by both subclasses in their
  1181. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  1182. passed -1, refresh the list. This gets databinding working when
  1183. the datasource is set on the list before the datasource is
  1184. populated (as in wf-apps/ReportBuilder.)
  1185. * ComboBox.cs: remove the argument to BindDataItems. This call
  1186. should really go away, and be initiated by the ListControl code.
  1187. * ListBox.cs: same.
  1188. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1189. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  1190. if no data is in the document when the control is displayed
  1191. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1192. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  1193. yes (fixes #78806)
  1194. * TextControl.cs:
  1195. - PositionCaret: Allow positioning of caret but don't call methods
  1196. requiring a handle if the window isn't created yet
  1197. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  1198. - owner_HandleCreated: Don't position the caret, just update it's
  1199. location. User might have already set a different position
  1200. 2006-08-09 Peter Dennis Bartok <[email protected]>
  1201. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  1202. windows. Screws up the returned coordinates for child windows.
  1203. Fixes #78825. I'm hoping this doesn't break something, since the
  1204. code was explicitly put in 8 months ago, but no bug was attached.
  1205. Menus still seem to work properly.
  1206. 2006-08-08 Chris Toshok <[email protected]>
  1207. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  1208. supposed to do - delay data binding until the EndInit call. Also,
  1209. make the table style collection's CollectionChangeAction.Refresh
  1210. work properly.
  1211. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  1212. (with action = Refresh) when a consituent table's MappingName is
  1213. changed.
  1214. 2006-08-08 Chris Toshok <[email protected]>
  1215. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  1216. Invalidate, since changing the text can change the size of the all
  1217. toolbar buttons.
  1218. 2006-08-08 Peter Dennis Bartok <[email protected]>
  1219. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  1220. we don't have it yet
  1221. 2006-08-08 Chris Toshok <[email protected]>
  1222. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  1223. dialog, as this causes X errors later on, since we actually
  1224. destroy the window. Instead, .Hide() it.
  1225. 2006-08-08 Peter Dennis Bartok <[email protected]>
  1226. * ComboBox.cs: Added focus reflection for popup window
  1227. * XplatUIX11.cs:
  1228. - Removed transient setting for non-app windows for now, not sure it
  1229. was needed
  1230. - Fixed logic checking if we have captions when deciding
  1231. override_redirect, WS_CAPTION is two bits and a 0 check was not
  1232. sufficient
  1233. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  1234. complicated
  1235. * Form.cs:
  1236. - AddOwnedForm: Don't just add the form to the list, call the property
  1237. to ensure the driver is informed about the ownership as well
  1238. - CreateHandle: Set the TopMost status in the driver if we have an owner
  1239. * XplatUI.cs: Fixed debug statement
  1240. 2006-08-08 Jonathan Pobst <[email protected]>
  1241. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  1242. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  1243. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  1244. TrackBarRenderer.cs: Make constructor private.
  1245. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  1246. * ProfessionalColorTable.cs: Make properties virtual.
  1247. 2006-08-06 Duncan Mak <[email protected]>
  1248. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  1249. is not changing.
  1250. 2006-08-04 Jonathan Pobst <[email protected]>
  1251. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  1252. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  1253. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  1254. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  1255. Initial import of new 2.0 classes.
  1256. 2006-08-04 Jonathan Pobst <[email protected]>
  1257. * Application.cs: Add 2.0 VisualStyles properties.
  1258. 2006-08-04 Jonathan Pobst <[email protected]>
  1259. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  1260. XplatUIX11.cs: Create property to allow access to existing private
  1261. variable "themes_enabled"
  1262. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  1263. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  1264. file size, as otherwise our class libraries fail using windows. Fixes
  1265. bug #78759.
  1266. 2006-08-04 Jackson Harper <[email protected]>
  1267. * Form.cs:
  1268. * XplatUIX11.cs: Move the toolwindow window manager creation into
  1269. the X11 driver, this way on win32 we can let windows create/handle
  1270. the toolwindows.
  1271. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  1272. * PrintDialog.cs: Remove some redundant checks, add some others,
  1273. clean some code, and move the focus to the text boxes when the
  1274. values are incorrect.
  1275. 2006-08-04 Alexander Olk <[email protected]>
  1276. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  1277. 2006-08-03 Alexander Olk <[email protected]>
  1278. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  1279. handled correctly. Fixes bug #79001.
  1280. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  1281. * PrintDialog.cs: The "Copies" numeric up down must have
  1282. set the Minimum property to 1; only if the value is bigger
  1283. than 1, activate "Collate" check box. This is the behaviour of .Net.
  1284. Also modify the Document elements only if it is not null.
  1285. 2006-08-03 Jackson Harper <[email protected]>
  1286. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  1287. length. (We have a larger array then actual node count).
  1288. 2006-08-03 Jackson Harper <[email protected]>
  1289. * ComboBox.cs: Don't show selection by default.
  1290. - The SelectAll isn't needed here, since the focus code should do
  1291. that
  1292. - DDL style lists to manual selection drawing, so when they
  1293. get/lose focus they have to invalidate.
  1294. 2006-08-03 Peter Dennis Bartok <[email protected]>
  1295. * TextBoxBase.cs: Don't always show all selections by default.
  1296. 2006-08-03 Jonathan Pobst <[email protected]>
  1297. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  1298. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  1299. Fixed various typos.
  1300. 2006-08-03 Alexander Olk <[email protected]>
  1301. * Control.cs: Removing the controls in a ControlCollection with
  1302. Clear now hides the controls as expected. Fixes bug #78804.
  1303. 2006-08-03 Jackson Harper <[email protected]>
  1304. * Control.cs: Revert previous focus patch, it breaks reflector.
  1305. 2006-08-03 Jackson Harper <[email protected]>
  1306. * ComboBox.cs: Cleanup selection and focus with the combobox.
  1307. This also eliminates some duplicated keyboard code, since now
  1308. everything is handled by the main class.
  1309. - Make list selection work on mouse up instead of down, to match
  1310. MS.
  1311. 2006-08-02 Jackson Harper <[email protected]>
  1312. * Control.cs: Setting focus needs to go through the whole
  1313. selection mechanism.
  1314. 2006-08-02 Chris Toshok <[email protected]>
  1315. * PrintPreviewDialog.cs: change MinimumSize to use
  1316. base.MinimumSize so it works.
  1317. 2006-08-02 Peter Dennis Bartok <[email protected]>
  1318. * TextControl.cs:
  1319. - UpdateCaret: Added sanity check in case caret isn't defined yet
  1320. - Line.Delete: Now updating selection and caret markers if we're
  1321. transfering a node (Properly fixes #78323)
  1322. - SetSelectionEnd: Added sanity check
  1323. * TextBoxBase.cs: Removed broken attempt to fix #78323
  1324. 2006-08-01 Chris Toshok <[email protected]>
  1325. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  1326. Close() call is handled in Form, not here.
  1327. 2006-08-01 Chris Toshok <[email protected]>
  1328. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  1329. layout/rendering.
  1330. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  1331. for sizes < 100% zoom. The code now aggressively attempts to keep
  1332. from calling document.Print (), and tries not to use the scaling
  1333. g.DrawImage whenever possible (it still does if you scale to >
  1334. 100%, since usually that involves huge images).
  1335. * PrintPreviewControl.cs: hook up the close button.
  1336. 2006-08-01 Jonathan Pobst <[email protected]>
  1337. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  1338. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  1339. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  1340. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  1341. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  1342. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  1343. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  1344. Removed [Serializable] for 2.0 Event Handlers.
  1345. 2006-07-31 Jackson Harper <[email protected]>
  1346. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  1347. * TextControl.cs: Uncomment out the body of this method.
  1348. 2006-07-31 Alexander Olk <[email protected]>
  1349. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  1350. standard cursors.
  1351. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1352. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  1353. that embed TextBox and need selections visible even if textbox is not
  1354. focused to enforce that behaviour.
  1355. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  1356. selection drawing
  1357. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1358. * TextControl.cs:
  1359. - Added new SetSelectionStart/SetSelectionEnd overloads
  1360. - Fixed viewport width assignment to be accurate
  1361. - Adjusted alignment line shift calculations to allow cursor on right
  1362. aligned lines to be always visible at the right border (like MS)
  1363. * TextBoxBase.cs:
  1364. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  1365. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  1366. - CalculateScrollBars: Use ViewPort size instead of window size, to
  1367. properly consider space occupied by the border and scrollbars
  1368. (Fixes #78661)
  1369. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  1370. calculations; no longer leaves artifacts
  1371. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  1372. calculation bugs (Still missing right/center align calculations)
  1373. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1374. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  1375. use of both scroll rect and clip rect, as they do the same.
  1376. 2006-07-31 Peter Dennis Bartok <[email protected]>
  1377. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  1378. in the event handler (fixes #78912)
  1379. 2006-07-31 Chris Toshok <[email protected]>
  1380. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  1381. grid.ListManager.Count, since grid.ListManager might be null.
  1382. This of course begs the question "why are we drawing rows for a
  1383. grid with no list manager (and therefor no rows)?" Fixes the
  1384. crash in bug #78929.
  1385. 2006-07-31 Chris Toshok <[email protected]>
  1386. * RelatedPropertyManager.cs: Don't always chain up to the parent
  1387. ctor. instead, call SetDataSource if the parent's position is !=
  1388. -1. Fixes the crash in #78822.
  1389. 2006-07-31 Chris Toshok <[email protected]>
  1390. * DataGrid.cs (get_ListManager): use field instead of property
  1391. accessors for datasource and datamember.
  1392. (RowsCount): make internal again.
  1393. (OnMouseDown): end edits before resizing columns/rows.
  1394. (OnMouseUp): restart edits after resizing columns/rows.
  1395. 2006-07-30 Peter Dennis Bartok <[email protected]>
  1396. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  1397. This fixes the situation where the last set cursor is displayed
  1398. whenever the mouse is over scrollbars.
  1399. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  1400. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  1401. Document properties, as well as initial values.
  1402. 2006-07-29 Peter Dennis Bartok <[email protected]>
  1403. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  1404. and ClientEdge results in a 3-pixel border, which is
  1405. wrong.
  1406. 2006-07-28 Jackson Harper <[email protected]>
  1407. * TreeNodeCollection.cs: Fix the clear method.
  1408. - Fix the Shrink also
  1409. 2006-07-27 Jackson Harper <[email protected]>
  1410. * TreeView.cs: Make sure the visible order is computed when we
  1411. attempt to size the scrollbars (for trees that mess with the
  1412. scrolling when they shouldn't.
  1413. - Make sure to give the scrollbars valid values.
  1414. 2006-07-26 Peter Dennis Bartok <[email protected]>
  1415. * XplatUIX11.cs: Move motion compression code to where it
  1416. has less performance impact
  1417. 2006-07-26 Jackson Harper <[email protected]>
  1418. * UpDownBase.cs: When the control is selected make the child
  1419. controls non selectable, so that a click on them won't do a
  1420. focus/unfocus cycle.
  1421. - Don't give focus to the text box when the spinner is selected.
  1422. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  1423. 2006-07-26 Chris Toshok <[email protected]>
  1424. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  1425. satisfied with this solution. If the bitmaps are small, we should
  1426. just cache them in the PrintPreviewDialog and draw them here.
  1427. Also, the layout is broken for the 2-up and 3-up cases.
  1428. * Theme.cs: add PrintPReviewControlPaint.
  1429. * PrintPreviewDialog.cs: first pass implementation.
  1430. * PrintPreviewControl.cs: first pass implementation. No
  1431. scrollbars yet.
  1432. * PrintDialog.cs: only validate fields if that particular portion
  1433. of the UI is enabled. Also, set the document's controller to a
  1434. PrintControllerWithStatusDialog wrapping the document's print
  1435. controller.
  1436. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  1437. bring up a SaveFileDialog (i hope we don't want to match the
  1438. behavior of the crappy windows file entry) and set the
  1439. PrinterSettings.PrintFileName accordingly.
  1440. 2006-07-26 Jackson Harper <[email protected]>
  1441. * ContainerControl.cs: Add a field that disables auto selecting
  1442. the next control in a container when the container is activated.
  1443. * UpDownBase.cs: Don't select the text box when the up down is
  1444. selected.
  1445. 2006-07-26 Peter Dennis Bartok <[email protected]>
  1446. * XEventQueue.cs: Added methods for peeking (used for compression
  1447. of successive events)
  1448. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  1449. mouse move events (fixes #78732)
  1450. 2006-07-25 Jackson Harper <[email protected]>
  1451. * UpDownBase.cs: Use an internal class for the textbox so that we
  1452. can control focus. the updown control should always have focus,
  1453. if either the text area or the buttons are clicked.
  1454. - Send the key messages to the textbox, since it never actually
  1455. has focus
  1456. - Activate and decativate the textbox caret.
  1457. 2006-07-24 Jackson Harper <[email protected]>
  1458. * Control.cs: Use the directed select when selecting a control,
  1459. this way the container controls override will get called and the
  1460. whole ActiveControl chain will get triggered. TODO: probably need
  1461. to make sure this gets done everywhere instead of the old
  1462. Select(Control).
  1463. * ContainerControl.cs: Implement the directed Select method to
  1464. find and activate the correct child control.
  1465. 2006-07-22 Mike Kestner <[email protected]>
  1466. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  1467. menu handling code so that clicks without a grab work too.
  1468. [Fixes #78914]
  1469. 2006-07-22 Alexander Olk <[email protected]>
  1470. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  1471. Added some small optimizations.
  1472. 2006-07-21 Matt Hargett <[email protected]>
  1473. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  1474. 2006-07-21 Peter Dennis Bartok <[email protected]>
  1475. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  1476. tests pass and match MS in some strange border cases.
  1477. 2006-07-21 Chris Toshok <[email protected]>
  1478. * ThemeWin32Classic.cs: handle drawing of the relation links and
  1479. parent row buttons.
  1480. * Theme.cs: change args to DataGridPaintParentRow.
  1481. * DataGrid.cs: Don't use controls for the relation links and
  1482. parent buttons, so we have to handle all their interactions in
  1483. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  1484. when we're navigating through child tables, so we can reinstate
  1485. selection, expanded state, current cell, etc.
  1486. 2006-07-20 Chris Toshok <[email protected]>
  1487. * ToolBar.cs: When we redraw a button, for whatever reason,
  1488. there's no reason to redraw the entire toolbar. Also, don't call
  1489. Control.Refresh from within Redraw, as it's much heavier than
  1490. Invalidate (which is really what we want).
  1491. 2006-07-20 Chris Toshok <[email protected]>
  1492. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  1493. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  1494. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  1495. traces from within a debug IBindingList datasource
  1496. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  1497. to work in a similar fashion.
  1498. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  1499. * ListBox.cs: Don't call Sort () when setting
  1500. the Sorted property to false (avoid an unnecessary sort).
  1501. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  1502. * ListControl.cs: DataSource should throw an ArgumentException
  1503. instead of a normal exception when the argument is not of the
  1504. correct type.
  1505. 2006-07-20 Mike Kestner <[email protected]>
  1506. * Control.cs: add InternalPreProcessMessage to allow us to steal
  1507. key events before MWF gets its paws on them. Adapted from a
  1508. suggestion by eno.
  1509. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  1510. up/down/left/right navigation. Override the new internal control
  1511. method to steal the events since they never make it to WndProc.
  1512. * ToolBarButton.cs: don't worry about pushed when setting hilight
  1513. since the drawing code prefers pushed to hilight. Invalidate on
  1514. Hilight changes. Fixes #78547 and #78525.
  1515. 2006-07-20 Peter Dennis Bartok <[email protected]>
  1516. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  1517. the canvas size. Fixes #78868
  1518. 2006-07-20 Peter Dennis Bartok <[email protected]>
  1519. * Splitter.cs: Track requested split position until first layout
  1520. is performed. Fixes #78871
  1521. 2006-07-20 Peter Dennis Bartok <[email protected]>
  1522. * Application.cs: Removed code that forces 1.x for the version
  1523. number if the version started with 0. Not sure why that code was
  1524. there and I couldn't find any bugs that indicated we needed it.
  1525. Fixes #78869
  1526. 2006-07-20 Alexander Olk <[email protected]>
  1527. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  1528. ResetDefaults(), just write some output to the console until it's
  1529. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  1530. 2006-07-19 Jonathan Chambers <[email protected]>
  1531. * PropertyGridView.cs: set StartPosition of drop down forms
  1532. so they appear in correct initial spot. Fixes #78190.
  1533. 2006-07-19 Mike Kestner <[email protected]>
  1534. * ThemeWin32Classic.cs: use parent background color when drawing
  1535. flat toolbars. Restructure the conditionals to make sure non-flat
  1536. non-Divider toolbars are filled too. Fixes #78837.
  1537. 2006-07-19 Mike Kestner <[email protected]>
  1538. * ListBox.cs: Sort on collection changes even if the handle
  1539. isn't created yet. Fixes #78813.
  1540. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  1541. * ListControl.cs: DisplayMember should never be null,
  1542. and now we assign String.Empty when null is passed to it (this
  1543. is the .Net way).
  1544. 2006-07-17 Mike Kestner <[email protected]>
  1545. * ListViewItem.cs: restructure Font and subitem Font handling
  1546. to hold a specific font and refer back to owner on null.
  1547. Fixes #78761.
  1548. 2006-07-17 Mike Kestner <[email protected]>
  1549. * ToolBar.cs: bandaid for side-effect of previous patch which was
  1550. discarding explicit heights for non-AutoSize toolbars. Need to
  1551. extend my format tester to deal with AutoSize=false. Fixes #78864.
  1552. 2006-07-15 Jackson Harper <[email protected]>
  1553. * LabelEditTextBox.cs:
  1554. * TreeView.cs: Use a new LabelEdit class for node editing, this
  1555. class automatically 'closes' itself when it gets the enter key or
  1556. loses focus.
  1557. - Use the client rectangle when setting the trees scrollbars, so
  1558. border style is taken into account.
  1559. 2006-07-14 Jackson Harper <[email protected]>
  1560. * TreeNode.cs:
  1561. * TreeView.cs: Make the editing work similar to MSs, firing the
  1562. events correctly and ending edits correctly.
  1563. 2006-07-14 Mike Kestner <[email protected]>
  1564. * ToolBarButton.cs:
  1565. * ToolBar.cs: layout restructuring and redraw enhancements to support
  1566. formatting changes gracefully, like setting TextAlign, ImageList,
  1567. ButtonSize, and Appearance. Handles explicit button sizing quirks
  1568. of the MS controls. Things like flat toolbars ignoring button size
  1569. but becoming constant sized at the largest button's size. Normal
  1570. toolbars with an image set cannot be shrunk smaller than the image,
  1571. but text can be clipped/ignored.
  1572. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  1573. is zero. Seems like DrawString should be smart enough to not put
  1574. anything on screen though. Also trim labels and ellipsize at the char
  1575. boundary, not word.
  1576. Fixes #78711 and #78483.
  1577. 2006-07-14 Alexander Olk <[email protected]>
  1578. * FolderBrowserDialog.cs: Disable "New Folder" button and
  1579. "New Folder" contextmenu menuitem if a folder like "My Computer"
  1580. is selected.
  1581. 2006-07-14 Alexander Olk <[email protected]>
  1582. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  1583. * FolderBrowserDialog.cs:
  1584. - Use MWFConfig to store and read size and position settings
  1585. - Added code to create a new folder (button or context menu).
  1586. Use TreeView labeledit to change the name of the new folder.
  1587. 2006-07-14 Jackson Harper <[email protected]>
  1588. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  1589. when the tree is scrolled we end editing.
  1590. 2006-07-14 Alexander Olk <[email protected]>
  1591. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  1592. Down arrows
  1593. 2006-07-14 Jonathan Pobst <[email protected]>
  1594. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  1595. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  1596. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  1597. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  1598. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  1599. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  1600. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  1601. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  1602. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  1603. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  1604. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  1605. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  1606. ListViewItemSelectionChangedEventHandler.cs,
  1607. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  1608. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  1609. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  1610. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  1611. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  1612. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  1613. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  1614. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  1615. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  1616. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  1617. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  1618. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  1619. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  1620. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  1621. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  1622. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  1623. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  1624. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  1625. WebBrowserNavigatingEventHandler.cs,
  1626. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  1627. 2006-07-14 Jonathan Pobst <[email protected]>
  1628. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  1629. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  1630. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  1631. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  1632. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  1633. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  1634. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  1635. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  1636. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  1637. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  1638. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  1639. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  1640. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  1641. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  1642. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  1643. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  1644. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  1645. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  1646. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  1647. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  1648. ListViewItemStates.cs, MaskFormat.cs: Added
  1649. 2006-07-13 Jonathan Chambers <[email protected]>
  1650. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  1651. Patch from eno for bug 78558.
  1652. 2006-07-13 Jackson Harper <[email protected]>
  1653. * TreeView.cs: When an edit is finished make sure that the
  1654. selected node is visible.
  1655. - When setting the top/bottom use the scrollbars is_visible, so
  1656. everything will be set correctly even if the tree isn't visible
  1657. yet.
  1658. 2006-07-13 Jackson Harper <[email protected]>
  1659. * ComboBox.cs: Revert the item->index part of my previous patch.
  1660. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  1661. the edit box has lost focus (duh).
  1662. - Just make the edit box not visible when we get return, that will
  1663. take the focus, which will call EndEdit
  1664. * TreeNode.cs When we start editing, notify the treeview.
  1665. 2006-07-12 Jackson Harper <[email protected]>
  1666. * ComboBox.cs: Clear out old items before setting the item list.
  1667. This prevents databound controls from having their items added
  1668. twice.
  1669. - Switch the combobox to use indices whereever possible instead of
  1670. using Item's. This allows usto navigate through lists that have
  1671. more then one item with the same string value (ie a, b, b, a).
  1672. - Scroll the listboxes scrollbar when a non visible item is
  1673. highlighted
  1674. - Allow keypress to cycle through all the possible values. For
  1675. example if you have b1, b2, b3 and hold down the B key all the
  1676. values will be cycled through.
  1677. 2006-07-12 Jackson Harper <[email protected]>
  1678. * TextBoxBase.cs:
  1679. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  1680. this using the internal methods.
  1681. * Control.cs: Add OnGotFocusInternal. A new method that allows
  1682. controls to "override" OnGotFocus and change focus behavior if
  1683. needed.
  1684. - Same thing for LostFocus
  1685. * ComboBox.cs: Pass off focus to the text control properly.
  1686. 2006-07-12 Alexander Olk <[email protected]>
  1687. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  1688. * FolderBrowserDialog.cs: Almost a complete rewrite.
  1689. - Better support for Environment.Specialfolders
  1690. - Added support for MWFVFS
  1691. - Made setting SelectedPath work
  1692. 2006-07-12 Jackson Harper <[email protected]>
  1693. * Control.cs: Optimze getting all the controls.
  1694. 2006-07-11 Jackson Harper <[email protected]>
  1695. * ContainerControl.cs: Override SETFOCUS in the container control,
  1696. so that it is not selected on mouse click.
  1697. 2006-07-11 Peter Dennis Bartok <[email protected]>
  1698. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  1699. Hopefully we will have a better way once all of focus is complete.
  1700. 2006-07-11 Peter Dennis Bartok <[email protected]>
  1701. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  1702. a compile error with csc.
  1703. 2006-07-11 Jackson Harper <[email protected]>
  1704. * Control.cs: When hiding a control only select the next control
  1705. if the current control was focused.
  1706. - Don't handle enter/leave when setting/killing focus, this is
  1707. done by the container control.
  1708. - Remove is_selected, it's not needed anymore.
  1709. - Add utility methods for selecting a child control, and for
  1710. firing the Enter/Leave events.
  1711. * ContainerControl.cs: When a control is activated fire the
  1712. enter/leave events.
  1713. - Don't wrap when processing the tab key, so that focus can be
  1714. moved outside of the container.
  1715. - Use the correct active control
  1716. 2006-07-11 Jackson Harper <[email protected]>
  1717. * ComboBox.cs: Remove some debug code that was blinding me.
  1718. * UpDownBase.cs: These controls actually aren't implicit, they are
  1719. visible to the user.
  1720. 2006-07-10 Chris Toshok <[email protected]>
  1721. * DataGrid.cs: move back to the is_adding boolean field. god i
  1722. hate this is_editing/is_adding/is_changing stuff.
  1723. 2006-07-10 Chris Toshok <[email protected]>
  1724. * DataGridTableStyle.cs: just check if the property type is bool.
  1725. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  1726. Don't use CanRenderType.
  1727. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  1728. if our text == NullText. Remove CanRenderType.
  1729. * DataGridBoolColumn.cs: nuke CanRenderType.
  1730. * DataGrid.cs: reenable some code to end the current edit inside
  1731. of set_CurrentCell. This fixes the other 1.1.16 regression.
  1732. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  1733. Also, remove the visible_row_count arg from CalcRowHeaders, since
  1734. we don't need to worry about the actual height of the area.
  1735. 2006-07-10 Chris Toshok <[email protected]>
  1736. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  1737. mode, just return.
  1738. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  1739. the real sense of the IsInEditOrNavigateMode property (true =
  1740. navigate, false = edit). Also, update OnKeyPress to reflect this.
  1741. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  1742. column style exists, we still need to set its property descriptor
  1743. to match up with our list manager.
  1744. 2006-07-10 Chris Toshok <[email protected]>
  1745. * ThemeWin32Classic.cs: implement the new row/header painting
  1746. approach. The parent row painting will likely go away and
  1747. replaced with label controls, but the rest seems to work ok (and
  1748. efficiently).
  1749. * Theme.cs: change the way we draw datagrid rows. we don't draw
  1750. the row headers as a block now. Instead we draw them in the
  1751. normal draw-row loop. Add some calls for drawing parent rows and
  1752. relation rows.
  1753. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  1754. a default table style. Set the defaults from ThemeEngine.Current,
  1755. not SystemColors. Fix lots of misc issues with property setters.
  1756. * DataGrid.cs: move loads of style information out of this class
  1757. as it's being duplicated with DataGridTableStyle. keep track of a
  1758. special DataGridTableStyle for the properties we used to mirror
  1759. here. Switch all the style properties to access this table style
  1760. instead of instance fields of this class. Also add a internal
  1761. class to represent parent rows (more needs to be stored here, like
  1762. the selection state from the parent table, as well as the
  1763. expansion state.) Also, for datasources with relations, do the
  1764. right thing for collapse/expand, and add support for the
  1765. navigation/parent row buttons.
  1766. Lastly, fix the crash in the 1.1.16 build.
  1767. * GridTableStylesCollection.cs: make the explicit interface
  1768. implementations call the class's methods as opposed to duplicating
  1769. them.
  1770. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  1771. 0 so the text doesn't jump around when we move the cursor.
  1772. 2006-07-10 Jackson Harper <[email protected]>
  1773. * TextBoxBase.cs:
  1774. * ListBox.cs: Match MS's ToString (this makes debugging focus
  1775. stuff infinitely easier).
  1776. 2006-07-10 Jackson Harper <[email protected]>
  1777. * Control.cs (SelectNextControl): When checking the control's
  1778. parent use this instead of ctrl.parent so that null can be passed
  1779. to SelectNextControl. (I have unit tests for this).
  1780. - Remove unused var.
  1781. 2006-07-10 Chris Toshok <[email protected]>
  1782. * CurrencyManager.cs: correct one regression, the removal of the
  1783. finalType field. Also, add a MonoTODO on CanAddRows, implement
  1784. Refresh() correctly, and fix some event emission in
  1785. ListChangedHandler.
  1786. 2006-07-07 Alexander Olk <[email protected]>
  1787. * FileDialog.cs: Don't use brackets for new folders if they exist
  1788. under *nix. Instead use -(number of existing folders +1).
  1789. 2006-07-07 Alexander Olk <[email protected]>
  1790. * FileDialog.cs:
  1791. - Fixed really nasty bug #78771
  1792. - Don't block the whole GUI when reading directories with a lot of
  1793. entries. Use an other thread instead and call BeginInvoke to
  1794. update the ListView in MWFFileView
  1795. 2006-07-07 Chris Toshok <[email protected]>
  1796. * Control.cs (Dispose): release any Capture when disposing.
  1797. 2006-07-07 Chris Toshok <[email protected]>
  1798. * LinkLabel.cs (Select): if we chain up to the parent, set
  1799. focused_index to -1 so we'll search for the first available link
  1800. the next time the user tabs into us. Also, if the direction is
  1801. backward and focused_index == -1, start the search from the last
  1802. element.
  1803. 2006-07-07 Chris Toshok <[email protected]>
  1804. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  1805. is beyond the end of the text, don't do anything.
  1806. (CreateLinkPieces): set our ControlStyles.Selectable based on
  1807. whether or not we have any links.
  1808. (Link.Invalidate): use a loop instead of foreach.
  1809. (Link.set_Start): null out owner.sorted_links so it'll be
  1810. recreated by CreateLinkPieces.
  1811. 2006-07-06 Chris Toshok <[email protected]>
  1812. * LinkLabel.cs: revert the SetStyle change.
  1813. 2006-07-06 Chris Toshok <[email protected]>
  1814. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  1815. (OnEnableChanged): s/Refresh/Invalidate
  1816. (OnGotFocus): if we have a focused index already, refocus it (so
  1817. if we mouse out/in to the window it'll focus the right link).
  1818. (OnKeyDown): move the tab handling out of here.
  1819. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  1820. when we lose focus.
  1821. (OnMouseDown): don't Capture here - Control handles it. Also,
  1822. focus the active link.
  1823. (OnMouseUp): don't deal with Capture.
  1824. (OnPaintBackgroundInternal): remove.
  1825. (OnTextAlignChanged): CreateLinkPieces before calling the
  1826. superclass's method.
  1827. (OnTextChanged): call CreateLinkPieces before calling superclass's
  1828. method.
  1829. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  1830. move around.
  1831. (Select): implement this, moving the selection between different
  1832. links, and call parent.SelectNextControl if we don't have another
  1833. link to focus in the given direction.
  1834. (CreateLinkPieces): call Invalidate instead of Refresh.
  1835. 2006-07-06 Chris Toshok <[email protected]>
  1836. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  1837. new LinkLabel internals.
  1838. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  1839. over pieces looking for active/focused/etc links. also, deal with
  1840. runs of text (and links) with embedded \n's in them, and use
  1841. MeasureCharacterRanges instead of MeasureString to figure out the
  1842. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  1843. two-step.
  1844. 2006-07-04 Jackson Harper <[email protected]>
  1845. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  1846. XKB or key auto repeat, do it manually. Without key auto repeat,
  1847. when a key is held down we get key press, key release, key press,
  1848. key release, ... with auto repeat we get key press, key press, key
  1849. press ..., and then a release when the key is actually released.
  1850. 2006-07-03 Jackson Harper <[email protected]>
  1851. * TabControl.cs:
  1852. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  1853. rules, they are always control color regardless of the background
  1854. color.
  1855. 2006-07-02 Alexander Olk <[email protected]>
  1856. * FileDialog.cs: Added internal class MWFConfig.
  1857. Removed Registry support and replaced it with support for the new
  1858. MWFConfig class. See MWFConfig comments for more information.
  1859. 2006-06-30 Alexander Olk <[email protected]>
  1860. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  1861. rectangle. Added some patches from eno from bug #78490 and fixed
  1862. the arrow position for small up and down CPDrawScrollButtons.
  1863. 2006-06-30 Jackson Harper <[email protected]>
  1864. * InternalWindowManager.cs: Remove some debug code.
  1865. * Form.cs: When an MdiParent is set to null, the window is
  1866. "detatched" and becomes a normal window.
  1867. * MdiClient.cs: Don't bring the new child form to the front until
  1868. it is activated (setting it as active does this), this makes the
  1869. previously active forms titlebar get redrawn as inactive.
  1870. 2006-06-29 Peter Dennis Bartok <[email protected]>
  1871. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  1872. with later controls
  1873. 2006-06-29 Mike Kestner <[email protected]>
  1874. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  1875. arrow in keynav state. Fixes #78682.
  1876. 2006-06-28 Atsushi Enomoto <[email protected]>
  1877. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  1878. order (fixes #78393)
  1879. 2006-06-28 Jonathan Pobst <[email protected]>
  1880. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  1881. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  1882. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  1883. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  1884. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  1885. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  1886. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  1887. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  1888. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  1889. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  1890. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  1891. values)
  1892. 2006-06-28 Mike Kestner <[email protected]>
  1893. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  1894. 2006-06-28 Atsushi Enomoto <[email protected]>
  1895. * PropertyGrid.cs,
  1896. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  1897. item lines from other area (It also makes BackColor consistent and
  1898. compatible with .NET). Fixed bug #78564.
  1899. 2006-06-28 Jonathan Chambers <[email protected]>
  1900. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  1901. Patch from Eno for #78555.
  1902. 2006-06-27 Chris Toshok <[email protected]>
  1903. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  1904. * DataGridColumnStyle.cs: same.
  1905. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  1906. * DataGridDrawingLogic.cs: nuke.
  1907. 2006-06-27 Chris Toshok <[email protected]>
  1908. * DataGridTableStyle.cs: clean up the constructors, and build the
  1909. list of child relations for this table. I have no idea if this is
  1910. where we should be doing it (it probably isn't), but since we're
  1911. already iterating over the properties..
  1912. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  1913. struct and array for keeping track of row information, similar to
  1914. what's shown in a hack on
  1915. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  1916. * Theme.cs: be consistent about the naming of DataGrid methods,
  1917. prefering ColumnWidths and RowHeights over columnsWidths and
  1918. RowsHeights.
  1919. * ThemeWin32Classic.cs: same, and also add support for variable
  1920. sized rows (and the +/- expansion icons for related rows).
  1921. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1922. * TextBoxBase.cs: Applied Eno's patch from #78660
  1923. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1924. * Form.cs (ScaleCore): We don't want to scale our form if it's
  1925. state is minimized or maximized, but we still need to scale our
  1926. child windows. Also, added try/finally block to ensure layout
  1927. gets reset (Fixes #78697)
  1928. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1929. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  1930. 2006-06-27 Peter Dennis Bartok <[email protected]>
  1931. * Form.cs: Fixed c+p error and added check to resize form if minimum
  1932. size is bigger than current size (Fixes #78709)
  1933. 2006-06-26 Peter Dennis Bartok <[email protected]>
  1934. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  1935. 2006-06-26 Mike Kestner <[email protected]>
  1936. * ComboBox.cs: only do Keypress handling in the combo when there
  1937. are items in the collection. Fixes #78710.
  1938. 2006-06-26 Chris Toshok <[email protected]>
  1939. * Binding.cs: make this work bi-directionally. also, clear up
  1940. other mixups between Push/Pull Data (e.g. we're supposed to pull
  1941. data when validating).
  1942. * BindingManagerBase.cs: trim some fully qualified collection
  1943. types.
  1944. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  1945. 2006-06-23 Chris Toshok <[email protected]>
  1946. * PropertyManager.cs: It appears (according to the unit tests)
  1947. that PropertyManager doesn't use
  1948. PropertyDescriptor.AddValueChanged to track propery value changes
  1949. in its datasource, but uses the same scheme as Binding, where it
  1950. looks for a <Property>Changed event and binds to it.
  1951. Also, according to the docs, IsSuspended always returns false for
  1952. a property manager with a non-null datasource.
  1953. 2006-06-22 Peter Dennis Bartok <[email protected]>
  1954. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  1955. need to update the actual DialogResult. (Fixes #78613)
  1956. 2006-06-22 Peter Dennis Bartok <[email protected]>
  1957. * Form.cs (ShowDialog): Release any captures before running the
  1958. new message pump (fixes #78680)
  1959. 2006-06-22 Mike Kestner <[email protected]>
  1960. * ListView.cs: Layout column widths properly in details mode even
  1961. if HeaderStyle.None is set. Fixes #78691.
  1962. 2006-06-21 Peter Dennis Bartok <[email protected]>
  1963. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  1964. 2006-06-21 Peter Dennis Bartok <[email protected]>
  1965. * Control.cs (ContainsFocus): Using new driver method to get focused
  1966. window, instead of trying to use internal tracking var, which can
  1967. recursion issues (Fixes #78685)
  1968. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  1969. XplatUIWin32.cs: Added GetFocus method to return focused window
  1970. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  1971. * ColorDialog.cs: when the mouse button is pressed inside the color
  1972. matrix, don't let the cursor move out of it until the button is
  1973. released, which is the behavior on windows. Changed 'colours' by
  1974. 'colors' to use the same word consistently.
  1975. 2006-06-21 Chris Toshok <[email protected]>
  1976. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  1977. child relation and back, using a stack). Also, remove
  1978. GetDataSource and the code that calls it - it's not needed. Also,
  1979. track CurrencyManager.ListName's removal.
  1980. 2006-06-21 Chris Toshok <[email protected]>
  1981. * CurrencyManager.cs: push some of the original type checking from
  1982. BindingContext.CreateBindingManager to here, and remove some of
  1983. the finalType stuff. Need more tests to make sure I've got the
  1984. ListName part right, and we might need more in SetDataSource.
  1985. * PropertyManager.cs: add a ctor that takes just the datasource,
  1986. and no property name. Make SetDataSource work with a null
  1987. property_name, and make Current return the data_source if the
  1988. property descriptor is null. this makes 'string foo = "hi";
  1989. BindingContext[foo].Current' return "hi" as it should.
  1990. * RelatedCurrencyManager.cs: make this code more generic - there's
  1991. no reason the parent manager has to be CurrencyManager, and
  1992. there's no reason to pass the DataRelation. It suffices to use a
  1993. BindingManagerBase and PropetyDescriptor.
  1994. * RelatedPropertyManager.cs: make a similar change here.
  1995. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  1996. flower I knew it could be.
  1997. 2006-06-20 Chris Toshok <[email protected]>
  1998. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  1999. data in the source has changed and we need to update the control,
  2000. so s/PullData/PushData.
  2001. * CurrencyManager.cs: Refresh is meant to update the control from
  2002. data in the datasource. So, s/PullData/PushData.
  2003. * BindingContext.cs: add more ugliness (we weren't handling the
  2004. case where data_source = DataTable and data_member = column_name).
  2005. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  2006. from the perspective of the datasource. PullData pulls from the
  2007. control, PushData pushes to the control.
  2008. 2006-06-20 Chris Toshok <[email protected]>
  2009. * BindingContext.cs: rewrite the CreateBindingManager code to
  2010. handle navigation paths more or less properly. This could
  2011. definitely stand some more work, in particular to push the
  2012. recursion up to the toplevel. But that relies on fixes in other
  2013. places (System.Data comes to mind).
  2014. Also, move to a flat hashtable (and encode the twolevel nature of
  2015. the dictionary into the hash key). This lets us implement the
  2016. IEnumerable.GetEnumerator method.
  2017. * RelatedCurrencyManager.cs: new class. Update our view based on
  2018. our relation and our parent CurrencyManager's position.
  2019. * CurrencyManager.cs: split out some logic from the ctor into
  2020. SetView, so it can be called from the new RelatedCurrencyManager
  2021. subclass.
  2022. * RelatedPropertyManager.cs: new class. Update our datasource
  2023. based on the position of our parent CurrencyManager.
  2024. * PropertyManager.cs: split out some logic from the ctor into
  2025. SetDataSource, so it can be called from the new RelatedDataSource
  2026. subclass. Also, make the Current getter return the value
  2027. of the PropertyDescriptor, not the data_source.
  2028. * Binding.cs: no need to duplicate the string splitting code here.
  2029. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2030. * Control.cs:
  2031. - set_Enabled: OnEnabledChanged is not called if the inherited state
  2032. of the control is not altered, even though we might be changing the
  2033. internal state of the control (#78458)
  2034. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  2035. OnEnabledChanged, to allow easy altering of any child window state
  2036. - OnEnabledChanged: Added code to enable/disable driver window state
  2037. - OnParentEnabledChanged: Instead of firing the event, call
  2038. OnEnabledChanged, which will fire the event and also a) set driver
  2039. window state and pass the enabled state to any grandchildren (#78458)
  2040. 2006-06-19 Jackson Harper <[email protected]>
  2041. * InternalWindowManager.cs: We don't set the cursor explicitly
  2042. thats done via the response to NCHITTESTs.
  2043. - Don't need to adjust for titlebar heights anymore, the
  2044. coordinates are coming in the correct coordinates now (see peters
  2045. last patch).
  2046. 2006-06-19 Peter Dennis Bartok <[email protected]>
  2047. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  2048. being translated relative to whole window, instead of client window.
  2049. That caused broken offsets on mouseclick (and caused gas for our
  2050. InternalWindowManager)
  2051. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2052. * TextControl.cs:
  2053. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  2054. - Undo(): Added replay of cursor move on DeleteChars action; added
  2055. calling Undo() again if a recorded cursor move is invalid (to
  2056. ensure that some action is performed on Undo)
  2057. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  2058. 2006-06-16 Jackson Harper <[email protected]>
  2059. * MdiClient.cs: Instead of just sizing maximized windows when
  2060. there is a resize we also have to adjust the Y of minimized
  2061. windows, so they stay pinned to the bottom of the mdi container.
  2062. - Eliminate separate tracking of the active control, we can just
  2063. get this from the controls collection.
  2064. - Paint the decorations for the newly activated titlebar so we get
  2065. a pretty blue bar.
  2066. * InternalWindowManager.cs:
  2067. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  2068. even if they are a tool window.
  2069. 2006-06-15 Peter Dennis Bartok <[email protected]>
  2070. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  2071. undo buffer, these can happen when text was deleted and the cursor
  2072. was recorded first. Since we will also have a recorded cursor
  2073. after the delete this is not an issue. (Fixes #78651)
  2074. 2006-06-14 Peter Dennis Bartok <[email protected]>
  2075. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  2076. instead properly track control states internally (allows us to
  2077. remove is_selected from Control)
  2078. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  2079. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  2080. whose width is not a multiple of 8.
  2081. 2006-06-13 Jackson Harper <[email protected]>
  2082. * MdiClient.cs: Only maximize the next child if the current one
  2083. is maximized.
  2084. 2006-06-13 Chris Toshok <[email protected]>
  2085. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  2086. modified. Also, guard against grid or grid_drawing being null in
  2087. Invalidate.
  2088. * DataGrid.cs: Reformat tons of getters/setters. In the
  2089. DataMember setter, just call SetNewDataSource instead of
  2090. duplicating some of its functionality. In SetNewDataSource, don't
  2091. check ListManager for null, since the property getter creates the
  2092. object if needed.
  2093. * DataGridTableStyle.cs: don't set TableStyle or call
  2094. SetDataGridInternal on the column here, it's done in
  2095. GridColumnStylesCollection.Add.
  2096. * GridColumnStylesCollection.cs: fix all the explicit interface
  2097. implementations to just call our methods. Nuke AddInternal() and
  2098. move the body of it to Add(). Also, add a call to
  2099. column.SetDataGridInternal to Add().
  2100. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  2101. base()+duplicate code. Also, use the Format property instead of
  2102. format to generate an Invalidate ala MS. Lastly, create the
  2103. textbox here, unconditionally.
  2104. (set_Format): call Invalidate.
  2105. (get_TextBox): no need to call EnsureTextBox.
  2106. (Commit): remove the message box.
  2107. (Edit) remove the call to EnsureTextBox.
  2108. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  2109. (EnterNullValue): no need to check textbox for null.
  2110. (HideEditBox): no need to check textbox for null.
  2111. (SetDataGridInColumn): add the textbox to the grid's controls.
  2112. (EnsureTextBox): nuke.
  2113. 2006-06-13 Jackson Harper <[email protected]>
  2114. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  2115. and redraw the buttons when needed. Unhook when the window is
  2116. unmaximized.
  2117. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  2118. needs this so that it can redraw its buttons when the menu is
  2119. repainted.
  2120. * InternalWindowManager.cs:
  2121. * Form.cs: The method order has changed for DrawMaximizedButtons,
  2122. so that it can be a PaintEventHandler.
  2123. 2006-06-13 Jackson Harper <[email protected]>
  2124. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  2125. window is activated and maximized, even if it wasn't before.
  2126. - When a new window is activated repaint the decorations of the
  2127. old one, so that it no longer has the Active "look" (the blue
  2128. titlebar).
  2129. * InternalWindowManager.cs: Open up CreateButtons to base classes
  2130. so they can recreate the buttons on state changes.
  2131. - If a window is maximized give it all three buttons
  2132. * MdiWindowManager.cs: Create the titlebar buttons when the state
  2133. is changed, this is needed because a toolwindow will not have all
  2134. three buttons until it is maximized.
  2135. 2006-06-13 Atsushi Enomoto <[email protected]>
  2136. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  2137. Fixed bug #78609.
  2138. 2006-06-12 Jackson Harper <[email protected]>
  2139. * KeysConverter.cs: Make sure we handle the Ctrl special case
  2140. if its the only key.
  2141. 2006-06-12 Jackson Harper <[email protected]>
  2142. * Theme.cs: Add a method to get the size of a managed window
  2143. toolbar button.
  2144. * InternalWindowManager.cs: Remove the ButtonSize property, this
  2145. should be retrieved from the theme.
  2146. * MdiWindowManager.cs: Get the button size from the theme
  2147. * ThemeWin32Classic.cs: Make the method to get the managed window
  2148. titlebar button size public.
  2149. - Handle the different button sizes of maximized toolwindows
  2150. (should match any maximized window).
  2151. - Get the titlebar height from the theme, not the WM (which gets
  2152. it from the theme).
  2153. 2006-06-12 Jackson Harper <[email protected]>
  2154. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  2155. event down to the mdi window manager.
  2156. - Expose some extra stuff to base classes
  2157. - Make sure to end the Capture on an NC Mouse up, so that we can
  2158. get double clicks properly, and the sizing doens't stick.
  2159. - When doing PointToClient contain it in the workable desktop
  2160. area, this prevents windows from changing size when the cursor is
  2161. pulled outside of the working area while sizing.
  2162. * MdiWindowManager.cs: When we get a double click maximize the
  2163. window.
  2164. - Reset the cursor after handling mode changes.
  2165. 2006-06-12 Peter Dennis Bartok <[email protected]>
  2166. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  2167. current desktop, instead of just assuming a 0, 0 origin. This
  2168. is needed for our internal window manager, to know the top
  2169. margin of the desktop
  2170. 2006-06-12 Chris Toshok <[email protected]>
  2171. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  2172. we need this to get rid of the selected background in the bool
  2173. column.
  2174. (CancelEditing): move the ConcedeFocus call to above the Abort
  2175. call. Also, set is_changing to false and invalidate the row
  2176. header if we were changing before.
  2177. (ProcessKeyPreviewInternal): remove, since noone outside this
  2178. class calls it anymore. Roll the code into ProcessKeyPreview.
  2179. (EndEdit): remove the internal version.
  2180. (InvalidateCurrentRowHeader): make private.
  2181. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  2182. Keys.Escape handling (and with it the last call to
  2183. DataGrid.EndEdit from outside the class.)
  2184. 2006-06-12 Chris Toshok <[email protected]>
  2185. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  2186. (OnKeyPress): set isedit to true.
  2187. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  2188. already handled by the grid.
  2189. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  2190. right. ugh.
  2191. (set_DataSource): SetDataSource always returns true, so stop
  2192. putting it in an if statement.
  2193. (EndEdit): get rid of some {}'s
  2194. (ProcessGridKey): return true in case Keys.Escape.
  2195. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  2196. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  2197. PositionChanged, stopped connecting to CurrentChanged.
  2198. (GetDataSource): simplify this a bunch.
  2199. (SetDataSource): change return type from bool to void.
  2200. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  2201. to this, and make sure we don't set ListManager.Position inside
  2202. set_CurrentCell.
  2203. (OnListManagerItemChanged): if we're passed an actual index,
  2204. redraw that row.
  2205. * CurrencyManager.cs (set_Position): don't call PullData here.
  2206. 2006-06-09 Jackson Harper <[email protected]>
  2207. * TreeNode.cs: Recalculate the visible order before doing the
  2208. Expand/Collapse Below calls, because those calls generate an
  2209. expose.
  2210. - Reduce calls to the TreeView property, which is mildly expensive
  2211. by using a local var.
  2212. * Form.cs: Layout the MDI child windows when creating the parent
  2213. form.
  2214. - Don't use the internal constructor anymore
  2215. * MdiClient.cs: use the parent form width/height (if available)
  2216. when laying out the child windows, we do this because the
  2217. mdiclient isn't docked yet when the initial layout is done.
  2218. - Don't need an internal constructor anymore.
  2219. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  2220. * FileDialog.cs: handle access errors when trying to create a folder
  2221. or changing to a directory. No need to initialize out parameters.
  2222. 2006-06-08 Alexander Olk <[email protected]>
  2223. * FileDialog.cs: Append a number when creating a new folder if the
  2224. folder already exists (use parenthesis instead of square brackets)
  2225. 2006-06-08 Alexander Olk <[email protected]>
  2226. * FileDialog.cs:
  2227. - Disabled registry support for windows and added better registry
  2228. error checking for other systems (need to investigate why it
  2229. works perfectly on my system)
  2230. - If a folder already exist show an error MessageBox instead of
  2231. trying to create an indexed name.
  2232. - Fixed a non intentional typo.
  2233. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  2234. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  2235. 2006-06-08 Alexander Olk <[email protected]>
  2236. * FileDialog.cs: When creating a new folder don't crash if the
  2237. folder already exists.
  2238. 2006-06-08 Alexander Olk <[email protected]>
  2239. * FileDialog.cs: Allmost a complete rewrite.
  2240. - added a "virtual" file system that handles the differences
  2241. between unix and windows file systems (especially the directory
  2242. structure). Moved most of the directory and file handling code
  2243. into the vfs.
  2244. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  2245. UnixFileSystem and FSEntry.
  2246. - Recently used folder/directory, size, location and used file names
  2247. (file name ComboBox) are now stored in the registry and get read
  2248. before the dialog shows up (fixes part 6 of bug #78446).
  2249. - Creation of new folders/directories is now possible (context menu
  2250. or ToolBar). Added TextEntryDialog for this that fills in the gap
  2251. until ListView.LabelEdit works.
  2252. - Fixed cursor handling (bug #78527) and focus handling for
  2253. PopupButtonPanel
  2254. - Various "Search in" ComboBox enhancements. The content of the
  2255. dropdown listbox now almost matches ms.
  2256. - Changed the behaviour when the user switches to SpecialFolder
  2257. Recent to show the ListView in View.Details.
  2258. - Beside using the ToolBar to change the View property of the
  2259. file ListView it is now possible to use the context menu too.
  2260. 2006-06-08 Alexander Olk <[email protected]>
  2261. * ComboBox.cs: Don't create a new ObjectCollection when an item
  2262. gets inserted. Just insert the item in the existing object_items
  2263. ArrayList.
  2264. 2006-06-08 Jackson Harper <[email protected]>
  2265. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  2266. that the treeview and root node checks are done also, this fixes a
  2267. regression i caused in the unit tests.
  2268. 2006-06-07 Wade Berrier <[email protected]>
  2269. * RichTextBox.cs: More ISO8859-1 -> unicode
  2270. 2006-06-07 Mike Kestner <[email protected]>
  2271. * ComboBox.cs : use items to hold highlight/selection so that
  2272. collection insertions don't require synchronization.
  2273. 2006-06-07 Jackson Harper <[email protected]>
  2274. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  2275. routine. We now always keep the sized edge at the cursor instead
  2276. of computing movement and adjusting rects. There is one buglet
  2277. with this method though when the cursor is moved over area that
  2278. the window can not expand too (such as the toolbars on the desktop).
  2279. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  2280. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  2281. here. Fixes crash on startup in AlbumSurfer.
  2282. 2006-06-07 Peter Dennis Bartok <[email protected]>
  2283. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  2284. values
  2285. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  2286. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  2287. statement to avoid calling XNextEvent which will block if another thread
  2288. took the event that we were expecting. Fixes bug #78605.
  2289. 2006-06-07 Mike Kestner <[email protected]>
  2290. * ListView.cs : isolated checkbox clicking from the selection logic.
  2291. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  2292. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  2293. * Form.cs: Check that the value passed to Form.DialogResult
  2294. is a valid enum value.
  2295. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  2296. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  2297. Computer'. Clicking it in the network view goes to 'My Computer'.
  2298. Added CIFS filesystem type. Display the mount point of filesystems.
  2299. Avoid duplicate mount points (happens for me with CIFS);
  2300. 2006-06-06 Jackson Harper <[email protected]>
  2301. * InternalWindowManager.cs: Draw the maximized windows buttons
  2302. when resizing.
  2303. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  2304. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  2305. all other dialogs. Fixes bug #78585.
  2306. 2006-06-06 Mike Kestner <[email protected]>
  2307. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  2308. Only invalidate checkbox on checkstate changes to avoid flicker.
  2309. * ListBox.cs : avoid unselect/select when clicking selected item.
  2310. avoid reselection flicker for already multiselected items.
  2311. Fixes #78382.
  2312. 2006-06-06 Jackson Harper <[email protected]>
  2313. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  2314. the parent form so that the menu is removed if needed.
  2315. 2006-06-06 Mike Kestner <[email protected]>
  2316. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  2317. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  2318. 2006-06-06 Mike Kestner <[email protected]>
  2319. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  2320. 2006-06-06 Jackson Harper <[email protected]>
  2321. * Control.cs: Use the property (instead of the field) to get the
  2322. default cursor so it is instantiated correctly.
  2323. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  2324. resizes so we need to manually repaint the window decorations here.
  2325. - Set the titlebar button locations as soon as they are created,
  2326. otherwise they are not set correctly on win32.
  2327. 2006-06-06 Chris Toshok <[email protected]>
  2328. * CurrencyManager.cs (set_Position): call PullData before
  2329. OnCurrentChanged.
  2330. (AddNew): after calling IBindingList.AddNew, update our
  2331. listposition, and call OnCurrentChanged/OnPositionChanged (without
  2332. calling PullData).
  2333. (OnCurrentChanged): remove the call to PullData from here.
  2334. (OnItemChanged): remove the call to PushData from here.
  2335. (OnPositionChanged): change the test from == null to != null to
  2336. match the other methods.
  2337. (ListChangedHandler): the grossest part of the patch. Implement
  2338. this such that it passes the unit tests in CurrencyManagerTest and
  2339. the output more or less matches that of MS's implementation.
  2340. 2006-06-06 Mike Kestner <[email protected]>
  2341. * ListView.cs : only update check state on single click.
  2342. * ThemeWin32Classic.cs : fix focus drawing for details view without
  2343. fullrowselect. Fixes #78454.
  2344. * XplatUIX11.cs : fix for double click emission.
  2345. 2006-06-05 Jonathan Chambers <[email protected]>
  2346. * PropertyGridView.cs : Applied Atsushi's patch to fix
  2347. font dialog bug (#78197).
  2348. 2006-06-05 Jackson Harper <[email protected]>
  2349. * TreeNode.cs: Compute the next node for expanding/collapsing
  2350. correctly. We now factor in nodes without a NextNode
  2351. correctly. (Fixes somes cases in nunit-gui).
  2352. * InternalWindowManager.cs: Set the bounds when updating the
  2353. virtual position of a tool window.
  2354. 2006-06-05 Chris Toshok <[email protected]>
  2355. * DataGrid.cs: rename cached_currencymgr to list_manager.
  2356. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  2357. some.
  2358. (CurrentRow, CurrentColumn): single accessors so we can make the
  2359. cursor movement code a lot easier to understand.
  2360. (CurrentRowIndex): implement this in terms of CurrentRow.
  2361. (BeginEdit): clean this up a bit.
  2362. (CancelEditing): sort out the is_editing/is_changing/is_adding
  2363. stuff a little.
  2364. (EndEdit): minor changes.
  2365. (OnKeyDown): add a comment about a (most likely) unnecessary
  2366. check.
  2367. (OnMouseDown): cancel editing when we click on a row header. And
  2368. use the CurrentRow setter, not CurrentCell.
  2369. (ProcessDialogKey): directly call ProcessGridKey.
  2370. (UpdateSelectionAfterCursorMove): factor out this common block of
  2371. code (it's used everywhere that we move the cursor by updating row
  2372. or column).
  2373. (ProcessGridKey): pretty substantial overhaul. Use the
  2374. CurrentRow/CurrentColumn properties to make the code a lot more
  2375. readable. Only use the CurrentCell property when we have to
  2376. modify both row and column at once. Tab behavior is still broken,
  2377. and Delete is untested.
  2378. (Select): if we have no selected rows, set selection_start to
  2379. @row.
  2380. (EditCurrentCell): rename EditCell this. It was only ever invoked
  2381. with CurrentCell as the arg, so drop the arg and rename it.
  2382. * DataGridColumnStyle.cs: clean up the constructors a little, and
  2383. drop CommonConstructor().
  2384. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  2385. actually get notified when the user hits it.
  2386. (ProcessKeyMessage): *substantially* simplify this method.
  2387. There's no reason (that I can see) for the textbox to be making
  2388. calls into the datagrid at all. Remove all of them but the ones
  2389. for Enter handling. those will take some more work.
  2390. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  2391. calling HideEditBox.
  2392. (HideEditBox): if we have an active textbox, render it invisible
  2393. without causing a re-layout of the datagrid.
  2394. 2006-06-05 Mike Kestner <[email protected]>
  2395. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  2396. collection changes by resetting it to Items[0]. Fixes #78587.
  2397. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  2398. * MessageBox.cs: if the height of the text is larger than the icon_size,
  2399. use that. Fixes bug #78575.
  2400. 2006-06-05 Jackson Harper <[email protected]>
  2401. * TreeView.cs: Fix line drawing when scrolling. To do this each
  2402. node is basically responsible for drawing its entire horizontal
  2403. area. When drawing a node it draws its parent node lines if
  2404. needed.
  2405. - Adjust the clip area to the viewport rectangle
  2406. - Fix Left/Right key handling to match MS. (It expand/collapses
  2407. and moves to parents/first child but does not move selection to
  2408. sibling nodes).
  2409. - Fix SetTop to work with new bound calculation code
  2410. - When scrollbars are no longer needed we need to reset scrolling
  2411. vars and recalculate the visible order so the redraw is correct
  2412. * TreeNode.cs: We can't expand/collapse nodes with no children.
  2413. 2006-06-03 John Luke <[email protected]>
  2414. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  2415. so the colors work without dev packages
  2416. 2006-06-02 Peter Dennis Bartok <[email protected]>
  2417. * Control.cs
  2418. - Select: Implemented to just use activate. Seems to match MS
  2419. behaviour closest. Documented to only do actual control walking
  2420. based on it's parameters if in a container control so I moved
  2421. the code there.
  2422. - Removed selection check logic from our internal Select() method
  2423. * ContainerControl.cs:
  2424. - Select: Moved selection logic from Control here, since MS documents
  2425. that containers obey the bool arguments. No longer calling base
  2426. 2006-06-02 Jackson Harper <[email protected]>
  2427. * TreeView.cs: If the selected node isn't changed when we get
  2428. focus update the previously selected node so that we see the
  2429. selection box.
  2430. 2006-06-02 Mike Kestner <[email protected]>
  2431. * ComboBox.cs: restructure grab and general mouse event handling.
  2432. Make the composite control raise mouse events like it was a single
  2433. control for leaves/enters/motion/up/down events. fix dropdown list
  2434. coordinate mangling and refactor it into the scrollbar subclass to
  2435. reduce code duplication. Fixes #78282 #78361 and #78457.
  2436. 2006-06-02 Mike Kestner <[email protected]>
  2437. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  2438. automatically in the Control.WndProc.
  2439. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  2440. * FileDialog.cs: fix crash when running SharpChess, which sets the
  2441. FilterIndex to 2 with only one Filter.
  2442. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  2443. * ToolBar.cs: add SizeSpecified property.
  2444. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  2445. try to figure out our real size, otherwise fallback to what the
  2446. container says.
  2447. 2006-06-01 Peter Dennis Bartok <[email protected]>
  2448. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  2449. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  2450. up the event
  2451. 2006-06-01 Mike Kestner <[email protected]>
  2452. * ListView.cs: revamp the focus management in ListView. It still
  2453. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  2454. better than not handling focus at all. Will revisit when pdb feels
  2455. the general focus handling is solid. Fixes #78526.
  2456. 2006-06-01 Jackson Harper <[email protected]>
  2457. * TreeView.cs: Set the default border style in the constructor.
  2458. - Move painting to use OnPaintInternal instead of capturing
  2459. WM_PAINT, this is the correct way of doing things
  2460. - UpdateBelow shouldn't invalidate the scrollbar area
  2461. - Cap the top on update below in case the node was above the top
  2462. of the viewport rectangle.
  2463. - ExpandBelow and Collapse below need to obey Begin/End Update.
  2464. * TreeNode.cs: Make is_expanded internal so the treenode
  2465. collection can change it without firing the whole event chain.
  2466. * TreeNodeCollection.cs: When clearing all the child nodes make
  2467. sure to recalc the visible order.
  2468. - Improve algo for remove the top node
  2469. 2006-06-01 Peter Dennis Bartok <[email protected]>
  2470. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  2471. SendMessage directly calling window procedures, which in turn might
  2472. call SetFocus()
  2473. 2006-06-01 Peter Dennis Bartok <[email protected]>
  2474. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  2475. has focus (works around X11 sending a FocusIn after our SetFocus)
  2476. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  2477. 2006-06-01 Alexander Olk <[email protected]>
  2478. * Mime.cs: Fix for the NET_2_0 build.
  2479. NameValueCollection needs StringComparer now.
  2480. 2006-05-31 Chris Toshok <[email protected]>
  2481. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  2482. return (via an out parameter) the starting X of the column.
  2483. (UpdateVisibleColumn): track change to FromPixelToColumn.
  2484. (HitTest): add a ColumnResize case here.
  2485. (DrawResizeLine): new function, probably poorly named.
  2486. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  2487. only need to keep one reference.
  2488. (set_ListManager): same.
  2489. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  2490. Also, add support for HitTestType.ColumnResize.
  2491. (OnMouseMove): add column resize behavior here, and change the
  2492. cursor to the correct one as we move around the datagrid.
  2493. (OnMouseUp): terminate the column resize if we're resizing.
  2494. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  2495. for the current cell.
  2496. (ConnectListManagerEvents): use cached_currencymgr.
  2497. (DisconnectListManagerEvents): fill this in, using
  2498. cached_currencymgr.
  2499. (SetCurrentCell): remove cached_currencymgr_events handling.
  2500. (SetDataMember): only call DisconnectListManagerEvents if
  2501. cached_currencymgr is != null.
  2502. (SetDataSource): same.
  2503. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  2504. cached_currencymgr.
  2505. 2006-05-31 Jackson Harper <[email protected]>
  2506. * BindingManagerBase.cs: Remove somedebug code that creeped into
  2507. SVN.
  2508. * TreeNode.cs: We get the indent level dynamically right now, so
  2509. don't track it as a member.
  2510. * TreeNodeCollection.cs: Make sure all nodes added to the list
  2511. have parents, treeviews/topnodes setup properly.
  2512. - Don't attempt to track indent level.
  2513. 2006-05-30 Jackson Harper <[email protected]>
  2514. * BindingContext.cs: Create the currency manager tables here.
  2515. This allows us to more easily create null tables (when bad data
  2516. members are used), and more easily create related currency
  2517. managers.
  2518. * CurrencyManager.cs: All the table creation stuff is done by the
  2519. binding context now.
  2520. - Current should throw an exception if listposition is -1.
  2521. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  2522. been bound yet.
  2523. 2006-05-30 Mike Kestner <[email protected]>
  2524. * ListView.cs: allow reexpansion of zero-width column headers.
  2525. Fixes #78528.
  2526. 2006-05-28 Chris Toshok <[email protected]>
  2527. * CurrencyManager.cs (get_Current): after the late binding
  2528. listposition = -1 fix, we need to guard against it here and return
  2529. null, otherwise we raise an exception (which is swallowed
  2530. elsewhere, and breaks datagrid databinding.)
  2531. 2006-05-26 Peter Dennis Bartok <[email protected]>
  2532. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  2533. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  2534. 2006-05-26 Jackson Harper <[email protected]>
  2535. * ControlPaint.cs:
  2536. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  2537. values, it's faster and it's all we care about (we don't care if
  2538. the names aren't equal).
  2539. * KeyboardLayouts.cs: Eliminate some dead code.
  2540. - Lazy init things
  2541. * X11Keyboard.cs: Lazy init keyboard detection.
  2542. - Cleanup access modifiers a little.
  2543. 2006-05-26 Peter Dennis Bartok <[email protected]>
  2544. * XplatUIX11.cs: Once again, attempting to get layout just right.
  2545. 2006-05-26 Peter Dennis Bartok <[email protected]>
  2546. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  2547. the sizes of each link section, that will result in sizes that
  2548. match DrawString's layout (Fixes #78391)
  2549. 2006-05-27 Alexander Olk <[email protected]>
  2550. * FileDialog.cs: If AddExtension property is true autocomplete the
  2551. extensions in SaveFileDialog correctly. Fixes bug #78453.
  2552. Set MyNetwork and MyComputer to "C:\" for windows. This should
  2553. fix part 8 of bug #78446 for now.
  2554. 2006-05-26 Chris Toshok <[email protected]>
  2555. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  2556. invalidate the current row header if we need to, but presumably
  2557. we'll invalidate the row corrsponding to the bounds or
  2558. editingControl.
  2559. (GridHScrolled): switch back to this method, as it's part of the
  2560. public api. *sigh*.
  2561. (GridVScrolled): same.
  2562. (OnMouseWheel): hack up something that more or less works. Call
  2563. GridHScrolled/GridVScrolled directly, instead of duplicating much
  2564. of their code here.
  2565. (EnsureCellVisibility): reinstate a bunch of this code, since we
  2566. can't just set the scrollbar Value and expect to do all the work
  2567. in the ValueChanged handler. Also, Call Update() after scrolling
  2568. in one direction so the other XplatX11.ScrollWindow call has the
  2569. proper stuff in the proper places.
  2570. (EditCell): set is_editing to true before calling .Edit.
  2571. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  2572. don't bother comparing first.
  2573. (OnKeyPress): call grid.ColumnStartedEditing before calling
  2574. base.OnKeyPress. this will set is_changing and invalidate the row
  2575. header if necessary.
  2576. (ProcessKeyMessage): for WM_CHAR messages, call
  2577. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  2578. and WM_KEYDOWN.
  2579. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  2580. it's done in the DataGrid.
  2581. (NextState): call grid.ColumnStartedEditing, which takes care of
  2582. invalidating the row header (and setting is_changing).
  2583. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  2584. here. it's done in the DataGrid.
  2585. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  2586. * Control.cs: allow changing the cursor when the mouse position is
  2587. out of bounds but Capture is set.
  2588. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  2589. linklabel but released somewhere else.
  2590. 2006-05-25 Jackson Harper <[email protected]>
  2591. * TreeView.cs: When we get focus if there is no selected node make
  2592. it the top node
  2593. - Remove some uneeded setup code from Draw.
  2594. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  2595. a new node is inserted make the new node the top.
  2596. * XplatUIX11.cs:
  2597. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  2598. be used (should be faster).
  2599. 2006-05-25 Chris Toshok <[email protected]>
  2600. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  2601. problem with the last commit.
  2602. 2006-05-25 Chris Toshok <[email protected]>
  2603. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  2604. need the invalidate call here, while scrolling right-to-left via
  2605. the left arrow key (i.e. moving the editing cell while scrolling).
  2606. * DataGrid.cs (.ctor): remove the initialization of
  2607. ctrl_pressed/shift_pressed. We no longer track them using key
  2608. up/down handlers, but by using Control.ModifierKeys. Also, switch
  2609. to using ValueChanged handlers on the scrollbars instead of
  2610. Scrolled event handlers. This simplifies a bunch of the scrolling
  2611. code.
  2612. (GridHValueChanged): rename from GridHScrolled, and change it to
  2613. work with the new event args.
  2614. (GridVValueChanged): same.
  2615. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  2616. (OnMouseWheel): actually scroll the datagrid. Don't change the
  2617. selected cell.
  2618. (ProcessGridKey): correct all the keyboard navigation stuff I
  2619. could find. Ctrl up/down/left/right/home/end work now.
  2620. (EnsureCellVisibility): correct method name spelling. Also,
  2621. simplify this a touch by not explicitly calling the
  2622. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  2623. scrollbar value.
  2624. (OnKeyUpDG): no need for this method now.
  2625. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  2626. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  2627. Fixes bug #78392.
  2628. 2006-05-25 Chris Toshok <[email protected]>
  2629. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  2630. r61019.
  2631. 2006-05-25 Peter Dennis Bartok <[email protected]>
  2632. * Application.cs: Moved setting of is_modal and closing to before
  2633. we create the control, to allow the event handlers called as a
  2634. result of creation affect closing. Also removed Gonzalo's previous
  2635. change to setting DialogResult, the behaviour has been moved to
  2636. Form.ShowDialog()
  2637. * Form.cs:
  2638. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  2639. handle it instead
  2640. - ShowDialog(): If no dialog result is set, we need to return Cancel
  2641. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  2642. the close is cancelled
  2643. 2006-05-25 Jackson Harper <[email protected]>
  2644. * StatusBar.cs: We only need to update the sizes of the other
  2645. panels when we have auto size contents. Also we are only updating
  2646. the contents of the panel, not the borders, so compensate for the
  2647. border width (TODO: get this width from the theme somehow).
  2648. * TreeView.cs: Scrollable is true by default
  2649. - Use invalidate instead of refresh where needed
  2650. - Factor the scrollable value into scrollbar updating
  2651. - Update the scrollbars if the Scrollable property is altered
  2652. - Update the selected node if its ImageIndex is changed
  2653. - Handle null nodes in UpdateNode (mainly so we don't have to
  2654. check if selected is null when updating it
  2655. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  2656. are factored into the visible count
  2657. - Use VisibleCount for clarity in the code
  2658. - When the font is changed we need to recurse through all the
  2659. nodes and invalidate their sizes
  2660. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  2661. * Application.cs: set the DialogResult to fixed when the main form is
  2662. hidden or destroyed while being modal.
  2663. 2006-05-25 Miguel de Icaza <[email protected]>
  2664. * Theme.cs: Use Tangoified messagebox icons.
  2665. (GetSizedResourceImage): Also cope with width = 0 and do not
  2666. trigger a warning in that case (0 means "give me your icon from
  2667. the resouce, no special size needed).
  2668. 2006-05-25 Peter Dennis Bartok <[email protected]>
  2669. * Application.cs: Leave runloop if the the main modal form is
  2670. hidden (fixes #78484)
  2671. 2006-05-25 Atsushi Enomoto <[email protected]>
  2672. * BindingContext.cs : reject null datasource in Contains() and
  2673. Item[].
  2674. * CurrencyManager.cs : check data_member validity when data_source
  2675. is dataset. When it is late binding, the initial position is -1.
  2676. 2006-05-24 Jackson Harper <[email protected]>
  2677. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  2678. inserted nodes that aren't visible. This changes the
  2679. max_visible_order which confuses scrollbar settings.
  2680. - Use the enumerator to get the prev node instead of duplicating
  2681. code.
  2682. * TreeView.cs: Use new method for setting scrollbar values
  2683. - Don't set the bounds every time the scrollbar is updated
  2684. - When updating below the root node use an invalidate instead of a
  2685. refresh to prevent the child controls (scrollbars) from being
  2686. refreshed. (UpdateBelow still needs to be reworked anyways).
  2687. - Reenable SetBottom now that visible orders are set correctly,
  2688. added some debug code incase we ever get bad values there again.
  2689. - Set the scrollbar max to 2 less then the max value, this
  2690. compensates for the max value being one above the node count, and
  2691. for scrollbars adding one extra "notch".
  2692. - When drawing image nodes if there is an imagelist we draw the
  2693. first image in the list if the supplied image index is out of the
  2694. image list's bounds.
  2695. 2006-05-24 Peter Dennis Bartok <[email protected]>
  2696. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  2697. we receive a size change from the WM (Fixes #78503)
  2698. 2006-05-24 Peter Dennis Bartok <[email protected]>
  2699. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  2700. rectangle (Fixes #78501)
  2701. 2006-05-24 Peter Dennis Bartok <[email protected]>
  2702. * ButtonBase.cs:
  2703. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  2704. as a bitfield.
  2705. - Fixed MouseMove to no longer switch pressed state unless the left
  2706. mouse button is pressed. Atsushi provided the original patch (#78485)
  2707. 2006-05-24 Jackson Harper <[email protected]>
  2708. * ScrollBar.cs: New internal methods that allow us to change a
  2709. couple values on the scrollbar (the most common case is maximum
  2710. and large change) without getting multiple invalidates.
  2711. 2006-05-24 Chris Toshok <[email protected]>
  2712. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  2713. (Edit): save off the original state in oldState, and set
  2714. grid.is_editing to true.
  2715. (OnKeyDown): abort editing if escape is pressed. also, call
  2716. NextState if space is pressed.
  2717. (OnMouseDown): call NextState.
  2718. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  2719. here. Also, only invalidate the row header once (on the initial
  2720. is_changing switch) to save on redraws.
  2721. 2006-05-24 Chris Toshok <[email protected]>
  2722. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  2723. if the value in the cell is different than it was before. This
  2724. keeps us from triggering a layout when we move around a datarid
  2725. with a highlighted cell.
  2726. (Edit): suspend layout when creating/positining the text box, and
  2727. resume passing false so we don't ever actually re-layout.
  2728. (ReleaseHostedControl): same.
  2729. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  2730. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  2731. control-key sequences should go to the datagrid - remove that
  2732. lock. Also, modify the conditions under which we move between
  2733. cells when moving the cursor within a cell, and remove the "this"
  2734. and "base" from field accesses. We weren't even consistent, given
  2735. they all were in the base class.
  2736. 2006-05-24 Atsushi Enomoto <[email protected]>
  2737. * Binding.cs : (.ctor)
  2738. An obvious NRE fix for BindingTest.CtorNullTest().
  2739. 2006-05-23 Chris Toshok <[email protected]>
  2740. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  2741. them between lines. This fixes some quirks editing cells in the
  2742. datagrid.
  2743. 2006-05-23 Jackson Harper <[email protected]>
  2744. * TreeView.cs: Use begin/end update when doing expand/collapse all
  2745. so that we don't get flicker on the scrollbar.
  2746. 2006-05-23 Jackson Harper <[email protected]>
  2747. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  2748. treenode calculations to be independant of the painting code. To
  2749. do this nodes track a visible order which is calculated by the
  2750. treeview.
  2751. - Call new methods for expanding/collapsing nodes. These methods
  2752. use scrollwindow so we don't have to update everything below the
  2753. node.
  2754. * TreeView.cs: Refactored drawing and scrolling code. We don't
  2755. need to update nodes when drawing anymore or calculate scrollbar
  2756. stuff.
  2757. - Added new methods for expanding/collapsing nodes. These methods
  2758. use ScrollWindow so as to not have to redraw all the nodes below.
  2759. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  2760. we add/remove nodes or sort.
  2761. - Handle removing the selected and the top node properly.
  2762. 2006-05-23 Chris Toshok <[email protected]>
  2763. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  2764. maybe this should actually happen in the datagrid code?
  2765. (EndEdit): no need to invalidate anything, given that
  2766. ReleaseHostedControl causes the datagrid to relayout, which
  2767. invalidates everything anyway.
  2768. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  2769. in SetCurrentCell).
  2770. (set_SelectionBackColor): call InvalidateSelection instead of
  2771. Refresh.
  2772. (set_SelectionForeColor): same.
  2773. (BeginEdit): Flesh this out a bit.
  2774. (CancelEditing): only do any of this if we're editing/adding.
  2775. (EndEdit): same.
  2776. (OnMouseDown): there's no need to cancel editing here, it's done
  2777. in SetCurrentCell.
  2778. (SetCurrentCell): only invalidate the current row header if it's a
  2779. different row than the new one.
  2780. (ShiftSelection): fix this to work like MS does.
  2781. (ResetSelection): factor out the invalidation of selected_rows to
  2782. InvalidateSelection.
  2783. (SetDataSource): cancel any editing that's going on.
  2784. * DataGridColumnStyle.cs
  2785. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  2786. call the non-interface version.
  2787. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  2788. header rectangle with the clip rectangle so we don't redraw the
  2789. entire header for just a small area. Gets rid of the last flicker
  2790. when horizontally scrolling.
  2791. (DataGridPaintRow): same.
  2792. 2006-05-23 Mike Kestner <[email protected]>
  2793. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  2794. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  2795. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  2796. Critical bug report.
  2797. 2006-05-23 Peter Dennis Bartok <[email protected]>
  2798. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  2799. and this fixes #78493
  2800. 2006-05-23 Miguel de Icaza <[email protected]>
  2801. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  2802. size is not found.
  2803. * FileDialog.cs: Do not change the background for the side bar as
  2804. it wont work nicely with the theme, and also reduces the artifacts
  2805. in rendering the icons (which I want to fix too).
  2806. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  2807. resources, not resgen resources.
  2808. (PlatformDefaultHandler): Pull images using the new API.
  2809. 2006-05-23 Peter Dennis Bartok <[email protected]>
  2810. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  2811. a reference to the hwnd and will not remove it unless there are
  2812. no pending exposures (fixes #78341)
  2813. * XplatUI.cs: Improved debug
  2814. 2006-05-23 Atsushi Enomoto <[email protected]>
  2815. * MenuAPI.cs : don't handle OnClick event when it was not the left
  2816. button. Fixed bug #78487.
  2817. 2006-05-23 Mike Kestner <[email protected]>
  2818. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  2819. prefer submenus to the top menu for item lookup, to avoid popping down
  2820. top-row items.
  2821. 2006-05-23 Alexander Olk <[email protected]>
  2822. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  2823. Graphics.FillRectangle as the visual results are really bad (even
  2824. on win). We now draw perfect arrows (and perfect shadows when the
  2825. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  2826. Pen.DashPattern to draw the dots of each line.
  2827. 2006-05-22 Alexander Olk <[email protected]>
  2828. * FileDialog.cs: Update the filename combobox when navigating through
  2829. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  2830. 2006-05-22 Mike Kestner <[email protected]>
  2831. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  2832. Fixes #78463.
  2833. 2006-05-22 Mike Kestner <[email protected]>
  2834. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  2835. requests. Fix a misspelled parameter and a copy paste exception error
  2836. in Select.
  2837. 2006-05-22 Peter Dennis Bartok <[email protected]>
  2838. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  2839. to get the same width/height (5/13) on X11 as the default font has on
  2840. win32. This means that our DefaultFont emSize is smaller than the
  2841. the MS SWF equivalent (even thought the width/height stays the same)
  2842. 2006-05-20 Jackson Harper <[email protected]>
  2843. * MdiClient.cs:
  2844. * MdiWindowManager.cs:
  2845. * InternalWindowManager.cs: Make sure to use the border width from
  2846. the theme.
  2847. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  2848. * PrintDialog.cs: Implements printer details
  2849. 2006-05-19 Alexander Olk <[email protected]>
  2850. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  2851. Fixes part 1 and 2 of bug #78446
  2852. 2006-05-19 Peter Dennis Bartok <[email protected]>
  2853. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  2854. instead of sticking to the first ever calculated value
  2855. 2006-05-19 Mike Kestner <[email protected]>
  2856. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  2857. PointToClient, since Capture is set. Fixes #78344.
  2858. 2006-05-19 Mike Kestner <[email protected]>
  2859. * ListView.cs: match MS behavior in Details view where items are not
  2860. drawn if Columns.Count == 0.
  2861. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  2862. Use a separate pen to draw the check, since changing the width affects
  2863. the box as well. Fixes #78454.
  2864. 2006-05-18 Miguel de Icaza <[email protected]>
  2865. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  2866. exception should throw the name of the invalid argument.
  2867. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  2868. there are no files listed.
  2869. 2006-05-18 Jackson Harper <[email protected]>
  2870. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  2871. up.
  2872. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2873. * Control.cs: Brought back our old UpdateZOrder method as a private
  2874. function and switched our calls from UpdateZOrder to the new one.
  2875. This fixes the Paint.Net canvas disappearing bug.
  2876. 2006-05-18 Jackson Harper <[email protected]>
  2877. * Theme.cs:
  2878. * ThemeWin32Classic.cs:
  2879. * InternalWindowManager.cs: Move the drawing into the theme,
  2880. expose everything the theme should need from the window manager.
  2881. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2882. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  2883. from the call to NativeWindow to avoid walking up the parent chain
  2884. further than needed (speeds up setting cursors and avoids setting
  2885. the wrong cursor if a parent has another cursor defined)
  2886. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  2887. the icon as hotspot, not what's contained as hotspot in the icon
  2888. file. This fixes the perceived drawing offset seen with Paint.Net
  2889. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2890. * XplatUIX11.cs:
  2891. - Store the calculated rectangle in Hwnd object and use it when
  2892. setting the client size
  2893. - Force Toolwindows to always be type Dock, to ensure they're on top
  2894. 2006-05-18 Mike Kestner <[email protected]>
  2895. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  2896. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  2897. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  2898. Substantial refactoring to remove confusing nested classes. Coding
  2899. standard and Get+Set->property refactorings. Shift to index based
  2900. highlighting in ComboListBox instead of constantly using IndexOf and
  2901. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  2902. in FileDialog growth. Draw borders manually since Simple mode needs
  2903. to look like two independent controls. Make listbox border
  2904. conditional to DropDownStyle. Improved OwnerDraw support.
  2905. 2006-05-18 Sebastien Pouliot <[email protected]>
  2906. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  2907. Don't set the disposed graphics to null, so we can throw the "right"
  2908. exception if the graphics is reused later (added a flag to avoid
  2909. double disposing). Some behaviours are different under 2.0 and are
  2910. filled under bug #78448.
  2911. 2006-05-18 Peter Dennis Bartok <[email protected]>
  2912. * Control.cs: When double-buffering is enabled, we need to reset
  2913. our graphics context between paint calls. Otherwise, any
  2914. transformations and other alterations on the context will
  2915. become cumulative (#77734)
  2916. 2006-05-18 Mike Kestner <[email protected]>
  2917. * ListView.cs: do focused item selection like MS on clicks.
  2918. Rework focus handling for ItemControl so LostFocus invalidates as
  2919. well.
  2920. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  2921. the ListView ItemControl has focus.
  2922. 2006-05-17 Peter Dennis Bartok <[email protected]>
  2923. * XplatUIX11.cs: If client_window ends up being width or height zero
  2924. due to border settings, move it off window inside whole_window (#78433)
  2925. 2006-05-17 Alexander Olk <[email protected]>
  2926. * Mime.cs: Shrink the mime file cache correctly.
  2927. 2006-05-17 Alexander Olk <[email protected]>
  2928. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  2929. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2930. * XplatUIX11.cs (AddExpose): More sanity checks
  2931. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2932. * XplatUIX11.cs:
  2933. - AddExpose: Don't add expose ranges outside the size of our
  2934. window
  2935. - Cast opacity values to Int32 to avoid crashes with certain
  2936. values
  2937. - Added disabled code paths that protect against illegal cross-
  2938. thread painting (Developers.exe)
  2939. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2940. * ProgressBar.cs: Invalidate the control when it's resized
  2941. since block size is based on control size. (#78388)
  2942. 2006-05-16 Miguel de Icaza <[email protected]>
  2943. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  2944. of setting the incoming argument to the "reset" value, we set the
  2945. this.datamember to string.empty (before we were invalidating the
  2946. incoming data).
  2947. Fixes 78420
  2948. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2949. * Form.cs: Only apply transparency settings after the form
  2950. is created. (Fixes #77800)
  2951. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2952. * ApplicationContext.cs: Grab the HandleDestroyed event so
  2953. we know when to fire OnMainFormClosed
  2954. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2955. * Application.cs: Introduced sub-class to allow tracking of
  2956. threads and centralized triggering of the event mess for
  2957. ThreadExit, AppExit, etc.. (#76156)
  2958. 2006-05-16 Alexander Olk <[email protected]>
  2959. * MimeIcon.cs:
  2960. - Do not return a null icon index value for a mime subclass.
  2961. Instead try the main mime type class too.
  2962. - Seems that some newer distributions don't have a link to some
  2963. gnome default icons anymore. So check the default gnome dir too.
  2964. 2006-05-16 Jackson Harper <[email protected]>
  2965. * MdiClient.cs: Don't paint the parent background image if we have
  2966. our own background image.
  2967. 2006-05-16 Peter Dennis Bartok <[email protected]>
  2968. * Control.cs:
  2969. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  2970. controls, all filled controls are supposed to overlap (#78080)
  2971. - UpdateZOrder is supposed to update the control's z-order in the
  2972. parent's z-order chain. Fixed to behave like that
  2973. - BringToFront: Removed obsolete code
  2974. - SendToBack: Simplyfied
  2975. - SetChildIndex: Trigger layout calculations when Z-order changes
  2976. since layout is done by z-order
  2977. 2006-05-16 Chris Toshok <[email protected]>
  2978. [ fixes bug #78410 ]
  2979. * DataGrid.cs (set_AlternatingBackColor): use
  2980. grid_drawing.InvalidateCells instead of Refresh().
  2981. (set_BackColor): call grid_drawing.InvalidateCells.
  2982. (set_BackgroundColor): use Invalidate instead of Refresh.
  2983. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  2984. invalidate the cell area.
  2985. 2006-05-15 Chris Toshok <[email protected]>
  2986. [ fixes bug #78011 ]
  2987. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  2988. on to DataGridPaintRow.
  2989. (DataGridPaintRow): take a clip argument, and only draw the cells
  2990. which intersect it. same with the not_usedarea.
  2991. * Theme.cs (DataGridPaintRow) add @clip parameter.
  2992. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  2993. XplatUI.ScrollWindow.
  2994. (ScrollToRow): same.
  2995. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  2996. with last column which was causing a gray swath to appear with the
  2997. XplatUI.ScrollWindow code.
  2998. 2006-05-15 Chris Toshok <[email protected]>
  2999. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  3000. use XplatUI.ScrollWindow.
  3001. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  3002. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3003. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  3004. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3005. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  3006. file since there are no equivalent X11 cursors
  3007. 2006-05-15 Atsushi Enomoto <[email protected]>
  3008. * MonthCalendar.cs : DateTimePicker should reflect selected date
  3009. on mouse*up*, not mouse*down*. Fixed originally reported part of
  3010. bug #76474.
  3011. 2006-05-15 Atsushi Enomoto <[email protected]>
  3012. * TabControl.cs : When argument index is equal or more than tab
  3013. count, just ignore. Fixed bug #78395.
  3014. 2006-05-15 Peter Dennis Bartok <[email protected]>
  3015. * Control.cs: Dispose all child controls when control is diposed (#78394)
  3016. 2006-05-14 Alexander Olk <[email protected]>
  3017. * ColorDialog.cs: Finally it is possible to select the color with
  3018. the text boxes
  3019. 2006-05-14 Alexander Olk <[email protected]>
  3020. * PrintDialog.cs: Fix typo
  3021. 2006-05-14 Alexander Olk <[email protected]>
  3022. * PrintDialog.cs: PrintDialog is not resizable
  3023. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  3024. color. Made some ToolBar drawing methods protected virtual.
  3025. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  3026. * PrintDialog.cs: Implementation of the PrintDialog
  3027. 2006-05-12 Chris Toshok <[email protected]>
  3028. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  3029. thumb, instead use MoveThumb. This has the side effect of making
  3030. most of the other thumb moving machinery use MoveThumb as well.
  3031. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  3032. need to actually invalidate the rectangle where the new thumb will
  3033. go.
  3034. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  3035. We force an Update() after, so it's not as fast as it could be,
  3036. but at least there's zero flicker and no droppings.
  3037. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  3038. (UpdateThumbPos): add another argument (dirty), which says whether
  3039. or not to calculate/add dirty regions which we later invalidate.
  3040. For cases where we know we're going to use MoveThumb, we pass
  3041. false for this. Otherwise, pass true.
  3042. 2006-05-12 Jackson Harper <[email protected]>
  3043. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  3044. the status bar.
  3045. 2006-05-12 Peter Dennis Bartok <[email protected]>
  3046. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  3047. and GetClipRegion methods and UserClipWontExposeParent property.
  3048. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  3049. overriding UserClipWontExposeParent property, setting to false, since
  3050. Win32 handles the required expose messages to draw our clipped parent
  3051. areas internally
  3052. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  3053. PaintEventStart to set the user clip region if set.
  3054. * Control.cs:
  3055. - Now internally tracking the Region for the control since we need to
  3056. store it if the handle is not yet created and only set it when it
  3057. becomes created. Before setting the region forced handle creation
  3058. - Added code to draw the parents underneath a user-clipped region
  3059. * Hwnd.cs: Added UserClip property
  3060. 2006-05-12 Chris Toshok <[email protected]>
  3061. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  3062. (set_Maximum): same.
  3063. (set_Minimum): same.
  3064. (set_SmallChange): same.
  3065. (OnMouseUpSB): remove the call to refresh when releasing the
  3066. thumb. We shouldn't need it.
  3067. 2006-05-12 Miguel de Icaza <[email protected]>
  3068. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  3069. AutoSize set to None, we do not need to relayout everything, we
  3070. just need to invalidate the current region.
  3071. (Draw): Do not draw the entire ClientArea, just redraw the
  3072. clip area being passed.
  3073. * MdiClient.cs: Make MdiClient constructor with the Form argument
  3074. internal.
  3075. 2006-05-12 Jackson Harper <[email protected]>
  3076. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  3077. parents background image, but strangely not their own.
  3078. - (DrawStatusBarPanel): Take into account horizontal alignment
  3079. when drawing the strings and icons.
  3080. 2006-05-12 Mike Kestner <[email protected]>
  3081. * ListBox.cs: avoid invalidations for focus when the collection is
  3082. empty.
  3083. 2006-05-12 Chris Toshok <[email protected]>
  3084. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  3085. invalidate the entire thumb area. Call InvalidateDirty which
  3086. limits the redraw to the thumb itself and surrounding pixels.
  3087. * XplatUIX11.cs (ScrollWindow): optimize copying.
  3088. 2006-05-12 Chris Toshok <[email protected]>
  3089. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  3090. Figure out the positioning/layout in a single pass instead of
  3091. multiple recursive invocations. Speeds up the initial display of
  3092. the data grid. Also, make many things private that were
  3093. originally public but unused outside this class.
  3094. 2006-05-11 Jackson Harper <[email protected]>
  3095. * MdiClient.cs: Improved layout code.
  3096. 2006-05-11 Jonathan Chambers <[email protected]>
  3097. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  3098. not SelectedObject.
  3099. 2006-05-11 Chris Toshok <[email protected]>
  3100. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  3101. union of that will always be {0,0,width,height}.
  3102. 2006-05-11 Jackson Harper <[email protected]>
  3103. * Form.cs: Match MS's DefaultSize for forms (they must have
  3104. changed the size in sp2).
  3105. 2006-05-11 Atsushi Enomoto <[email protected]>
  3106. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  3107. 2006-05-11 Atsushi Enomoto <[email protected]>
  3108. * TextControl.cs : Fixed bug #78109. This incorrect position
  3109. comparison caused crash on automatic line split.
  3110. * TextBoxBase.cs : reduce duplicate code.
  3111. 2006-05-10 Jackson Harper <[email protected]>
  3112. * MdiClient.cs: Active form is only sent to the back when using
  3113. the Next form functionality, when a form is clicked the current
  3114. active shouldn't be sent to the back.
  3115. - Layout the mdi windows when the container is first made visible.
  3116. * Form.cs: Give the MdiClient a ref to the containing form when we
  3117. create it.
  3118. 2006-05-10 Atsushi Enomoto <[email protected]>
  3119. * LinkLabel.cs : link_font could be uninitialized, so populate one
  3120. before actual use. Fixed bug #78340.
  3121. 2006-05-10 Atsushi Enomoto <[email protected]>
  3122. * XplatUIX11.cs : clipboard format native value is IntPtr.
  3123. Fixed bug #78283.
  3124. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3125. * Control.cs:
  3126. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  3127. which is passed up the parent chain by DefWndProc
  3128. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  3129. to DefWndProc (#77956)
  3130. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  3131. 2006-05-10 Jackson Harper <[email protected]>
  3132. * MdiClient.cs: We need to remove the controls from the mdi
  3133. collection, when we close the window.
  3134. * MdiWindowManager.cs: Special handling of closing mdi windows.
  3135. * InternalWindowManager.cs: Make the close method virtual so the
  3136. mdi window manager can handle it specially.
  3137. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  3138. * DataGrid.cs:
  3139. - Recalculate grid when the data source has changed
  3140. - Matches styles provided by user from all data sources types
  3141. * DataGridTableStyle.cs: For columns that provided by the user set the
  3142. with the preferred value is there was unassigned.
  3143. * CurrencyManager.cs: throw OnItemChanged event
  3144. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3145. * PictureBox.cs: Don't animate until handle is created. Start animation
  3146. when handle is created.
  3147. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3148. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  3149. current codebase.
  3150. * XEventQueue.cs: We don't need to provide the extra info
  3151. 2006-05-10 Jackson Harper <[email protected]>
  3152. * MdiClient.cs: If the mdi clients parent form has a background
  3153. image set, we draw that background image for the mdi area's
  3154. background.
  3155. 2006-05-10 Peter Dennis Bartok <[email protected]>
  3156. * TextBoxBase.cs: Set IBeam cursor (#78347)
  3157. 2006-05-10 Mike Kestner <[email protected]>
  3158. * ToolBar.cs: fix some text padding issues with ButtonSize
  3159. calculation. Update the default size to match MS documentation.
  3160. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  3161. button size. Fixes #78296.
  3162. 2006-05-10 Mike Kestner <[email protected]>
  3163. * ListBox.cs: use is_visible for scrollbar positioning in case the
  3164. control isn't on screen yet. Fix off by one with Right vs Width
  3165. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  3166. 2006-05-10 Jackson Harper <[email protected]>
  3167. * X11Dnd.cs: Drop to a control with another control on top of it.
  3168. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  3169. be modified in click handlers. TODO: Look for similar problems in
  3170. other controls.
  3171. 2006-05-09 Jackson Harper <[email protected]>
  3172. * Form.cs: Window managers need the old window state when setting
  3173. window state now.
  3174. * InternalWindowManager.cs: Allow the base mdi window manager to
  3175. handle more of the MDI only stuff (like maximize buttons).
  3176. * MdiWindowManager.cs: Fix some snafus in changing the window
  3177. state. Add all the menu functionality, for both popup and
  3178. maximized menus.
  3179. * MdiClient.cs: When a new form is selected the currently
  3180. activated form is sent to the back, this matches MS.
  3181. - Implement a new method to activate the next mdi child window.
  3182. 2006-05-08 Peter Dennis Bartok <[email protected]>
  3183. * Control.cs:
  3184. - Added new InternalCapture method to allow controls to prevent
  3185. the capture behaviour on the click handlers
  3186. - Switched to use InternalCapture
  3187. * ComboBox.cs:
  3188. - Using InternalCapture to prevent mouse captures from being released
  3189. on mouse button release (Fixes #78100)
  3190. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  3191. returns Form borders if a caption is present. (Fixes #78310)
  3192. 2006-05-08 Peter Dennis Bartok <[email protected]>
  3193. * TreeNode.cs: Changed serialization .ctor to not require every field
  3194. to be present. (#78265)
  3195. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  3196. 2006-05-05 Alexander Olk <[email protected]>
  3197. * MimeIcon.cs: for is faster than foreach for strings.
  3198. 2006-05-05 Mike Kestner <[email protected]>
  3199. * CheckedListBox.cs: update check handling code to not use selected.
  3200. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  3201. behavior for visual feedback, motion response, shift/ctrl handling,
  3202. and properly deal with all 4 selection modes. Updates to bounds
  3203. handling logic. Add scroll wheel support. [Fixes #77842]
  3204. 2006-05-05 Peter Dennis Bartok <[email protected]>
  3205. * ListView.cs:
  3206. - Moved adding of Implicit controls into .ctor. That way, subsequent
  3207. creation of the controls will not cause them to think they are
  3208. toplevel windows (fixes #78200 header problem)
  3209. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  3210. - Switched visibility setting of header control to use internal field
  3211. to avoid triggering handle creation
  3212. - Now checking if handle is created before causing a refresh when items
  3213. are added (This makes us now match handle creation time with MS)
  3214. * Splitter.cs: Removed loading of private splitter cursor, switched to
  3215. Cursors version now that that is loading the right ones
  3216. * Cursors.cs: Load proper splitter cursors from resources
  3217. * Cursor.cs: Added second method of loading resource cursors for the
  3218. VS.Net users amongst us
  3219. 2006-05-05 Mike Kestner <[email protected]>
  3220. * ListView.cs: give header_control a minimum size based on the
  3221. ListView size.
  3222. 2006-05-05 Peter Dennis Bartok <[email protected]>
  3223. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  3224. window seems to do that with metacity, so set that type. (#78120)
  3225. 2006-05-05 Mike Kestner <[email protected]>
  3226. * ListViewItem.cs: fix Details mode checkbox layout bug.
  3227. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  3228. at the end of the header, if it exists. [Fixes for #78200]
  3229. 2006-05-04 Jackson Harper <[email protected]>
  3230. * MdiClient.cs: Add a helper property to get the container form.
  3231. * MdiWindowManager.cs: We have to make sure to use the menu origin
  3232. when drawing the icons and buttons, this fixes maximized window
  3233. icons/buttons on win32.
  3234. * InternalWindowManager.cs: Reset the restore captions when a
  3235. window goes from Maximized to Minimized and vice versa. Move the
  3236. DrawMaximizedButtons into the MdiWindowManager source, tool
  3237. windows can't be maximized. NOTE: This could use a little
  3238. refactoring if time ever permits.
  3239. 2006-05-03 Jonathan Chambers <[email protected]>
  3240. * TextBox.cs: Add MWFCategoryAttributes
  3241. * TextBoxBase.cs: Add MWFCategoryAttributes
  3242. * Form.cs: Add MWFCategoryAttributes
  3243. 2006-05-03 Jonathan Chambers <[email protected]>
  3244. * Control.cs: Add MWFCategoryAttributes
  3245. * ScrollableControl.cs: Add MWFCategoryAttributes
  3246. 2006-05-03 Alexander Olk <[email protected]>
  3247. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  3248. Divider is true. Fix a little glitch in PropertyToolBar
  3249. drawing code
  3250. 2006-05-02 Peter Dennis Bartok <[email protected]>
  3251. * Control.cs:
  3252. - Dispose: Call base.Dispose, this causes the disposed event
  3253. to be fired (and probably other, more important stuff)
  3254. - SetVisibleCore: Set is_visible to true after creating the
  3255. window so that the window still gets created invisible (if
  3256. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  3257. to generate a WM_ACTIVE message
  3258. * Form.cs: Call Dispose when we want to destroy the window, instead of
  3259. just destroying the handle (Dispose will do that for us)
  3260. * XplatUIX11.cs:
  3261. - RootWindow also needs a queue, so we can properly process the
  3262. property change events from RootWindow (like Activate)
  3263. - Generatic synthetic WM_ACTIVE message when the active window is
  3264. being destroyed
  3265. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3266. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  3267. bounds are changed
  3268. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3269. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  3270. for determining width and height (image might not be assigned if
  3271. we're drawing an imagelist)
  3272. 2006-05-01 Peter Dennis Bartok <[email protected]>
  3273. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  3274. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  3275. height from system
  3276. * Theme.cs: No longer returns hardcoded menu height, instead calls
  3277. new driver method
  3278. * Form.cs (OnLoad): Scaling happens before triggering Load events
  3279. on MS (# 78257)
  3280. 2006-05-01 Mike Kestner <[email protected]>
  3281. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  3282. 2006-04-30 Peter Dennis Bartok <[email protected]>
  3283. * TextBoxBase.cs: Removed Fixme
  3284. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  3285. 2006-04-30 Peter Dennis Bartok <[email protected]>
  3286. * XplatUIX11.cs:
  3287. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  3288. the rectangle relative to the parent, considering borders. We
  3289. don't really want that.
  3290. - ScrollWindow: Fixed warning to be more understandable
  3291. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  3292. scrollbars and scroll only the visible area
  3293. * RichTextBox.cs: Removed debug output
  3294. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3295. * NumericUpDown.cs (Text): Just use base
  3296. * UpDownBase.cs: Ensure txtView is created before using it
  3297. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3298. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  3299. casting to IntPtr to avoid 64bit overflow errors
  3300. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3301. * Control.cs:
  3302. - AllowDrop: Don't force handle creation.
  3303. - CreateHandle: Added call to tell driver if we're allowed to drop
  3304. 2006-04-27 Alexander Olk <[email protected]>
  3305. * FileDialog.cs: Remember the last directory not only for the
  3306. current instance but also for new FileDialog instances.
  3307. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3308. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  3309. broke sending async messages
  3310. 2006-04-29 Peter Dennis Bartok <[email protected]>
  3311. * XplatUIX11.cs:
  3312. - ScrollWindow: Fixed method. We finally generate expose events again
  3313. for scrolled areas. This was causing 'garbage' when scrolling
  3314. textbox and other controls that used ScrollWindow
  3315. - Switched from using the regular queue for paint events to the MS
  3316. model of 'generating' paint events when the queue is empty.
  3317. We use the new XQueueEvent.Paint subclass to store which windows
  3318. need painting.
  3319. - AddExpose now takes the x/y/width/height of the exposed area
  3320. and inserts the window into the paint queue if not already there
  3321. - InvalidateWholeWindow: Switched to use new AddExpose method
  3322. - UpdateMessageQueue: Added which queue to monitor for paint events
  3323. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  3324. the unlikely case nothing above handles it. We reset the expose
  3325. pending states to get them off the queue.
  3326. - GetMessage: Now pulls a paint event if no other events are in the
  3327. queue
  3328. - Invalidate: Switched to new AddExpose method
  3329. - PeekMessage: Updated to understand pending paint events
  3330. - UpdateWindow: Fixed logic bug. We were only updating if the window
  3331. didn't need updating. Also switched to sending WM_PAINT directly,
  3332. like MS does.
  3333. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  3334. and random access Remove(). The random access is needed to handle
  3335. UpdateWindow() where a WM_PAINT is sent directly without accessing
  3336. the queue.
  3337. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  3338. allow for better feedback when scrolling. Scrollbars are small and
  3339. the immediate update should make it 'feel' more responsive without
  3340. slowing things down. ScrollBar still needs it's invaliate logic
  3341. updated to not always invalidate the whole bar on certain changes.
  3342. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  3343. * Control.cs:
  3344. (BackColor): if the control does not support a transparent background,
  3345. return the default backcolor when the parent backcolor is transparent.
  3346. 2006-04-28 Peter Dennis Bartok <[email protected]>
  3347. * Application.cs: Updated to new StartLoop/GetMessage API
  3348. * RichTextBox.cs: Provide some output on RTF parsing errors
  3349. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  3350. new queue_id argument to GetMessage and PeekMessage to allow faster
  3351. handling of per-thread queues in drivers.
  3352. * Hwnd.cs: Added Queue tracking and property
  3353. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  3354. * XEventQueue.cs: Added thread trackingA
  3355. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  3356. * XplatUIX11.cs:
  3357. - Implemented new per-thread queue
  3358. - GetMessage: Fixed return/break behaviour on several cases. We were
  3359. returning stale messages in some cases, instead of just processing
  3360. the next message
  3361. 2006-04-27 Jonathan Chambers <[email protected]>
  3362. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  3363. 2006-04-27 Peter Dennis Bartok <[email protected]>
  3364. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  3365. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  3366. 2006-04-27 Jonathan Chambers <[email protected]>
  3367. * PropertyGridView.cs: Fix drop down width.
  3368. 2006-04-27 Alexander Olk <[email protected]>
  3369. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  3370. a mess in DrawToolBar, so I removed one of them.
  3371. 2006-04-27 Alexander Olk <[email protected]>
  3372. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  3373. needed (clip). Otherwise we get artifacts.
  3374. 2006-04-26 Peter Dennis Bartok <[email protected]>
  3375. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  3376. dimension is fixed
  3377. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  3378. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  3379. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  3380. if it matches the scale base font (avoids unneeded scaling)
  3381. 2006-04-26 Alexander Olk <[email protected]>
  3382. * X11DesktopColors.cs: One gtk_init_check should be enough
  3383. 2006-04-26 Peter Dennis Bartok <[email protected]>
  3384. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  3385. match MS behaviour
  3386. 2006-04-26 Peter Dennis Bartok <[email protected]>
  3387. * TextBoxBase.cs:
  3388. - Generate OnTextChanged for Backspace even if we're only deleting
  3389. the current selection
  3390. - When setting the Text property, only select all text if the
  3391. control does not have focus when it is being set. Otherwise
  3392. just place the cursor at the beginning of the control
  3393. 2006-04-26 Alexander Olk <[email protected]>
  3394. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  3395. Added a little helper to draw PropertyGrid ToolBar with a different
  3396. border and a different BackColor.
  3397. * PropertyGrid.cs: Some background parts didn't get painted with the
  3398. correct background color. Added a class that helps us to draw the
  3399. correct border for PropertyGridView and a class that helps us to
  3400. draw ToolBars with a different backcolor
  3401. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  3402. 2006-04-25 Jonathan Chambers <[email protected]>
  3403. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  3404. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  3405. 2006-04-25 Peter Dennis Bartok <[email protected]>
  3406. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  3407. into the palette entries. Also, since we're working on a copy
  3408. we needed to copy the palette back onto the bitmap.
  3409. * Cursor.cs: Same fix as XplatUIWin32.cs.
  3410. 2006-04-25 Peter Dennis Bartok <[email protected]>
  3411. * ImageListStreamer.cs: Need to read the var (or we're off)
  3412. 2006-04-25 Peter Dennis Bartok <[email protected]>
  3413. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  3414. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  3415. TextBoxBase.cs: Unused var fixes
  3416. * AxHost.cs: Small 2.0 fix
  3417. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  3418. as it seems that is what at least Metacity expects. This will make
  3419. icons show up on 64bit platforms. We still have some 64bit size
  3420. issues, though, since the startup app window size still won't match.
  3421. 2006-04-25 Mike Kestner <[email protected]>
  3422. * *.cs: cleanup newly reported exception var unused warnings.
  3423. 2006-04-25 Alexander Olk <[email protected]>
  3424. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  3425. ms
  3426. 2006-04-25 Alexander Olk <[email protected]>
  3427. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  3428. image. The image position is always the same, no matter if the
  3429. button is pressed or not.
  3430. 2006-04-25 Alexander Olk <[email protected]>
  3431. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  3432. selection and set the correct filename for SaveFileDialog.
  3433. Patch by Emery Conrad.
  3434. 2006-04-24 Mike Kestner <[email protected]>
  3435. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  3436. check for item.X outside the ClientRect instead of item.Y. Fixes
  3437. #78151.
  3438. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  3439. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  3440. trust that value blindly and do some sanity check. Fixes bug #77814.
  3441. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  3442. * ImageListStreamer.cs: save the mask as a 1bpp image.
  3443. 2006-04-21 Mike Kestner <[email protected]>
  3444. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  3445. pass Checked and Indeterminate to the Theme Engine. Improve
  3446. encapsulation with ListBox.
  3447. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  3448. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  3449. nested types. Move all CheckState functionality to CheckedListBox.
  3450. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  3451. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  3452. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  3453. single base list. Fix scrollbar sizing and placement to mirror MS.
  3454. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  3455. used.
  3456. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  3457. for CheckedListBox by using new DrawItemState info. Center the
  3458. checkboxes on the items. Use new StringFormat property.
  3459. 2006-04-18 Jackson Harper <[email protected]>
  3460. * Form.cs: MdiChildren don't do default locations the same way as
  3461. regular forms. This prevents a crash when trying to position the
  3462. mdi windows.
  3463. 2006-04-17 Jonathan Chambers <[email protected]>
  3464. * PropertyGridTextBox.cs: Formatting, copyright
  3465. * PropertiesTab.cs: Formatting
  3466. * PropertyGrid.cs: Formatting
  3467. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  3468. click toggling of values
  3469. 2006-04-17 Peter Dennis Bartok <[email protected]>
  3470. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  3471. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  3472. every time a control is created
  3473. * Application.cs: Removed obsolete EnableRTLMirroring method
  3474. 2006-04-18 Gert Driesen <[email protected]>
  3475. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  3476. SelectedIndex to -1. Fixes bug #78121.
  3477. 2006-04-17 Jackson Harper <[email protected]>
  3478. * Binding.cs: Handle null values for Current and BindingContext.
  3479. This occurs when binding is a little delayed.
  3480. * CurrencyManager.cs: return null for Current when there are no
  3481. items in the list.
  3482. - Hookup to the listchanged event on the DataView and update
  3483. bindings when the list is changed. This fixes late binding of
  3484. controls.
  3485. 2006-04-17 Jackson Harper <[email protected]>
  3486. * X11Dnd.cs:
  3487. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  3488. Ringenbach.
  3489. 2006-04-15 Alexander Olk <[email protected]>
  3490. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  3491. place
  3492. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  3493. with the correct ButtonState
  3494. 2006-04-14 Peter Dennis Bartok <[email protected]>
  3495. * XplatUIX11.cs: Improved distinguishing between window types to
  3496. tell the WM a type closer to what the app wants (Fixes #78107)
  3497. 2006-04-14 Alexander Olk <[email protected]>
  3498. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  3499. GrabHandle
  3500. 2006-04-14 Alexander Olk <[email protected]>
  3501. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  3502. drawing code to reflect the size grip changes
  3503. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  3504. * ImageListStreamer.cs: fix handling of the mask that follows the main
  3505. bitmap when deserializing and serialize it properly. The generated mask
  3506. should better be a 1bpp image, but I'll do that later.
  3507. 2006-04-13 Alexander Olk <[email protected]>
  3508. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  3509. path doesn't fit into some of our Current.Places
  3510. 2006-04-13 Jackson Harper <[email protected]>
  3511. * ComboBox.cs: Use borders instead of drawing our own decorations,
  3512. try to obey correct rules for heights.
  3513. * Theme.cs:
  3514. * ThemeNice.cs:
  3515. * ThemeClearLooks.cs:
  3516. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  3517. this is now handled by borders.
  3518. - Remove unused DrawListBoxDecorationSize method.
  3519. 2006-04-13 Mike Kestner <[email protected]>
  3520. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  3521. reported by Alex.
  3522. 2006-04-13 Alexander Olk <[email protected]>
  3523. * ThemeWin32Classic.cs:
  3524. - Fixed CPDrawStringDisabled
  3525. - Corrected drawing of disabled menu items
  3526. - Fixed drawing of disabled radio buttons (bug #78095)
  3527. - Draw check in a disabled CheckBox with color ControlDark
  3528. 2006-04-12 Peter Dennis Bartok <[email protected]>
  3529. * Form.cs: Use the provided width when calculating the menu size;
  3530. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  3531. and ClientSize.Width won't be updated yet
  3532. * Application.cs: Use Visible instead of Show() to make form visible,
  3533. this way we create the handle later and menusize is considered
  3534. 2006-04-12 Mike Kestner <[email protected]>
  3535. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  3536. reporting.
  3537. 2006-04-12 Peter Dennis Bartok <[email protected]>
  3538. * TextBox.cs: Implemented context menu
  3539. 2006-04-12 Mike Kestner <[email protected]>
  3540. * ListView.cs: implement box selection. fixes #77838.
  3541. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  3542. 2006-04-12 Peter Dennis Bartok <[email protected]>
  3543. * XplatUIX11.cs: Added setting of window type when transient window
  3544. is created (metacity would move it otherwise)
  3545. * X11Structs.cs: Added WINDOW_TYPE atoms
  3546. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  3547. background (the control is Opaque but still wants transparent
  3548. backgrounds)
  3549. 2006-04-12 Peter Dennis Bartok <[email protected]>
  3550. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  3551. that set Opaque but don't mean it (like all ButtonBase-derived
  3552. controls) to still draw their background
  3553. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  3554. the background
  3555. 2006-04-12 Peter Dennis Bartok <[email protected]>
  3556. * Control.cs (PaintControlBackground): Set the graphics object
  3557. on our PaintEvent to null to prevent it from being disposed
  3558. when the PaintEvent gets disposed
  3559. 2006-04-12 Alexander Olk <[email protected]>
  3560. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  3561. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  3562. 2006-04-12 Peter Dennis Bartok <[email protected]>
  3563. * Control.cs:
  3564. - Added transparency check to BackColor property. Transparent
  3565. backgrounds are only allowed if the control styles permit it
  3566. - Added recursive painting of parent control background and
  3567. foreground if a control with a transparent backcolor is drawn
  3568. (Thanks to Tim Ringenback for providing his 'hack' as a base
  3569. for this patch) Fixes #77985 and #78026.
  3570. - Added Opaque style check before calling OnPaintBackground, no
  3571. need to draw the background if the control is opaque
  3572. - Removed ControlAccessibleObject owner variable (inherited from
  3573. base, no need to define again)
  3574. - Added some documentation links explaining the drawing events
  3575. and styles
  3576. 2006-04-11 Peter Dennis Bartok <[email protected]>
  3577. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  3578. that the affected control is the located at the left border of our
  3579. parent (Fixes #77936)
  3580. 2006-04-11 Peter Dennis Bartok <[email protected]>
  3581. * TextBoxBase.cs: When rendering disabled or readonly controls,
  3582. draw the background with 'Control' instead of 'Window' color as
  3583. long as the user hasn't specifically set a color
  3584. 2006-04-11 Peter Dennis Bartok <[email protected]>
  3585. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  3586. since that won't be updated if the user types text (only if it's
  3587. programatically set)
  3588. 2006-04-11 Peter Dennis Bartok <[email protected]>
  3589. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  3590. layout changes do to app-triggered resizes will have the proper
  3591. display rectangle for layout
  3592. 2006-04-11 Alexander Olk <[email protected]>
  3593. * ThemeWin32Classic.cs:
  3594. - Make use of the SystemBrushes and SystemPens wherever possible
  3595. - Corrected some highlight colors
  3596. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  3597. drawing
  3598. * Theme.cs: Added Empty field to CPColor struct
  3599. 2006-04-11 Peter Dennis Bartok <[email protected]>
  3600. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  3601. is displayed when calculating the display rectangle. Thanks to Mike
  3602. for teaching me the err of my ways.
  3603. 2006-04-10 Peter Dennis Bartok <[email protected]>
  3604. * ScrollableControl.cs:
  3605. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  3606. (instead of 0,0) and we now return the real width/height instead of
  3607. just the clientrectangle, adjusted for padding. The rectangle is
  3608. now cached and created by the new CalculateDisplayRectangle method.
  3609. - Created new CalculateDisplayRectange method, which basically does
  3610. what get_DisplayRectangle() did originally, but now using the
  3611. right edge instead of DisplayRectangle to determine the size of
  3612. our scrollbars
  3613. - get_Canvas(): Fixed it to properly calculate canvas for
  3614. right/bottom controls which seem to be placed to the right/bottom
  3615. of any controls that have a fixed location
  3616. - Removed TODO that's taken care of
  3617. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  3618. and SetDisplayRectLocation according to new MSDN2 docs
  3619. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  3620. event when that is called, this is added for compatibility
  3621. - ScrollControlIntoView(): Implemented.
  3622. - Switched scrollbars to be implicit, they shouldn't be selectable
  3623. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  3624. call it when the active control is set/changed
  3625. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  3626. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  3627. implicit_control variable (used for native Win32 message generation)
  3628. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  3629. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  3630. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  3631. * XplatUIStructs.cs: Added ScrollBarCommands enum
  3632. 2006-04-10 Jackson Harper <[email protected]>
  3633. * ButtonBase.cs:
  3634. * CheckedListBox.cs:
  3635. * ComboBox.cs:
  3636. * DataGrid.cs:
  3637. * DataGridView.cs:
  3638. * Form.cs:
  3639. * GroupBox.cs:
  3640. * ListBox.cs:
  3641. * PrintPreviewControl.cs:
  3642. * ProgressBar.cs:
  3643. * PropertyGrid.cs:
  3644. * Splitter.cs:
  3645. * StatusBar.cs:
  3646. * TrackBar.cs:
  3647. * UpDownBase.cs: Fixup base event overrides.
  3648. 2006-04-06 Mike Kestner <[email protected]>
  3649. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  3650. all user-initiated value changes to min <= value <= max-thumbsz+1.
  3651. (set_Value): check for vert/horiz when calculating new thumb position.
  3652. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  3653. like MS does.
  3654. (OnMouseMoveSB): refactor the thumb dragging code and refine
  3655. invalidation logic to reduce flicker.
  3656. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  3657. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  3658. (UpdateThumbPosition): small code readability cleanup
  3659. 2006-04-10 Alexander Olk <[email protected]>
  3660. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  3661. different
  3662. 2006-04-08 Alexander Olk <[email protected]>
  3663. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  3664. 2006-04-08 Alexander Olk <[email protected]>
  3665. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  3666. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  3667. This dramatically reduces the number of Pen.Dispose calls.
  3668. Where possible call ResPool methods only once instead of calling it
  3669. over and over again (for example for the same color).
  3670. 2006-04-06 Mike Kestner <[email protected]>
  3671. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  3672. Also remove an unused private field on the collection. Fixes #77972.
  3673. 2006-04-06 Alexander Olk <[email protected]>
  3674. * ThemeNice.cs: Added ToolBar drawing code
  3675. 2006-04-06 Mike Kestner <[email protected]>
  3676. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  3677. I'm assuming that means we need to look up the toplevel for the
  3678. provided control. Fixes the crash trace in #77911 but exposes another
  3679. crash in some strange reflection usage in NDocGui.
  3680. 2006-04-06 Alexander Olk <[email protected]>
  3681. * ThemeNice.cs: Gave it a little silver touch and added Images
  3682. method
  3683. * FontDialog.cs: FontDialog is not resizable
  3684. * FileDialg.cs: Added SizeGripStyle.Show
  3685. 2006-04-05 Jackson Harper <[email protected]>
  3686. * KeyboardLayouts.cs: Remove warning.
  3687. 2006-04-05 Jackson Harper <[email protected]>
  3688. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  3689. all of our controls instead of Paint +=.
  3690. * ListBox.cs:
  3691. * ListView.cs:
  3692. * MenuAPI.cs:
  3693. * MessageBox.cs:
  3694. * NotifyIcon.cs:
  3695. * ProgressBar.cs:
  3696. * ScrollBar.cs:
  3697. * Splitter.cs:
  3698. * StatusBar.cs:
  3699. * TabControl.cs:
  3700. * TextBoxBase.cs:
  3701. * ToolBar.cs:
  3702. * TrackBar.cs:
  3703. * UpDownBase.cs:
  3704. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  3705. use OnPaintInternal. Remove Width/Height and Visible checks in
  3706. paint handler, this is done at a higher level now.
  3707. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  3708. * PaintEventArgs.cs: Add a handled flag so controls that don't
  3709. want anymore painting after OnPaintInternal can make sure OnPaint
  3710. isn't called.
  3711. 2006-04-05 Mike Kestner <[email protected]>
  3712. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  3713. state of the form, so that we don't process events when Modal dialogs
  3714. are up. Fixes #77922.
  3715. 2006-04-05 Alexander Olk <[email protected]>
  3716. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  3717. checking is done.
  3718. 2006-04-05 Mike Kestner <[email protected]>
  3719. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  3720. 2006-04-05 Mike Kestner <[email protected]>
  3721. * ListView.cs (HeaderMouseMove): null guarding for the over column
  3722. when setting up the drag_to_index. Fixes #78015.
  3723. 2006-04-04 Peter Dennis Bartok <[email protected]>
  3724. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  3725. in the taskbar. Transient windows seem to accomplish that.
  3726. 2006-04-04 Peter Dennis Bartok <[email protected]>
  3727. * Form.cs:
  3728. - Re-enabled CreateParams.X/Y code for FormStartPosition
  3729. - Added code for manual placement when creating the Control
  3730. - Incomplete patch to treat MDI forms differently when
  3731. setting the ClientSizeCore. (Still need to figure out handling
  3732. x/y coords there)
  3733. * XplatUIX11.cs:
  3734. - When we're explicitly setting the X/Y position of a non-Child
  3735. window, let the WM know. Metacity really wants this.
  3736. 2006-04-04 Alexander Olk <[email protected]>
  3737. * ThemeNice.cs: Added CPDrawButton
  3738. 2006-04-04 Alexander Olk <[email protected]>
  3739. * ThemeNice.cs: Changed the color for focused buttons and activated
  3740. the arrows for small scroll buttons.
  3741. 2006-04-04 Alexander Olk <[email protected]>
  3742. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  3743. anymore. Changed some method modifiers to protected (virtual)
  3744. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  3745. changes
  3746. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  3747. Updated drawing of menus, buttons and progressbars; added
  3748. CPDrawBorder3D
  3749. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  3750. * ImageListStreamer.cs: implemented serialization/deserialization
  3751. of the images.
  3752. 2006-04-03 Alexander Olk <[email protected]>
  3753. * ThemeWin32Classic.cs:
  3754. - Removed all the DrawFrameControl stuff; CPDrawButton,
  3755. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  3756. inside the methods
  3757. - Updated and corrected the drawing code of CPDrawButton,
  3758. CPDrawCheckBox and CPDrawRadioButton to better match ms
  3759. - Updated theme checkbox and radiobutton code to use the CP*
  3760. methods
  3761. 2006-03-31 Peter Dennis Bartok <[email protected]>
  3762. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  3763. bug is fixed
  3764. 2006-03-31 Jackson Harper <[email protected]>
  3765. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  3766. sometimes.
  3767. * UpDownBase.cs: Don't CreateGraphics manually, use a
  3768. Refresh. Ideally we would invalidate the correct areas here.
  3769. 2006-03-31 Peter Dennis Bartok <[email protected]>
  3770. * XplatUIX11.cs:
  3771. - We now track the mapping state of windows. If a window (or
  3772. one of it's parents) is not mapped we no longer permit
  3773. WM_PAINT messages to be generated since we'd otherwise get
  3774. lots of BadMatch X errors. Jackson did all the work figuring
  3775. out the problem.
  3776. - Destroying the caret if the window it's contained in is
  3777. destroyed. Can't use regular DestroyCaret method since it
  3778. might fall into a drawing function (trying to remove the
  3779. caret) and with that generate new BadMatch errors. Again,
  3780. Jackson tracked this down.
  3781. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  3782. make sure we send the messages to all windows. (The old code
  3783. would send the WM_DESTROY to the window, and then all child
  3784. windows would be 'gone' because the WM_DESTROY handle lookup
  3785. would no longer find the destroyed window)
  3786. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  3787. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  3788. 2006-03-31 Jackson Harper <[email protected]>
  3789. * ScrollableControl.cs: Dont recalc if we are not visible.
  3790. 2006-03-31 Mike Kestner <[email protected]>
  3791. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  3792. the visibility branch.
  3793. 2006-03-31 Jackson Harper <[email protected]>
  3794. * ScrollBar.cs: Cap values when incrementing/decrementing.
  3795. 2006-03-31 Mike Kestner <[email protected]>
  3796. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  3797. * ToolTip.cs: guard against timer expirations with no active control.
  3798. Not sure why it happened.
  3799. 2006-03-31 Mike Kestner <[email protected]>
  3800. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  3801. text.
  3802. * ToolTip.cs: Position the tooltip based on where the cursor is at
  3803. popup time, not at MouseEnter time. Add a Down state so that we don't
  3804. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  3805. positioning offset. Lookup DisplaySize at positioning time, since it
  3806. can theoretically change during invocation.
  3807. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  3808. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  3809. 2006-03-31 Alexander Olk <[email protected]>
  3810. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  3811. Fixes behaviour when the Text property of the box is String.Empty
  3812. 2006-03-31 Peter Dennis Bartok <[email protected]>
  3813. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  3814. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  3815. a window)
  3816. 2006-03-31 Alexander Olk <[email protected]>
  3817. * FileDialog.cs: Visual enhancement for the popup buttons in
  3818. PopupButtonPanel
  3819. 2006-03-31 Alexander Olk <[email protected]>
  3820. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  3821. code
  3822. 2006-03-30 Alexander Olk <[email protected]>
  3823. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  3824. highlighted menu items to match ms
  3825. 2006-03-30 Peter Dennis Bartok <[email protected]>
  3826. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  3827. 2006-03-30 Mike Kestner <[email protected]>
  3828. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  3829. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  3830. go active to account for HotLight to Selected transition.
  3831. * MenuItem.cs: add internal Selected prop. Fill out the Status
  3832. property by calculating it from item info. Add HotLight,
  3833. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  3834. 2006-03-30 Mike Kestner <[email protected]>
  3835. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  3836. 2006-03-29 Jackson Harper <[email protected]>
  3837. * Form.cs: Implement TODO.
  3838. 2006-03-29 Peter Dennis Bartok <[email protected]>
  3839. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  3840. missing proper dialog setup in the constructor
  3841. 2006-03-29 Peter Dennis Bartok <[email protected]>
  3842. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  3843. * Control.cs:
  3844. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  3845. - Fixed ResetBindings and removed TODO
  3846. - Added check for cross-thread calls to get_Handle()
  3847. - Added Marshaller attribute for set_Font to satisfy class status
  3848. * FontDialog.cs: Removed TODOs that seemed implemented
  3849. * UpDownBase.cs: Removed unneeded TODO and Fixme
  3850. * MessageBox.cs: Implemented support for Default button and removed TODO
  3851. * FileDialog.cs: Removed obsolete TODO
  3852. * DomainUpDown.cs: Removed obsolete TODO
  3853. * ButtonBase.cs: Removed obsolete TODO
  3854. * XplatUIWin32.cs: Removed obsolete TODO
  3855. * Form.cs:
  3856. - Removed obsolete TODO
  3857. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  3858. internal status updates
  3859. - Making sure the active control is selected when the control is created
  3860. * CurrencyManager.cs: Removed obsolete TODO
  3861. 2006-03-29 Mike Kestner <[email protected]>
  3862. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  3863. of PrintPreviewDialog and RichTextBox.
  3864. 2006-03-29 Alexander Olk <[email protected]>
  3865. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  3866. DarkDark, Light and LightLight colors for a specific color
  3867. * ThemeWin32Classic.cs:
  3868. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  3869. Appearance = Button
  3870. - Make use of the new ResPool helper CPColor
  3871. - Draw ProgressBar and StatusBar with correct 3D borders
  3872. 2006-03-29 Alexander Olk <[email protected]>
  3873. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  3874. 2006-03-28 Mike Kestner <[email protected]>
  3875. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  3876. calculating col/row counts.
  3877. 2006-03-28 Mike Kestner <[email protected]>
  3878. * ColumnHeader.cs:
  3879. * ListView.cs:
  3880. * ListViewItem.cs:
  3881. * Menu.cs:
  3882. switch to explicit interface method implementation for some methods
  3883. corcompare identifies as inconsistent with MS.
  3884. 2006-03-28 Mike Kestner <[email protected]>
  3885. * MainMenu.cs:
  3886. * Menu.cs:
  3887. add a few missing methods from the class status output.
  3888. 2006-03-28 Alexander Olk <[email protected]>
  3889. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  3890. correct.
  3891. 2006-03-28 Mike Kestner <[email protected]>
  3892. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  3893. 2006-03-27 Mike Kestner <[email protected]>
  3894. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  3895. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  3896. 2006-03-27 Alexander Olk <[email protected]>
  3897. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  3898. 2006-03-25 Alexander Olk <[email protected]>
  3899. * ThemeWin32Classic.cs:
  3900. - GroupBox: Inserted a little gap between the text and the lines
  3901. on the right side
  3902. - Made the code in CPDrawBorder3D more readable
  3903. - Corrected the drawing location of the up and down arrows in
  3904. CPDrawScrollButton
  3905. 2006-03-25 Alexander Olk <[email protected]>
  3906. * ControlPaint.cs: Corrected line widths in DrawBorder for
  3907. ButtonBorderStyle Inset and Outset
  3908. 2006-03-25 Alexander Olk <[email protected]>
  3909. * ThemeWin32Classic.cs:
  3910. - Rewrote the totally broken CPDrawBorder3D method. That was
  3911. one of the main problems for the terrific ThemeWin32Classic
  3912. look
  3913. - Updated and corrected Button drawing
  3914. - Correct the dimensions of the SizeGrip to match ms ones
  3915. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  3916. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  3917. Border3DStyle.Sunken to match ms.
  3918. 2006-03-25 Alexander Olk <[email protected]>
  3919. * ThemeWin32Classic.cs: First small part of the "de-uglify
  3920. ThemeWin32Classic" effort, SizeGrip
  3921. 2006-03-24 Jackson Harper <[email protected]>
  3922. * XplatUIX11.cs: Give a max idle time of one second, this matches
  3923. MS and forces an Idle event every second when there are no other
  3924. events in the queue.
  3925. 2006-03-24 Mike Kestner <[email protected]>
  3926. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  3927. * ListView.Item.cs: fix layout issues with null image lists and images
  3928. smaller than checkbox size.
  3929. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  3930. mode like MS does. It's weird, but consistent. ;-)
  3931. Fixes #77890.
  3932. 2006-03-24 Mike Kestner <[email protected]>
  3933. * ListView.cs: Scroll wheel support for the item control. Fixes
  3934. #77839.
  3935. 2006-03-23 Jackson Harper <[email protected]>
  3936. * ScrollableControl.cs: Special case negative sized areas, not
  3937. zero.
  3938. * MonthCalendar.cs: Save the rect of the clicked date so we can
  3939. use it for invalidation.
  3940. - Try to cut down on the number of invalidates
  3941. - Invalidate the rect the mouse is over and was over when moving
  3942. the mouse, so we get the focus box following the cursor.
  3943. 2006-03-23 Mike Kestner <[email protected]>
  3944. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  3945. focus rectangle drawing. Fixes #77835.
  3946. 2006-03-23 Mike Kestner <[email protected]>
  3947. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  3948. the if and else if and reverting back to the original == check on the
  3949. None conditional.
  3950. 2006-03-23 Alexander Olk <[email protected]>
  3951. * FontDialog.cs: Update the example panel if the selected index of
  3952. the fontListBox changes.
  3953. 2006-03-23 Alexander Olk <[email protected]>
  3954. * FileDialog.cs: Make FileDialog remember which directory it was in
  3955. last in the same execution.
  3956. 2006-03-22 Mike Kestner <[email protected]>
  3957. * FileDialog.cs: make the DropDownMenu on the toolbar display
  3958. RadioChecks since they are mutually exclusive and that's what MS does.
  3959. 2006-03-22 Mike Kestner <[email protected]>
  3960. * Theme.cs: add Color param to CPDrawMenuGlyph.
  3961. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  3962. checks and radio marks and arrows are visible on highlighted items.
  3963. * ControlPaint.cs: update to use new Theme signature.
  3964. 2006-03-22 Mike Kestner <[email protected]>
  3965. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  3966. is active. Fixes #77870.
  3967. 2006-03-22 Alexander Olk <[email protected]>
  3968. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  3969. to be focused/selected after startup
  3970. 2006-03-22 Alexander Olk <[email protected]>
  3971. * ColorDialog.cs:
  3972. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  3973. CustomColors and ShowHelp properties
  3974. - Some internal rewrites to get better results when using the
  3975. ColorMatrix
  3976. 2006-03-22 Mike Kestner <[email protected]>
  3977. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  3978. HoverSelection. Fixes #77836.
  3979. 2006-03-22 Mike Kestner <[email protected]>
  3980. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  3981. ToggleButtons. (De)Sensitize the Back button around a stack count of
  3982. 1, not 0. Update ButtonSize based on a pixel count of the win32
  3983. control. Adjust the toolbar size/location for new button size.
  3984. 2006-03-22 Jackson Harper <[email protected]>
  3985. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  3986. true.
  3987. * ScrollBar.cs: When doing increments and decrements we need to
  3988. set the Value property so that ValueChanged gets raised. A
  3989. possible optimization here would be to make an internal SetValue
  3990. that doesn't invalidate immediately.
  3991. * ToolTip.cs: Tooltips get added to their container (when
  3992. supplied) so they get disposed when the container is disposed.
  3993. - Don't create tooltips for String.Empty. This prevents all these
  3994. little 2-3 pixel windows from showing up when running nunit-gui
  3995. and driving me mad.
  3996. * Form.cs: Don't set topmost when setting the owner if the handles
  3997. haven't been created yet. The topmost set will happen when the
  3998. handles are created.
  3999. 2006-03-22 Peter Dennis Bartok <[email protected]>
  4000. * XplatUIX11.cs:
  4001. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  4002. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  4003. visible (to allow them to recalculate their sizes)
  4004. 2006-03-21 Mike Kestner <[email protected]>
  4005. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  4006. methods. Removed a ton of redundant code. Still not really happy with
  4007. the border rendering, but I think that's mainly because of the
  4008. ControlDarkDark being black instead of a dark grey. Depending on how
  4009. close we want to be, we might want to revisit those color choices.
  4010. Among the new features added during the refactor were DropDownArrow
  4011. pressed rendering, Disabled image rendering. Proper flat appearance
  4012. boundary rendering. Removed the Divider and Wrapping dividers since I
  4013. can't figure out any combination of themes and conditions to make the
  4014. MS control draw a horizontal line on a toolbar despite what the
  4015. Divider property docs indicate.
  4016. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  4017. conditions and incorrect layout. Updated to coding standard.
  4018. * ToolBarButton.cs: refactored layout and positioning code from
  4019. ToolBar to here. Invalidate wherever possible instead of forcing
  4020. redraws of the whole toolbar.
  4021. (Known remaining issues: explicit ButtonSize smaller than provided
  4022. images.)
  4023. 2006-03-21 Mike Kestner <[email protected]>
  4024. * ContextMenu.cs (Show): use the position parameter instead of just
  4025. showing at the MousePosition.
  4026. 2006-03-21 Jackson Harper <[email protected]>
  4027. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  4028. control handle this.
  4029. * TreeNodeCollection.cs: If we are clearing the root node we need
  4030. to reset top_node so calcs can still happen.
  4031. * ThemeWin32Classic.cs: This is a Flags so we need to check
  4032. properly.
  4033. 2006-03-21 Jackson Harper <[email protected]>
  4034. * DataGrid.cs: Create columns when the binding context has been
  4035. changed.
  4036. * X11Structs.cs: Keysyms are uints.
  4037. - Add size to fix build.
  4038. 2006-03-21 Peter Dennis Bartok <[email protected]>
  4039. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4040. XplatUIOSX.cs:
  4041. - Added ResetMouseHover method to allow controls to retrigger
  4042. hovering if they need it more than once
  4043. - Implemented MouseHoverTime and MouseHoverSize properties
  4044. * Timer.cs: Start() must reset the interval
  4045. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  4046. properties
  4047. 2006-03-21 Jackson Harper <[email protected]>
  4048. * X11Keyboard.cs: improved layout detection. Move the nonchar
  4049. tables into this file.
  4050. * KeyboardLayouts.cs: Move the tables into resource files.
  4051. 2006-03-21 Mike Kestner <[email protected]>
  4052. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  4053. 2006-03-21 Alexander Olk <[email protected]>
  4054. * Mime.cs: Various speed optimizations. Looking up mime types
  4055. is now 2 times faster than before
  4056. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4057. * CreateParams.cs: Added internal menu field
  4058. * Control.cs:
  4059. - Switched call order for UpdateBounds; now we always call
  4060. the one that also takes ClientSize, and we're calculating the
  4061. client size via driver method in the others. The previous
  4062. method of tracking client size by difference wasn't working
  4063. for forms where even the starting client size wouldn't match
  4064. the overall form size (due to borders) (Part of fix for #77729)
  4065. - CreateParams(): Do not use parent.Handle unless the handle is
  4066. already created. Causes havoc with Nexxia and throws off our
  4067. creation of controls
  4068. * XplatUIX11.cs:
  4069. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  4070. - Switched handling of ConfigureNotify over to new PerformNCCalc
  4071. method (consolidates code)
  4072. - Changed RequestNCRecalc to use new PerformNCCalc method
  4073. - Added calls to RequestNCRecalc when menus and borders are changed
  4074. to allow app to set NC size. (Part of fix for #77729) This matches
  4075. when MS send a WM_NCRECALC on Win32 windows.
  4076. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  4077. (Part of fix for #77729). This matches what MS does, they also
  4078. send that message when the form is made visible.
  4079. - XException.GetMessage: Improved usability of X errors by including
  4080. a translation of the window into Hwnd and Control class
  4081. - Improved debug info for window creation, reparenting and destruction
  4082. - Created helper method WindowIsMapped() [Currently not used]
  4083. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  4084. * Form.cs:
  4085. - CreateParams: Now setting our menu on the new internal menu field
  4086. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  4087. avoid calculating the same property twice
  4088. * Hwnd.cs:
  4089. - Improved usability of ToString() for debugging purposes
  4090. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  4091. determine the height of the menu, instead of just the font. This
  4092. required to also create a graphics context and to keep a bmp
  4093. around (for performance reasons)
  4094. 2006-03-17 Peter Dennis Bartok <[email protected]>
  4095. * MenuAPI.cs: Added OnMouseUp method
  4096. * Form.cs:
  4097. - Now remembering the requested client size, avoids size errors
  4098. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  4099. instead of base if the menu is active. This is required due to
  4100. control now capturing and releasing on down/up and it would
  4101. prematurely release our menu capture
  4102. 2006-03-17 Jackson Harper <[email protected]>
  4103. * KeyboardLayouts.cs: Add the czech layouts.
  4104. 2006-03-16 Jackson Harper <[email protected]>
  4105. * Control.cs: Use the viewport space when sizing not the controls
  4106. client size, so things like ScrollableControl that effect the
  4107. viewport size (when scrollbars are added) are computed correctly.
  4108. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  4109. of ManagerEntrys.
  4110. - Handle creating BindingManagers for null data sources.
  4111. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  4112. source, otherwise when rows are added they are added to the 'fake'
  4113. datasource and we will crash when trying to set the position in
  4114. those rows.
  4115. - Use Implicit scrollbars on the datagrid so they arent
  4116. selectable.
  4117. 2006-03-16 Jackson Harper <[email protected]>
  4118. * Binding.cs:
  4119. * InternalWindowManager.cs:
  4120. * MdiWindowManager.cs:
  4121. * X11Keyboard.cs: I really want Mike to love me again (fix
  4122. compiler warnings).
  4123. 2006-03-16 Peter Dennis Bartok <[email protected]>
  4124. * DataGrid.cs:
  4125. - OnMouseDown: Switch to editing mode when clicking on the cell
  4126. even if we're clicking on the cell that's currently
  4127. selected
  4128. - ProcessGridKey: Left/Right now wrap like MS.Net does
  4129. - ProcessGridKey: Tab now knows to add a new row when tab is
  4130. pressed in the cell of the last column of the
  4131. last row
  4132. - ProcessGridKey: Enter now adds another row if pressed in the last
  4133. row and selectes the new row, same column cell
  4134. - ProcessGridKey: Home/End navigate columns, not rows, like
  4135. originally implemented
  4136. - Broke ProcessKeyPreview code out into an extra Internal method
  4137. so it can be called from the edit code
  4138. * DataGridTextBox.cs (ProcessKeyMessage):
  4139. - Switched to accept Tab keypresses
  4140. - Added F2 handling to allow jumping to the end of the edited cell
  4141. - Added logic to allow moving caret left/right inside edited cell
  4142. and making the edited cell jump when the caret hits cell borders
  4143. - Tab and Enter are now passed to the datagrid after being handled
  4144. * TextBoxBase.cs:
  4145. - Removed capture code now that Control handles it
  4146. - set_SelectionStart now ensures caret is visible
  4147. 2006-03-16 Jackson Harper <[email protected]>
  4148. * TrackBar.cs: Debackwards the increment/decrement for handling
  4149. mouse clicks on the bar with vertical trackbars.
  4150. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  4151. bottom to match MS.
  4152. 2006-03-16 Mike Kestner <[email protected]>
  4153. * ListView.cs: make shift/ctrl keyboard and mouse selection
  4154. consistent with the MS control. Fix a bug in
  4155. SelectedListViewItemCollection.Clear that was pissing me off for the
  4156. better part of a day because the collection was being altered
  4157. underneath us as we walked the list.
  4158. 2006-03-16 Peter Dennis Bartok <[email protected]>
  4159. * Control.cs: Not sure how we could miss this so long, but it seems
  4160. that MS.Net has Capture set all the way from before calling
  4161. OnMouseDown through sending the mouse events until after
  4162. OnMouseUp. This will fix DataGrid's selection being set to end
  4163. at the location of the MouseUp.
  4164. 2006-03-15 Jackson Harper <[email protected]>
  4165. * BindingContext.cs: Check the binding after its added so that it
  4166. can initialize the binding managers and hookup to events.
  4167. * Binding.cs: Data members seem to sometimes include rows/cols in
  4168. the format Row.Column we now take this into account.
  4169. - Hookup to the position changed event so we can update the
  4170. control when the position has changed in the data set.
  4171. * CurrencyManager.cs: Take into account the row/col naming
  4172. convention when creating dataset tables.
  4173. * BindingContext.cs: Using a newer better way of storing
  4174. datasource/datamember pairs. Hopefully this better matches MS for
  4175. looking up binding managers.
  4176. 2006-03-15 Jackson Harper <[email protected]>
  4177. * BindingContext.cs: The currency manager needs the data member
  4178. name, if the member is a data set we use the name to find the
  4179. correct table.
  4180. * CurrencyManager.cs: When creating the list prefer an IList over
  4181. an IListSource.
  4182. - Attempt to create a DataTable from a DataSet (TODO: might need
  4183. some better error checking here, although MS doesn't seem to have much)
  4184. - If we have a DataTable create a view and use it as our list.
  4185. 2006-03-15 Mike Kestner <[email protected]>
  4186. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  4187. keyboard navigation. Support Up/Down/Left/Right selection correctly
  4188. for all 4 View modes.
  4189. * ListViewItem.cs: add internal row/col fields for icon layouts.
  4190. 2006-03-15 Jackson Harper <[email protected]>
  4191. * TabControl.cs: Redraw the tabs when we resize so their newly
  4192. calculated sizes are drawn on screen.
  4193. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  4194. composite characters.
  4195. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  4196. - filter events so that composite characters can be created
  4197. patches by peter
  4198. * X11Structs.cs: Add XIMProperties enum.
  4199. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4200. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  4201. unless it's created
  4202. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4203. * Control.cs (PerformLayout): We don't need to consider visiblity
  4204. for anchoring, only for docking. This fixes 'whacky' alignment
  4205. in listbox and other controls that use implicit scrollbars after
  4206. the previous PerformLayout patch
  4207. * ListBox.cs: Switched to use implicit scrollbars
  4208. 2006-03-14 Mike Kestner <[email protected]>
  4209. * ToolBar.cs:
  4210. * VScrollBar.cs:
  4211. - chain up the "new event" overrides to base and use
  4212. OnEvent to raise them. Part of fix for bug #76509.
  4213. 2006-03-14 Alexander Olk <[email protected]>
  4214. * FileDialog.cs: Do not select an item in the parent directory
  4215. on backspace
  4216. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4217. * Control.cs (PerformLayout): It would seem that we considered
  4218. invisible windows for our layout. Not quite the right thing
  4219. to do. Now we don't any longer, thereby fixing bug #76889.
  4220. 2006-03-14 Peter Dennis Bartok <[email protected]>
  4221. * Control.cs (CanFocus): I goofed. A control can have focus
  4222. even though it's not selectable. Made it match MS docs.
  4223. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4224. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  4225. center by default (fixes #76895)
  4226. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  4227. all uses of Border3DSides.All with the explicit ORd together
  4228. Left|Right|Top|Bottom because I assume that nobody was aware
  4229. that All also implies a center fill. Most places I checked had
  4230. a fill right above.
  4231. * ProgressBarStyle.cs: Added
  4232. 2006-03-13 Mike Kestner <[email protected]>
  4233. * ListView.cs: fix breakage in drag shadow header positioning
  4234. from Peter's csc compilation fix.
  4235. 2006-03-13 Mike Kestner <[email protected]>
  4236. * ListView.cs: fix NRE produced by backspacing twice in a focused
  4237. FileDialog.
  4238. 2006-03-13 Mike Kestner <[email protected]>
  4239. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  4240. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4241. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  4242. be changed
  4243. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  4244. the allowed size before making programmatic size changes
  4245. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4246. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  4247. set, metacity is broken and will still use the emty sizes in
  4248. the struct. (Fix for #77089)
  4249. 2006-03-13 Peter Dennis Bartok <[email protected]>
  4250. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  4251. WindowExStyles and marked both enums as Flags
  4252. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  4253. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  4254. to match WindowStyles split
  4255. * XplatUIX11.cs:
  4256. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  4257. - Updated to match WindowStyles split
  4258. * XplatUIWin32.cs:
  4259. - Fixed FosterParent creation, was using ExStyle on the Style field
  4260. (This should help with Popup focus issues)
  4261. - Updated to match WindowStyles split
  4262. 2006-03-13 Jackson Harper <[email protected]>
  4263. * MdiWindowManager.cs: Use the system menu height. Fixes some
  4264. strange sizing issues.
  4265. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4266. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  4267. * TextBoxBase.cs:
  4268. - Scroll to caret after inserting text (#77672)
  4269. - Make scroll range one pixel higher, fixes off-by-one error (and
  4270. makes underlines visible on the last line)
  4271. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4272. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  4273. the keyboard state from being stuck with keys in 'pressed' state when
  4274. focus is switched away via keyboard
  4275. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  4276. reset the keyboard if no X11 KeyUp events are expected to come
  4277. * X11Structs.cs: Switched type of Visible to bool to match driver
  4278. 2006-03-12 Peter Dennis Bartok <[email protected]>
  4279. * TextControl.cs:
  4280. - Switched caret to be just 1 pixel wide, matches MS and looks less
  4281. clunky
  4282. - Moved caret display 1 pixel down from the top of the control
  4283. to improve view
  4284. - InsertCharAtCharet: Update the selection start if moving the caret
  4285. (fixes bug #77696; based on patch suggested by [email protected])
  4286. - No longer always creating the caret when the caret methods are
  4287. called. Only the actual ShowCaret/HideCaret will do that now
  4288. - Only setting caret visible if the owner control has focus
  4289. - UpdateView: Added invalidation-shortcut logic for center and right
  4290. aligned text. Previously we'd update all according to the left
  4291. logic which caused drawing errors. Also fixed height of invalidated
  4292. areas, now properly invalidating the whole area (was off-by-one)
  4293. - owner_HandleCreated: Always generate the document when the
  4294. handle is created; this ensures that
  4295. * TextBoxBase.cs:
  4296. - Fixed situation where caret would disappear under the right
  4297. window border, also improved scrolling behaviour on left-
  4298. aligned textboxes
  4299. - Fixed right-aligned textboxes to have a border to the
  4300. right instead of the caret being under the right border
  4301. * XplatUIX11.cs:
  4302. - Switched from 'nested' to simple visible/not visible tracking
  4303. for caret (part of fix for #77671)
  4304. - No longer passing through translated FocusIn/FocusOut messages
  4305. since we were notifying too often and the wrong windows. Instead
  4306. we just notify our focussed window of receiving or loosing focus
  4307. * XplatUIWin32.cs: Switched from 'nested' show/hide
  4308. counting for caret to simple visible yes/no behaviour (part of
  4309. fix for #77671)
  4310. 2006-03-11 Alexander Olk <[email protected]>
  4311. * Mime.cs: Remove debug code...
  4312. 2006-03-11 Alexander Olk <[email protected]>
  4313. * MimeGenerated.cs: Removed
  4314. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  4315. and subclasses) from /usr/(local/)share/mime and
  4316. $HOME/.local/share/mime.
  4317. 2006-03-10 Jackson Harper <[email protected]>
  4318. * MdiWindowManager.cs: Recalc the NC area when a window is
  4319. maximized/restored so that the menu area is drawn on forms that
  4320. don't have a menu.
  4321. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4322. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4323. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  4324. us to force a WM_NCCALCRESIZE message being sent. This is needed
  4325. for MDI maximizing.
  4326. 2006-03-10 Jackson Harper <[email protected]>
  4327. * Form.cs: We need to use the ActiveMenu when calculating menu
  4328. height.
  4329. - Fix nullref when the window manager hasn't been created yet.
  4330. * Control.cs: Fix nullref when we try to bring a control to the
  4331. front that has no parent.
  4332. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  4333. height.
  4334. - Add a dummy item to the maximized menu so it always has the
  4335. correct height. Otherwise when there are no menus we don't get our
  4336. icon and buttons.
  4337. 2006-03-10 Jackson Harper <[email protected]>
  4338. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  4339. stuff.
  4340. * Form.cs: Make the window_state internal so the window managers
  4341. can track it.
  4342. - When an MDI child is maximized let its window manager create the
  4343. main menu (so it can add its icon).
  4344. - Notify the window managers of state changes
  4345. - Let the window manager paint its buttons and handle button
  4346. clicks on the menu when it is maximized.
  4347. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  4348. window manager, since tool windows don't use it, only mdi windows.
  4349. - Tell the main form that we don't want it to handle NCPAINT
  4350. itself to avoid extra painting.
  4351. - Handle clicks on a maximized windows menu.
  4352. - Handle window state changes
  4353. - Handle minimize/maximize clicks correctly by setting the window state.
  4354. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  4355. when clicking on the forms icon).
  4356. - New method to create a forms maximized menu. This is its normal
  4357. menu + an icon.
  4358. - Handle window state changes.
  4359. - Handle sizing of maximized windows. Maximized windows are just
  4360. drawn bigger then the parent visible area. All controls are still
  4361. there, they are just outside the visible area (this matches windows).
  4362. * MdiClient.cs: No scrollbars when a child window is maximized.
  4363. - Let the children windows figure out how big they should be when
  4364. sizing maximized windows.
  4365. - Implement a version of ArrangeIconicWindows somewhat similar to
  4366. Windows version. There are some little differences, but I don't
  4367. think any app will rely on the layout of minimized mdi windows.
  4368. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4369. * Padding.cs: Several fixes to allow compiling with csc 2.0
  4370. 2006-03-09 Jackson Harper <[email protected]>
  4371. * Menu.cs:
  4372. * MenuItem.cs: Cheap hack so we can add items to the list without
  4373. the events being raised. This allows adding mdi items during
  4374. drawing. TODO: Should probably find a better time to add the items.
  4375. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4376. * ThemeWin32Classic.cs:
  4377. - CheckBox_DrawText: Added logic to not wrap if not enough space
  4378. is available (Fix for bug #77727)
  4379. - RadioButton_DrawText: Added logic not to wrap if not enough
  4380. space is available (Fix for bug #77727). Also removed some
  4381. duplicate code, DrawString always drawing the regular text
  4382. before hitting the if statement.
  4383. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4384. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  4385. 2006-03-10 Peter Dennis Bartok <[email protected]>
  4386. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  4387. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  4388. methods. Moved the new 2.0 properties into alphabetical order with
  4389. other properties and added MonoTODO tags
  4390. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4391. * AutoScaleMode.cs: Added. Fix build.
  4392. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4393. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4394. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  4395. and was requiring premature handle creation for calls from above
  4396. * Form.cs, Control.cs: Removed handle arguments from calls to
  4397. CalculateClientRect()
  4398. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4399. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  4400. drag_column.column_rect is MarshalByRef and can't be used that way
  4401. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4402. * AxHost.cs: Added deserialization constructor for
  4403. AxHost+State (fixes 77743)
  4404. 2006-03-09 Mike Kestner <[email protected]>
  4405. * ListView.cs:
  4406. - Added column drag reordering for details view.
  4407. - fixed behavior when mouse is dragged off column and
  4408. AllowColumnReorder is false.
  4409. * ColumnHeader.cs: clone the format too in Clone.
  4410. * Theme.cs: add DrawListViewHeaderDragDetails method.
  4411. * ThemeWin32Classic.cs:
  4412. - impl new method for drawing drag column shadows and targets.
  4413. - support column offset for details mode in DrawListViewItem.
  4414. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4415. * TextControl.cs: Reset the char_count when the document is cleared
  4416. (Fixes bug reported on mono-winforms mailing list)
  4417. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4418. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  4419. of calling base we simply process the key ourselves, since both
  4420. DefWindowProc and the handled method would set m.Result.
  4421. (Fixes #77732)
  4422. 2006-03-09 Peter Dennis Bartok <[email protected]>
  4423. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  4424. method also moves the window; instead implemented a copy of
  4425. Control.ScaleCore (Part of fix for #77456)
  4426. * TextBoxBase.cs:
  4427. - Created new CreateGraphicsInternal method to allow providing
  4428. a graphics context when no handle is created without triggering
  4429. handle creation. (Part of fix for #77456)
  4430. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  4431. * TextControl.cs:
  4432. - Switched Constructor to require TextBoxBase instead of Control (to
  4433. allow uncast access to CreateGraphicsInternal)
  4434. - Safeguarded use of owner.Handle property. No longer accessing it
  4435. unless the handle is already created.
  4436. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  4437. - Now triggering a recalc when owning control becomes visible
  4438. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  4439. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  4440. premature handle creation (Part of fix for #77456)
  4441. * Control.cs:
  4442. - We now only destroy our double-buffering buffers when the
  4443. control is resized or disposed, but not when visibility
  4444. changes. (The code even re-created them twice every time)
  4445. - Now requiring a redraw of the buffer on visibility changes
  4446. (fixes bug 77654 part 2)
  4447. - Not passing OnParentVisibleChanged up unless the control
  4448. is visible
  4449. - CanFocus: Fixed to match MS documentation
  4450. - Focus: Fixed to return actual focus state and to check if
  4451. setting focus is legal before setting it
  4452. 2006-03-08 Peter Dennis Bartok <[email protected]>
  4453. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  4454. when to draw focus rectangle by looking at parent focus and
  4455. selected state instead. This fixes TabPages on Linux sometimes
  4456. having none or multiple focus rectangles.
  4457. * XplatUIX11.cs (SetFocus):
  4458. - Don't set the focus if the same window already has focus
  4459. - Use SendMessage instead of PostMessage (like it's Win32
  4460. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  4461. to match MS behaviour
  4462. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  4463. are not selectable.
  4464. 2006-03-07 Jackson Harper <[email protected]>
  4465. * PictureBox.cs: Revert line I accidently committed last week.
  4466. 2006-03-07 Peter Dennis Bartok <[email protected]>
  4467. * Control.cs:
  4468. - Added new IsRecreating and ParentIsRecreating properties to
  4469. allow testing if RecreateHandle has been called on ourselves
  4470. or one of our parents
  4471. - WndProc(WM_DESTROY): If our control handle is being recreated
  4472. we immediately need to create the handle when receiving the
  4473. destroy, that way our child windows find a valid parent handle
  4474. when they themselves are being recreated upon WM_DESTROY receipt
  4475. (fix for bug #77654 part 1)
  4476. * XplatUIX11.cs:
  4477. - DestroyWindow: WM_DESTROY must be sent to our own window before
  4478. notifying any child windows. MS documents that child windows
  4479. are still valid when WM_DESTROY is received. (Control now relies on
  4480. this behaviour)
  4481. - Added some fine-grain debug options
  4482. 2006-03-06 Jackson Harper <[email protected]>
  4483. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  4484. box and base calculations off this.
  4485. * MdiChildContext.cs:
  4486. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  4487. anymore.
  4488. 2006-03-06 Peter Dennis Bartok <[email protected]>
  4489. * Splitter.cs: In situations where the affected control is added
  4490. to the parent's control list after the splitter, we would not
  4491. populate affected. Now we try populating it on mousedown, if
  4492. it's not already set, and force it to be re-set whenever our
  4493. parent changes.
  4494. 2006-03-03 Matt Hargett <[email protected]>
  4495. * Control.cs: implement Control.Padding
  4496. * Padding.cs: -Padding.All returns -1 when constructing with the
  4497. implicit default ctor
  4498. -Padding.ToString() matches MS.NET
  4499. * ContainerControl.cs: implement
  4500. ContainerControl.AutoScaleDimensions
  4501. * ListControl.cs: implement ListControl.FormattingEnabled
  4502. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  4503. * ButtonBase.cs:
  4504. * TabPage.cs: Implement UseVisualStyleBackColor.
  4505. * PictureBox.cs: Implement PictureBox.InitialImage.
  4506. 2006-03-03 Mike Kestner <[email protected]>
  4507. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  4508. event declarations to proxy to base event.
  4509. * ListViewItem.cs: update to use ItemControl.
  4510. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  4511. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  4512. column header label rendering for 0 width columns.
  4513. 2006-03-03 Peter Dennis Bartok <[email protected]>
  4514. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  4515. that causes the control to be created. Fixes #77476.
  4516. 2006-03-02 Jackson Harper <[email protected]>
  4517. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  4518. expose_pending.
  4519. 2006-03-02 Peter Dennis Bartok <[email protected]>
  4520. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  4521. passed in for the EventArgs (fixes #77690)
  4522. 2006-03-01 Jackson Harper <[email protected]>
  4523. * ScrollBar.cs: Refresh afterbeing resized.
  4524. 2006-02-28 Mike Kestner <[email protected]>
  4525. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  4526. Clean up a tracker compile warning.
  4527. * MenuItem.cs: add internal PerformPopup method.
  4528. [Fixes #77457]
  4529. 2006-02-28 Peter Dennis Bartok <[email protected]>
  4530. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  4531. implicit expose) when the text is set to null
  4532. 2006-02-28 Peter Dennis Bartok <[email protected]>
  4533. * RichTextBox.cs (FlushText): When newline is true, we always
  4534. need to split the line, even if no text is on it and we may
  4535. never eat newlines. (Fixes #77669)
  4536. 2006-02-28 Mike Kestner <[email protected]>
  4537. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  4538. and set Selected instead.
  4539. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  4540. collections.
  4541. 2006-02-28 Peter Dennis Bartok <[email protected]>
  4542. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  4543. 2006-02-28 Alexander Olk <[email protected]>
  4544. * FontDialog.cs:
  4545. - Got rid of the panel. All controls are now directly added to
  4546. the dialog form
  4547. - It is now possible to set a font with the Font property
  4548. - MinSize and MaxSize property do now what they should
  4549. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  4550. - Searching and selecting a font with the font textbox works now,
  4551. the same applies to the style and size textbox
  4552. - Draw the correct 3D border in the example panel
  4553. - Fixed a little mem leak (unused fonts didn't get disposed)
  4554. - Many other internal updates/rewrites...
  4555. - Fix typo
  4556. 2006-02-27 Peter Dennis Bartok <[email protected]>
  4557. * TextControl.cs:
  4558. - InsertRTFFromStream: Added 'number of characters inserted' argument
  4559. - set_SelectedRTF: Now using the number of characters to calculate
  4560. the new location for the selection and cursor (x/y cannot be used
  4561. due to potentially already wrapped text)
  4562. 2006-02-27 Peter Dennis Bartok <[email protected]>
  4563. * TextControl.cs: Added property and implemented means to allow
  4564. disabling recalculation of a document (can be used to speed up
  4565. multiple inserts and is needed to make RTF inserts predictable, see
  4566. bug #77659)
  4567. * RichTextBox.cs: Using the new NoRecalc property of Document to
  4568. keep x/y insert locations predictable. Also makes it faster inserting
  4569. large chunks of RTF
  4570. 2006-02-27 Peter Dennis Bartok <[email protected]>
  4571. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  4572. it's easier for a child control to handle the other messages without
  4573. having to duplicate the special functionality
  4574. * TextBoxBase.cs
  4575. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  4576. code to handle processing the key ourselves, in order to get
  4577. access to the result of KeyEventArgs.Handled. We now only call
  4578. ProcessKey if they key hasn't been handled already. Fixes #77526.
  4579. - set_Text: If null or empty string is given, just clear the
  4580. document. Fixes part of #77526
  4581. 2006-02-27 Jackson Harper <[email protected]>
  4582. * SizeGrip.cs: Paint the background color before painting the grip
  4583. so things look right.
  4584. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  4585. 2006-02-27 Mike Kestner <[email protected]>
  4586. * ListView.cs:
  4587. - Restructure layout and invalidation model to remove a ton of
  4588. flicker from the control and speed up performance in general.
  4589. - Add manual column resize, flickers like crazy, but I already have
  4590. some ideas on how I'll fix that. (#76822)
  4591. - Merge the three Icon-based views into a single layout method.
  4592. - Move item selection interaction logic from the item since
  4593. interaction with the collections is more appropriate to the view.
  4594. - Deselection on non-item clicks.
  4595. * ListViewItem.cs:
  4596. - Encapsulate most of the layout. Add some internal props to trigger
  4597. layout. Move to a model where Items invalidate themselves instead
  4598. of just invalidating the whole control every time something changes.
  4599. - Invalidate on Text/Caption changes.
  4600. - switch to an offset based layout model to avoid having to absolute
  4601. position every element on item moves.
  4602. - correct checkbox layout to conform to MS layout.
  4603. * ThemeWin32Classic.cs:
  4604. - refactor some column header drawing code.
  4605. - fix string justification for column headers (#76821)
  4606. - make SmallIcon labels top justified for compat with MS impl.
  4607. * ThemeClearlooks.cs:
  4608. - adjust to new ListViewItem internal checkbox bounds api.
  4609. 2006-02-27 Jackson Harper <[email protected]>
  4610. * Control.cs: Change where implicit controls fall in the zorder.
  4611. They are now on top of all children.
  4612. - Synced AddImplicit code with Add
  4613. - Removed unused enumerator.
  4614. * SizeGrip.cs: Remove the TODO as its been TODONE.
  4615. 2006-02-26 Peter Dennis Bartok <[email protected]>
  4616. * TextControl.cs(Insert): Combine the last lines unless the insertion
  4617. string ends with \n\n, otherwise we leave one line too many (Fixes
  4618. something I noticed with the testapp for #77526; the bug itself was
  4619. already fixed in the previous checkin)
  4620. 2006-02-26 Peter Dennis Bartok <[email protected]>
  4621. * RichTextBox.cs:
  4622. - SelectionColor and SelectionFont methods no longer set absolute
  4623. styles. Instead, the keep font or color respectively (This
  4624. resolves a long-standing FIXME in the code)
  4625. - When flushing RTF text, the insert code now considers text trailing
  4626. behind the insertion point (Fixes the bug where when replacing
  4627. the selected text via SelectedRTF the remainder of the line behind
  4628. the selection would stay on the first insertion line)
  4629. * TextBoxBase.cs:
  4630. - AppendText now updates the selection points after inserting text
  4631. - AppendText now ensures that the last tag (sometimes 0-length) of
  4632. the document is used for the style information (Fixes part of
  4633. bug #77220)
  4634. * TextControl.cs:
  4635. - Created new FontDefiniton class to allow describing partial style
  4636. changes
  4637. - StreamLine() now takes a lines argument, to allow it to decide
  4638. whether an encountered zero-length tag is the last in the document
  4639. (which must be kept to not loose the font/color contained in it,
  4640. for later appends)
  4641. - Created Combine() and Split() methods for Marker structs, to
  4642. support marker updates due to reformatted documents (soft line
  4643. wraps)
  4644. - Implemented Document.CaretTag setter
  4645. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  4646. of the last line (Not the cause, but also exposed by bug #77220)
  4647. - Added LineTag argument to InsertString method, to allow callers
  4648. to force a certain tag to be used (required to force use of the
  4649. trailing zero-length tag of a document)
  4650. - Now updating markers in Combine(), to avoid stale tag markers
  4651. - Added some method descriptions to aid maintenance
  4652. - Implemented new FormatText concept, allowing additive/subtractive
  4653. formatting by only specifying the components that are to be
  4654. changed. This was needed for resolving the RTB.SelectedColor/
  4655. RTB.SelectedFont fixmes
  4656. - Added Break() support method to allow breaking up linetags (used
  4657. for partial formatting)
  4658. - Added GenerateTextFormat() method. It is used for partial
  4659. formatting and allows to generate a full font/color from given
  4660. attributes and an existing tag.
  4661. 2006-02-26 Jackson Harper <[email protected]>
  4662. * XplatUIX11.cs: Use the correct caption height.
  4663. - Translate hittest coordinates to screen coords to match MS.
  4664. * XplatUIWin32.cs: When we create MDI windows we need to reset
  4665. some of the style flags, so we get a nice blank window, and can
  4666. draw all the decorations ourselves.
  4667. - Set a clipping rectangle on the non client paint event, the
  4668. window manager drawing code needs one.
  4669. * Form.cs: The window manager needs to know when the window state
  4670. has been updated.
  4671. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  4672. don't need to factor in border and title sizes in these
  4673. methods. TODO: Remove the args and fix the call points.
  4674. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  4675. properly.
  4676. - Let the driver set the cursors.
  4677. - Improve active window handling
  4678. - Correct sizes for title bars and buttons.
  4679. - Match MS drawing better
  4680. * MdiWindowManager.cs: We don't need to handle border style
  4681. updates specially anymore.
  4682. - Check for scrollbars when windows are done moving
  4683. - Handle Active properly.
  4684. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  4685. correctly. I am spewing the exception though, so we don't hide the
  4686. bugs.
  4687. 2006-02-26 Pedro Martinez Julia <[email protected]>
  4688. * DataGridViewRowPostPaintEventArgs.cs,
  4689. DataGridViewCellPaintingEventArgs.cs,
  4690. DataGridViewRowCollection.cs,
  4691. DataGridViewRowPrePaintEventArgs.cs,
  4692. DataGridViewCell.cs: Clear a few warnings and implement a few
  4693. exceptions that should be thrown.
  4694. 2006-02-22 Peter Dennis Bartok <[email protected]>
  4695. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  4696. 'inheriting' our parent's (non-default) cursor. (Part of
  4697. the fix for #77479)
  4698. 2006-02-22 Peter Dennis Bartok <[email protected]>
  4699. * XplatUIX11.cs: Fixed cast to make csc happy
  4700. 2006-02-22 Peter Dennis Bartok <[email protected]>
  4701. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  4702. it's for the client area (part of fix for #77479 and needed
  4703. for MDI window cursor handling)
  4704. * XplatUIX11.cs
  4705. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  4706. the appropriate default cursors and also passing the message
  4707. up the parent chain
  4708. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  4709. for non-client areas
  4710. 2006-02-15 Jackson Harper <[email protected]>
  4711. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  4712. is a real MDI window
  4713. 2006-02-14 Alexander Olk <[email protected]>
  4714. * X11DesktopColors.cs: Instead of checking the desktop session
  4715. string for "KDE" check if it starts with "KDE"
  4716. 2006-02-10 Jackson Harper <[email protected]>
  4717. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  4718. systems).
  4719. 2006-02-10 Alexander Olk <[email protected]>
  4720. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  4721. errors
  4722. * ColorDialog.cs:
  4723. - Got rid of the panel. All controls are now directly added to
  4724. the dialog form
  4725. - Changed to mono coding style
  4726. 2006-02-10 Jackson Harper <[email protected]>
  4727. * InternalWindowManager.cs: We don't need the set visibility to
  4728. false hack anymore now that peter has written beautiful shutdown
  4729. code.
  4730. 2006-02-10 Peter Dennis Bartok <[email protected]>
  4731. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  4732. where already explicitly destroyed
  4733. 2006-02-10 Jackson Harper <[email protected]>
  4734. * MdiClient.cs: Handle the case where windows are too high or to
  4735. the left and we need scrollbars.
  4736. 2006-02-10 Alexander Olk <[email protected]>
  4737. * MimeIcon.cs: Added some icons
  4738. * FileDialog.cs:
  4739. - Fixed bug #77477
  4740. - Got rid of the panel. All controls are now directly added to
  4741. the dialog form
  4742. - Changed to mono coding style
  4743. - On Linux "My Computer" and "My Network" will now show some
  4744. more usefull information. A new class, MasterMount, gathers
  4745. this information from /proc/mount. Updated MWFFileView to make
  4746. use of this information
  4747. - Fixed a bug that caused FileDialog to crash when
  4748. ".recently_used" file had a zero size
  4749. - FilterIndex does now what it should
  4750. - Some Refactoring
  4751. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  4752. FileDialog changes
  4753. 2006-02-09 Jackson Harper <[email protected]>
  4754. * ComboBox.cs: Don't touch if null.
  4755. 2006-02-09 Peter Dennis Bartok <[email protected]>
  4756. * Cursor.cs: 64bit safeness fix
  4757. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  4758. 2006-02-09 Jackson Harper <[email protected]>
  4759. * Form.cs: If a form is made into an MDI form update the styles so
  4760. all the props can get set correctly.
  4761. - Kill the mdi_container when we dont need it anymore.
  4762. * InternalWindowManager.cs: Add missing NOT
  4763. 2006-02-08 Jackson Harper <[email protected]>
  4764. * InternalWindowManager.cs: Respek clipping when drawing MDi
  4765. decorations.
  4766. 2006-02-08 Jackson Harper <[email protected]>
  4767. * Hwnd.cs: Add bits to track non client expose events.
  4768. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  4769. gives us a proper invalid rect and will allow for some nice
  4770. optimizations with NC client drawing
  4771. - MDI windows are children windows, so move their style handling
  4772. into the child window block.
  4773. * InternalWindowManager.cs: Remove a state reset that was
  4774. getting invoked at the wrong time. Fixes managed windows getting
  4775. into a 'stuck' captured state.
  4776. 2006-02-07 Peter Dennis Bartok <[email protected]>
  4777. * TextControl.cs (Document.ctor): Now initializing
  4778. selection_anchor. Fixes #77493
  4779. 2006-02-07 Jackson Harper <[email protected]>
  4780. * TrackBar.cs: The increment/decrements were backwards.
  4781. 2006-02-07 Mike Kestner <[email protected]>
  4782. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  4783. to the instance itself.
  4784. 2006-02-07 Peter Dennis Bartok <[email protected]>
  4785. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  4786. on ulongs and pointers, the size differs between 32bit and 64bit
  4787. systems.
  4788. 2006-02-07 Mike Kestner <[email protected]>
  4789. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  4790. for 64 bit platforms to work around a metacity bug.
  4791. 2006-02-07 Jackson Harper <[email protected]>
  4792. * TrackBar.cs: Process the input keys we need, and hookup to
  4793. KeyDown instead of using WndProc, so we get key messages.
  4794. 2006-02-06 Peter Dennis Bartok <[email protected]>
  4795. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  4796. machine we're on.
  4797. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  4798. we need to translate the XdndVersion atoms array before sending it
  4799. 2006-02-06 Peter Dennis Bartok <[email protected]>
  4800. * XplatUIX11.cs:
  4801. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  4802. number of bits for the property, not the number of bytes. The
  4803. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  4804. but would not crash since it specified 8 bits instead of 4 bits)
  4805. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  4806. defined as XID -> long in the C headers)
  4807. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  4808. references since those are now IntPtr to begin with
  4809. - Switched all Atom.XXX 'int' casts to IntPtr casts
  4810. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  4811. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  4812. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  4813. * X11Structs.cs:
  4814. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  4815. - Changed atom in HoverStruct to be IntPtr
  4816. * X11DnD.cs:
  4817. - Removed local DllImports, switched code to use those from XplatUIX11
  4818. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  4819. 2006-02-06 Mike Kestner <[email protected]>
  4820. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  4821. method signatures in the import region. There may still be some
  4822. lingering struct marshaling issues, as I didn't drill down into those.
  4823. Yet.
  4824. 2006-02-06 Jackson Harper <[email protected]>
  4825. * ComboBox.cs: Dont manually set the top_item, this is computed
  4826. when the scrollbar position is set.
  4827. 2006-02-06 Mike Kestner <[email protected]>
  4828. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  4829. startup crashes on amd64. There's other fixes needed. All pinvoke
  4830. usage of Atom needs to be mapped to IntPtr for example. And there are
  4831. likely other int/long issues to be addressed.
  4832. 2006-02-04 Alexander Olk <[email protected]>
  4833. * FileDialog.cs: One more...
  4834. 2006-02-03 Alexander Olk <[email protected]>
  4835. * FileDialog.cs: Next try
  4836. 2006-02-03 Alexander Olk <[email protected]>
  4837. * FileDialog.cs: First part of fix for #77464
  4838. 2006-02-03 Alexander Olk <[email protected]>
  4839. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  4840. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  4841. AcceptButton border drawing.
  4842. 2006-02-03 Peter Dennis Bartok <[email protected]>
  4843. * Form.cs: Moved positioning of form after auto scaling is applied,
  4844. otherwise it would possibly use wrong form size.
  4845. 2006-02-03 Peter Dennis Bartok <[email protected]>
  4846. * Control.cs (RecreateHandle): No need to re-create any child
  4847. controls, the child windows will get destroyed automatically by
  4848. the windowing system or driver, and re-created when the handle
  4849. is being accessed the first time. Fixes #77456
  4850. * Form.cs: No longer setting the form to closing if the handle is
  4851. being recreated. This seems like the right thing to do, don't
  4852. have a bug or testcase for this, though.
  4853. 2006-02-02 Peter Dennis Bartok <[email protected]>
  4854. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  4855. controls to avoid unwanted side effects
  4856. 2006-02-02 Peter Dennis Bartok <[email protected]>
  4857. * Control.cs:
  4858. - ScaleCore needs to scale the bounds, not the ClientSize of the
  4859. control. Fixes #77416.
  4860. - DefaultSize is 0,0 for control
  4861. * TextBoxBase.cs:
  4862. - DefaultSize is 100, 20
  4863. - SetBoundsCore: Now enforcing the height, no matter if the provided
  4864. height is more or less than the preferred one, as long as AutoSize
  4865. is on
  4866. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  4867. 2006-02-02 Peter Dennis Bartok <[email protected]>
  4868. * Control.cs:
  4869. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  4870. call unless both performLayout is true *and* we have a pending
  4871. layout change
  4872. - ResumeLayout: MS does not completely nest Suspend and Resume,
  4873. they bottom out at 0, fixed our code to match that.
  4874. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  4875. SetBoundsCore, we were updating even when we shouldn't. This fixes
  4876. swf-anchors mis-anchoring when resizing the app fast and lots.
  4877. - UpdateDistances: Now only setting the left and top distance if
  4878. we have a parent and are not suspended, this is based on
  4879. a suggestion by Don Edvaldson in bug #77355.
  4880. - OnVisibleChanged: Fixed logic when to create the control. We may
  4881. not create the control if we have no parent or if it's not visible;
  4882. switched to using Visible property instead of is_visible field
  4883. since the property also considers parent states. This fixes a bug
  4884. when starting Paint.Net
  4885. 2006-02-02 Jackson Harper <[email protected]>
  4886. * Form.cs: If the forms handle hasn't been created yet don't call
  4887. into xplatui to make it top most, just set the topmost flag on the
  4888. form in CreateParams
  4889. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  4890. 2006-02-01 Jackson Harper <[email protected]>
  4891. * ScrollableControl.cs: Refactored the Recalculate method a
  4892. little, this wasn't handling all the variants of bottom and right
  4893. bars needed to be added and added/removed based on their
  4894. counterparts being added/removed (which changes the drawable
  4895. size). Also we special case client widths and heights of 0 and
  4896. don't add the scrollbar for those.
  4897. 2006-02-01 Peter Dennis Bartok <[email protected]>
  4898. * XplatUIX11.cs:
  4899. - Added method to get AbsoluteGeometry(); currently unused, but might
  4900. be used in the future, if we try again to figure out toplevel
  4901. coordinates with some more crappy window managers
  4902. - Added FrameExtents() method to retrieve the WM set decoration size
  4903. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  4904. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  4905. * Hwnd.cs:
  4906. - Added whacky_wm tracking var for metacity
  4907. - Added logic to have default menu height if the actual menu height
  4908. has not yet been calculated (part of fix for #77426)
  4909. * Form.cs: Keep track whether client size has been set and re-set
  4910. it if a menu is added/removed afterwards (Fixes #77426)
  4911. 2006-01-31 Jackson Harper <[email protected]>
  4912. * Control.cs: When a new Site is set on the component attempt to
  4913. pull the AmbientProperties from it.
  4914. 2006-01-31 Peter Dennis Bartok <[email protected]>
  4915. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  4916. in the background of the owning form. Fixes #77332
  4917. 2006-01-31 Alexander Olk <[email protected]>
  4918. * MimeIcon.cs: Fix for #77409
  4919. 2006-01-31 Alexander Olk <[email protected]>
  4920. * XplatUIX11GTK.cs: Initial import
  4921. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  4922. * FixedSizeTextBox: fixes class signature
  4923. 2006-01-30 Jackson Harper <[email protected]>
  4924. * FixedSizeTextBox.cs: New internal class that represents a
  4925. textBox that will not be scaled.
  4926. * TreeView.cs:
  4927. * ComboBox.cs:
  4928. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  4929. standard TextBox.
  4930. 2006-01-30 Peter Dennis Bartok <[email protected]>
  4931. * XplatUIX11.cs: Retrieve default screen number instead of
  4932. assuming 0. Attempted fix for #77318
  4933. 2006-01-30 Peter Dennis Bartok <[email protected]>
  4934. * XplatUIWin32.cs:
  4935. - GetWindowPos: When a window is parented by FosterParent, use
  4936. the desktop instead of FosterParent as the base to get coordinates
  4937. - CreateWindow: Don't make FosterParent the parent window for Popups
  4938. if we don't want a taskbar entry, Popups automatically don't get one
  4939. * Hwnd.cs: Need to call remove to actually remove the key from the
  4940. hash table
  4941. 2006-01-30 Mike Kestner <[email protected]>
  4942. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  4943. 2006-01-30 Jackson Harper <[email protected]>
  4944. * TreeView.cs:
  4945. * TreeNode.cs: Raise events no matter how the treenode is
  4946. checked. Patch by Don Edvalson.
  4947. 2006-01-30 Jackson Harper <[email protected]>
  4948. * TreeNode.cs: Signature fix.
  4949. 2006-01-29 Alexander Olk <[email protected]>
  4950. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  4951. 2006-01-20 Mike Kestner <[email protected]>
  4952. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  4953. event forwarding when menus are active.
  4954. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  4955. Most of the patch is pdb's with a little rework.
  4956. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4957. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  4958. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  4959. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  4960. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  4961. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  4962. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  4963. the PaintWindowDecorations method
  4964. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  4965. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  4966. * MenuAPI.cs: Made tracker window invisible
  4967. * XplatUIWin32.cs:
  4968. - Removed GetMenuDC and ReleaseMenuDC methods
  4969. - Implemented the client=false path for PaintEventStart and
  4970. PaintEventEnd
  4971. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4972. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  4973. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  4974. styles
  4975. * Form.cs:
  4976. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  4977. the style
  4978. - CreateParams: Reworked the styles to match MS look'n'feel,
  4979. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  4980. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  4981. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4982. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  4983. window is not mapped, since otherwise every form that's being
  4984. created is considered minimized, which is wrong.
  4985. * Form.cs: Catching the exception and returning our internal value
  4986. instead
  4987. 2006-01-26 Peter Dennis Bartok <[email protected]>
  4988. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  4989. SetWindowMinMax() to have means to tell the driver about the minimum,
  4990. maximum and maximized state window sizes. (Part of the fix for #76485)
  4991. * Form.cs:
  4992. - Implemented tracking of minimum and maximum window size, now calling
  4993. new SetWindowMinMax() driver method to tell the driver (Part of the
  4994. fix for #76485)
  4995. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  4996. (Completes fix for #76485)
  4997. - Calling new SetWindowMinMax driver method when the handle for a
  4998. form is created, to make sure the driver knows about it even if
  4999. the values have been set before the window was created
  5000. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  5001. to avoid messing up our anchoring calculations (partial fix
  5002. for #77355)
  5003. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  5004. * XplatUIX11.cs:
  5005. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  5006. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  5007. (and presumably other freedesktop.org compliant WMs). Left the
  5008. assumption unmapped=minimized, needed for SetVisible to work.
  5009. - Now setting the window state when creating windows
  5010. - Fixed SetVisible to consider/set the window state when mapping
  5011. a Form. We cannot set the state before it's mapped, and we cannot
  5012. use Form.WindowState once it's mapped (since it would ask the
  5013. driver and get 'normal'. Therefore, we grab the state before
  5014. mapping, map, and then set state.
  5015. - Implmemented SetWindowMinMax method; Metacity does not seem to
  5016. honor the ZoomHints, though.
  5017. * XplatUIWin32.cs:
  5018. - Removed MINMAXINFO (moved to XplatUIStructs)
  5019. - Added SetWindowMinMax stub (on Win32 the only way to set that
  5020. information is in response to the WM_GETMINMAXINFO message, which
  5021. is handled in Form.cs)
  5022. - Added logic to SetVisible to set the proper window state when a
  5023. form is made visible (fixes #75720)
  5024. 2006-01-26 Jackson Harper <[email protected]>
  5025. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  5026. same way we handle them with Invoke.
  5027. 2006-01-25 Peter Dennis Bartok <[email protected]>
  5028. * Form.cs:
  5029. - Added tracking of window state so CreateParams can return
  5030. the appropriate style
  5031. - Moved setting of WS_CAPTION style in CreateParams to allow
  5032. styles without caption
  5033. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  5034. control if the TextBox property is accessed. Fixes #77345
  5035. * Control.cs:
  5036. - get_Created: now uses is_disposed and is_created to determine
  5037. return value (suggested by Jackson)
  5038. - CreateHandle: No longer exits if the handle is being recreated
  5039. - RecreateHandle: If the handle is not yet created call the
  5040. appropriate method to create either control or handle. If the
  5041. control is already created CreateHandle will simply exit instead
  5042. of just creating the handle
  5043. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  5044. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  5045. is called.
  5046. * XplatUIX11.cs:
  5047. - When DestroyWindow is called, instead of waiting for the
  5048. DestroyNotification from X11, we directly post it to the WndProc
  5049. and immediately dispose the hwnd object.
  5050. Same applies to DestroyChildWindows, and this obsoletes the
  5051. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  5052. child windows before our own, to avoid X11 errors.
  5053. - Removed the direct sending of WM_PAINT on UpdateWindow
  5054. * XplatUIWin32.cs:
  5055. - Reworked DoEvents and GetMessage to allow access to internal queue
  5056. even when trying non-blocking access to the queue. Fixes #77335.
  5057. Based on a patch suggestion by Don Edvalson. The new private
  5058. GetMessage can now also be used as a backend for a PeekMessage
  5059. frontend version.
  5060. * XplatUI.cs: Improved debug output for CreateWindow
  5061. 2006-01-25 Jackson Harper <[email protected]>
  5062. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  5063. 2006-01-24 Jackson Harper <[email protected]>
  5064. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  5065. when we have a MaxDropItems lower then the selected index.
  5066. 2006-01-24 Jackson Harper <[email protected]>
  5067. * Control.cs: Don't allow selection of non visible controls, allow
  5068. selection of controls without parents.
  5069. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  5070. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  5071. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  5072. 2006-01-23 Jackson Harper <[email protected]>
  5073. * UpDownBase.cs: Make the textbox handle all the selection and
  5074. tabbing. This fixes tabing to updown controls.
  5075. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  5076. * TextBoxBase.cs: fixes exception thown the object was null
  5077. 2006-01-23 Jackson Harper <[email protected]>
  5078. * ButtonBase.cs: Just use the base CreateParams. They set
  5079. visibility and enabled correctly.
  5080. * ComboBox.cs:
  5081. * TrackBar.cs:
  5082. * MonthCalendar.cs: Lets let the base set as much of the
  5083. createparams as possible so we don't have duplicate code all over
  5084. the place.
  5085. 2006-01-22 Alexander Olk <[email protected]>
  5086. * ThemeGtk.cs: Added TrackBar and some experimental code to
  5087. get double buffering back
  5088. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  5089. * DataGrid.cs: Allows row number set internally higher than the last
  5090. when creating a new row. Restores the editing functionality.
  5091. 2006-01-20 Mike Kestner <[email protected]>
  5092. * MimeIcon.cs: delay Image creation until the icons are accessed
  5093. instead of creating 190 scaled images on GnomeHandler startup.
  5094. 2006-01-19 Peter Dennis Bartok <[email protected]>
  5095. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  5096. first call base before processing the event. Fixes #77279
  5097. 2006-01-19 Peter Dennis Bartok <[email protected]>
  5098. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  5099. that the stride for the GDI bitmap would match the stride of
  5100. a DIB or a Cursor.
  5101. 2006-01-19 Alexander Olk <[email protected]>
  5102. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  5103. 2006-01-19 Jackson Harper <[email protected]>
  5104. * ComboBox.cs: Hookup the text controls keydown event so we get
  5105. those when the text control has the focus.
  5106. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5107. * Label.cs: Now using the base events instead of defining new ones;
  5108. this allows us to just call the base properties without having to
  5109. duplicate all base property logic
  5110. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5111. * Label.cs: A label by default is not a tabstop (Fixes one of our
  5112. failing nunit tests)
  5113. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5114. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  5115. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  5116. 2006-01-18 Peter Dennis Bartok <[email protected]>
  5117. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  5118. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  5119. This fixes #77218
  5120. * XplatUIWin32.cs:
  5121. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  5122. constructor creates images that can't be saved. Part of the fix
  5123. for #76103
  5124. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  5125. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  5126. bug fix for handling window state in forms properly)
  5127. 2006-01-18 Alexander Olk <[email protected]>
  5128. * ThemeGtk.cs: Simplify ScrollBar drawing
  5129. 2006-01-18 Jackson Harper <[email protected]>
  5130. * Splitter.cs: Set the default dock style for the splitter control
  5131. in the constructor.
  5132. 2006-01-18 Alexander Olk <[email protected]>
  5133. * ThemeGtk.cs: Corrected StateType and ShadowType for
  5134. gtk_paint_box
  5135. 2006-01-18 Alexander Olk <[email protected]>
  5136. * Control.cs: Make use of Theme.DoubleBufferingSupported
  5137. * ThemeGtk.cs:
  5138. - Added drawing for flat style buttons
  5139. - Added ScrollBar drawing
  5140. 2006-01-18 Alexander Olk <[email protected]>
  5141. * ThemeClearlooks.cs: Removed some unneeded code.
  5142. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  5143. 2006-01-17 Peter Dennis Bartok <[email protected]>
  5144. * LinkLabel.cs: We need to update the hover drawing when
  5145. leaving the control as well.
  5146. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  5147. * DataGrid.cs: Clicking on non empty areas in the columns
  5148. area was giving an exception
  5149. 2006-01-17 Jackson Harper <[email protected]>
  5150. * ThemeWin32Classic.cs:
  5151. * ListView.cs: Do not draw/clip the headers when the header style
  5152. is None.
  5153. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  5154. * DataGrid.cs: Fixes 77260
  5155. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  5156. * DataGrid.cs: Clicking on a column on a empty grid was giving
  5157. an exception
  5158. 2006-01-17 Peter Dennis Bartok <[email protected]>
  5159. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  5160. or any keypress will crash the grid.
  5161. 2006-01-17 Mike Kestner <[email protected]>
  5162. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  5163. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  5164. invisible/previously-visible items.
  5165. [Fixes #76909]
  5166. 2006-01-17 Alexander Olk <[email protected]>
  5167. * ThemeClearlooks.cs:
  5168. - Added CL_Draw_Button method; now other theme controls that are
  5169. not derived from button or do not have a button can draw buttons
  5170. too
  5171. - Updated ComboBox drawing
  5172. - Beautified RadioButton drawing
  5173. - Corrected drawing of bottom and left tabs
  5174. - Beautified DateTimePicker and MonthCalendar
  5175. - Added CPDrawButton and CPDrawRadioButton
  5176. 2006-01-16 Jackson Harper <[email protected]>
  5177. * ComboBox.cs: Set the initial value of the scrollbar to the
  5178. current index. Reduce the numbers of refreshs and IndexOfs called.
  5179. 2006-01-14 Alexander Olk <[email protected]>
  5180. * FileDialog.cs: When the file listview is focused hitting the
  5181. backspace key moves the fileview to the parent directory
  5182. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5183. * Form.cs:
  5184. - Added RecreateHandle call when changing taskbar visibility to
  5185. trigger reparenting in Win32 driver (Fixes #75719)
  5186. - If a window has minimize or maximize buttons, it cannot have
  5187. a help button
  5188. * XplatUIWin32.cs:
  5189. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  5190. the toplevel form with FosterParent (A toolwindow not on the
  5191. taskbar) (Fixes #75719)
  5192. - Made FosterParent a toolwindow
  5193. 2006-01-13 Alexander Olk <[email protected]>
  5194. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  5195. 2006-01-13 Alexander Olk <[email protected]>
  5196. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  5197. is currently over that control, make sure that tooltip_window.Text
  5198. gets updated
  5199. 2006-01-13 Mike Kestner <[email protected]>
  5200. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  5201. 2006-01-13 Jackson Harper <[email protected]>
  5202. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  5203. value passed. Also redraw the selected node when we recieve
  5204. focus, so tabbing between trees works correctly.
  5205. 2006-01-13 Alexander Olk <[email protected]>
  5206. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  5207. ~/.gconf/%gconf-tree.xml, so use
  5208. .gconf/desktop/gnome/interface/%gconf.xml
  5209. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5210. * TextControl.cs: Draw text in gray if control is disabled
  5211. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5212. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  5213. make sure it's always visible. Fixes #76680.
  5214. 2006-01-13 Peter Dennis Bartok <[email protected]>
  5215. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  5216. 2006-01-13 Jonathan Chambers <[email protected]>
  5217. * PageSetupDialog.cs: Added.
  5218. * PrintDialog.cs: Attributes.
  5219. * PrintPreviewControl.cs: Updates.
  5220. * PrintPreviewDialog.cs: Updates.
  5221. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5222. * Control.cs: Undid my selection check fix, since it's not needed
  5223. * TextBoxBase.cs:
  5224. - Now considering the presence of hscroll/vscroll when sizing
  5225. vscroll/hscroll respectively. Fixed bug #77077
  5226. - Added Left/Up/Down/Right to IsInputKey list to prevent
  5227. ContainerControl from stealing them. This fixes what I broke
  5228. with my last checkin.
  5229. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5230. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  5231. I finally understand how the property can be set without a setter :-)
  5232. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5233. * Application.cs:
  5234. - Switched RunLoop to use static Message.Create to create a
  5235. Message object
  5236. - Added PreProcessMessage call in runloop for keyboard events; this
  5237. is part of the fix for #77219, I overlooked this originally in the
  5238. MSDN doc for PreProcessMessage
  5239. * Control.cs:
  5240. - Removed call to PreProcessMessage from handling of keyboard
  5241. messages; it's supposed to be done in the message pump
  5242. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  5243. per MSDN documentation.
  5244. - IsInputChar: All chars are input chars by default; removed the
  5245. parent calling chain, MS does not document that
  5246. - PreProcessMessage: If IsInputChar is true, we want to return false
  5247. to allow dispatching of the message
  5248. - When selecting the next control, now also check that we're not
  5249. selecting ourselves again and therefore return a false positive.
  5250. * TextBoxBase.cs:
  5251. - Tried to match return values for IsInputKey and ProcessDialogKey
  5252. to what MS returns; moved processing of our special keys outside
  5253. ProcessDialogKey since MS does not seem to return true on those.
  5254. - Moved code that previously was in ProcessDialogKey into new private
  5255. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  5256. - Reworked handling of WM_CHAR to not have to duplicate code from
  5257. Control.cs anymore, instead we simply call down to base.
  5258. 2006-01-12 Jackson Harper <[email protected]>
  5259. * ComboBox.cs: We always need to refresh the text area when
  5260. EndUpdate is called. Fixes the combobox in the file dialog.
  5261. * Control.cs: Don't create the creator_thread until the controls
  5262. handle is created. Also in InvokeRequired we check if the
  5263. creator_thread is null. This gives the effect of InvokeRequired
  5264. returning true if the controls handle is not created yet, and
  5265. matches MS.
  5266. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5267. * XplatUI.cs:
  5268. - Added StartLoop() driver method. This is used to allow drivers to
  5269. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  5270. loop for a particular thread
  5271. - Added EndLoop() driver method. This is called once the message
  5272. pump for the thread is shut down
  5273. - Added SupportsTransparency method to allow the driver to indicate
  5274. opacity support for windows
  5275. * Form.cs:
  5276. - Removed TODO attribute, completed AllowTransparency property
  5277. - Added documented logic to Opacity
  5278. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  5279. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  5280. versions of CompatibleTextRendering
  5281. * X11Structs.cs: Added opacity atom to our atom enumeration
  5282. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  5283. of a form might be set before it's reparented by the WM, and we need
  5284. the opacity value without calling up to Form)
  5285. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  5286. SupportsTransparency() driver methods
  5287. * Application.cs: Now calling StartLoop and EndLoop driver methods
  5288. * XplatUIX11.cs:
  5289. - Added opacity atom registration
  5290. - Added StartLoop()/EndLoop() methods. They're empty right now but
  5291. will need to get implemented when we switch to a per-thread queue
  5292. - Implemented SupportsTransparency() method
  5293. - Implemented SetWindowTransparency() method
  5294. - Added support for setting the opacity value when a window is
  5295. reparented (since the opacity needs to be set on the WM frame)
  5296. * XplatUIOSX.cs, XplatUIWin32.cs:
  5297. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  5298. 2006-01-12 Alexander Olk <[email protected]>
  5299. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  5300. 2006-01-12 Alexander Olk <[email protected]>
  5301. * FileDialog.cs: Added ToolTip for MWFFileView
  5302. * MimeIcon.cs: Rewrote GnomeHandler.
  5303. - Get currently used gnome icon theme from
  5304. ($HOME)/.gconf/%gconf-tree.xml
  5305. - Make use of inherited icon themes
  5306. - Support SVG icon themes like Tango via librsvg
  5307. 2006-01-12 Miguel de Icaza <[email protected]>
  5308. Revert's Jackson's revert which broke 2.0 builds. Fix both
  5309. builds.
  5310. * Application.cs: Move the use_compatible_text_rendering outside
  5311. the NET_2_0 define. If we ever need to use the
  5312. use_compatible_text_rendering on the individual controls they will
  5313. access the variable from the common shared code paths.
  5314. 2006-01-12 Peter Dennis Bartok <[email protected]>
  5315. * XplatUI.cs:
  5316. - Added more granular debug options
  5317. - Added method to print both window text and id
  5318. - Switched debug output to use new Window() debug method
  5319. - Added IsEnabled() driver method
  5320. - Added EnableWindow() driver method
  5321. * Form.cs:
  5322. - Removed end_modal; no longer needed, new loop handles termination
  5323. via 'closing' variable
  5324. - If form is modal, setting DialogResult will now initiate loop
  5325. termination via 'closing' variable
  5326. - Added support for is_enabled/WS_DISABLED to CreateParams
  5327. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  5328. does all the work
  5329. - Removed code that's now in RunLoop from ShowDialog()
  5330. - Added various documented sanity checks to ShowDialog()
  5331. - Added handling of WM_DESTROY message; we set 'closing' on getting
  5332. the message to indicate the message pump to terminate
  5333. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  5334. send by the Application.ExitThread method. (We send the message
  5335. to destroy the window after all other events have been
  5336. processed through the queue, instead of destroying the handle
  5337. directly)
  5338. - Moved code from Close() method to WM_CLOSE handler; added logic
  5339. to only send close-related events if the form is not displayed
  5340. modal
  5341. * Splitter.cs (..ctor): Fixed typo in resource name
  5342. * Control.cs:
  5343. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  5344. brush now
  5345. - set_Cursor: Now only setting calling into XplatUI if the handle for
  5346. the control is already created; this avoids implict handle creation
  5347. or crashes if it's not created
  5348. - set_Enabled: Now setting the enabled state via the new driver method
  5349. instead of just tracking it
  5350. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  5351. - CreateControl: Reordered event firing and method calls to more
  5352. closely fire events in the order MS does. Now setting the
  5353. enabled state in the driver when creating the control.
  5354. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  5355. match MS order
  5356. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  5357. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  5358. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  5359. * Hwnd.cs:
  5360. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  5361. - Added EnabledHwnd property to easily allow a driver to find the
  5362. handle of the first enabled window in the parent chain (this is
  5363. used by drivers to pass up input events of disabled windows)
  5364. * XplatUIDriver.cs: Added IsEnabled() method
  5365. * Application.cs:
  5366. - Removed crude and obsolete exiting tracking variable
  5367. - Removed internal ModalRun(); replaced by RunLoop()
  5368. - Implemented private CloseForms() method to allow closing all
  5369. windows owned by a particular (or all) threads
  5370. - Exit() now properly closes all windows without forcing the message
  5371. pump to quit
  5372. - Removed obsolete InternalExit() method
  5373. - Changed Run() methods to use new RunLoop() message pump
  5374. - Implemented new RunLoop() method for both modal and non-modal forms
  5375. * CommonDialog.cs:
  5376. - get_CreateParams: Added setting of WS_DISABLED
  5377. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  5378. invoked via Form.ShowDialog()
  5379. * NativeWindow.cs: We don't remove the window from the collection when
  5380. the handle is destroyed; there might still be messages for it in the
  5381. queue (mainly the resulting WM_DESTROY); instead it will be removed
  5382. when Control calls InvalidateHandle in the WM_DESTROY handler
  5383. * XplatUIX11.cs:
  5384. - CreateWindow: Added logic to handle the WS_DISABLED window style
  5385. - EnableWindow: Implemented based on Hwnd.Enabled
  5386. - GetMessage: Reset PostQuitState so the method can be called again
  5387. - Implemented support for disabled windows (passing messages to the
  5388. first enabled parent) in handling all input messages
  5389. - Added optimizations for handling Expose events
  5390. - Implemeted new driver method IsEnabled()
  5391. - Now always resetting paint pending tracking vars when we start paint
  5392. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  5393. * XplatUIOSX.cs: Added IsEnabled method stub
  5394. * XplatUIWin32.cs: Implemented new IsEnabled() method
  5395. 2006-01-11 Jackson Harper <[email protected]>
  5396. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  5397. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  5398. variables a little.
  5399. * ColorDialog.cs: Clear out the old form before adding the new
  5400. panel.
  5401. 2006-01-11 Jackson Harper <[email protected]>
  5402. * X11Dnd.cs: Make sure to add all the text formats when adding
  5403. strings to the data object.
  5404. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  5405. do some redrawing too. Also change the UpdateNode to an
  5406. UpdateBelow so the newly added node gets painted.
  5407. 2006-01-11 Miguel de Icaza <[email protected]>
  5408. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  5409. LinkLabel.cs, PropertyGrid.cs: Implement the
  5410. UseCompatibleTextRendering property for 2.x
  5411. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  5412. 2006-01-11 Jackson Harper <[email protected]>
  5413. * TreeView.cs: Use the property for setting the selected node so
  5414. the correct events get raised.
  5415. * TreeNode.cs: Update the tree when the fore/back colours of a
  5416. node are set.
  5417. 2006-01-10 Jackson Harper <[email protected]>
  5418. * TreeView.cs: Allow setting SelectedNode to null.
  5419. 2006-01-9 Jonathan Chambers <[email protected]>
  5420. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  5421. 2006-01-9 Jonathan Chambers <[email protected]>
  5422. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  5423. 2006-01-9 Jonathan Chambers <[email protected]>
  5424. * PrintDialog.cs: Added attributes and set default property values.
  5425. 2006-01-9 Jonathan Chambers <[email protected]>
  5426. * PrintControllerWithStatusDialog.cs:
  5427. Added PrintControllerWithStatusDialog.
  5428. 2006-01-9 Jonathan Chambers <[email protected]>
  5429. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  5430. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  5431. 2006-01-9 Jonathan Chambers <[email protected]>
  5432. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  5433. 2006-01-09 Jonathan Chambers <[email protected]>
  5434. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  5435. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  5436. 2006-01-08 Alexander Olk <[email protected]>
  5437. * MimeIcon.cs: Added internal class SVGUtil.
  5438. 2006-01-08 Alexander Olk <[email protected]>
  5439. * FileDialog.cs: Don't crash if there are two files with the
  5440. same name but different locations.
  5441. 2006-01-08 John BouAntoun <[email protected]>
  5442. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  5443. dates across multiple month grids. Used to not highlight entire
  5444. month, but does now.
  5445. 2006-01-06 Jackson Harper <[email protected]>
  5446. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  5447. message loop. Change timer intervals to numbers that seem more
  5448. natural.
  5449. 2006-01-06 John BouAntoun <[email protected]>
  5450. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  5451. object for location info since screen object is now implemented.
  5452. 2006-01-05 Jackson Harper <[email protected]>
  5453. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  5454. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  5455. AsyncMethodResult, this is because we ALWAYS want the
  5456. ManualResetEvent to get set.
  5457. * Control.cs: When disposing use an async invoke to call shutdown
  5458. code, so that thigns don't block on the finalizer thread. Also
  5459. check if we even have a message loop before trying to send
  5460. messages, if we don't then don't bother sending messages.
  5461. - No more weak references for async methods
  5462. * XplatUIDriver.cs: No more weak references for async methods.
  5463. 2006-01-04 Alexander Olk <[email protected]>
  5464. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  5465. returns two FontFamily with the same name
  5466. 2006-01-04 Peter Dennis Bartok <[email protected]>
  5467. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  5468. drawing disabled text. Instead using the ColorGrayText color
  5469. 2006-01-04 Jackson Harper <[email protected]>
  5470. * TreeNode.cs: redraw the node when its image index is changed.
  5471. 2006-01-04 Peter Dennis Bartok <[email protected]>
  5472. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  5473. time I checked there are no others like it.
  5474. 2006-01-04 Jackson Harper <[email protected]>
  5475. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  5476. this gives the behavoir I was looking for.
  5477. * Control.cs: Special case Invoking EventHandlers, this matches MS
  5478. and fixes part of bug #76326.
  5479. 2006-01-04 Alexander Olk <[email protected]>
  5480. * ThemeClearlooks.cs, FileDialog.cs:
  5481. - Reflect the latest Theme class changes
  5482. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  5483. with DateTime
  5484. 2006-01-04 Alexander Olk <[email protected]>
  5485. * Theme.cs: Cache UI resource images and resize them if needed
  5486. 2006-01-03 Peter Dennis Bartok <[email protected]>
  5487. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  5488. is called. This fixes the crash in Nexxia when setting the font
  5489. attributes in the chat. [However, RTF needs a look-over to make sure
  5490. that all SelectionXXX methods handle the special case that selection
  5491. is empty and therefore the change must be applied to all text starting
  5492. at the cursor/selection start]
  5493. 2006-01-03 Peter Dennis Bartok <[email protected]>
  5494. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5495. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  5496. * X11Keyboard.cs: Switched to new way of calling PostMessage
  5497. 2006-01-03 Peter Dennis Bartok <[email protected]>
  5498. * Theme.cs: Added theme interface for images to allow the theme to
  5499. control what images are used for things like FileDialog, MessageBox
  5500. icons, etc.
  5501. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  5502. 2006-01-03 Alexander Olk <[email protected]>
  5503. * FileDialog.cs:
  5504. - Removed some dead code
  5505. - Opening a recently used file does work now
  5506. - Small UI enhancements
  5507. - Refactoring
  5508. 2006-01-02 Alexander Olk <[email protected]>
  5509. * FileDialog.cs: Forgot too add __MonoCS__
  5510. 2006-01-02 Alexander Olk <[email protected]>
  5511. * FileDialog.cs: We are able to read recently used files now let's
  5512. go on and write them.
  5513. 2006-01-01 Alexander Olk <[email protected]>
  5514. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  5515. button
  5516. * MimeIcon.cs: Do a check for the top level media type also
  5517. 2005-12-31 Alexander Olk <[email protected]>
  5518. * ThemeClearlooks.cs:
  5519. - Added CPDrawStringDisabled
  5520. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  5521. some chars if the text doesn't fit into text_rect
  5522. - DrawListViewItem: If View = View.LargeIcon center the image;
  5523. rewrote the drawing of ListViewItem.Text if View =
  5524. View.LargeIcon
  5525. 2005-12-31 Alexander Olk <[email protected]>
  5526. * MimeIcon.cs: Use default KDE icon theme if there is no
  5527. "48x48" directory for the current icon theme, fixes #77114
  5528. * Mime.cs: Disable not working and actually not used code.
  5529. * ThemeWin32Classic.cs:
  5530. - Replace "new SolidBrush" in GetControlBackBrush and
  5531. GetControlForeBrush with ResPool.GetSolidBrush
  5532. - Changed DrawListViewItem from private to protected virtual
  5533. * FileDialog.cs:
  5534. - Added form.MaximizeBox = true
  5535. - Don't throw an exception if there is a broken symbolic link
  5536. 2005-12-23 Jackson Harper <[email protected]>
  5537. * TabControl.cs: Give the panels focus, keyboard navigation is
  5538. fixed so this works correctly now.
  5539. - We need these key events also.
  5540. * ToolBar.cs: Remove some of the poor mans double buffering.
  5541. 2005-12-24 Alexander Olk <[email protected]>
  5542. * ComboBox.cs: The internal TextBox now returns the focus.
  5543. 2005-12-23 Jackson Harper <[email protected]>
  5544. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  5545. 2005-12-23 Peter Dennis Bartok <[email protected]>
  5546. * Control.cs: Removed debug code
  5547. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  5548. implicit children
  5549. 2005-12-23 Peter Dennis Bartok <[email protected]>
  5550. * Control.cs: When creating the control, update the Z-order after
  5551. all it's children are created, too. (Fixes nexxia not showing
  5552. picturebox bug)
  5553. 2005-12-23 Peter Dennis Bartok <[email protected]>
  5554. * Control.cs: Do not update the anchoring distances if layout is
  5555. suspended, instead do it once layout is resumed
  5556. 2005-12-22 Peter Dennis Bartok <[email protected]>
  5557. * Control.cs:
  5558. - After many hours of debugging, for both Jackson and
  5559. myself, it turns out that it helps to set the parent of a control
  5560. if you want to actually see it onscreen. In the spirit of that
  5561. discovery, we're now setting the parent of the control and
  5562. it's children when the control's handle is created. This fix
  5563. will make Lutz Roeder's Reflector run happily.
  5564. - now just creating the handle instead of the whole control when
  5565. getting a graphics context for the control.
  5566. 2005-12-22 Peter Dennis Bartok <[email protected]>
  5567. * ScrollableControl.cs: When calculating the canvas, don't consider
  5568. the scrollbar widths. Instead, predict if horizontal scrollbar
  5569. will affect canvas when deciding on vertical display and vice versa.
  5570. 2005-12-22 Peter Dennis Bartok <[email protected]>
  5571. * RichTextBox.cs: Set default RTF font for documents that don't
  5572. have a font table (Fixes #77076)
  5573. 2005-12-22 Jackson Harper <[email protected]>
  5574. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  5575. clipboard. This prevents a NullRef in that case.
  5576. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  5577. clipboard. PRIMARY is for the currently selected text only. (We
  5578. should implement PRIMARY at some point.
  5579. 2005-12-21 Peter Dennis Bartok <[email protected]>
  5580. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  5581. a Unicode function with a structure that was defined in Ansi way.
  5582. This fixes #76942.
  5583. 2005-12-21 Jackson Harper <[email protected]>
  5584. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  5585. on. Because thats how it rolls. (and this avoids it using ambient
  5586. colours).
  5587. * ThemeWin32Classic.cs: Use the proper back color for filling.
  5588. * Menu.cs: Use the system menu bar color for drawing menu
  5589. bars. Using the window back color will bring ambient colours into
  5590. the picture.
  5591. 2005-12-21 Alexander Olk <[email protected]>
  5592. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  5593. Bitmaps were created and not disposed.
  5594. 2005-12-21 Peter Dennis Bartok <[email protected]>
  5595. * Control.cs (CreateControl): Don't do anything if the control is
  5596. already created, otherwise we'd fire the OnCreated event more than
  5597. once
  5598. 2005-12-21 Peter Dennis Bartok <[email protected]>
  5599. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  5600. will always match. Instead return -1. Fixes #76464.
  5601. 2005-12-21 Peter Dennis Bartok <[email protected]>
  5602. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  5603. neither the beginning nor the end of the line (Fixes bug #76479)
  5604. 2005-12-21 Peter Dennis Bartok <[email protected]>
  5605. * Control.cs:
  5606. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  5607. where handle is invalid
  5608. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  5609. instead of slower linear search
  5610. * NativeWindow.cs: Don't remove the window from the hashtable until
  5611. after the driver has destroyed it (since the driver might use
  5612. Control.FromHandle to lookup the control object
  5613. * Hwnd.cs: Added DestroyPending property to track if a window is
  5614. already destroyed as far as the driver is concerned and only hasn't
  5615. yet notified the control
  5616. * XplatUIX11.cs:
  5617. - Activate(): Check if the window is still valid before using the
  5618. handle
  5619. - Implemented DestroyChildWindow() method to mark child windows as
  5620. destroyed when a window is destroyed. This prevents situations
  5621. where we might call an X method based on queued events for a
  5622. window that already has been destroyed but we haven't yet pulled
  5623. the destroy method from the queue.
  5624. - Added a call to the new DestroyChildWindow() method to the drivers
  5625. DestroyWindow code. Also now marking the destroyed window itself
  5626. as pending
  5627. 2005-12-20 Jackson Harper <[email protected]>
  5628. * StatusBar.cs:
  5629. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  5630. anymore. Just do them when needed, also track the rects of panels
  5631. so that we can optimize refreshing more in the future.
  5632. 2005-12-20 Alexander Olk <[email protected]>
  5633. * ColorDialog.cs: Fixed focus drawing in small color controls
  5634. 2005-12-19 Jackson Harper <[email protected]>
  5635. * InternalWindowManager.cs:
  5636. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  5637. moving windows works properly.
  5638. 2005-12-19 Peter Dennis Bartok <[email protected]>
  5639. * Control.cs:
  5640. - Removed call to InitLayout() from SetBoundsCore(); doc says
  5641. it's only called when a control is added to a container
  5642. - Split InitLayout logic, moved to separate UpdateDistances() method
  5643. since we need to perform those calculations more often than just
  5644. when adding the control to a container. (Needed to fix #77022)
  5645. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  5646. - Reduced the OnBindingContextChanged events count, don't send them
  5647. unless the control is created, we still aren't totally matching
  5648. MS, but I can't quite figure out some of their rules
  5649. 2005-12-18 Alexander Olk <[email protected]>
  5650. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  5651. stripes
  5652. 2005-12-18 Alexander Olk <[email protected]>
  5653. * ThemeClearlooks.cs:
  5654. - Updated ProgressBar drawing
  5655. - Corrected drawing of ScrollBars and scroll buttons
  5656. - Some temporary fixes for minor pixel artefacts
  5657. 2005-12-18 Peter Dennis Bartok <[email protected]>
  5658. * Control.cs:
  5659. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  5660. cause events to be sent in the same order as MS does.
  5661. - Added ChangeParent() method to trigger various OnXXXChanged events
  5662. that need to be fired when a parent changes (This is a reworking
  5663. of the patch from r54254, with the X11 errors fixed)
  5664. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  5665. since on MS we get OnLayoutChanged events when calling Clear()
  5666. - Changed Enabled property to consider parent state as well, if a
  5667. parent is not enabled, the control will not be either
  5668. - Changed Parent property to simply call Controls.Add() since that
  5669. now does all the work required, this way we avoid code duplication
  5670. - Threw in a few OnBindingsContextChanged calls to try and match
  5671. when MS sends them. We seem to send a few too many, though.
  5672. - Added call to CreateControl when adding the control to a parent.
  5673. We were never calling CreateControl. Still needs some work, in
  5674. some places we treat HandleCreated and ControlCreated as equal,
  5675. which is wrong
  5676. - Removed obsolete commented out code from UpdateZOrder()
  5677. 2005-12-18 Alexander Olk <[email protected]>
  5678. * ThemeClearlooks.cs: Updated TrackBar drawing.
  5679. 2005-12-17 Alexander Olk <[email protected]>
  5680. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  5681. 2005-12-17 Alexander Olk <[email protected]>
  5682. * FileDialog.cs: Add the Help button and the open readonly
  5683. checkbox only if needed
  5684. 2005-12-16 Jackson Harper <[email protected]>
  5685. * Control.cs: Make sure we have an active menu before trying to
  5686. process commands on it. Prevents menu-less forms from crashing
  5687. when Alt is pressed.
  5688. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  5689. Dieter Bremes.
  5690. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  5691. 2.0 build.
  5692. 2005-12-16 Jackson Harper <[email protected]>
  5693. * InternalWindowManager.cs: Don't translate tool windows screen
  5694. coordinates. This fixes windows 'bouncing' around when being moved.
  5695. 2005-12-15 Peter Dennis Bartok <[email protected]>
  5696. * TextBoxBase.cs:
  5697. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  5698. not quite MS compatible, MS uses that number only for single line
  5699. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  5700. the limit at 2GB)
  5701. - Now enforcing the MaxLength limit when entering characters
  5702. - Added argument to internal Paste() method to track if it's called
  5703. from programatically or via keyboard, since keyboard driven pastes
  5704. need to enforce max-length
  5705. - Added logic to Paste to only paste as many chars as MaxLength
  5706. allows
  5707. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  5708. * TextControl.cs:
  5709. - Added Length property to return number of characters in document
  5710. - Added private CharCount property which only tracks actual chars
  5711. in the document (no linefeeds) and fires event when CharCount
  5712. changes
  5713. - Added tracking of character count to all methods that alter it
  5714. - Added LengthChanged event to allow applications to subscribe
  5715. to any changes to the document
  5716. 2005-12-15 Peter Dennis Bartok <[email protected]>
  5717. * TextBox.cs:
  5718. - Removed local password_char field (moved to TextBoxBase)
  5719. - Now setting the document's password var when password is
  5720. set
  5721. * TextBoxBase.cs:
  5722. - Added password_char field (needed here so MultiLine can
  5723. access it)
  5724. - Added logic to MultiLine property setter to set the document's
  5725. variable when password display is allowed
  5726. - Removed debug code and made some debug code conditional
  5727. * TextControl.cs:
  5728. - Added RecalculatePasswordLine() method to handle special password
  5729. char only lines
  5730. - Added PasswordChar property, also added related tracking vars
  5731. - Draw() method now uses local text var for grabbing text to draw,
  5732. this var is set to line.text unless we're doing password display,
  5733. then it is set to the pre-generated all-password-chars line
  5734. - Added calling RecalculatePasswordLine() method for password lines
  5735. 2005-12-14 Peter Dennis Bartok <[email protected]>
  5736. * Hwnd.cs:
  5737. - Added Reparented property to allow tracking of Window Manager
  5738. reparenting actions (which affect X/Y calculations of toplevel
  5739. windows)
  5740. - Made ToString() print window handles in hex
  5741. * XplatUIX11.cs:
  5742. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  5743. determine if X/Y needs offsetting
  5744. - AddConfigureNotify(): Fixed offset calculations
  5745. - Now adds ReparentNotify messages into the queue
  5746. - Now processes ReparentNotify messages and causes a
  5747. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  5748. is reparented (as most likely it's X/Y coordinates are changed
  5749. due to that)
  5750. 2005-12-14 Jackson Harper <[email protected]>
  5751. * XplatUIX11.cs: Tool windows still need to respek focus.
  5752. 2005-12-14 Peter Dennis Bartok <[email protected]>
  5753. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  5754. have a working release
  5755. 2005-12-13 Jackson Harper <[email protected]>
  5756. * Form.cs: Update styles after setting the border style regardless
  5757. of whether or not the window is using a window manager.
  5758. 2005-12-13 Jackson Harper <[email protected]>
  5759. * Form.cs: We now hook into an internal window manager instead of just an
  5760. MDI subsystem, this is so we can have properly behaving tool windows.
  5761. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  5762. * InternalWindowManager.cs: New internal class that acts as a
  5763. window manager for tool windows and as a base for mdi windows.
  5764. * MdiWindowManager.cs: New class that acts as a window manager for
  5765. mdi windows.
  5766. 2005-12-12 Jackson Harper <[email protected]>
  5767. * Control.cs: Updates so we match behavoir for for implicit
  5768. controls. Fixes explosions in MDI.
  5769. 2005-12-12 Jackson Harper <[email protected]>
  5770. * Control.cs: Implement Invalidate (Region).
  5771. 2005-12-12 Peter Dennis Bartok <[email protected]>
  5772. * Control.cs:
  5773. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  5774. the same events as MS does. MS fires events for each property
  5775. except, for unknown reasons, Cursor, when the control is reparented.
  5776. I can't seem to totally match add/remove since MS also fires some
  5777. VisibleChanged events, which makes no sense. Consolidated the
  5778. parenting code into a separate method so it can be called from
  5779. both Add and Remove. set_Parent no longer needs any special logic
  5780. as it calls the parent's add method which implicitly fires
  5781. all events
  5782. - Removed some obsolete code and debug output
  5783. - Enabled state is inherited from parents, if this is enabled
  5784. 2005-12-08 Peter Dennis Bartok <[email protected]>
  5785. * Form.cs: Removed commented out code
  5786. 2005-12-08 Peter Dennis Bartok <[email protected]>
  5787. * Control.cs:
  5788. - Added internal version of Invoke, with additional argument
  5789. indicating if we're calling it from a Dispose() handler. That
  5790. way we can avoid BeginInvoke throwing an exception if we're
  5791. calling for an already destroyed window.
  5792. - Added a dispose argument to BeginInvokeInternal, and made the
  5793. check if a valid window handle chain exists conditional on
  5794. it not being a dispose call
  5795. - Removed code in DestroyHandle to destroy our children. Since we
  5796. now handle the WM_DESTROY message we will catch all our children
  5797. being destroyed.
  5798. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  5799. * Form.cs:
  5800. - Added a field to track the application context of the form.
  5801. - No need to set closing variable as response to WM_CLOSE, instead
  5802. we destroy the window. We also call PostQuitMessage if the form
  5803. has an application context (which makes it the main app form,
  5804. which, when closed terminates the app)
  5805. * XplatUI.cs:
  5806. - Dropped Exit() method, it's naming was confusing
  5807. - Added PostQuitMessage() which causes GetMessage to return false
  5808. once the message queue is empty
  5809. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  5810. PostQuitMessage()
  5811. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  5812. no longer a valid XplatUI method, but left it in since it's used
  5813. internally. Added empty PostQuitMessage() method.
  5814. * MenuAPI.cs: Replaced call to Exit() with call to
  5815. PostQuitMessage, even though this is probably no longer needed.
  5816. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  5817. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  5818. * Application.cs:
  5819. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  5820. - Removed old debug code that would call XplatUI for exception
  5821. display, enabled standard exception handling (Still not enabled
  5822. though, until NativeWindow's ExternalExceptionHandler define
  5823. is removed
  5824. * NativeWindow.cs:
  5825. - Added internal method to allow control to update NativeWindow
  5826. after a window has been destroyed
  5827. - Added handling of already destroyed windows when calling i
  5828. DestroyWindow
  5829. - Added removal of handle from list on ReleaseHandle
  5830. * XplatUIX11.cs:
  5831. - Dropped GetMessageResult var and related code
  5832. - Added PostQuitState to field to track if PostQuitMessage has been
  5833. called
  5834. - Dropped Exit() method
  5835. - Added PostQuitMessage() method
  5836. - GetMessage now will return false if PostQuitState is set and no
  5837. more messages are in the queue.
  5838. - Expose handler will no longer generate WM_PAINT messages if we are
  5839. in PostQuitState since it's very likely any windows have already
  5840. been destroyed, and since Hwnd won't get updated until we have
  5841. processed the DestroyNotify we'd be causing X errors.
  5842. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5843. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  5844. Thanks to Mike for pointing out the err of my ways.
  5845. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5846. * Control.cs(PreProcessMessage): Moved menu handling back, but
  5847. after all other key handling, to match MS (who handles Menu in
  5848. DefWndProc)
  5849. * Menu.cs (WndProc): Removed my brainfart
  5850. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5851. * Control.cs(PreProcessMessage): Removed special menu handling
  5852. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  5853. 2005-12-07 Mike Kestner <[email protected]>
  5854. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  5855. state according in tracker.
  5856. * Menu.cs : promote tracker field to base class and provide a tracker
  5857. lookup capability. Add/Remove shortcuts dynamically if the top menu
  5858. has a tracker. Unparent items that are removed from the collection.
  5859. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  5860. * Theme*.cs: add always_show_hotkeys field to support configurability
  5861. of mnemonic display. win32 doesn't show mnemonics until Alt is
  5862. pressed.
  5863. 2005-12-07 Jackson Harper <[email protected]>
  5864. * MdiChildContext.cs: Use Control.ResetCursor.
  5865. * Control.cs: ResetCursor needs to set the property so that the
  5866. correct XplatUI call gets made.
  5867. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5868. * Control.cs: More fixes to make our key events match MS. We
  5869. were not setting the modifier state on KeyData, and we were
  5870. not generating any events when Alt was pressed with a key
  5871. since handling of WM_SYSxxx was missing for the OnKey methods.
  5872. 2005-12-07 Jackson Harper <[email protected]>
  5873. * MdiChildContext.cs: reenable the sizing code.
  5874. - When the mouse leaves a window reset its cursor.
  5875. 2005-12-07 Alexander Olk <[email protected]>
  5876. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  5877. 2005-12-07 Peter Dennis Bartok <[email protected]>
  5878. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  5879. widths of Fixed3D borders
  5880. 2005-12-07 Jackson Harper <[email protected]>
  5881. * MdiClient.cs: Fix warnings. Earn Mike's love.
  5882. 2005-12-07 Alexander Olk <[email protected]>
  5883. * ThemeClearlooks.cs:
  5884. - Adjusted mouse over button color
  5885. - Added first parts of CheckBox drawing
  5886. - Added correct color for selected text background
  5887. - Fixed ComboBox drawing
  5888. - Added CPDrawBorder3D and CPDrawBorder
  5889. 2005-12-06 Peter Dennis Bartok <[email protected]>
  5890. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  5891. 2005-12-06 Peter Dennis Bartok <[email protected]>
  5892. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5893. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  5894. alert users via sound. We could add an enum arg with different
  5895. types of alerts in the future
  5896. 2005-12-06 Peter Dennis Bartok <[email protected]>
  5897. * Control.cs: Fix behaviour problems pointed out by Mike
  5898. 2005-12-05 Mike Kestner <[email protected]>
  5899. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  5900. prop setters. Calls parent.Refresh for now, but could be maybe be
  5901. optimized with an internal method on StatusBar at some point.
  5902. [Fixes #76513]
  5903. 2005-12-05 Peter Dennis Bartok <[email protected]>
  5904. * RichTextBox.cs: Implemented get_SelectionColor
  5905. 2005-12-05 Alexander Olk <[email protected]>
  5906. * ThemeClearlooks.cs:
  5907. - Removed dead code
  5908. - Draw black button border only if button is Form.AcceptButton
  5909. - Draw correct button color for pressed RadioButton if the mouse
  5910. has entered the button
  5911. - Updated ProgressBar drawing!
  5912. - Updated CPDrawSizeGrip drawing
  5913. - Updated StatusBarPanel drawing
  5914. 2005-12-05 Mike Kestner <[email protected]>
  5915. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  5916. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  5917. 2005-12-04 Alexander Olk <[email protected]>
  5918. * ThemeClearlooks.cs: Initial check-in, activate with
  5919. export MONO_THEME=clearlooks
  5920. * ThemeEngine.cs: Added ThemeClearlooks
  5921. 2005-12-03 Mike Kestner <[email protected]>
  5922. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  5923. [Fixes #76897]
  5924. 2005-12-02 Jackson Harper <[email protected]>
  5925. * Form.cs: If the child form has no menu the default main menu is
  5926. used as the active menu.
  5927. 2005-12-02 Peter Dennis Bartok <[email protected]>
  5928. * ListBox.cs: Check if any items exist before trying to resolve
  5929. coordinates into items
  5930. 2005-12-02 Peter Dennis Bartok <[email protected]>
  5931. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  5932. as the second color for the background hatch
  5933. 2005-12-02 Peter Dennis Bartok <[email protected]>
  5934. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  5935. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  5936. sure that what we pass to FormatText is always 1-based. Fixes #76885
  5937. 2005-11-29 Miguel de Icaza <[email protected]>
  5938. * NumericUpDown.cs (EndInit): When we are done initializing,
  5939. reflect any updates on the UI.
  5940. 2005-12-02 Jackson Harper <[email protected]>
  5941. * ImplicitHScrollBar.cs:
  5942. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  5943. their container controls.
  5944. * TreeView.cs: Use the new implicit scrollbars.
  5945. 2005-12-02 Jackson Harper <[email protected]>
  5946. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  5947. can play with it.
  5948. * TreeNodeCollection.cs: If we remove the topnode we need to
  5949. update topnode to the next node in line.
  5950. - When clearing nodes go through the same process as removing
  5951. them, so they get depareneted and checked if they are top node.
  5952. 2005-12-01 Jackson Harper <[email protected]>
  5953. * TreeView.cs: When imagelists are used the image area is
  5954. selectable as well as the text.
  5955. - If there are no selected nodes select the first one.
  5956. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  5957. so don't do it more then we need to.
  5958. 2005-12-01 Jackson Harper <[email protected]>
  5959. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  5960. that arrows can be scaled.
  5961. 2005-12-01 Jackson Harper <[email protected]>
  5962. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  5963. fail. Patch by Dieter Bremes
  5964. 2005-11-30 Jackson Harper <[email protected]>
  5965. * Form.cs: Property is 2.0 only
  5966. * PrintDialog.cs: Signature fix.
  5967. 2005-11-30 Peter Dennis Bartok <[email protected]>
  5968. * TextControl.cs:
  5969. - No longer artificially moves text 2 pixels down (now that we have
  5970. borders this is no longer needed)
  5971. - Added calcs for left, hanging and right indent
  5972. 2005-11-23 Mike Kestner <[email protected]>
  5973. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  5974. 2005-11-30 Jackson Harper <[email protected]>
  5975. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  5976. get cloned as part of CloneMenu ().
  5977. * Menu.cs: Make sure the parent of the items get set correctly
  5978. when they are added. And the owners are notified of the changes.
  5979. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  5980. we can change the menu being displayed/handled by the form without
  5981. changing the menu assosciated with the form.
  5982. - Don't let Mdi children draw/handle menus.
  5983. 2005-11-30 Jackson Harper <[email protected]>
  5984. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  5985. a MenuChanged event. Just to make the API a little more
  5986. consistent.
  5987. * MainMenu.cs:
  5988. * MenuItem.cs: Use the new OnMenuChanged
  5989. * MdiChildContext.cs: Handle menu merging.
  5990. * Form.cs: Implement MergedMenu.
  5991. 2005-11-30 Jackson Harper <[email protected]>
  5992. * Menu.cs: We were misusing Add. Add goes behind the specified
  5993. index according to the docs, and does not replace the specified
  5994. index. So I added an Insert method.
  5995. 2005-11-30 Peter Dennis Bartok <[email protected]>
  5996. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  5997. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  5998. is for Jackson
  5999. * RichTextBox.cs: Added calls to base for DnD events
  6000. 2005-11-28 Peter Dennis Bartok <[email protected]>
  6001. * TextControl.cs:
  6002. - Fixed drag-selection related crash; style fixes
  6003. - Implemented undo class
  6004. o Implemented method to capture document state for specified
  6005. range in document tree
  6006. o Implemented method to restore captured document state
  6007. o Implemented cursor tracking
  6008. o Implemented basic undo stack
  6009. - Added undo cursor tracking to methods altering cursor location
  6010. - Added undo tracking to selection deletion (still missing
  6011. other text-altering hookups)
  6012. * RichTextBox.cs:
  6013. - Added SelectionLength property
  6014. - Implemented CanPaste()
  6015. - Implemented Paste()
  6016. - Added missing protected methods
  6017. - Fixed RTF->Document conversion; now uses font index 0 and color
  6018. index 0 as the default font for the parsed text
  6019. - Fixed RTF<->Document font size translation
  6020. - Fixed RTF generation, now properly handles cross-tag boundaries
  6021. for single line selection
  6022. - No longer always appends blank line to generated RTF
  6023. - Removed TODOs
  6024. - Added missing attributes
  6025. - Hooked up undo-related methods
  6026. * TextBoxBase.cs:
  6027. - Implemented Copy()
  6028. - Implemented Paste()
  6029. - Implemented Cut()
  6030. - Fixed caret mis-behaviour on backspace across line-boundaries
  6031. 2005-11-29 Jackson Harper <[email protected]>
  6032. * MdiClient.cs: Add a method for activating mdi children. Very
  6033. basic right now. I imagine someday it might need more girth.
  6034. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  6035. children windows names are added to the menu item.
  6036. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  6037. mdilist. This happens regardless of whether or not there are any
  6038. mdi windows to see in the list, and according to my tests happens
  6039. before the items are even added. Also happens if there isn't even
  6040. an mdi client to get windows from.
  6041. 2005-11-29 Alexander Olk <[email protected]>
  6042. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  6043. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  6044. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  6045. * DataGridTableStyle.cs:
  6046. - Create always the styles for the missing columns even if they are
  6047. provided by the user (not default table style)
  6048. * DataGrid.cs:
  6049. - Fixes bug 76770
  6050. - Fixes SetDataBinding (always re-attach source)
  6051. - Fixes SetNewDataSource (only clear styles if they are not for
  6052. this source)
  6053. - Expands OnTableStylesCollectionChanged to handle style refresh
  6054. and remove properly
  6055. 2005-11-29 Jackson Harper <[email protected]>
  6056. * FileDialog.cs: Implement missing bits, remove some dead
  6057. code.
  6058. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  6059. creation of the panel so that the options set on the dialog are
  6060. seen when the panel is created.
  6061. * TreeView.cs: raise a click when items are clicked.
  6062. 2005-11-29 Jackson Harper <[email protected]>
  6063. * MdiClient.cs: Pass some signature methods through to base.
  6064. 2005-11-28 Jackson Harper <[email protected]>
  6065. * ListView.cs: Raise the click event when items are clicked.
  6066. 2005-11-28 Jackson Harper <[email protected]>
  6067. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  6068. a nullref.
  6069. 2005-11-27 Alexander Olk <[email protected]>
  6070. * ThemeNice.cs: - Removed 1 pixel bitmaps
  6071. - Use SmoothingMode.AntiAlias where it makes sense
  6072. (ScrollButton arrow for example)
  6073. - Enhanced Button focus drawing
  6074. - Fixed ComboBox drawing (no artefacts anymore, focus
  6075. rectangle is back again, reduced size of ComboButton, etc.)
  6076. - Fixed RadioButton focus drawing for Appearence.Button
  6077. - Slight ScrollButton redesign
  6078. - Some LinearGradientBrush size fixes
  6079. - GroupBoxes have now rounded edges
  6080. - Fixed StatusBar drawing
  6081. 2005-11-25 Alexander Olk <[email protected]>
  6082. * ThemeNice.cs: - Remove dead code
  6083. - use correct background colors for menus, etc.
  6084. - Fake pixel drawing with 1 pixel bitmaps
  6085. 2005-11-24 Jackson Harper <[email protected]>
  6086. * MdiClient.cs: Size the scrollbars when resizing the window.
  6087. - Resize the maximized windows when the client is resized
  6088. * Form.cs: Make the child context available
  6089. 2005-11-23 Jackson Harper <[email protected]>
  6090. * MdiChildContext.cs: Don't size windows if they are maximized.
  6091. 2005-11-23 Mike Kestner <[email protected]>
  6092. * ContextMenu.cs: use MenuTracker.
  6093. * Control.cs: remove menu handle usage.
  6094. * Form.cs: remove menu handle usage.
  6095. * Hwnd.cs: remove menu handle usage.
  6096. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  6097. motion and clicks to the new Tracker handlers.
  6098. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  6099. and handle usage.
  6100. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  6101. Killed the MENU and MENUITEM data types and associated collections
  6102. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  6103. MenuTracker class that exposes the leftovers from the old MenuAPI
  6104. static methods. Restructured Capture handling so that only one grab is
  6105. done for the entire menu hierarchy instead of handing off grabs to
  6106. submenus. Tracker now has an invisible control to Capture when active.
  6107. * MenuItem.cs: add sizing accessors, kill Create
  6108. and handle usage.
  6109. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  6110. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  6111. MENU(ITEM). remove menu handle usage, use Menu directly.
  6112. * XplatUIDriver.cs: remove menu handle usage.
  6113. * XplatUIOSX.cs: remove menu handle usage.
  6114. * XplatUIWin32.cs: remove menu handle usage.
  6115. * XplatUIX11.cs: remove menu handle usage.
  6116. 2005-11-22 Jackson Harper <[email protected]>
  6117. * Hwnd.cs: Don't compute the menu size for
  6118. DefaultClientRectangle.
  6119. - Reenable menu sizes being computed for GetClienRectangle.
  6120. * Form.cs: Remove comment of trechery
  6121. 2005-11-22 Jackson Harper <[email protected]>
  6122. * Hwnd.cs: The adjustments for the menu bar are made when it is
  6123. attached to the form.
  6124. 2005-11-19 Jackson Harper <[email protected]>
  6125. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  6126. (just like on windows).
  6127. 2005-11-19 Jackson Harper <[email protected]>
  6128. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  6129. use real buttons anymore because they are in non client area. The
  6130. one TODO here is that I need to somehow invalidate a section of
  6131. the non client area.
  6132. 2005-11-18 Jackson Harper <[email protected]>
  6133. * Control.cs: Put the enum check back in now that MDI doesnt have
  6134. to use this to set border styles.
  6135. * Form.cs: Only set mdi child windows borders if the handle has
  6136. been created.
  6137. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  6138. this directly on to the driver.
  6139. - Get the move start position before adjusting for the titlebar
  6140. height, this fixes the windows "skipping" when they are first
  6141. moved.
  6142. 2005-11-18 Jackson Harper <[email protected]>
  6143. * XplatUIX11.cs: Just compute the mdi borders separately as they
  6144. don't totally match up with normal form borders.
  6145. 2005-11-18 Jackson Harper <[email protected]>
  6146. * Control.cs: Set WS_ styles for borders, so that the driver does
  6147. not have to retrieve the control instance to figure out what kind
  6148. of borders it should have.
  6149. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  6150. driver can know its an mdi child easily.
  6151. * XplatUIX11.cs: Get the border styles and whether the window is
  6152. MDI from the Styles and ExStyles params instead of having to get a
  6153. control. This prevents a chicken and egg problem.
  6154. 2005-11-18 Jackson Harper <[email protected]>
  6155. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  6156. 2005-11-18 Jackson Harper <[email protected]>
  6157. * MdiClient.cs: Calculate when to add and remove scrollbars
  6158. correctly.
  6159. * MdiChildContext.cs: Adjust the y position to take the titlebar
  6160. into account.
  6161. - No height for FormBorderStyle.None
  6162. 2005-11-18 Jackson Harper <[email protected]>
  6163. * Control.cs: Allow non enum values to be used for
  6164. InternalBorderStyle. MDI does this to set a special border style.
  6165. - New utility methods for converting points to/from client coords
  6166. - Add the newly created control to the Controls collection before
  6167. updating its style. This way UpdateStyle can walk the control
  6168. heirarchy to find the control if needed.
  6169. so I don't need to create a new Point object all the time.
  6170. * Form.cs: Let MDI windows handle their border styles.
  6171. - Set styles on MDI windows so the correct title style is derived.
  6172. * MdiChildContext.cs: Move all the painting and window handling
  6173. into the non client area.
  6174. - Use correct sizing and put correct buttons on frames based on
  6175. the FormBorderStyle.
  6176. - Notify the mdi client about scrolling
  6177. - Need to handle the buttons ourselves now, because they are all
  6178. in non client areas and we can't add controls there.
  6179. * MdiClient.cs: Halfway to scrolling, this implementation is
  6180. somewhat broken though, we need to check to make sure other
  6181. windows aren't causing scrolling before removing the bars. Also
  6182. the bars need to be drawn on top, maybe I can switch implicit
  6183. controls to be on top.
  6184. * Hwnd.cs: caption_height and tool_caption_height are now
  6185. properties of an hwnd, this way they can be set by the driver
  6186. based on the type of window they are. In X11 the window manager
  6187. handles the decorations so caption_height is zero unless its an
  6188. MDI window.
  6189. - Add 3 pixel borders for MDI windows (0xFFFF).
  6190. - Get rid of some code duplication, have DefaultClientRectanle
  6191. just call GetClientRectangle.
  6192. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  6193. Hwnd now.
  6194. - Set border styles differently for mdi windows.
  6195. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  6196. Hwnd now.
  6197. 2005-11-15 Mike Kestner <[email protected]>
  6198. * Menu.cs: when adding an item to the collection, if item is already
  6199. parented, remove it from the parent.
  6200. 2005-11-13 Alexander Olk <[email protected]>
  6201. * X11DesktopColors.cs: Added KDE support
  6202. 2005-11-11 Peter Dennis Bartok <[email protected]>
  6203. * XplatUIWin32.cs:
  6204. - Clipboard methods now can translate Rtf format
  6205. - No longer removes clipboard contents whenever a new format is added
  6206. to allow placing multiple formats on the clipboard
  6207. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  6208. will place all formats contained in it onto the clipboard. Also
  6209. now cleans the clipboard before placing a new object onto it
  6210. * RichTextBox.cs:
  6211. - Implemented set_Rtf
  6212. - Implemented set_SelectedRtf
  6213. - Created InsertRTFFromStream() method to allow single code base
  6214. for all properties and methods that insert RTF into document
  6215. - Removed debug output
  6216. * TextControl.cs:
  6217. - Fixed Delete(int) to fix up line numbers
  6218. - Fixed ReplaceSelection to combine start and end line
  6219. - Fixed serious DeleteChars bug that would leave the document tree
  6220. broken
  6221. - Improved DumpTree with several logic checks to detect broken
  6222. document trees
  6223. - Removed debug lines
  6224. - Fixed Caret.WordForward/WordBack moving code, now always also
  6225. updates caret.tag (fixes crash when word-selecting across tag
  6226. boundaries via keyboard)
  6227. - Added Insert() method for inserting multiline text into documents
  6228. - Fixed DeleteChars() calculation errors that would cause a broken
  6229. tag chain with multiple tag lines
  6230. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  6231. - Split() no longer moves caret if split is at caret location
  6232. - ReplaceSelection() now updates the cursor and re-displays it
  6233. - ReplaceSelection() now uses new Insert() method to avoid code
  6234. duplication
  6235. - FormatText() can now handle formatting partial lines
  6236. * TextBoxBase.cs:
  6237. - Append now uses new TextControl.Insert() method (this avoids
  6238. duplicate code)
  6239. - Implemented Ctrl-X (Cut) (
  6240. - Implemented Ctrl-C (Copy)
  6241. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  6242. regeneration when pasting text; roundtripping Copy&Paste within
  6243. edit control still fails due to some calculation bugs in GenerateRTF)
  6244. - The Delete key will now remove the current selection if it is visible
  6245. * TextBox.cs: Removed debug lines
  6246. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  6247. driver to be initialized and can't therefore be done via a static ctor)
  6248. 2005-11-10 Peter Dennis Bartok <[email protected]>
  6249. * TextControl.cs: Added backend code for finding char arrays and strings
  6250. * TextBoxBase.cs:
  6251. - Added mouse wheel scroll support
  6252. - Added support for VScroll and HScroll events
  6253. * RichTextBox.cs:
  6254. - Implemented all seven Find() variants
  6255. - Implemented GetCharFromPosition()
  6256. - Implemented GetCharIndexFromPosition()
  6257. - Implemented GetLineFromIndex()
  6258. - Implemented GetPositionFromCharIndex();
  6259. - Implemented SaveFile for PlainText and UnicodeText
  6260. - Fixed set_Font, now setting a new font applies that font to
  6261. the whole document
  6262. - Implemented generic Document to RTF converter
  6263. - Implemented SaveFile for RichText format (still missing unicode
  6264. conversion for non-ansi chars)
  6265. - Implemented get_Rtf
  6266. - Implemented get_SelectedRtf
  6267. 2005-11-09 Peter Dennis Bartok <[email protected]>
  6268. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  6269. to allow any captures to be released before triggering OnClick. This
  6270. way a click handler may capture the mouse without interference.
  6271. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  6272. This way we send them even though X may not allow a grab (if the window
  6273. isn't visible, for example)
  6274. 2005-11-08 Pedro Martinez Julia <[email protected]>
  6275. * DataGridViewRowEventArgs.cs: DataGridView implementation
  6276. * DataGridViewElement.cs: DataGridView implementation
  6277. * DataGridViewComboBoxCell.cs: DataGridView implementation
  6278. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  6279. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  6280. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  6281. * ImageLayout.cs: DataGridView implementation
  6282. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  6283. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  6284. * DataGridViewSelectionMode.cs: DataGridView implementation
  6285. * IDataGridViewEditingControl.cs: DataGridView implementation
  6286. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  6287. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  6288. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  6289. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  6290. * DataGridViewColumnSortMode.cs: DataGridView implementation
  6291. * DataGridView.cs: DataGridView implementation
  6292. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  6293. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  6294. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  6295. * Padding.cs: DataGridView implementation
  6296. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  6297. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  6298. * DataGridViewRowEventHandler.cs: DataGridView implementation
  6299. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  6300. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  6301. * DataGridViewButtonCell.cs: DataGridView implementation
  6302. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  6303. * DataGridViewEditMode.cs: DataGridView implementation
  6304. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  6305. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  6306. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  6307. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  6308. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  6309. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  6310. * DataGridViewCellEventHandler.cs: DataGridView implementation
  6311. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  6312. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  6313. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  6314. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  6315. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  6316. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  6317. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  6318. * QuestionEventArgs.cs: DataGridView implementation
  6319. * IDataGridViewEditingCell.cs: DataGridView implementation
  6320. * DataGridViewTriState.cs: DataGridView implementation
  6321. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  6322. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  6323. * DataGridViewColumnCollection.cs: DataGridView implementation
  6324. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  6325. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  6326. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  6327. * DataGridViewColumn.cs: DataGridView implementation
  6328. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  6329. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  6330. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  6331. * DataGridViewRow.cs: DataGridView implementation
  6332. * DataGridViewImageCellLayout.cs: DataGridView implementation
  6333. * DataGridViewImageCell.cs: DataGridView implementation
  6334. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  6335. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  6336. * DataGridViewHeaderCell.cs: DataGridView implementation
  6337. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  6338. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  6339. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  6340. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  6341. * QuestionEventHandler.cs: DataGridView implementation
  6342. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  6343. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  6344. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  6345. * DataGridViewCell.cs: DataGridView implementation
  6346. * DataGridViewCellEventArgs.cs: DataGridView implementation
  6347. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  6348. * DataGridViewCellStyle.cs: DataGridView implementation
  6349. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  6350. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  6351. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  6352. * TextFormatFlags.cs: DataGridView implementation
  6353. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  6354. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  6355. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  6356. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  6357. * DataGridViewButtonColumn.cs: DataGridView implementation
  6358. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  6359. * HandledMouseEventArgs.cs: DataGridView implementation
  6360. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  6361. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  6362. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  6363. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  6364. * DataGridViewRowCollection.cs: DataGridView implementation
  6365. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  6366. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  6367. * DataGridViewHitTestType.cs: DataGridView implementation
  6368. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  6369. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  6370. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  6371. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  6372. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  6373. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  6374. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  6375. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  6376. * DataGridViewContentAlignment.cs: DataGridView implementation
  6377. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  6378. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  6379. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  6380. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  6381. * DataGridViewPaintParts.cs: DataGridView implementation
  6382. * DataGridViewCellCollection.cs: DataGridView implementation
  6383. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  6384. * DataGridViewImageColumn.cs: DataGridView implementation
  6385. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  6386. * DataGridViewElementStates.cs: DataGridView implementation
  6387. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  6388. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  6389. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  6390. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  6391. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  6392. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  6393. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  6394. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  6395. * DataGridViewTextBoxCell.cs: DataGridView implementation
  6396. * DataGridViewBand.cs: DataGridView implementation
  6397. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  6398. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  6399. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  6400. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  6401. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  6402. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  6403. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  6404. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  6405. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  6406. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  6407. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  6408. 2005-11-08 Peter Dennis Bartok <[email protected]>
  6409. * ThemeWin32Classic.cs:
  6410. - Draw the outside focus rectangle around buttons
  6411. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  6412. doesn't use end caps for every dash of a line anymore. This
  6413. workaround ignores the forecolor.
  6414. 2005-11-08 Kornél Pál <[email protected]>
  6415. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  6416. endian safe.
  6417. 2005-11-07 Jackson Harper <[email protected]>
  6418. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  6419. 2005-11-07 Jackson Harper <[email protected]>
  6420. * ScrollableControl.cs: Calculate the maximum and change vars
  6421. (more) correctly so that scrollbars appear as a sensible size.
  6422. 2005-11-04 Jackson Harper <[email protected]>
  6423. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  6424. collection.
  6425. * TreeView.cs: When the tree is sorted null out the top_node so
  6426. that it is recalculated.
  6427. - Use dotted lines instead of dashed lines to match MS better.
  6428. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  6429. * ListView.cs:
  6430. - Implements key search for items. Useful when browsing files with FileDialog
  6431. - When changing view mode or when clear the items reset scrollbar positions
  6432. 2005-11-04 Jackson Harper <[email protected]>
  6433. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  6434. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  6435. as to what the method may do as there is no real way of creating a
  6436. derived CurrencyManager and calling the method.
  6437. 2005-11-03 Jackson Harper <[email protected]>
  6438. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  6439. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  6440. method which seems to just be used internally to refresh the tabs.
  6441. 2005-11-03 Jackson Harper <[email protected]>
  6442. * TabControl.cs: Implement the remove method. Fix some broken
  6443. comments.
  6444. 2005-11-03 Peter Dennis Bartok <[email protected]>
  6445. * DateTimePicker.cs:
  6446. - Added missing DateTimePickerAccessibleObject class
  6447. - Added missing events
  6448. - Added OnFontChanged method
  6449. * Form.cs: Added missing attributes
  6450. * TreeView.cs: Added missing attributes
  6451. 2005-11-03 Peter Dennis Bartok <[email protected]>
  6452. * GridItemCollection.cs: Fix signatures
  6453. 2005-11-03 Peter Dennis Bartok <[email protected]>
  6454. * XplatUI.cs: Updated build rev/date
  6455. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  6456. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  6457. * Application.cs: Trigger context-specific ExitThread events
  6458. 2005-11-03 Jackson Harper <[email protected]>
  6459. * Menu.cs:
  6460. * MainMenu.cs:
  6461. * GridTableStylesCollection.cs:
  6462. * Timer.cs:
  6463. * TabPage.cs:
  6464. * HelpProvider.cs:
  6465. * StatusBar.cs:
  6466. * MonthCalendar.cs: Signature fixes
  6467. 2005-11-03 Jackson Harper <[email protected]>
  6468. * TreeNodeCollection.cs: Remove should not be virtual.
  6469. * TreeView.cs: Implement the last of the missing methods.
  6470. 2005-11-03 Jackson Harper <[email protected]>
  6471. * TreeNodeConverter.cs: Implement to get off my class-status back.
  6472. 2005-11-03 Jackson Harper <[email protected]>
  6473. * TreeView.cs: Hookup the bits for drag and drop.
  6474. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  6475. that nodes can be moved from tree to tree easily this just causes
  6476. all sorts of problems.
  6477. * TreeNodeCollection: Don't need to give treenodes an index and
  6478. treeview anymore when they are added, these are computed on the
  6479. fly. Also make sure to remove a node before its added.
  6480. 2005-11-03 Peter Dennis Bartok <[email protected]>
  6481. * TextControl.cs:
  6482. - Added CaretSelection enum
  6483. - Added comparison methods to Marker struct, makes selection code
  6484. more readable
  6485. - Added SelectionStart and SelectionEnd as 'moveable' location for
  6486. the CaretDirection enum and handler
  6487. - Added selection_prev variable to track optimized invalidation for
  6488. word and line selection
  6489. - Added SelectionVisible property (returns true if there is a valid
  6490. selection)
  6491. - Switched CaretHasFocus to only display the caret if there is no
  6492. visible selection
  6493. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  6494. using the direct character index; should be much faster
  6495. - Added various conditional debug statements
  6496. - Fixed invalidation calculation for selection ranges
  6497. - Added ExpandSelection() method to support word and line selection
  6498. - Switched SetSelectionToCaret to use new Marker compare overloads
  6499. - Added central IsWordSeparator() method to determine word
  6500. separators/whitespace and FindWordSeparator() to streamline common
  6501. usage of IsWordSeparator()
  6502. * TextBoxBase.cs:
  6503. - Removed unneeded grabbed variable, it was just mirroring
  6504. Control.Capture
  6505. - No longer firing OnTextChanged event when Text setter is called,
  6506. since the base will fire the event for us
  6507. - Added handling of Ctrl-Up/Down selection
  6508. - Added handling of Shift-Cursorkey selection
  6509. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  6510. words
  6511. - Added handling of Shift and Ctrl-Shift-Home/End selection
  6512. - Removed some debug output
  6513. - Added handling for single/double/tripple-click to place caret/
  6514. select word/select line respectively (Fixes bug #76031)
  6515. - Added support for drag expansion of word/line selection
  6516. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  6517. current selection
  6518. 2005-11-02 Jackson Harper <[email protected]>
  6519. * X11Dnd.cs: If the drag is going to and from a MWF window just
  6520. copy the data instead of sending it out through the X Selection
  6521. mechanism.
  6522. 2005-11-02 Jackson Harper <[email protected]>
  6523. * X11Dnd.cs:
  6524. * XplatUIX11.cs: When in a drag we don't want motion notify
  6525. messages to get passed on to the other controls. This prevents
  6526. mouse move messages from showing up in the drag source.
  6527. 2005-11-02 Jackson Harper <[email protected]>
  6528. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  6529. the correct button is release to end a drag.
  6530. * XplatUIX11.cs: Make the button state internal so the drag system
  6531. can access it. Dragging needs to know about all button releases,
  6532. not just left button.
  6533. 2005-11-02 Miguel de Icaza <[email protected]>
  6534. * Form.cs (Icon): If the icon is null, reset the icon to the
  6535. default value.
  6536. * Cursor.cs: When writing the AND-mask bitmap do not include the
  6537. number of colors, but hardcode those to two (black and white),
  6538. fixes the loading of color cursors (Paint Dot Net).
  6539. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  6540. turn off autoscaling.
  6541. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  6542. 2005-11-02 Jackson Harper <[email protected]>
  6543. * X11Dnd.cs: Make sure to send a status message if the pointer
  6544. enters a control that can not accept a drop, otherwise the cursor
  6545. isn't updated correctly. Also tried to compress the lines of code
  6546. a bit.
  6547. 2005-11-02 Jackson Harper <[email protected]>
  6548. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  6549. set actions correctly. This isn't perfect as XDND and win32 have
  6550. some differences on how you allow actions. I'll clear this up by
  6551. adding a path for drag from MWF to MWF windows.
  6552. * XplatUIX11.cs: Hook into the dnd system.
  6553. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  6554. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  6555. previously shown but they are no longer need it. Very obvious when
  6556. browsing files with FileDialog.
  6557. 2005-11-01 Peter Dennis Bartok <[email protected]>
  6558. * Control.cs: We always need to call OnPaintBackground. We pretty much
  6559. ignore AllPaintingInWmPaint and always do the painting there, whether
  6560. it's set or not, since we always ignore the WM_ERASEBKGND message
  6561. (which we don't generate on X11). This fixes #76616.
  6562. * Panel.cs: Removed unneeded background painting. This happens properly
  6563. in Control.cs already
  6564. 2005-10-31 Mike Kestner <[email protected]>
  6565. * Menu.cs: Add items to collection before setting their index.
  6566. * MenuItem.cs : add range checking with ArgumentException like MS.
  6567. [Fixes #76510]
  6568. 2005-10-31 Jackson Harper <[email protected]>
  6569. * ListBox.cs: Invalidate if the area is visible at all not just
  6570. contained in the visible rect. Fixes unselection of semi visible
  6571. items.
  6572. 2005-10-31 Jackson Harper <[email protected]>
  6573. * Control.cs: Consistently name the dnd methods. Make them
  6574. internal so we can override them to match some MS behavoir
  6575. internally.
  6576. * Win32DnD.cs: Use the new consistent names.
  6577. 2005-10-31 Jackson Harper <[email protected]>
  6578. * TreeView.cs: Don't draw the selected node when we lose focus.
  6579. 2005-10-31 Jackson Harper <[email protected]>
  6580. * X11Dnd.cs: We still need to reset the state even though a full
  6581. reset isn't being done, otherwise status's still get sent all over
  6582. the place.
  6583. 2005-10-31 Jackson Harper <[email protected]>
  6584. * Control.cs: Make the dnd_aware flag internal so the dnd
  6585. subsystem can check it. Catch exceptions thrown in dnd handlers to
  6586. match MS behavoir.
  6587. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  6588. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  6589. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  6590. flags to reduce the number of dnd enters/status's sent.
  6591. 2005-10-31 Jackson Harper <[email protected]>
  6592. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  6593. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  6594. * PictureBox.cs: Fixes 76512
  6595. 2005-10-28 Jackson Harper <[email protected]>
  6596. * X11Dnd.cs: Early implementation to support winforms being a drag
  6597. source for data on X11. Also restructured the converters so they
  6598. can go both ways now.
  6599. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  6600. 2005-10-27 Peter Dennis Bartok <[email protected]>
  6601. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  6602. clipboard requests
  6603. 2005-10-27 Jackson Harper <[email protected]>
  6604. * TreeNode.cs: Implement serialization so my DnD examples will work.
  6605. 2005-10-24 Kornél Pál <[email protected]>
  6606. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  6607. TreeView.cs: Don't dispose objects that are not owned.
  6608. 2005-10-24 Peter Dennis Bartok <[email protected]>
  6609. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  6610. should retrieve the current cursor and report that, but XplatUI
  6611. doesn't (yet) have an interface for that (and I'm not sure I even
  6612. can, on X11)
  6613. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  6614. until any message loop processing is done (and the WM_SETCURSOR
  6615. replaces the cursor to the proper one)
  6616. * XplatUIX11.cs:
  6617. - Fixed override behaviour, we can't set the cursor globally on X11,
  6618. just for our windows.
  6619. - Invalidating the System.Drawing X11 display handle when we are
  6620. shutting down
  6621. * Control.cs: Fix to make csc happy
  6622. 2005-10-23 Peter Dennis Bartok <[email protected]>
  6623. * TextBoxBase.cs:
  6624. - get_Text: Add last line (without trailing newline) to returned
  6625. value (Fixes 76212)
  6626. - get_TextLength: Count last line in returned length
  6627. - ToString: Call Text property instead of duplicating code
  6628. 2005-10-23 Kornél Pál <[email protected]>
  6629. * ImageList.cs: Dispose ImageAttributes objects.
  6630. 2005-10-22 Kornél Pál <[email protected]>
  6631. * ImageList.cs: Use attribute constructors with less arguments where
  6632. possible.
  6633. 2005-10-22 Kornél Pál <[email protected]>
  6634. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  6635. Use typeof instead of strings when assembly is referenced. Added
  6636. some more comments.
  6637. 2005-10-21 Jackson Harper <[email protected]>
  6638. * ListView.cs: Raise a double click event. Also tried to somewhat
  6639. fix when the selectedindexchanged event is raised. Its still
  6640. broken though.
  6641. 2005-10-21 Jackson Harper <[email protected]>
  6642. * TreeView.cs: New method to invalidate the plus minus area of a
  6643. node without invalidating the whole node (maybe this can be used
  6644. in some more places).
  6645. * TreeNodeCollection.cs: When adding to an empty node we need to
  6646. invalidate its plus minus area so the little block shows up.
  6647. 2005-10-21 Jackson Harper <[email protected]>
  6648. * TreeView.cs: Make sure that when we invalidate a node the bounds
  6649. are big enough to cover the selected box and the focus
  6650. rectangle. Use a different colour for the lines connecting nodes
  6651. so they show up with all themes.
  6652. 2005-10-21 Peter Dennis Bartok <[email protected]>
  6653. * NativeWindow.cs: Don't call anything that could call into the driver,
  6654. we might be on a different thread.
  6655. 2005-10-21 Peter Dennis Bartok <[email protected]>
  6656. * Control.cs(Dispose): Since Dispose might run on a different thread,
  6657. make sure that we call methods that could call into the driver via
  6658. invoke, to avoid thread issues
  6659. 2005-10-21 Peter Dennis Bartok <[email protected]>
  6660. * XplatUI.cs: Removed finalizer
  6661. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  6662. not allowing to be called on the finalizer thread.
  6663. 2005-10-21 Kornél Pál <[email protected]>
  6664. * ImageList.cs:
  6665. - Reverted r51889 and r51891.
  6666. - Added ImageListItem class that stores unmodified image items and image
  6667. properties required to create list images until handle is created.
  6668. - Added AddItem and moved image creation logic to AddItemInternal.
  6669. - Added CreateHandle method that creates images based on unmodified items.
  6670. - Added DestroyHandle that changes state to store unmodified items.
  6671. - Add and AddStrip methods no more create handle.
  6672. - ReduceColorDepth has no return value.
  6673. - Dispose destroys handle.
  6674. - Modified other methods to reflect the above changes.
  6675. - Implemented key support.
  6676. - Added profile 2.0 members and attributes.
  6677. - Added private Reset and ShouldSerialize methods that provide the same
  6678. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  6679. them as they are private.
  6680. - Added some more comments about implementation details.
  6681. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  6682. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  6683. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  6684. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  6685. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  6686. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  6687. * DataGridColumnStyle.cs: Remove debug message
  6688. 2005-10-20 Jackson Harper <[email protected]>
  6689. * TreeView.cs: We can always get input keys regardless of whether
  6690. or not editing is enabled. They are used for navigation.
  6691. 2005-10-20 Jackson Harper <[email protected]>
  6692. * TreeNode.cs: Use the viewport rect for determining if a node
  6693. needs to be moved for visibility. Don't use Begin/End edit. This
  6694. calls a full refresh when its done.
  6695. * TreeView.cs: New SetBottom works correctly. Make the viewport
  6696. rect property internal so the treenodes can see it. When clicking
  6697. on a node we need to ensure that its visible because it might just
  6698. be partly visible when clicked.
  6699. 2005-10-20 Jackson Harper <[email protected]>
  6700. * TreeNodeCollection.cs: Remove debug code.
  6701. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  6702. * Datagrid.cs: Implements column sorting in Datagrid
  6703. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  6704. 2005-10-20 Jackson Harper <[email protected]>
  6705. * TreeNodeCollection.cs: Remove items properly. Update the correct
  6706. area after removing them.
  6707. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  6708. * Datagrid.cs: Should not call base.OnPaintBackground
  6709. 2005-10-20 Peter Dennis Bartok <[email protected]>
  6710. * XplatUIX11.cs (GetMessage):
  6711. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  6712. window instead of client window
  6713. - Now properly calculates NC_xBUTTONUP message coordinates
  6714. - ScreenToMenu now properly calculates it's coordinates of whole
  6715. window, since menus are in the whole window, not in the client
  6716. window
  6717. - Added WholeToScreen coordinate translation method
  6718. 2005-10-20 Peter Dennis Bartok <[email protected]>
  6719. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  6720. want to return a message, loop back to the beginning of the function
  6721. and grab the next real message to process instead.
  6722. 2005-10-20 Peter Dennis Bartok <[email protected]>
  6723. * Splitter.cs: Properly set limits if no filler control is used
  6724. 2005-10-19 Jackson Harper <[email protected]>
  6725. * ColorDialog.cs: Don't show the help button if it is not enabled
  6726. instead of disabling it (this is what MS does). Don't create the
  6727. panel until the dialog is run, otherwise the vars (such as
  6728. ShowHelp) are not set yet.
  6729. 2005-10-19 Jackson Harper <[email protected]>
  6730. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  6731. are reduced when adding nodes.
  6732. * TreeNode.cs:
  6733. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  6734. tree.
  6735. 2005-10-19 Jackson Harper <[email protected]>
  6736. * FolderBrowserDialog.cs: End editing our treeview so the window
  6737. actually gets refreshed.
  6738. 2005-10-18 Peter Dennis Bartok <[email protected]>
  6739. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  6740. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  6741. inside of WM_PAINT
  6742. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  6743. * MenuAPI.cs: Returns after Hidding window
  6744. * XplatUIX11.cs: Added TODO found while debugging menu issues
  6745. 2005-10-18 Peter Dennis Bartok <[email protected]>
  6746. * XplatUIX11.cs: Do not re-map the whole window when it's size
  6747. becomes non-zero unless it's supposed to be actually visible
  6748. 2005-10-18 Jackson Harper <[email protected]>
  6749. * TreeView.cs: We don't need to keep a count anymore.
  6750. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  6751. use the Grow method.
  6752. 2005-10-18 Jackson Harper <[email protected]>
  6753. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  6754. implement it manually here.
  6755. 2005-10-18 Jackson Harper <[email protected]>
  6756. * ImageList.cs: Dont kill the list when the colour depth is
  6757. changed, just change the colour depth of all the images.
  6758. - Same goes for setting the image size. Just resize them all
  6759. instead of killing the list softly.
  6760. 2005-10-18 Jackson Harper <[email protected]>
  6761. * Control.cs: Don't invalidate empty rectangles.
  6762. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  6763. * ListViewItem.cs:
  6764. - Adds checked item to the Checked/Item lists (where empty before)
  6765. - Do not add items to the Selected lists if they are already present
  6766. * ListView.cs:
  6767. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  6768. - When deleting items make sure that we delete them for the Selected
  6769. and Checked list also.
  6770. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  6771. * Label.cs: Dispose objects no longer used
  6772. * ThemeWin32Classic.cs: Dispose objects no longer used
  6773. 2005-10-18 Jackson Harper <[email protected]>
  6774. * TabControl.cs: Don't refresh the whole control when the tabs are
  6775. scrolled, we just need to refresh the tab area.
  6776. 2005-10-17 Jackson Harper <[email protected]>
  6777. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  6778. after handle when we need it.
  6779. 2005-10-17 Peter Dennis Bartok <[email protected]>
  6780. * Control.cs: When the parent size changes, recalculate anchor
  6781. positions. Partial fix for #76462
  6782. 2005-10-17 Peter Dennis Bartok <[email protected]>
  6783. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  6784. drawn. Fixes #76462
  6785. 2005-10-17 Jackson Harper <[email protected]>
  6786. * MonthCalendar.cs: Don't create the numeric up down until our
  6787. handle is created. Otherwise our handle is created in the
  6788. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  6789. yet.
  6790. 2005-10-17 Jackson Harper <[email protected]>
  6791. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  6792. correctly.
  6793. 2005-10-17 Rafael Teixeira <[email protected]>
  6794. * TreeNode.cs : small logical fix (was using local var instead of field)
  6795. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  6796. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  6797. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  6798. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  6799. 2005-10-16 Peter Dennis Bartok <[email protected]>
  6800. * Control.cs:
  6801. - Re-implemented anchoring code. My first version was really broken.
  6802. This fixes bug #76033. Unlike the previous implementation we will
  6803. no longer have round errors since all numbers are calculated from
  6804. scratch every time. Removed various anchor-related obsolete vars.
  6805. - InitLayout no longer causes layout event firing and layout to be
  6806. performed
  6807. 2005-10-16 Jackson Harper <[email protected]>
  6808. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  6809. which was broken).
  6810. 2005-10-16 Jackson Harper <[email protected]>
  6811. * TabControl.cs: Remove debug code.
  6812. 2005-10-16 Jackson Harper <[email protected]>
  6813. * XEventQueue.cs: Increase the default queue size (very simple
  6814. apps needed to grow the queue).
  6815. * Hwnd.cs: No finalizer so we don't need to suppress
  6816. finalization. Compute the invalid area manually so a new rectangle
  6817. does not newto be created.
  6818. * ScrollableControl.cs: Don't set any params (otherwise visibility
  6819. isn't set correctly).
  6820. * MdiChildContext.cs: New constructor takes the mdi parent so it
  6821. doesn't have to be computed and avoids a crash on windows. Draw
  6822. the window icon properly, and allow the text to be seen.
  6823. * Form.cs: Use new MdiChildContext constructor. Make sure the
  6824. child context isn't null in wndproc.
  6825. * TabControl.cs: Don't set focus, this is muddling keyboard
  6826. behavoir. Expand the tab rows when a window size increase will
  6827. allow extra tabs to be seen. Don't allow tabs smaller than the
  6828. width of a window to be scrolled out of view.
  6829. * TreeNode.cs:
  6830. * TreeView.cs: Use measure string to calculate a nodes width, the
  6831. width is cached and only updated when the text or the font is
  6832. changed. Don't check for expand/collapse clicks on the first level
  6833. nodes if root lines are disabled.
  6834. 2005-10-16 Ritvik Mayank <[email protected]>
  6835. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  6836. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  6837. * DataGridBoolColumn.cs: fixes warning
  6838. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  6839. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  6840. to match more to match more precisely the MS Net behavior
  6841. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6842. * Hwnd.cs: Added field to track if window is mapped
  6843. * XplatUIX11.cs:
  6844. - Unmap windows if they become 0-size, re-map when
  6845. they are >0 again; fixes #76035
  6846. - Re-set our error handler after initializing X11Desktop
  6847. to override any error handlers Gtk or whatever was called
  6848. may have set.
  6849. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6850. * CheckedListBox.cs: Removed unused vars
  6851. * ListView.cs: Fixed signatures
  6852. * RichTextBox.cs: Removed unused vars
  6853. * TextBoxBase.cs: Removed unused vars
  6854. * XplatUIWin32.cs: Removed unused vars
  6855. * XplatUIX11.cs: Removed unused vars
  6856. * XplatUI.cs: Updated version and date to latest published
  6857. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6858. * Cursor.cs: Added private .ctor to work around a bug in
  6859. resourceset (Thanks to Geoff Norton for the help on this)
  6860. * SplitterEventArgs.cs: Made fields accessible so we don't
  6861. waste boatloads of objects and can reuse the same one
  6862. in Splitter
  6863. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  6864. any captions and borders when generating screen coordinates
  6865. * Splitter.cs: Reimplemented control, now fully complete, uses
  6866. rubberband drawing, supports and obeys all properties, has
  6867. proper cursors
  6868. 2005-10-13 Miguel de Icaza <[email protected]>
  6869. * Form.cs (Form): Setup default values for autoscale and
  6870. autoscale_base_size; Make these instance variables, not static
  6871. variables.
  6872. (OnLoad): on the first load, adjust the size of the form.
  6873. 2005-10-13 Peter Dennis Bartok <[email protected]>
  6874. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  6875. width argument to DrawReversibleRectangle()
  6876. * XplatUIWin32.cs, XplatUIX11.cs:
  6877. - Implemented width for DrawReversibleRectangle()
  6878. - Added logic to DrawReversibleRectangle that recognizes a zero
  6879. width or height and only draws a line in that situation
  6880. 2005-10-12 Peter Dennis Bartok <[email protected]>
  6881. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  6882. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  6883. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  6884. method (it uses our FosterParent window to get a graphics context)
  6885. 2005-10-12 Peter Dennis Bartok <[email protected]>
  6886. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  6887. and SetWindowBackground methods
  6888. * Control.cs:
  6889. - Setting proper ControlStyles
  6890. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  6891. EraseWindowBackground, instead we draw the window background
  6892. ourselves in PaintControlBackground. This behaviour is
  6893. required to match MS, where, when OnPaintBackground is not
  6894. called, the background is not drawn.
  6895. - Removed unneeded Refresh() in set_Text
  6896. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  6897. * XplatUIX11.cs:
  6898. - Created DeriveStyles method to translate from CreateParams to
  6899. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  6900. matches FormBorderStyle enum values)
  6901. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  6902. style calculations into single DeriveStyles method
  6903. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  6904. from redrawing the whole window on any resize or expose.
  6905. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  6906. all styles were applied to our whole/client window appropriately
  6907. - Removed EraseWindowBackground() and SetWindowBackground() methods
  6908. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  6909. no longer clear/redraw the background through X
  6910. - Removed handling of erase_pending bit, we have no use for it (or
  6911. so it seems)
  6912. * XplatUIOSX.cs:
  6913. - Removed generation and handling of WM_ERASEBKGND message
  6914. - Removed EraseWindowBackground() and SetWindowBackground() methods
  6915. - Removed handling of hwnd.ErasePending flag
  6916. * XplatUIWin32.cs:
  6917. - Removed EraseWindowBackground() and SetWindowBackground() methods
  6918. - We no longer call EraseWindowBackground on PaintEventStart, we
  6919. ignore the fErase flag, erasing is handled in Control in the
  6920. background handler
  6921. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  6922. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  6923. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  6924. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  6925. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  6926. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  6927. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  6928. 2005-10-12 Jonathan Chambers <[email protected]>
  6929. * PropertyGrids.cs: Get sub properties
  6930. * PropertyGridView.cs: Fix drawing code
  6931. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6932. * ListBox.cs: Fixes 76383
  6933. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6934. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  6935. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  6936. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  6937. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6938. * ComboBox.cs: Fixes border drawing
  6939. 2005-10-10 Miguel de Icaza <[email protected]>
  6940. * MimeIcon.cs: Ignore errors if the file can not be read.
  6941. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  6942. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  6943. - Fixed border calculations
  6944. - Fixed horizontal scrolling in single column listboxes
  6945. - Fixed drawing issues
  6946. 2005-10-10 Peter Dennis Bartok <[email protected]>
  6947. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  6948. FormBorderStyle enum
  6949. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  6950. code to determine FormBorderStyles from CreateParams
  6951. * Form.cs:
  6952. - Fixed bug where we'd set the wrong window styles if we were
  6953. not creating an MDI window
  6954. - Added call to XplatUI.SetBorderStyle when form borders are set
  6955. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  6956. * Hwnd.cs:
  6957. - Removed obsolete edge style
  6958. - Switched from BorderStyle to FormBorderStyle
  6959. 2005-10-10 Jackson Harper <[email protected]>
  6960. * Form.cs: Use the property to get the window handle instead of
  6961. accessing it directly. Prevents a null reference exception.
  6962. 2005-10-10 Jackson Harper <[email protected]>
  6963. * TreeView.cs: Don't adjust the rect given to DrawString now that
  6964. our libgdiplus draws correctly.
  6965. 2005-10-08 Jackson Harper <[email protected]>
  6966. * TreeView.cs: Don't try to find the clicked on node if there are
  6967. no nodes in the tree.
  6968. 2005-10-08 Alexander Olk <[email protected]>
  6969. * RichTextBox.cs:
  6970. restore
  6971. 2005-10-08 Alexander Olk <[email protected]>
  6972. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  6973. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  6974. ErrorProvider.cs:
  6975. Use ResPool for brushes and dispose System.Drawing objects that
  6976. are not used anymore.
  6977. 2005-10-07 Jackson Harper <[email protected]>
  6978. * MdiChildContext.cs: Use the new borders instead of drawing them
  6979. ourselves.
  6980. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  6981. * Calling UpdateBounds after changing the window's BorderStyle
  6982. since the style can change the ClientSize
  6983. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6984. * Control.cs: Made PaintControlBackground virtual
  6985. * Panel.cs: Overriding PaintControlBackground instead of using paint
  6986. event; paint event method was interfering with 'real' users of the
  6987. event.
  6988. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  6989. * ThemeWin32Classic.cs: remove border drawing since it is handled
  6990. by the base control class now and was causing double border drawing.
  6991. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6992. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  6993. but it does seem to match MS behaviour. This fixes bug #75324
  6994. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6995. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  6996. somewhat hackish looking
  6997. 2005-10-06 Peter Dennis Bartok <[email protected]>
  6998. * TextBoxBase.cs:
  6999. - We now accept Enter even if AcceptEnter is false, if the containing
  7000. form does not have an AcceptButton configured (fixes bug #76355)
  7001. - Calculations are now fixed to no longer use Width/Height, but
  7002. ClientSize.Width/Height, since we now support borders (this was
  7003. a result of fixing borders and therefore bug #76166)
  7004. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  7005. true (fixes bug #76354)
  7006. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7007. * Control.cs:
  7008. - Defaulting BorderStyle and setting it in XplatUI when our window
  7009. is created
  7010. - Added enum check to InternalBorderStyle setter
  7011. * XplatUIX11.cs:
  7012. - Added drawing of window borders
  7013. - Now properly calculates WM decorations offset for toplevel
  7014. windows (fixes bug #74763)
  7015. * XplatUIWin32.cs:
  7016. - Implemented BorderStyles for windows (we're letting win32 draw
  7017. the border for us)
  7018. - Fixed the signature for SetWindowLong
  7019. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  7020. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  7021. setting borders
  7022. * UpDownBase.cs: Remove drawing of borders, this is handled by
  7023. the driver, outside the client area
  7024. * ListView.cs: Removed bogus border calculations. The control should
  7025. be oblivious to borders, since those are not part of the client
  7026. area.
  7027. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  7028. * ThemeWin32Classic.cs: Removed border calculations from ListView
  7029. drawing code
  7030. 2005-10-06 Jackson Harper <[email protected]>
  7031. * MdiChildContext.cs: Clear out the old virtual position remove
  7032. all the unneeded calls to CreateGraphics.
  7033. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7034. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  7035. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7036. * Form.cs:
  7037. - Added loading and setting of our new default icon
  7038. - Only set icon if window is already created
  7039. 2005-10-06 Peter Dennis Bartok <[email protected]>
  7040. * Label.cs:
  7041. - Do not explicitly set the foreground and background colors, to
  7042. allow inheriting from parents (fixes #76302)
  7043. - Use Control's InternalBorderStyle property to deal with borders
  7044. 2005-10-06 Jackson Harper <[email protected]>
  7045. * MdiChildContext.cs: Use the new xplatui function to draw a
  7046. reversible rect.
  7047. 2005-10-06 Jackson Harper <[email protected]>
  7048. * Form.cs: Add the parent before creating the child context cause
  7049. we need the parent when setting up the child.
  7050. 2005-10-06 Jackson Harper <[email protected]>
  7051. * FolderBrowserDialog.cs: redo the tree population code so a
  7052. second thread isn't used. Should be a lot faster and more stable
  7053. now.
  7054. 2005-10-05 Jackson Harper <[email protected]>
  7055. * TreeView.cs: There are no expand/collapse boxes if the node has
  7056. no children.
  7057. 2005-10-05 Jackson Harper <[email protected]>
  7058. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  7059. 2005-10-05 Alexander Olk <[email protected]>
  7060. * FileDialog.cs: Fix InitialDirectory
  7061. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7062. * ComboBox.cs:
  7063. - Fixes changing between styles
  7064. - Fixes simple mode
  7065. - Fixes last item crashing when navigating with keyboard
  7066. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  7067. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  7068. 2005-10-05 Jackson Harper <[email protected]>
  7069. * TreeView.cs: If updating the root node do a full refresh.
  7070. * TreeNode.cs: The root node should be expanded by default. Also
  7071. added a utility prop to tell if we are the root node.
  7072. * TreeNodeCollection.cs: Only refresh if the node we are being
  7073. added to is expanded. Also added a comment on a potential
  7074. optimization.
  7075. 2005-10-04 Peter Dennis Bartok <[email protected]>
  7076. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  7077. in dispose method. Fixes #76330
  7078. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  7079. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  7080. - Implements vertical and horizontal scrolling using XplatUI
  7081. - Fixes keyboard navagation
  7082. - Fixes EnsureVisible
  7083. - Drawing fixes
  7084. - Handles and draws focus properly
  7085. 2005-10-04 Kornél Pál <[email protected]>
  7086. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  7087. Create handle. NET_2_0: Destroy handle when value is null.
  7088. 2005-10-03 Jackson Harper <[email protected]>
  7089. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  7090. revert and a new patch to prevent the thumb from refreshing so
  7091. much.
  7092. 2005-10-02 Jackson Harper <[email protected]>
  7093. * ScrollBar.cs: Don't update position if it hasn't actually
  7094. changed. This occurs when you hold down the increment/decrement
  7095. buttons and the thumb gets to the max/min.
  7096. 2005-10-01 Jackson Harper <[email protected]>
  7097. * Form.cs:
  7098. * MdiChildContext.cs:
  7099. * MdiClient.cs: Implement ActiveMdiChild in Form.
  7100. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  7101. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  7102. 2005-10-01 Peter Dennis Bartok <[email protected]>
  7103. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  7104. be found
  7105. 2005-09-30 Jackson Harper <[email protected]>
  7106. * ListBox.cs: Don't do a full refresh unless some data has
  7107. actually changed.
  7108. 2005-09-30 Jackson Harper <[email protected]>
  7109. * TreeView.cs: Make sure that the checkboxes size is factored in
  7110. even when not visible.
  7111. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7112. * FileDialog.cs: Fix Jordi's build break
  7113. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  7114. * FileDialog.cs:
  7115. - Use standard the Windows colours for the combobox as espected
  7116. - Dispose objects that use resouces when no longer need them
  7117. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7118. * X11DesktopColors.cs: Initial incomplete implementation
  7119. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  7120. 2005-09-30 Peter Dennis Bartok <[email protected]>
  7121. * Theme.cs:
  7122. - Switched Theme color names to match the names defined in
  7123. System.Drawing.KnownColors. Life's hard enough, no need to make
  7124. it harder.
  7125. - Added setters to all theme color properties so themes can set
  7126. their color schemes. The setters also propagate the color changes
  7127. to System.Drawing.KnownColors via reflection
  7128. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  7129. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  7130. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  7131. use the new, more logical theme color names
  7132. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  7133. post-NT colors
  7134. * ThemeWin32Classic.cs:
  7135. - Removed code to set the old classic Windows colors. Instead it
  7136. now relies on the colors returned by System.Drawing.KnownColors
  7137. which will be either modern static colors (Unix) or colors
  7138. read from the user's configuration (Win32)
  7139. - Updated to use the new, more logical theme color names
  7140. - Switched DataGrid drawing code to use only Theme colors instead of
  7141. a mix of System.Drawing.KnownColors and Theme colors
  7142. - DrawFrameControl(): Removed code that fills the button area, the
  7143. fill would overwrite any previous fill done by a control. This
  7144. fixes bug #75338
  7145. - Added DrawReversibleRectangle() stub
  7146. * ScrollableControl.cs: Set visible state to false when scrollbars
  7147. are removed (pdn fix)
  7148. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  7149. DrawReversibleRectangle() method to allow drawing primitive
  7150. 'rubber bands'
  7151. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  7152. 2005-09-30 Kornél Pál <[email protected]>
  7153. * ImageList.cs: Add(Icon): Create handle.
  7154. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  7155. * ListView.cs:
  7156. * ThemeWin32Classic.cs:
  7157. - Fixes detail mode
  7158. - Sets clippings
  7159. - Issues with drawing
  7160. 2005-09-30 Kornél Pál <[email protected]>
  7161. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  7162. source has to be the ImageList.
  7163. 2005-09-30 Kornél Pál <[email protected]>
  7164. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  7165. 2005-09-30 Kornél Pál <[email protected]>
  7166. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  7167. 2005-09-30 Kornél Pál <[email protected]>
  7168. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  7169. 2005-09-29 Jonathan Chambers <[email protected]>
  7170. * GridItem.cs: Fixed TODOs
  7171. * GridItemCollection.cs: Added ICollection interface
  7172. 2005-09-30 Kornél Pál <[email protected]>
  7173. * ImageList.cs: Resize icons when needed.
  7174. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  7175. * ListViewItem.cs
  7176. - Fixes GetBounds and returns on screen rects
  7177. * ListView.cs:
  7178. - Fixes vertical and horzintal scrolling of items
  7179. * ThemeWin32Classic.cs:
  7180. - Fixes drawing
  7181. 2005-09-29 Raja R Harinath <[email protected]>
  7182. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  7183. 2005-09-29 Kornél Pál <[email protected]>
  7184. * ImageList.cs: Added comments about handle creation. Moved Handle,
  7185. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  7186. Handle is created in Add methods.
  7187. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  7188. * DataGridDrawingLogic.cs:
  7189. - Takes rows into account on Colum calculations
  7190. - Returns the column when clickig
  7191. * DataGrid.cs:
  7192. - Fixes default HitTestInfo values
  7193. - Fixes HitTestInfo.ToString
  7194. - Fixes ResetBackColor
  7195. 2005-09-28 Jackson Harper <[email protected]>
  7196. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  7197. sizing or cursor changes). Also added some temp code to draw the
  7198. titlebars text (Makes dev a little easier).
  7199. 2005-09-28 Kornél Pál <[email protected]>
  7200. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  7201. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  7202. * ListBox.cs: Fixes bug 76253
  7203. 2005-09-28 Kornél Pál <[email protected]>
  7204. * ImageList.cs: Added comments about the current implementation. Added
  7205. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  7206. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  7207. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  7208. with Bitmap.LockBits for better performance. Revised the whole file to
  7209. match MS.NET behaviour and provide better performance. Non-public
  7210. interface members are calling public members even when they throw
  7211. NotSupportedException for better maintainability. Moved ColorDepth,
  7212. ImageSize, ImageStream and TransparentColor implementations to
  7213. ImageCollection for better performance as these properties are not used
  7214. by ImageList.
  7215. * ImageListStreamer.cs: Added a new internal constructor that takes an
  7216. ImageList.ImageCollection and serializes Images based on
  7217. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  7218. match ImageList property name.
  7219. 2005-09-28 Kazuki Oikawa <[email protected]>
  7220. * ListBox.cs: Fixes IndexFromPoint for last item
  7221. 2005-09-27 Jackson Harper <[email protected]>
  7222. * Form.cs: Set the position of new mdi children correctly.
  7223. 2005-09-27 Jackson Harper <[email protected]>
  7224. * MdiClient.cs: New mdi children need to be added to the back of
  7225. the controls collection so the zorder is set correctly. Also add a
  7226. count of all the child windows that have been created.
  7227. 2005-09-27 Jackson Harper <[email protected]>
  7228. * Form.cs (CreateParams): Setup MDI forms correctly.
  7229. 2005-09-27 Jackson Harper <[email protected]>
  7230. * MdiChildContext.cs:
  7231. * MonthCalendar.cs:
  7232. * UpDownBase.cs:
  7233. * ListBox.cs:
  7234. * ListView.cs:
  7235. * TextBoxBase.cs:
  7236. * TreeView.cs:
  7237. * ScrollableControl.cs:
  7238. * ComboBox.cs: Add implicit controls using the new implict control
  7239. functionality in ControlCollection. Also try to block multiple
  7240. control add in a suspend/resume layout to save some cycles.
  7241. 2005-09-27 Jackson Harper <[email protected]>
  7242. * Control.cs: Add functionality to the controls collection to add
  7243. 'implicit controls' these are controls that are created by the
  7244. containing control but should not be exposed to the user. Such as
  7245. scrollbars in the treeview.
  7246. * Form.cs: The list var of the ControlsCollection is no longer
  7247. available because of the potential of implicit controls getting
  7248. ignored by someone accessing the list directly.
  7249. 2005-09-26 Peter Dennis Bartok <[email protected]>
  7250. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  7251. loose it's parent. (Fixed bug introduced in r49103 when we added
  7252. setting the child parent to null on Remove)
  7253. 2005-09-26 Gert Driesen <[email protected]>
  7254. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  7255. * Splitter.cs: Added missing attributes for BorderStyle property.
  7256. * TextBoxBase.cs: Marked Calculate* methods internal.
  7257. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  7258. MS.NET.
  7259. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  7260. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  7261. 2005-09-25 Jackson Harper <[email protected]>
  7262. * TreeView.cs: Update the node bounds correctly regardless of
  7263. whether the node is visible.
  7264. 2005-09-25 Jackson Harper <[email protected]>
  7265. * ImageList.cs: Don't dispose the image after it is added to the
  7266. image list. Only reformat images that need to be resized.
  7267. 2005-09-25 Jackson Harper <[email protected]>
  7268. * ImageList.cs: Don't set the format when changing the image.
  7269. 2005-09-25 Jackson Harper <[email protected]>
  7270. * TreeView.cs: We can't just assume the node has a font. Use the
  7271. treeviews font if no node font is available.
  7272. 2005-09-25 Jackson Harper <[email protected]>
  7273. * TreeView.cs: Allow the scrollbars to be reset with negative
  7274. values.
  7275. - Don't add scrollbars to negative sized windows.
  7276. 2005-09-23 Jackson Harper <[email protected]>
  7277. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  7278. old Mono.Posix. Also remove some stray code that shouldn't have
  7279. been committed.
  7280. 2005-09-23 Jackson Harper <[email protected]>
  7281. * TreeView.cs: Attempt at proper sizing of the horizontal
  7282. scrollbar. Also don't resize the scrollbars unless they are
  7283. visible.
  7284. 2005-09-23 Jackson Harper <[email protected]>
  7285. * TreeView.cs: We don't need to expand the invalid area when the
  7286. selection changes, as this is all drawn in the node's bounding
  7287. box. The area needs to be expanded (previous typo was contracting
  7288. it) when the focus rect moves.
  7289. 2005-09-23 Jackson Harper <[email protected]>
  7290. * TreeView.cs: Display the selection box under the correct
  7291. circumstances. We were rendering white text with no selection box
  7292. before.
  7293. 2005-09-23 Peter Dennis Bartok <[email protected]>
  7294. * TextControl.cs(Split): Now updates selection start/end if it points
  7295. into a line that's being split. Fixes a FIXME and bug #75258
  7296. 2005-09-23 Jackson Harper <[email protected]>
  7297. * Binding.cs:
  7298. * ListControl.cs: Don't use the path when retrieving binding
  7299. managers from the binding context. My bat sense tells me that the
  7300. path is only used on insertion.
  7301. 2005-09-22 Jackson Harper <[email protected]>
  7302. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  7303. 2005-09-22 Jackson Harper <[email protected]>
  7304. * Splitter.cs: There are special cursors used for splitting.
  7305. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  7306. 2005-09-22 Jackson Harper <[email protected]>
  7307. * Splitter.cs: Change the cursor appropriately when the splitter
  7308. is moused over, so the user actually knows there is a splitter
  7309. there.
  7310. 2005-09-22 Hisham Mardam Bey <[email protected]>
  7311. * Label.cs : Fix ToString method to give same output as MS.NET
  7312. 2005-09-22 Jackson Harper <[email protected]>
  7313. * TreeView.cs: Create the scrollbars when the handle is created
  7314. and add them right away, just make them invisble. Also account for
  7315. the window being shrunk vertically to the point that the vert
  7316. scrollbar needs to be added.
  7317. - Remove some 0.5 adjustments to get around anti aliasing issues.
  7318. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  7319. * MainMenu.cs: Fixes default value
  7320. * MenuItem.cs: Fixes default value
  7321. 2005-09-22 Kazuki Oikawa <[email protected]>
  7322. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  7323. 2005-09-21 Jackson Harper <[email protected]>
  7324. * Control.cs: Don't try to set the border style on the window if
  7325. it hasn't been created. When the window is created the border
  7326. style will be used.
  7327. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7328. * Control.cs (Update): Don't call XplatUI if we don't have a
  7329. window handle yet
  7330. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7331. * ContainerControl.cs: Instead of throwing an exception, print
  7332. a one-time warning about Validate not being implemented
  7333. * XplatUIWin32.cs: Removed debug output
  7334. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7335. * Control.cs: Only set XplatUI background if we expect the windowing
  7336. system to handle the background. This stops controls that draw their
  7337. own background from flickering
  7338. * XplatUIX11.cs: Support custom visuals and colormaps for window
  7339. creation. This allows, amongst other things, using MWF X11 windows
  7340. with OpenGL.
  7341. 2005-09-21 Peter Dennis Bartok <[email protected]>
  7342. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  7343. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  7344. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  7345. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  7346. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  7347. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  7348. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  7349. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  7350. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  7351. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  7352. GridColumnStylesCollection.cs,
  7353. IDataGridColumnStyleEditingNotificationService.cs,
  7354. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  7355. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  7356. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  7357. TreeNodeCollection.cs, AmbientProperties.cs,
  7358. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  7359. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  7360. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  7361. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  7362. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  7363. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  7364. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  7365. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  7366. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  7367. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  7368. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  7369. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  7370. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  7371. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  7372. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  7373. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  7374. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  7375. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  7376. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  7377. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  7378. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  7379. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  7380. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  7381. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  7382. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  7383. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  7384. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  7385. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  7386. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  7387. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  7388. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  7389. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  7390. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  7391. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  7392. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  7393. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  7394. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  7395. 2005-09-21 Jackson Harper <[email protected]>
  7396. * TreeNode.cs: Call Before/After Expand not Collapse when
  7397. expanding.
  7398. 2005-09-20 Jackson Harper <[email protected]>
  7399. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  7400. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  7401. * ListViewItem.cs:
  7402. - Fixes bug 76120
  7403. - Fixes proper storing of subitems
  7404. - Fixes not updated items
  7405. 2005-09-20 Peter Dennis Bartok <[email protected]>
  7406. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  7407. things if our window handle isn't created yet. Also disabled
  7408. debug for TextBoxBase
  7409. 2005-09-20 Peter Dennis Bartok <[email protected]>
  7410. * MenuAPI.cs: Remove filtering of events to allow menu usage
  7411. 2005-09-20 Miguel de Icaza <[email protected]>
  7412. * Cursor.cs: Allow null to be passed to Cursor.Current.
  7413. 2005-09-20 Alexander Olk <[email protected]>
  7414. * ThemeWin32Classic.cs:
  7415. - Change some private methods/fields to protected virtual so that
  7416. they can be accessed and overriden in derived classes
  7417. - First refactoring of some methods. Derived themes now don't
  7418. need to duplicate the complete code from ThemeWin32Classic
  7419. * ThemeNice.cs:
  7420. - Added nice StatusBar
  7421. - Derive from ThemeWin32Classic and not Theme
  7422. - Removed duplicate ThemeWin32Classic code
  7423. 2005-09-20 Miguel de Icaza <[email protected]>
  7424. * Control.cs (ControlCollection.Add): If the value null is passed
  7425. the control is ignored.
  7426. Optimize this loop.
  7427. 2005-09-19 Peter Dennis Bartok <[email protected]>
  7428. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  7429. PostQuitMessage state.
  7430. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  7431. 2005-09-19 Peter Dennis Bartok <[email protected]>
  7432. * Application.cs: Our constructor will never get called, move
  7433. initialization to fields; fixes bug #75933
  7434. 2005-09-19 Hisham Mardam Bey <[email protected]>
  7435. * FileDialog.cs :
  7436. - Allow files to be selected properly using file name
  7437. combo box.
  7438. - Add ability to change diretory (absolute / relative)
  7439. using file name combo box.
  7440. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  7441. * ListBox.cs:
  7442. - Fixes Multicolumn listboxes item wrong calculations
  7443. - Allows to click when only one item is in the listbox
  7444. - Fixes crash when no items using keyboard navigation
  7445. 2005-09-16 Alexander Olk <[email protected]>
  7446. * ComboBox.cs: Reverted almost everything from the latest patch which
  7447. broke ComboBox
  7448. 2005-09-16 Kazuki Oikawa <[email protected]>
  7449. * ToolTip.cs:
  7450. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  7451. * ComboBox.cs:
  7452. - When DropDownStyle is Simple, it does not show scrollbar
  7453. to the last item of the list.
  7454. - When DropDownStyle is Simple, it crashed when the list was
  7455. scrolled down with the down cursor key.
  7456. - Fixed a bug that when DropDownStyle is DropDownList, the
  7457. selected item was not shown.
  7458. - The position of the selected item was not preserved when
  7459. the next dropdown happened.
  7460. * ThemeWin32Classic.cs:
  7461. - Items were wrapped at the right end.
  7462. * CheckedListBox.cs:
  7463. - Fixed Add method
  7464. * ListBox.cs:
  7465. - Items should be fully shown.
  7466. - When resizing and vertical scrollbar disappeared, the item
  7467. of index 0 should be on the top of the list.
  7468. - GetItemRectangle should consider the size of ver. scrollbar
  7469. * StatusBar.cs:
  7470. - SizingGrip area should not be allocated when it is not
  7471. displayed.
  7472. - Now it reflects MinWidth of the containing panel and
  7473. fixed a crash that happens when its width becomes so small.
  7474. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  7475. * CheckedListBox.cs: Fixes bug 76028
  7476. * ListBox.cs: Fixes bug 76028
  7477. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  7478. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  7479. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  7480. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  7481. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  7482. 2005-09-09 Jonathan Chambers <[email protected]>
  7483. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  7484. 2005-09-09 Jonathan Chambers <[email protected]>
  7485. * IRootGridEntry.cs: Added
  7486. * PropertyGridCommands.cs: Added
  7487. * PropertiesTab.cs: Added missing methods and property
  7488. * PropertyGridView.cs: Made class internal
  7489. * PropertyGridTextBox.cs: Made class internal
  7490. 2005-09-09 Alexander Olk <[email protected]>
  7491. * MimeIcon.cs: Try to check some other environment variables
  7492. if "DESKTOP_SESSION" returns "default"
  7493. 2005-09-09 Alexander Olk <[email protected]>
  7494. * ThemeNice.cs: Corrected background colors (e.g. menus)
  7495. * ColorDialog.cs: Use correct background colors for controls
  7496. 2005-09-09 Alexander Olk <[email protected]>
  7497. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  7498. 2005-09-08 Peter Dennis Bartok <[email protected]>
  7499. * RichTextBox.cs: Added initial implementation
  7500. * lang.cs: Removed. Was accidentally checked in long time ago
  7501. * TODO: Removed. Contents were obsolete
  7502. 2005-09-06 Jonathan Chambers <[email protected]>
  7503. * PropertiesTab.cs : Added
  7504. 2005-09-06 Jonathan Chambers <[email protected]>
  7505. * PropertyGrid.cs : Update
  7506. * PropertyGridView.cs : Update
  7507. * System.Windows.Forms.resx : Added images and strings
  7508. 2005-09-06 Peter Dennis Bartok <[email protected]>
  7509. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  7510. 2005-09-06 Peter Dennis Bartok <[email protected]>
  7511. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  7512. a busy loop right after the Ungrab the X11 display is otherwise
  7513. blocked
  7514. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  7515. * ThemeWin32Classic.cs: Optimise the use of clipping
  7516. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  7517. * DataGrid.cs: fixes recursion bug
  7518. 2005-09-03 Alexander Olk <[email protected]>
  7519. * ThemeNice.cs:
  7520. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  7521. - Cleanup
  7522. 2005-09-02 Alexander Olk <[email protected]>
  7523. * ThemeNice.cs: Draw nice ProgressBars
  7524. 2005-09-01 Miguel de Icaza <[email protected]>
  7525. * VScrollBar.cs: Another buglet found by Aaron's tool.
  7526. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  7527. bug finder.
  7528. 2005-08-30 Alexander Olk <[email protected]>
  7529. * ThemeNice.cs:
  7530. - Added nicer menu drawing
  7531. - Updated DrawTab
  7532. - some refactoring
  7533. 2005-08-30 Peter Dennis Bartok <[email protected]>
  7534. * CreateParams.cs (ToString): Made output match MS
  7535. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  7536. handle is already created (to avoid forcing window creation)
  7537. * XplatUIX11.cs: Set window text to caption after creating window,
  7538. in case Text was set before window was created
  7539. * Form.cs: Use this.Text instead of a static string as caption
  7540. 2005-08-30 Peter Dennis Bartok <[email protected]>
  7541. * NotifyIcon.cs: Don't set the window to visible; this screws
  7542. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  7543. OnPaint without a bitmap)
  7544. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  7545. happen very often anyway; we could add the check to the WM_PAINT
  7546. event generation code
  7547. 2005-08-30 Peter Dennis Bartok <[email protected]>
  7548. * NotifyIcon.cs: Fill the icon area with a background color, to
  7549. avoid 'residue' when transparent icons are drawn
  7550. * XplatUIX11.cs:
  7551. - Handle whole_window == client_window when destroying windows
  7552. - SystrayAdd(): Set client_window to whole_window value to
  7553. get mouse and other events passed to NotifyIcon
  7554. 2005-08-30 Peter Dennis Bartok <[email protected]>
  7555. * Form.cs: Set proper default for Opacity property
  7556. * NotifyIcon.cs:
  7557. - ShowSystray(): Don't bother creating telling the OS
  7558. about the systray item if no icon is provided
  7559. - Now handles WM_NCPAINT message to deal with whole/client window
  7560. split
  7561. - Create window as visible to not get caught by Expose optimization
  7562. * Hwnd.cs: Removed debug message
  7563. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  7564. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  7565. PaintEventStart/End to use new client argument
  7566. * TextBoxBase.cs:
  7567. - Commented out debug messages
  7568. - Switched PaintEventStart/End to use new client argument
  7569. * XplatUI.cs: Added client window bool to PaintEventStart()/
  7570. PaintEventEnd() calls, to support drawing in non-client areas
  7571. * XplatUIDriver.cs:
  7572. - Added client window bool to PaintEventStart()/PaintEventEnd()
  7573. calls, to support drawing in non-client areas
  7574. - Added conditional compile to allow using MWF BeginInvoke
  7575. on MS runtime
  7576. * XplatUIX11.cs:
  7577. - Added some conditional debug output
  7578. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  7579. whole/client window split
  7580. - Implemented handling of client argument to PaintEventStart()/End()
  7581. * Control.cs:
  7582. - Throw exception if BeginInvoke() is called and the window handle
  7583. or one of the window's parent handles is not created
  7584. - Added conditional compile to allow using MWF BeginInvoke on
  7585. MS runtime
  7586. - get_Parent(): Only sets parent if handle is created. This avoids
  7587. forcing window handle creation when parent is set.
  7588. - Now fires Layout and Parent changed events in proper order
  7589. - Switched to use Handle instead of window.Handle for Z-Order setting,
  7590. the get_Parent() patch above causes us to possibly get null for 'window'
  7591. - Implemented handling of client argument to PaintEventStart()/End()
  7592. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  7593. default handling)
  7594. - Now sends a Refresh() to all child windows when Refresh() is called
  7595. 2005-08-29 Peter Dennis Bartok <[email protected]>
  7596. * Form.cs: Added (non-functional) Opacity property
  7597. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  7598. 2005-08-29 Alexander Olk <[email protected]>
  7599. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  7600. use export MONO_THEME=nice to activate it.
  7601. Currently supported controls:
  7602. - Button
  7603. - ComboBox
  7604. - ScrollBar
  7605. - TabControl (TabAlignment.Top only, other will follow)
  7606. * ThemeEngine.cs: Add theme nice
  7607. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  7608. if enabled
  7609. 2005-08-25 Jonathan Chambers <[email protected]>
  7610. * Splitter.cs: Resize docked control and its neighbor.
  7611. 2005-08-24 Rafael Teixeira <[email protected]>
  7612. -- Making Windows with Menus layout correctly --
  7613. * Form.cs : The first leg of the fix
  7614. Menu setter - adjust Client Size as needed to make space for the menu
  7615. SetClientSizeCore - doesn't call base version to be able to pass the
  7616. menu handle to XplatUI.CalculateWindowRect
  7617. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  7618. * XplatUIX11.cs: The critical second leg of the fix
  7619. GetWindowPos needs to use a recalculated client_rect
  7620. so that resizing the window doesn't break layout of child controls.
  7621. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  7622. Lots of \t\n killed
  7623. 2005-08-23 Peter Dennis Bartok <[email protected]>
  7624. * Label.cs: Now properly recalculates width and height on Font and Text
  7625. changes if AutoSize is set
  7626. 2005-08-19 Rafael Teixeira <[email protected]>
  7627. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  7628. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  7629. * ImageList.cs: Makes ToString method compatible with MS
  7630. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  7631. * MenuAPI.cs: fixes bug 75716
  7632. 2005-08-11 Umadevi S <[email protected]>
  7633. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  7634. 2005-08-11 Umadevi S <[email protected]>
  7635. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  7636. 2005-08-10 Umadevi S <[email protected]>
  7637. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  7638. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  7639. * Menu.cs: fixes bug 75700
  7640. * MenuAPI.cs: fixes navigation issues
  7641. 2005-08-09 Umadevi S <[email protected]>
  7642. * CheckedListBox.cs - simple fix for GetItemChecked.
  7643. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  7644. * ComboBox.cs: Serveral fixes
  7645. * ListBox.cs: Serveral fixes
  7646. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  7647. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  7648. * ListBox.cs: Fixes FindString methods
  7649. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  7650. * DataGrid.cs: fixes bugs exposed by new tests
  7651. 2005-08-04 Peter Dennis Bartok <[email protected]>
  7652. * Mime.cs: Compile Mono assembly references only if compiling
  7653. with Mono (Allows to build with VS.Net again)
  7654. 2005-07-28 Marek Safar <[email protected]>
  7655. * Control.cs (PaintControlBackground): Draw background image
  7656. corrrectly.
  7657. (CheckForIllegalCrossThreadCalls): Stubbed.
  7658. * Form.cs (OnCreateControl): Center when should be centered.
  7659. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  7660. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  7661. * Binding.cs: Binding to properties should be case unsensitive
  7662. 2005-07-18 [email protected]
  7663. * DataGrid.cs: fixes setmember order
  7664. 2005-07-07 Alexander Olk <[email protected]>
  7665. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  7666. * FileDialog.cs: FileDialog is now resizable and uses the new
  7667. MimeIconEngine
  7668. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  7669. * DataGridTextBoxColumn.cs: default value
  7670. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  7671. * GridTableStylesCollection.cs: fixes checking MappingName
  7672. * DataGridDrawingLogic.cs: fixes drawing logic issues
  7673. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  7674. * DataGrid.cs: fixes
  7675. 2005-07-06 Alexander Olk <[email protected]>
  7676. * MimeGenerated.cs: Use case sensitive comparer for
  7677. NameValueCollections
  7678. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  7679. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  7680. * ThemeWin32Classic.cs: bug fixes, code refactoring
  7681. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  7682. * DataGrid.cs: bug fixes, code refactoring
  7683. * DataGridTextBox.cs: bug fixes, code refactoring
  7684. * DataGridColumnStyle.cs: bug fixes, code refactoring
  7685. * Theme.cs: bug fixes, code refactoring
  7686. 2005-07-01 Peter Bartok <[email protected]>
  7687. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  7688. and other text box usage
  7689. 2005-07-01 Jackson Harper <[email protected]>
  7690. * TabControl.cs: Make sure the bottom of the tab covers the pages
  7691. border.
  7692. 2005-06-30 Peter Bartok <[email protected]>
  7693. * Form.cs (ShowDialog): Assign owner of the dialog
  7694. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  7695. might have been moved to a tag with different height
  7696. 2005-06-30 Jackson Harper <[email protected]>
  7697. * Form.cs: Don't create an infinite loop when setting focus
  7698. * MenuItem.cs: Don't dirty the parents if we don't have any
  7699. 2005-06-29 Ben Maurer <[email protected]>
  7700. * LibSupport.cs: Rename
  7701. 2005-06-29 Peter Bartok <[email protected]>
  7702. * TextBoxBase.cs: Re-align caret after deleting a character
  7703. * TextControl.cs:
  7704. - DeleteChars(): Ensure that tag covers the provided position
  7705. - StreamLine(): Drop reference for dropped tag
  7706. 2005-06-29 Peter Bartok <[email protected]>
  7707. * TextControl.cs:
  7708. - Selections now work properly, anchoring at the initial location
  7709. and properly extending in either direction (SetSelectionToCaret(),
  7710. SetSelectionStart() and SetSelectionEnd())
  7711. - No longer redraws the whole control on selection change, now
  7712. calculates delta between previous and new selection and only
  7713. invalidates/redraws that area
  7714. - Fixed FindPos() math off-by-one errors
  7715. - Changed DeleteChars() to verify the provided tag covers the
  7716. provided position, selections may have a tag that doesn't cover
  7717. the position if the selection is at a tag border
  7718. - Fixed off-by-one errors in DeleteChars()
  7719. - Added missing streamlining check in DeleteChars() to remove
  7720. zero-length tags
  7721. - Implemented Invalidate() method, now properly calculates exposures
  7722. between two given lines/positions
  7723. - Implemented SetSelection()
  7724. - Obsoleted and removed FixupSelection()
  7725. - Improved RecalculateDocument() logic, removing code duplication
  7726. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  7727. * LibSupport.cs: changes to match different input/output arguments.
  7728. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  7729. * LibSupport.cs: added libsupport.so init routine.
  7730. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  7731. * ControlBindingsCollection.cs
  7732. - Throws an exception on null datasource when adding
  7733. - Checks for duplicated bindings when adding
  7734. 2005-06-28 Jackson Harper <[email protected]>
  7735. * TreeView.cs (OnKeyDown): Support left and right properly
  7736. (navigates as well as expanding and collapsing.
  7737. - Add support for Multiply, this expands all the selected nodes
  7738. children.
  7739. - Fix some tabbing.
  7740. 2005-06-28 Jackson Harper <[email protected]>
  7741. * TreeView.cs: Implement keyboard navigation, currently supports,
  7742. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  7743. support for toggling checkboxes with the space bar.
  7744. 2005-06-28 Jackson Harper <[email protected]>
  7745. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  7746. tree.
  7747. 2005-06-28 Jackson Harper <[email protected]>
  7748. * TreeView.cs: Add missing event.
  7749. 2005-06-27 Peter Bartok <[email protected]>
  7750. * TextControl.cs:
  7751. - Made line ending size configurable (now allows for counting
  7752. lineendings as \n or \r\n)
  7753. - Added margin to viewport to keep caret visible on right side
  7754. - Fixed translation routines for line/pos to documentpos to consider
  7755. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  7756. - Fixed some line-endings to be unix style
  7757. - Fixed Document.FormatText to perform it's calculations 1-based
  7758. - Added descriptions for a few methods that might otherwise get
  7759. used wrong
  7760. - Added NOTE section with some basic conventions to remember at
  7761. the top of the file
  7762. - Major fixup for RichTextBox selection drawing:
  7763. * Fixed crashes when multiple tags on a single line were selected
  7764. * fixed selection box drawing not overlaying text
  7765. * fixed bogus offset calculation for tags not starting at index 1
  7766. * Switched behaviour from using multiple Substrings of a
  7767. StringBuilder.ToString() to using multiple
  7768. StringBuilder.ToString(start, length) statements, hoping this is
  7769. faster (kept original version commented out in the code, in case
  7770. original version was faster)
  7771. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  7772. alignment != Left
  7773. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  7774. call it as well
  7775. 2005-06-27 Jackson Harper <[email protected]>
  7776. * TabControl.cs: Move to the left and right with the arrow
  7777. keys. These keys don't cycle beyond first and last like
  7778. tab. Refresh all the tabs when scrolling them to the left or
  7779. right.
  7780. 2005-06-27 Jackson Harper <[email protected]>
  7781. * TabControl.cs:
  7782. - ToString: Added method
  7783. - CreateParams: Remove TODO and comment
  7784. - OnKeyDown: Cycle through bounds properly.
  7785. - SelectedIndex: Scroll to the right or left if we need to
  7786. display the newly selected tab.
  7787. 2005-06-23 Jackson Harper <[email protected]>
  7788. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  7789. set.
  7790. 2005-06-23 Jackson Harper <[email protected]>
  7791. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  7792. CTRL-SHIFT-TAB, and HOME, END are there any others?
  7793. 2005-06-23 Jackson Harper <[email protected]>
  7794. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  7795. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  7796. * DataGridTextBoxColumn.cs: fixes and enhancements
  7797. * ThemeWin32Classic.cs: fixes and enhancements
  7798. * DataGridBoolColumn.cs: fixes and enhancements
  7799. * DataGridDrawingLogic.cs: fixes and enhancements
  7800. * CurrencyManager.cs: fixes and enhancements
  7801. * DataGrid.cs: fixes and enhancements
  7802. * DataGridColumnStyle.cs: fixes and enhancements
  7803. 2005-06-22 Jackson Harper <[email protected]>
  7804. * TabControl.cs: Add some missing methods that just call into the
  7805. base. Make the TabPageCollection's IList interface behave in the
  7806. same manner as the MS implementation.
  7807. 2005-06-22 Peter Bartok <[email protected]>
  7808. * TextControl.cs: Added sanity check
  7809. * TextBoxBase.cs:
  7810. - Fixed wrapping behaviour, don't set wrap on single line controls
  7811. (this fixes the breakage of colordialog introduced in an earlier
  7812. checkin)
  7813. - Added rudimentary support for autoscrolling right-aligned controls
  7814. (still needs fixing, also, center alignment scroll is missing)
  7815. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  7816. * ScrollBar.cs: Fixes thumbpos on Maximum values
  7817. 2005-06-21 Jonathan Chambers <[email protected]>
  7818. * PropertyGridView.cs: Pass context information to UITypeEditors
  7819. 2005-06-21 Peter Bartok <[email protected]>
  7820. * TextBoxBase.cs:
  7821. - Now calling PositionCaret with absolute space coordinates
  7822. - Enabled vertical scrolling
  7823. - Better tracking of scrollbar changes, tied into WidthChange
  7824. event
  7825. - Improved cursor tracking
  7826. - Removed debug output
  7827. * TextControl.cs:
  7828. - PositionCaret coordinates are now works in absolute space, not
  7829. the canvas
  7830. - Improved tracking of document size
  7831. - Added events for width and height changes
  7832. 2005-06-21 Peter Bartok <[email protected]>
  7833. * Form.cs: Set focus to active control when form is activated
  7834. * TextControl.cs:
  7835. - Added word-wrap functionality to RecalculateLine()
  7836. - Added some short function descriptions for VS.Net to aid in
  7837. writing dependent controls
  7838. - Added Caret property, returning the current coords of the caret
  7839. - Added ViewPortWidth and ViewPortHeight properties
  7840. - Added Wrap property
  7841. - Added CaretMoved event
  7842. - Removed some old debug code
  7843. - Split() can now create soft splits
  7844. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  7845. - Added method to format existing text
  7846. - Fixed size/alignment calculations to use viewport
  7847. - RecalculateDocument now can handle changing line-numbers while
  7848. calculating lines
  7849. * TextBox.cs:
  7850. - Added some wrap logic, we don't wrap if alignment is not left
  7851. - Added casts for scrollbar var, base class switched types to
  7852. also support RichTextBoxA
  7853. - Implemented handling of scrollbar visibility flags
  7854. * TextBoxBase.cs:
  7855. - Switched scrollbars type to RichTextBoxScrollBars to support
  7856. RichTextBox
  7857. - Added tracking of canvas width/height
  7858. - Switched scrollbars to be not selectable (to keep focus on text)
  7859. - Added central CalculateDocument() method to handle all redraw
  7860. requirements
  7861. - Added ReadOnly support
  7862. - Added WordWrap support
  7863. - Fixed handling of Enter key (we now treat it as a DialogKey)
  7864. - Fixed caret positioning when h or v scroll is not zero
  7865. - Fixed placing/generation of vertical scrollbar
  7866. - Added CalculateScrollBars() method to allow updating scrollbar
  7867. limits and visibility
  7868. - Fixed handling of horizontal scroll
  7869. - Added handling of vertical scroll
  7870. - Implemented auto-'jump' when caret moves to close to a left or
  7871. right border and there is text to be scrolled into view (currently
  7872. there's the potential for a stack overflow, until a bug in
  7873. scrollbar is fixed)
  7874. 2005-06-21 Geoff Norton <[email protected]>
  7875. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  7876. 2005-06-19 Alexander Olk <[email protected]>
  7877. * Mime.cs:
  7878. - added inodes.
  7879. - return application/x-zerosize for files with size zero
  7880. (if no extension pattern matches).
  7881. - check matches collection for strings too.
  7882. - return only the first mime type if the name value
  7883. collection has more than one mime type.
  7884. 2005-06-18 Jonathan Chambers <[email protected]>
  7885. * PropertyGrid.cs: Cleaned up some TODOs
  7886. * PropertyGridView.cs: Added support for UITypeEditors
  7887. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  7888. * DataGrid.cs: clears cached value
  7889. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  7890. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  7891. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  7892. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  7893. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  7894. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  7895. * ThemeWin32Classic.cs: fixes colour
  7896. 2005-06-15 Peter Bartok <[email protected]>
  7897. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  7898. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  7899. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  7900. * Control.cs: Added some MWFCategory and MWFDescription attributes
  7901. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  7902. 2005-06-15 Alexander Olk <[email protected]>
  7903. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  7904. usage
  7905. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  7906. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  7907. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  7908. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  7909. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  7910. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  7911. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  7912. 2005-06-13 Jackson Harper <[email protected]>
  7913. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  7914. isn't printed when the user enables dropping. (X11 does accept
  7915. drops).
  7916. 2005-06-13 Jackson Harper <[email protected]>
  7917. * TreeView.cs: Remove some TODOS.
  7918. 2005-06-13 Jackson Harper <[email protected]>
  7919. * Form.cs: Hook into the mdi framework.
  7920. * MdiClient.cs: Use the base control collections add method so
  7921. parents get setup correctly. Set the default back colour and dock
  7922. style.
  7923. * MdiChildContext.cs: New class, this bad actor handles an
  7924. instance of an MDI window. Right now there is only basic
  7925. support. You can drag, close, and resize windows. Minimize and
  7926. Maximize are partially implemented.
  7927. 2005-06-13 Jackson Harper <[email protected]>
  7928. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  7929. freaky when both vals are negative. NOTE: There are probably other
  7930. places in XplatUIX11 that this needs to be done.
  7931. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  7932. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  7933. * DataGridColumnStyle.cs: fixes signature
  7934. 2005-06-12 Jackson Harper <[email protected]>
  7935. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  7936. windows.
  7937. 2005-06-11 Jackson Harper <[email protected]>
  7938. * StatusBarPanel.cs: Signature cleanups. Implement
  7939. BeginInit/EndInit.
  7940. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  7941. * DataGridTextBoxColumn.cs: Honors aligment
  7942. * GridColumnStylesCollection.cs: Contains is case unsensitive
  7943. * GridTableStylesCollection.cs: several fixes
  7944. * DataGridTableStyle.cs: default column creation
  7945. * DataGridDrawingLogic.cs: fixes
  7946. * CurrencyManager.cs: ListName property
  7947. * DataGrid.cs: multiple styles support
  7948. * DataGridColumnStyle.cs: fixes
  7949. 2005-06-10 Peter Bartok <[email protected]>
  7950. * Control.cs(Select): Moved SetFocus call to avoid potential
  7951. loops if controls change the active control when getting focus
  7952. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  7953. the up/down buttons
  7954. 2005-06-10 Matthias Felgner <[email protected]>
  7955. * ImageListConverter.cs: Implemented
  7956. 2005-06-10 John BouAntoun <[email protected]>
  7957. * MonthCalendar.cs: Wired in NumericUpDown control for year
  7958. 2005-06-10 John BouAntoun <[email protected]>
  7959. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  7960. DoubleClick events, since they are not meant to be fired.
  7961. 2005-06-09 Peter Bartok <[email protected]>
  7962. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  7963. Jonathan's standalone controls into MWF, implemented missing
  7964. events, attributes and methods; added xxxAccessible classes
  7965. * AccessibleObject.cs: Made fields internal so other classes
  7966. can change them if needed
  7967. 2005-06-09 Jonathan Gilbert <[email protected]>
  7968. * UpDownBase.cs: Complete implementation
  7969. * NumericUpDown.cs: Complete implementation
  7970. * DomainUpDown.cs: Complete implementation
  7971. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  7972. * DataGridTextBoxColumn.cs: drawing fixes
  7973. * DataGridCell.cs: fixes ToString method to match MSNet
  7974. * DataGridTableStyle.cs: fixes
  7975. * DataGridBoolColumn.cs: fixes, drawing
  7976. * DataGridDrawingLogic.cs: fixes, new methods
  7977. * DataGridTextBox.cs: Keyboard and fixes
  7978. * DataGrid.cs:
  7979. - Keyboard navigation
  7980. - Scrolling fixes
  7981. - Row selection (single, multiple, deletion, etc)
  7982. - Lots of fixes
  7983. 2005-06-07 Jackson Harper <[email protected]>
  7984. * ThemeWin32Classic.cs: Clear the background area when drawing
  7985. buttons.
  7986. 2005-06-06 Peter Bartok <[email protected]>
  7987. * ImageListStreamer.cs: Fixed signature for GetData
  7988. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  7989. * ComboBox.cs:
  7990. - Added missing ChildAccessibleObject class
  7991. - Added missing OnXXXFocus overrides, switched to using those
  7992. instead of the event handler
  7993. * Control.cs:
  7994. - Added Parent property for ControlAccessibleObject
  7995. - Fixed signatures
  7996. - Fixed attributes
  7997. - Added ResetBindings()
  7998. * ListBindingConverter.cs: Implemented some methods
  7999. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  8000. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  8001. * ContainerControl.cs: Fixed signature, now subscribing to the
  8002. ControlRemoved event instead of overriding the handler, LAMESPEC
  8003. * CurrencyManager.cs: Added missing attribute
  8004. * MonthCalendar.cs: Added missing properties
  8005. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8006. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  8007. 2005-06-06 Gaurav Vaish and Ankit Jain
  8008. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8009. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  8010. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  8011. * Control.cs: fixes CreateParams Width / Height.
  8012. 2005-06-05 Peter Bartok <[email protected]>
  8013. * Win32DnD.cs: Removed compilation warnings
  8014. 2005-06-05 Peter Bartok <[email protected]>
  8015. * Control.cs (CreateParams): Since we don't know if one of the
  8016. properties we use is overridden, lets make sure if we fail accessing
  8017. we continue with a backup plan
  8018. 2005-06-05 Peter Bartok <[email protected]>
  8019. * Win32DnD.cs:
  8020. - Removed debug output
  8021. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  8022. struct
  8023. - Plugged resource leak
  8024. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  8025. MS size
  8026. 2005-06-05 Peter Bartok <[email protected]>
  8027. * XplatUIWin32.cs: Removed DnD code
  8028. * Win32DnD.cs: Implemented drop source and drop target functionality
  8029. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  8030. * UpDownBase.cs: remove duplicate addition of event, enable some code
  8031. that was commented out.
  8032. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  8033. Validate input when a key is pressed. It works fine now for every
  8034. combination of Hexadecimal. Only missing some drawing love when sharing
  8035. space with other controls.
  8036. 2005-06-04 Peter Bartok <[email protected]>
  8037. * Control.cs:
  8038. - We need to pass a window for DragDrop, so enable callback events
  8039. - Added DnD callback events when being a DragSource
  8040. * XplatUI.cs (StartDrag): Added window handle argument
  8041. * XplatUIDriver.cs (StartDrag): Added window handle argument
  8042. * QueryContinueDragEventArgs: Made fields internally accessible so
  8043. drivers can set them
  8044. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  8045. can set them
  8046. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  8047. * DataGridTextBoxColumn.cs: column text editing
  8048. * DataGridTableStyle.cs: Respect columns styles created by the user
  8049. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  8050. * DataGridBoolColumn.cs: bool column editing
  8051. * DataGrid.cs: fixes to scrolling, properties, etc
  8052. * DataGridTextBox.cs: handle keyboard
  8053. * DataGridColumnStyle.cs: fixes
  8054. 2005-06-02 Jackson Harper <[email protected]>
  8055. * ImageListStreamer.cs: Somewhat broken implementation of
  8056. GetObjectData. The RLE needs some work to match MS properly.
  8057. 2005-06-02 Jackson Harper <[email protected]>
  8058. * X11Dnd.cs: Attempting to keep at least one file in MWF
  8059. monostyled.
  8060. 2005-06-02 Peter Bartok <[email protected]>
  8061. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  8062. that way
  8063. 2005-06-02 Peter Bartok <[email protected]>
  8064. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  8065. * XplatUI.cs: Added DoDragDrop() method
  8066. * XplatUIDriver.cs: Added DoDragDrop() method
  8067. 2005-06-02 Jackson Harper <[email protected]>
  8068. * Splitter.cs: Implement BorderStyle.
  8069. 2005-06-02 Jackson Harper <[email protected]>
  8070. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  8071. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  8072. X11 using XDND.
  8073. 2005-06-02 Peter Bartok <[email protected]>
  8074. * DataObject.cs:
  8075. - Added Data setter
  8076. - Fixed broken insertion code for SetData, now also
  8077. overwrites any existing entry of the same format name
  8078. * Hwnd.cs: Added list of pointers that automatically gets
  8079. freed when the window is disposed
  8080. * XplatUI.cs: Call driver initialization method when loading
  8081. a driver
  8082. * Control.cs:
  8083. - OnDragLeave takes EventArgs, not DragEventArgs
  8084. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  8085. supported
  8086. - Forces style update when drop state changes
  8087. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  8088. not perfect since we cannot (yet) call the IDataObject.GetData()
  8089. method, we keep getting 0x80004005 error, dunno why)
  8090. 2005-06-02 Peter Bartok <[email protected]>
  8091. * DragEventArgs.cs: Make fields internal so we can cache the
  8092. object and re-set the fields from XplatUI
  8093. 2005-06-02 Jackson Harper <[email protected]>
  8094. * Control.cs: Add some internal methods so the DnD subsystem can
  8095. raise DnD events. Also call into the driver when AllowDrop is set.
  8096. * XplatUI.cs:
  8097. * XplatUIDriver.cs: New method for setting whether or not a window
  8098. is allowed to accept drag and drop messages.
  8099. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  8100. * ScrollBar.cs: Make sure that values sent in Scroll events
  8101. are always between Maximum and Minimum.
  8102. 2005-06-01 Marek Safar <[email protected]>
  8103. * Menu.cs: Call MenuChanged when menuitem visibility has been
  8104. changed.
  8105. * MenuItem.cs: Rebuild menu when item is (not) visible.
  8106. * MainMenu.cs: MainMenu has special MenuChanged.
  8107. * Theme.cs: Caption and FrameBorderSize are not fixed.
  8108. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  8109. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  8110. * XplatUIX11.cs,
  8111. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  8112. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  8113. 2005-05-30 Jackson Harper <[email protected]>
  8114. * DataFormat.cs: We can't statically initialize this stuff because
  8115. it calls into the xplatui and could create a loop. So we lazy init
  8116. it.
  8117. 2005-05-28 Jackson Harper <[email protected]>
  8118. * Control.cs: Proper implementation of Product(Name/Version).
  8119. 2005-05-27 Jackson Harper <[email protected]>
  8120. * DataObject.cs: Dont crash if no data is found.
  8121. 2005-05-26 Rafael Teixeira <[email protected]>
  8122. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  8123. as per status page, guessing it should be set to true
  8124. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  8125. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  8126. * DataGridTableStyle.cs: set proper formatting text, def header text
  8127. * ThemeWin32Classic.cs: new themable paramaters
  8128. * DataGridBoolColumn.cs: paint check box, get data, fixes
  8129. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  8130. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  8131. * DataGridColumnStyle.cs: fixes
  8132. * Theme.cs: new themable paramaters
  8133. 2005-05-26 Peter Bartok <[email protected]>
  8134. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  8135. 2005-05-24 Jonathan S. Chambers <[email protected]>
  8136. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  8137. 2005-05-24 Peter Bartok <[email protected]>
  8138. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  8139. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  8140. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  8141. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  8142. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  8143. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  8144. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  8145. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  8146. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  8147. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  8148. missing attributes, etc
  8149. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  8150. 2005-05-24 Peter Bartok <[email protected]>
  8151. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  8152. when user tries to get help
  8153. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  8154. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  8155. to suppress warnings
  8156. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  8157. avoid unreachable code warning
  8158. 2005-05-20 Peter Bartok <[email protected]>
  8159. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  8160. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8161. * DataGridTextBoxColumn.cs: Basic painting methods
  8162. * DataGridTableStyle.cs: Set table style in the column
  8163. * ThemeWin32Classic.cs: Use Theme for colors
  8164. * DataGridDrawingLogic.cs: Implement more drawing
  8165. * DataGrid.cs: drawing, theming, enhacements, fixes
  8166. * DataGridColumnStyle.cs: fixes, drawing
  8167. * Theme.cs: theming for Datagrid
  8168. 2005-05-20 Peter Bartok <[email protected]>
  8169. * Cursor.cs: Implemented GetObjectData() method
  8170. 2005-05-20 Peter Bartok <[email protected]>
  8171. * Cursors.cs: Added setting of cursor name
  8172. * Cursor.cs:
  8173. - Implemented constructors
  8174. - Implemented Draw and DrawStretched
  8175. - Implemented Current property
  8176. - Implemented == and != operators
  8177. - Implemented Dispose()
  8178. - Implemented ToString
  8179. - Added missing attributes
  8180. * XplatUIX11.cs:
  8181. - Added missing reset for OverrideCursor when DoEvents is called
  8182. - Fixed creation of cursor, logic was wrong
  8183. * XplatUIWin32.cs:
  8184. - Added missing reset for OverrideCursor when DoEvents is called
  8185. - Fixed creation of cursor, bit arrays were swapped
  8186. * Clipboard.cs: Removed obsolete MonoTODO attribute
  8187. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8188. * ComboBox.cs: fixes OnSelectedItemChanged
  8189. * ControlBindingsCollection.cs: fixes item range check
  8190. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  8191. * UpDownBase.cs:
  8192. - Calc preferred height properly
  8193. - Implement missing properties
  8194. * NumericUpDown.cs: Implement missing events
  8195. 2005-05-19 Jackson Harper <[email protected]>
  8196. * TabControl.cs: New method that resizes the tab pages before
  8197. redrawing them. This as needed as the control is double buffered
  8198. and sizing will not be recalculated unless ResizeTabPages is
  8199. called.
  8200. * TabPage.cs: Set base.Text instead of Text in the constructor so
  8201. that UpdateOwner does not get called. Use the new Redraw method of
  8202. TabControl instead of Refresh so the sizing is recalculated.
  8203. * ThemeWin32Classic.cs: Draw the text for button tabs.
  8204. 2005-05-19 Jackson Harper <[email protected]>
  8205. * Control.cs: Paint control background images. Fix typo where
  8206. PaintControlBackground was not getting called correctly.
  8207. 2005-05-19 Peter Bartok <[email protected]>
  8208. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  8209. I can investigate, apparently I broke FileDialog
  8210. 2005-05-19 Marek Safar <[email protected]>
  8211. * AxHost.cs: Some simple properties.
  8212. * Control.cs: window must be accessible after ctor.
  8213. * Form.cs: Added TransparencyKey property.
  8214. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  8215. * XplatUIWin32.cs: SetBorderStyle implemented.
  8216. 2005-05-18 Peter Bartok <[email protected]>
  8217. * DataObject.cs: Entries are not global but particular to the
  8218. DataObject, now it behaves that way
  8219. * XplatUIWin32.cs: Implemented Clipboard methods
  8220. * Clipboard.cs: Implemented
  8221. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  8222. * XplatUIOSX.cs: Updated to final clipboard prototypes
  8223. * XplatUIX11.cs: Implemented Clipboard methods
  8224. * XplatUIDriver.cs: Updated to final clipboard prototypes
  8225. * XplatUIStructs.cs:
  8226. - Added BITMAPINFOHEADER struct
  8227. - Added ClipboardFormats enum
  8228. * X11Structs.cs:
  8229. - Added ClipboardStruct
  8230. - Added Atom enum items for clipboard types
  8231. - Fixed atom types for Selection event structures
  8232. * DataFormats.cs:
  8233. - Added internal properties and methods for drivers to enumerate
  8234. all known formats
  8235. - Switched initialization method to allow drivers to assign their
  8236. own IDs even for the MS predefined clipboard IDs
  8237. * XplatUI.cs: Updated to final clipboard interface
  8238. 2005-05-18 Jonathan S. Chambers <[email protected]>
  8239. * PropertyGridView.cs: Fixed compiler warnings.
  8240. 2005-05-18 Jonathan S. Chambers <[email protected]>
  8241. * PropertyGrid.cs: Added some event calls
  8242. * PropertyGridView.cs: Change drawing code to use double buffering
  8243. * PropertyGridTextBox.cs: Changed Text property name
  8244. * GridItem.cs: Added Bounds property.
  8245. * GridEntry.cs: Added Bounds property.
  8246. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  8247. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  8248. since GetType() may not return the correct type if the object is
  8249. a remoting proxy.
  8250. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  8251. * TreeNodeCollection.cs: fixes get/set item ranges
  8252. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  8253. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  8254. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  8255. * ComboBox.cs: Fix item range comparation
  8256. * ListView.cs: Fix item range comparation
  8257. 2005-05-03 Alexander Olk <[email protected]>
  8258. * FontDialog.cs:
  8259. - Clear example panel when OnPaint is called
  8260. - Better solution for displaying the example panel text
  8261. - Select default indexes in the ListBoxes
  8262. 2005-05-11 Geoff Norton <[email protected]>
  8263. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  8264. 2005-05-11 Peter Bartok <[email protected]>
  8265. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  8266. * SelectionRangeConverter.cs: Implemented
  8267. * PropertyGrid.cs: Fixed attribute value
  8268. * Control.cs:
  8269. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  8270. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  8271. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  8272. that's common to all drivers. First methods to go there are
  8273. Sebastien Pouliot's CAS Stack Propagation helper methods
  8274. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  8275. Sebastien Pouliot for CAS Stack Propagation
  8276. 2005-05-11 Geoff Norton <[email protected]>
  8277. * OSXStructs.cs:
  8278. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  8279. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  8280. * DataGridTextBoxColumn.cs: fixed some members
  8281. * GridColumnStylesCollection.cs: indexed column is case insensitive
  8282. * DataGridTableStyle.cs: fixes
  8283. * ThemeWin32Classic.cs: add new theme parameter
  8284. * Theme.cs: add new theme parameter
  8285. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  8286. * DataGrid.cs: fixes, new internal properties, etc.
  8287. * DataGridColumnStyle.cs: allows to set grid value
  8288. *
  8289. 2005-05-10 Peter Bartok <[email protected]>
  8290. * AccessibleObject.cs:
  8291. - Removed MonoTODO attribute on help, method is correct
  8292. - Fixed Bounds property
  8293. * AxHost.cs: Moved MonoTODO
  8294. * ButtonBase.cs: Now setting AccessibleObject properties
  8295. * RadioButton.cs: Setting proper AccessibleObject role
  8296. * CheckBox.cs: Setting proper AccessibleObject role
  8297. * ControlBindingsCollection.cs: Added properties, methods and attributes
  8298. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  8299. userdefined DataFormats.Format items as well
  8300. * ListControl.cs: Removed data_member from the public eye
  8301. * OpenFileDialog.cs:
  8302. - Made class sealed
  8303. - Added missing attributes
  8304. * SaveFileDialog.cs: Added missing attributes
  8305. * ImageListStreamer.cs: Fixed code that caused warnings
  8306. * LinkLabel.cs: Removed unreachable code
  8307. * TreeView.cs: Fixed code that caused warnings
  8308. * PropertyGridView.cs: Fixed code that caused warnings
  8309. * GridColumnStylesCollection.cs: Added missing attributes
  8310. * GridTableStylesCollection: Added missing attribute
  8311. * PropertyManager: Added .ctor
  8312. * SecurityIDType: Added
  8313. * DataObject.cs: Implemented class
  8314. * LinkArea.cs: Added missing attribute
  8315. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  8316. * RadioButton.cs: call base method to allow to fire OnClick event
  8317. * UpDownBase.cs: OnMouseUp call base method
  8318. * CheckedListBox.cs: call base method before returning
  8319. * TrackBar.cs: call base method before returning
  8320. 2005-05-10 Peter Bartok <[email protected]>
  8321. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  8322. for messages
  8323. 2005-05-10 Peter Bartok <[email protected]>
  8324. * DataFormats.cs: Implemented
  8325. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  8326. XplatUIX11.cs: Added Clipboard APIs
  8327. * XplatUIWin32.cs: Implemented Clipboard APIs
  8328. * FolderBrowserDialog.cs: Added missing event, attributes
  8329. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  8330. * CheckBox.cs: call base method to allow to fire OnClick event
  8331. 2005-05-09 Sebastien Pouliot <[email protected]>
  8332. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  8333. 2005-05-06 Peter Bartok <[email protected]>
  8334. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  8335. * Screen.cs: Implemented
  8336. * HelpNavigator.cs: Added
  8337. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  8338. property
  8339. * HelpProvider.cs: Implemented all we can do until we have a CHM
  8340. help library (which means that "What's This" does work now)
  8341. 2005-05-06 Jackson Harper <[email protected]>
  8342. * XplatUIX11.cs: Fix waking up the main loop.
  8343. 2005-05-05 Peter Bartok <[email protected]>
  8344. * XplatUI.cs: Updated revision
  8345. * Form.cs: Removed enless loop
  8346. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  8347. * Label.cs (OnPaint): Added call to base.OnPaint()
  8348. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  8349. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  8350. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  8351. * AxHost.cs: Added
  8352. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  8353. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  8354. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  8355. reuse of ToolTipWindow by other controls
  8356. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  8357. * XplatUIX11.cs: Now clipping drawing area (experimental)
  8358. * PictureBox.cs: Moved base.OnPaint() call to end of method
  8359. * Theme.cs: Fixed ToolTip abstracts to match new format
  8360. * ErrorProvider.cs: Implemented
  8361. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  8362. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  8363. * LinkLabel.cs:
  8364. - Adds cursors
  8365. - Handles focus
  8366. - Implements LinkBehavior
  8367. - Fixes many issues
  8368. 2005-05-03 Jackson Harper <[email protected]>
  8369. * ListView.cs: Calculate the scrollbar positioning on resize and
  8370. paint, so they get put in the correct place.
  8371. 2005-05-03 Alexander Olk <[email protected]>
  8372. * ColorDialogs.cs: The small color panels are now handled by
  8373. SmallColorControl. This fixes drawing of the focus rectangle
  8374. and adds a 3D border.
  8375. 2005-05-03 Peter Bartok <[email protected]>
  8376. * Control.cs: Modified version of Jonathan Chamber's fix for
  8377. double-buffering
  8378. 2005-05-03 Jackson Harper <[email protected]>
  8379. * ListView.cs: Remove redraw variable. Control now handles whether
  8380. or not a redraw needs to be done, and will only raise the paint
  8381. event if redrawing is needed.
  8382. 2005-05-03 Jackson Harper <[email protected]>
  8383. * Splitter.cs: No decorations for the splitter form. Cache the
  8384. hatch brush.
  8385. 2005-05-03 Jackson Harper <[email protected]>
  8386. * TreeView.cs: Use dashed lines to connect nodes. Use the
  8387. ControlPaint method for drawing the focus rect instead of doing
  8388. that in treeview.
  8389. 2005-05-02 Peter Bartok <[email protected]>
  8390. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  8391. 2005-04-29 Jackson Harper <[email protected]>
  8392. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  8393. entire image buffer. Just clear the clipping rectangle.
  8394. 2005-04-29 Jackson Harper <[email protected]>
  8395. * ThemeWin32Classic.cs: Don't draw list view items that are
  8396. outside the clipping rectangle.
  8397. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  8398. * ListBox.cs: added horizontal item scroll
  8399. 2005-04-29 Jackson Harper <[email protected]>
  8400. * ThemeWin32Classic.cs: Remove some old debug code that was
  8401. causing flicker with the new double buffering code.
  8402. 2005-04-29 John BouAntoun <[email protected]>
  8403. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  8404. behave like combobox and comboboxlist (still not sure if this is
  8405. correct though).
  8406. 2005-04-28 Jackson Harper <[email protected]>
  8407. * ThemeWin32Classic.cs: Don't fill the middle of progress
  8408. bars. This fills areas outside of the clip bounds that don't need
  8409. to be filled.
  8410. 2005-04-28 Jackson Harper <[email protected]>
  8411. * Control.cs: Don't expose functionality to touch the image buffers.
  8412. * ProgressBar.cs:
  8413. * ListView.cs: We do not need to (and no longer can) manipulate
  8414. the image buffers directly. All of this is handled by Control.
  8415. 2005-04-28 Peter Bartok <[email protected]>
  8416. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  8417. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  8418. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  8419. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  8420. * Combobox:
  8421. - Adjust control's height for non-simple comboboxes (bug fix)
  8422. - Remove dead code
  8423. * MenuAPI.cs: remove unused var
  8424. * ScrollBar.cs: remove unsed var
  8425. * ListBox.cs: unselect items when clearing
  8426. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  8427. * ListControl.cs: honors OnPositionChanged and default Selected Item
  8428. * ListBox.cs: unselect items when clearing
  8429. 2005-04-27 Jackson Harper <[email protected]>
  8430. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  8431. if a "correct" keyboard is not found. This will make us not crash,
  8432. but might give some users bad keyboard layouts...seems to be the
  8433. same thing rewind does.
  8434. 2005-04-27 Jackson Harper <[email protected]>
  8435. * BindingManagerBase.cs: Attach the current/position changed
  8436. handlers to their respective events.
  8437. 2005-04-27 Jackson Harper <[email protected]>
  8438. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  8439. not just a blit.
  8440. * ThemeWin32Classic.cs: Don't fill the background for picture
  8441. boxes. This could overright user drawing.
  8442. * ComboBox.cs: Just fill the clipping rect not the entire client
  8443. rect when drawing the background. This prevents pieces of the
  8444. image buffer from getting overwritten and is theoretically faster.
  8445. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  8446. * ComboBox.cs: Databinding support fixes, fire missing events
  8447. * ListControl.cs: implement missing methods and properties, fixes
  8448. * ThemeWin32Classic.cs: Databiding support on Drawing
  8449. * CheckedListBox.cs: Databinding support fixes, fire missing events
  8450. * ListBox.cs: Databinding support fixes, fire missing events
  8451. 2005-04-25 Peter Bartok <[email protected]>
  8452. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  8453. 2005-04-25 Jackson Harper <[email protected]>
  8454. * TreeView.cs: Use the horizontal scrollbars height not width when
  8455. determining how much of the client area is available.
  8456. 2005-04-25 Jackson Harper <[email protected]>
  8457. * Control.cs: Double buffering is handled differently now. As per
  8458. the spec, the extra buffer is created in the WM_PAINT message and
  8459. passed down to the control's drawing code.
  8460. * GroupBox.cs:
  8461. * Label.cs:
  8462. * CheckBox.cs:
  8463. * ProgressBar.cs:
  8464. * RadioButton.cs:
  8465. * ColorDialog.cs:
  8466. * ComboBox.cs:
  8467. * PropertyGridView.cs:
  8468. * UpDownBase.cs:
  8469. * MessageBox.cs:
  8470. * MenuAPI.cs:
  8471. * ListView.cs:
  8472. * ButtonBase.cs:
  8473. * SizeGrip.cs:
  8474. * ScrollBar.cs:
  8475. * ListBox.cs:
  8476. * TrackBar.cs:
  8477. * ToolBar.cs:
  8478. * PictureBox.cs:
  8479. * DateTimePicker.cs:
  8480. * StatusBar.cs:
  8481. * TreeView.cs: Update to new double buffering system.
  8482. * MonthCalendar.cs: Uncomment block, as Capture is now
  8483. working. Update to new double buffering
  8484. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  8485. * PaintEventArgs.cs: New internal method allows us to set the
  8486. graphics object. This is used for double buffering.
  8487. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  8488. rectangle. The internal paint_area var has been removed from
  8489. StatusBar. The clipping rect should be used instead.
  8490. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  8491. * TabPage.cs: The RefreshTabs method was removed, so just call the
  8492. tab controls Refresh method now.
  8493. * TabControl.cs: Update to new double buffering. Make sure the
  8494. handle is created before sizing the tab pages, otherwise we will
  8495. get stuck in a loop.
  8496. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  8497. * LinkLabel.cs: Fix typo, bug #74719; patch
  8498. from Borja Sanchez Zamorano
  8499. 2005-04-22 Jackson Harper <[email protected]>
  8500. * TreeNode.cs: Implement Handle stuff.
  8501. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  8502. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  8503. * DataGridTextBoxColumn.cs: call base constructors, fixes
  8504. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  8505. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  8506. * DataGridTableStyle.cs: implements create default column styles
  8507. * DataGridBoolColumn.cs: which types can handle
  8508. * DataGrid.cs: missing methods, fixes, new functionality
  8509. * DataGridColumnStyle.cs: fixes
  8510. 2005-04-20 Alexander Olk <[email protected]>
  8511. * FolderBrowserDialog.cs:
  8512. - Use a thread to fill the TreeView
  8513. - Adjusted some sizes
  8514. 2005-04-19 Peter Bartok <[email protected]>
  8515. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  8516. property. Fixes #74360.
  8517. 2005-04-19 Jackson Harper <[email protected]>
  8518. * XEventQueue.cs: Lock when getting the lockqueue size.
  8519. * PictureBox.cs: Call base OnPaint
  8520. 2005-04-19 Peter Bartok <[email protected]>
  8521. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  8522. messages were no longer being processed (this broke BeginInvoke)
  8523. 2005-04-18 Jackson Harper <[email protected]>
  8524. * TreeView.cs: buglet that caused node images to get drawn
  8525. regardless of whether or not they were in the clipping rectangle.
  8526. 2005-04-18 Jackson Harper <[email protected]>
  8527. * CurrencyManager.cs: There are four rules for GetItemProperties:
  8528. - If the type is an array use the element type of the array
  8529. - If the type is a typed list, use the type
  8530. - If the list contains an Item property that is not an object, use
  8531. that property
  8532. - use the first element of the list if there are any elements in
  8533. the list.
  8534. 2005-04-17 Jackson Harper <[email protected]>
  8535. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  8536. click. This handles offsets for scrolling properly and reduces
  8537. memory. Also fixed GetNode to not offset now that TopNode works
  8538. properly.
  8539. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  8540. 2005-04-17 Jackson Harper <[email protected]>
  8541. * CursorConverter.cs: Initial implementation.
  8542. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  8543. * ListControl.cs: work towards complex data binding support on ListControl
  8544. * CurrencyManager.cs: work towards complex data binding support on ListControl
  8545. * ListBox.cs: work towards complex data binding support on ListControl
  8546. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  8547. * GridTableStylesCollection.cs: fixes name and constructor
  8548. * DataGridTableStyle.cs: fixes
  8549. * DataGridBoolColumn.cs: fixes names and constructors
  8550. * DataGrid.cs: define methods and properties. Some init implementations
  8551. * DataGridCell.cs: define methods and properties. Some init implementations
  8552. * GridTablesFactory.cs: Define methods and properties
  8553. 2005-04-15 Geoff Norton <[email protected]>
  8554. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  8555. graphics port changes. We still want the coordinates in global screen
  8556. coordinates.
  8557. 2005-04-14 Jackson Harper <[email protected]>
  8558. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  8559. check plus minus or checkbox clicks unless those features are enabled.
  8560. 2005-04-14 Jackson Harper <[email protected]>
  8561. * TreeView.cs: Add methods for setting the top and bottom visible
  8562. nodes. TreeNode::EnsureVisible uses these methods.
  8563. * TreeNode.cs: Implement EnsureVisible
  8564. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  8565. * Form.cs: Pospone menu assignation if the window has not been created yet
  8566. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  8567. size and position
  8568. 2005-04-12 Jackson Harper <[email protected]>
  8569. * TreeView.cs: Set the TopNode properly when scrolling
  8570. occurs. This has the added benifit of reducing the amount of
  8571. walking that needs to be done when drawing. Also removed an old
  8572. misleading TODO.
  8573. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  8574. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  8575. * Timer.cs: fixes interval setting when the timer is already enabled
  8576. 2005-04-10 Alexander Olk <[email protected]>
  8577. * FolderBrowserDialog.cs: First approach
  8578. 2005-04-09 Peter Bartok <[email protected]>
  8579. * FolderBrowserDialog: Added
  8580. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  8581. * LinkLabel.cs: move drawing code into the theme
  8582. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  8583. * Theme.cs: define DrawLinkLabel method
  8584. 2005-04-05 Jackson Harper <[email protected]>
  8585. * BindingContext.cs: Use weak references so these bad actors don't
  8586. stay alive longer then they need to.
  8587. 2005-04-05 Jackson Harper <[email protected]>
  8588. * ListControl.cs: Basic implementation of complex databinding.
  8589. * ComboBox.cs:
  8590. * ListBox.cs: Add calls to ListControl databinding methods.
  8591. 2005-04-05 Alexander Olk <[email protected]>
  8592. * FileDialog.cs:
  8593. - Don't change PopupButtonState to Normal when the
  8594. PopupButton gets pressed several times.
  8595. - Renamed ButtonPanel to PopupButtonPanel
  8596. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  8597. * ColorDialog.cs: Use cached objects instead of creating them
  8598. * LinkLabel.cs: Use cached objects instead of creating them
  8599. * Splitter.cs: Use cached objects instead of creating them
  8600. * FontDialog.cs: Use cached objects instead of creating them
  8601. * PropertyGridView.cs: Use cached objects instead of creating them
  8602. * MessageBox.cs: Use cached objects instead of creating them
  8603. * FileDialog.cs: Use cached objects instead of creating them
  8604. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  8605. * TreeView.cs: Use cached objects instead of creating them
  8606. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  8607. * Control.cs: use Equals to compare the font since no == op
  8608. * ScrollBar.cs: use Equals to compare the font since no == op
  8609. 2005-04-04 Alexander Olk <[email protected]>
  8610. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  8611. 2005-04-01 Jackson Harper <[email protected]>
  8612. * Binding.cs: Implement IsBinding.
  8613. * BindingManagerBase.cs:
  8614. * PropertyManager.cs:
  8615. * CurrencyManager.cs: Add IsSuspended property.
  8616. 2005-04-01 Jackson Harper <[email protected]>
  8617. * Binding.cs: Had some IsAssignableFrom calls backwards.
  8618. 2005-04-01 Jackson Harper <[email protected]>
  8619. * Binding.cs: Handle null data members when pulling data.
  8620. * PropertyManager.cs: Handle the data member being a property that
  8621. does not exist.
  8622. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  8623. * DataGridTextBoxColumn.cs: fixes signature
  8624. * DataGrid.cs: calls right constructor
  8625. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  8626. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  8627. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  8628. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  8629. * DataGridTableStyle.cs: implements DataGridTableStyle
  8630. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  8631. * DataGridTextBox.cs: implements DataGridTextBox
  8632. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  8633. 2005-03-31 Alexander Olk <[email protected]>
  8634. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  8635. 2005-03-29 Peter Bartok <[email protected]>
  8636. * Application.cs:
  8637. - Properly implemented CompanyName property
  8638. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  8639. returns a path that includes CompanyName, ProductName and
  8640. Version (fixes bug #70330)
  8641. 2005-03-29 Stefan Buehler <[email protected]>
  8642. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  8643. fixes bug #72588.
  8644. 2005-03-28 Alexander Olk <[email protected]>
  8645. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  8646. - Added ReadOnly CheckBox
  8647. - Further refactoring: moved some code from Open-/SaveFileDialog
  8648. to FileDialog
  8649. 2005-03-28 Alexander Olk <[email protected]>
  8650. * OpenFileDialog.cs: Fixed CheckFileExists
  8651. * FileDialog.cs:
  8652. Moved FileView and DirComboBox outside FileDialog class.
  8653. They can now be used outside FileDialog
  8654. 2005-03-27 Alexander Olk <[email protected]>
  8655. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  8656. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  8657. 2005-03-27 Alexander Olk <[email protected]>
  8658. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  8659. - Added missing CreatePrompt property in SaveDialog
  8660. - Overall SaveDialog handling should be better now
  8661. - Added non standard ShowHiddenFiles property
  8662. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  8663. - Added InitialDirectory and RestoreDirectory support
  8664. 2005-03-26 Alexander Olk <[email protected]>
  8665. * FileDialog.cs: Made dirComboBox usable
  8666. 2005-03-24 Alexander Olk <[email protected]>
  8667. * FileDialog.cs: Added Filter support (case sensitiv)
  8668. 2005-03-24 Jackson Harper <[email protected]>
  8669. * TabControl.cs: Need a couple more pixels for the lines.
  8670. 2005-03-23 Jackson Harper <[email protected]>
  8671. * TabControl.cs: Give the tab page focus when it is selected.
  8672. 2005-03-23 Jackson Harper <[email protected]>
  8673. * TabControl.cs: Account for the drawing of tabs borders when
  8674. invalidating. If the slider was clicked dont do click detection on
  8675. the tabs.
  8676. 2005-03-23 Jackson Harper <[email protected]>
  8677. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  8678. 2005-03-22 Jonathan Chambers <[email protected]>
  8679. * CategoryGridEntry.cs: Added
  8680. * GridItem.cs: Added helper properties
  8681. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  8682. * GridEntry.cs: Updated code for collection
  8683. * PropertyGrid.cs: Cleaned up some formatting
  8684. * PropertyGridView.cs: Added drop down functionality for enums.
  8685. * GridItemCollection.cs: Added enumerator logic
  8686. * PropertyGridEntry.cs: Added
  8687. 2005-03-19 Alexander Olk <[email protected]>
  8688. * FileDialog.cs:
  8689. - Removed unnecessary commented code
  8690. - Fixed handling for entering the filename manually in the combobox
  8691. 2005-03-19 Alexander Olk <[email protected]>
  8692. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  8693. 2005-03-18 Peter Bartok <[email protected]>
  8694. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  8695. them being touching the border
  8696. 2005-03-18 Peter Bartok <[email protected]>
  8697. * TextControl.cs: Quick hack to center text better
  8698. 2005-03-18 Peter Bartok <[email protected]>
  8699. * ControlPaint.cs:
  8700. - Don't throw NotImplemented exceptions, just print a notice once
  8701. instead (requested by Miguel). This makes running existing SWF
  8702. apps a bit easier
  8703. * Control.cs:
  8704. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  8705. - Added context menu trigger on right click
  8706. * Panel.cs: Trigger invalidate on resize
  8707. * StatusBar.cs:
  8708. - Removed old double-buffer drawing
  8709. - Added ResizeRedraw style to force proper update of statusbar
  8710. * ListView.cs:
  8711. - Removed debug output
  8712. * ThemeWin32Classic.cs:
  8713. - Fixed drawing of status bar, now draws Text property if there
  8714. are no defined panels
  8715. 2005-03-18 Jackson Harper <[email protected]>
  8716. * ImageList.cs: When the image stream is set pull all the images
  8717. from it.
  8718. * ImageListStreamer.cs: Implement reading image list streams.
  8719. 2005-03-18 Peter Bartok <[email protected]>
  8720. * ThemeWin32Classic.cs (DrawPictureBox):
  8721. - Fixed calculations for centered drawing
  8722. - Fixed drawing for normal mode, not scaling the image on normal
  8723. 2005-03-18 Peter Bartok <[email protected]>
  8724. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  8725. textbox
  8726. * FileDialog.cs:
  8727. - Made Open/Save button the accept button for FileDialog
  8728. - Tied the cancel button to the IButtonControl cancel button
  8729. - Save/Open now properly builds the pathname
  8730. - Now handles user-entered text
  8731. - Preventing crash on right-click if no item is selected
  8732. - Fixed Text property, now uses contents of textbox
  8733. - Fixed SelectedText property, now just returns the text part that
  8734. is selected in the text box
  8735. 2005-03-18 Jackson Harper <[email protected]>
  8736. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  8737. rect, make sure to de-adjust the interior rect after drawing the
  8738. tab text.
  8739. 2005-03-18 Peter Bartok <[email protected]>
  8740. * MenuAPI.cs: Remove menu *before* executing selected action to
  8741. prevent the menu from 'hanging around'
  8742. 2005-03-17 Geoff Norton <[email protected]>
  8743. * XplatUIOSX.cs: Implemented WorkingArea property
  8744. 2005-03-17 Peter Bartok <[email protected]>
  8745. * XplatUIX11.cs: Fixed menu coord calculations
  8746. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  8747. for calculating offsets
  8748. 2005-03-17 Peter Bartok <[email protected]>
  8749. * Hwnd.cs: Do not consider menu presence for default client
  8750. rectangle location/size
  8751. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  8752. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  8753. translation functions
  8754. * FileDialog.cs: Fixed (what I presume is a) typo
  8755. 2005-03-17 Jonathan Gilbert <[email protected]>
  8756. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  8757. X access (avoids X-Async errors)
  8758. 2005-03-16 Jackson Harper <[email protected]>
  8759. * TabControl.cs: Raise the SelectedIndexChanged event.
  8760. 2005-03-16 Alexander Olk <[email protected]>
  8761. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  8762. - Removed vertical ToolBar and replaced it with a custom panel
  8763. (desktop and home button already work)
  8764. - Added Help button (some controls get resized or relocated then)
  8765. - Draw correct text depending on Open or Save.
  8766. - Fixed some typos...
  8767. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  8768. * ScrollBar.cs:
  8769. - Only change Maximum and Minimum when need it (bug fix)
  8770. 2005-03-15 Peter Bartok <[email protected]>
  8771. * Form.cs: Use Handle for icon, to trigger creation if
  8772. the window does not yet exist
  8773. * Control.cs:
  8774. - CanSelect: Slight performance improvement
  8775. - Focus(): Preventing possible recursion
  8776. - Invalidate(): Removed ControlStyle based clear flag setting
  8777. - WM_PAINT: fixed logic for calling OnPaintBackground
  8778. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  8779. EraseWindowBackground if the control doesn't paint background
  8780. * XplatUIWin32.cs:
  8781. - Moved EraseWindowBackground() method to internal methods
  8782. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  8783. is sent via SendMessage on BeginPaint call on Win32
  8784. * XplatUIX11.cs:
  8785. - Added EraseWindowBackground() method
  8786. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  8787. PaintEventStart, which more closely matches Win32 behaviour
  8788. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  8789. - Fixed SetFocus() to properly deal with client and whole windows
  8790. * Hwnd.cs: Added ErasePending property
  8791. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  8792. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  8793. 2005-03-12 Geoff Norton <[email protected]>
  8794. * XplatUIOSX.cs:
  8795. - Fix hard loop when timers exist.
  8796. - Fix bugs with middle and right click for 3 button mice.
  8797. 2005-03-11 Peter Bartok <[email protected]>
  8798. * XplatUIX11.cs:
  8799. - get_WorkingArea: Need to call X directly, GetWindowPos only
  8800. returns cached data now
  8801. - Added sanity check to GetWindowPos hwnd usage
  8802. 2005-03-11 Jackson Harper <[email protected]>
  8803. * BindingManagerBase.cs: This method isn't used anymore as
  8804. PullData now updates the data in the control.
  8805. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  8806. * Form.cs: fixes menu drawing on X11
  8807. * MenuAPI.cs: fixes menu drawing on X11
  8808. 2005-03-11 Peter Bartok <[email protected]>
  8809. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  8810. from Jonathan Gilbert; should fix bug #73606
  8811. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  8812. in Screen coordinates. Thanks, Jordi.
  8813. * Form.cs: Added missing attribute
  8814. 2005-03-11 Peter Bartok <[email protected]>
  8815. * Form.cs:
  8816. - Rudimentary Mdi support
  8817. - Removed outdated FormParent code
  8818. - Implemented lots of missing properties and methods, still missing
  8819. transparency support
  8820. - Added missing attributes
  8821. - Implemented support for MaximumBounds
  8822. - Added firing of various events
  8823. * XplatUI.cs: Added SetIcon() method
  8824. * XplatUIDriver.cs: Added SetIcon() abstract
  8825. * XplatUIOSX.cs: Stubbed out SetIcon() method
  8826. * XplatUIX11.cs:
  8827. - Implemented SetIcon() support
  8828. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  8829. - Switched to unix line endings
  8830. * XplatUIWin32.cs:
  8831. - Made POINT internal so for can access it as part of MINMAX
  8832. - Implemented SetIcon() support
  8833. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  8834. native Mdi support again, might have to go managed)
  8835. * Control.cs: Now fires the StyleChanged event
  8836. * MdiClient.cs: Added; still mostly empty
  8837. 2005-03-10 Peter Bartok <[email protected]>
  8838. * SaveFileDialog.cs: Added emtpy file
  8839. 2005-03-08 Peter Bartok <[email protected]>
  8840. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  8841. in turn triggers OnCreateContro) when creating a handle for the
  8842. first time.
  8843. * TextControl.cs: Fixed endless loop in certain cases when
  8844. replacing the current selection
  8845. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  8846. * ScrollBar.cs:
  8847. - Honors NewValue changes in Scroll events allowing apps to change it
  8848. - Adds First and Last Scroll events
  8849. - Fixes Thumb events
  8850. 2005-03-07 Peter Bartok <[email protected]>
  8851. * Hwnd.cs: Added DefaultClientRectangle property
  8852. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  8853. more detailed debug information
  8854. * XplatUIX11.cs:
  8855. - Fixed size-change feedback loop, where we would pull an old size
  8856. off the queue and mistakenly change our window's size to an
  8857. earlier value
  8858. - Now compressing ConfigureNotify events, to reduce looping and
  8859. redraw issues
  8860. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  8861. is called
  8862. 2005-03-07 Jackson Harper <[email protected]>
  8863. * Binding.cs: Push data pushes from data -> property. Check if the
  8864. property is readonly when attempting to set it.
  8865. 2005-03-07 Jackson Harper <[email protected]>
  8866. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  8867. instead of IsSubclassOf. Pulling data now sets the value on the
  8868. control.
  8869. * PropertyManager.cs:
  8870. * CurrencyManager.cs: Just need to pull data when updating now,
  8871. because PullData will set the value on the control.
  8872. 2005-03-04 Jackson Harper <[email protected]>
  8873. * Binding.cs: Implement data type parsing and converting on pulled
  8874. data. TODO: Are there more ways the data can be converted?
  8875. 2005-03-04 Jackson Harper <[email protected]>
  8876. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  8877. controls Validating method so we can repull the data when the
  8878. control loses focus.
  8879. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  8880. * ColumnHeader.cs:
  8881. - Fixes null string format
  8882. * ListView.cs:
  8883. - Adds enum type checks
  8884. - Fixes redrawing and recalc need after changing some properties
  8885. - Fixes on focus_item set after the event
  8886. - Fixes adding columns after the control has been created
  8887. * ThemeWin32Classic.cs:
  8888. - Fixes CheckBox focus rectangle
  8889. - Fixes ColumnHeader drawing
  8890. 2005-03-03 Jackson Harper <[email protected]>
  8891. * Binding.cs: Bind to <Property>Changed events so we can detect
  8892. when properties are changed and update the data.
  8893. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  8894. * ImageList.cs:
  8895. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  8896. - Fixes ImageList constructor with ImageList container
  8897. - Fixes image scaling (wrong parameters at DrawImage)
  8898. 2005-02-02 Jackson Harper <[email protected]>
  8899. * Binding.cs: Make property searches case-insensitive. Eliminate
  8900. some duplicated code.
  8901. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  8902. * ComboBox.cs:
  8903. - Handle focus event
  8904. - Fix scrollbar events
  8905. - Discard highlighted item if remove it
  8906. - Fixes SelectedItem with strings
  8907. 2005-03-01 Peter Bartok <[email protected]>
  8908. * Control.cs:
  8909. - Fixed Visible property, now follows (once again) parent chain
  8910. to return false if any control in the chain is visible=false
  8911. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  8912. - Fixed several places where is_visible instead of Visible was used
  8913. - Implemented FIXME related to focus selection when setting focused
  8914. control to be invisible
  8915. * XplatUIWin32.cs: Now using proper method to find out if window is
  8916. visible. Thanks to Jordi for pointing it out
  8917. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  8918. * ComboBox.cs: show/hide scrollbar instead of creating it
  8919. 2005-02-27 Jackson Harper <[email protected]>
  8920. * CurrencyManager.cs: Add PositionChanged stuff.
  8921. 2005-02-27 Peter Bartok <[email protected]>
  8922. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  8923. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  8924. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  8925. * XplatUIX11.cs:
  8926. - Implemented GetMenuDC()
  8927. - Implemented GetMenuOrigin()
  8928. - Implemented ReleaseMenuDC()
  8929. - Implemented generation of WM_NCPAINT message
  8930. - Implemented generation and handling of WM_NCCALCSIZE message
  8931. * Form.cs: Added debug helper message for Jordi's menu work
  8932. * Hwnd.cs:
  8933. - Modified ClientRect property; added setter, fixed getter to handle
  8934. setting of ClientRect
  8935. - Added MenuOrigin property
  8936. 2005-02-26 Peter Bartok <[email protected]>
  8937. * XplatUIX11.cs:
  8938. - Destroys the caret if a window that's being destroyed contains it
  8939. - Ignores expose events coming from the X11 queue for windows that
  8940. already are destroyed
  8941. - Now uses the proper variable for handling DestroyNotify, before we
  8942. marked the wrong window as destroyed
  8943. - Improved/added some debug output
  8944. 2005-02-26 Peter Bartok <[email protected]>
  8945. * X11Keyboard.cs: Fixes to work on 64bit systems
  8946. 2005-02-26 Peter Bartok <[email protected]>
  8947. * Control.cs:
  8948. - Now calling OnHandleDestroyed from DestroyHandle()
  8949. instead of Dispose()
  8950. - Removed bogus call to controls.Remove() from DestroyHandle()
  8951. 2005-02-26 Peter Bartok <[email protected]>
  8952. * Control.cs: Properly destroy child windows when our handle is
  8953. destroyed
  8954. 2005-02-25 Peter Bartok <[email protected]>
  8955. * XplatUI.cs:
  8956. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  8957. - Alphabetized Static Methods and Subclasses
  8958. * XplatUIX11.cs:
  8959. - Added XException class to allow custom handling of X11 exceptions
  8960. - Created custom X11 error handler, tied into XException class
  8961. - Added support for MONO_XEXCEPTIONS env var to allow the user
  8962. to either throw an exception on X errors or continue running
  8963. after displaying the error
  8964. - Added handling of DestroyNotify message
  8965. - Added handler for CreateNotify message (still disabled)
  8966. - Improved (tried to at least) Where method to provide file and lineno
  8967. * X11Structs.cs:
  8968. - Added XErrorHandler delegate
  8969. - Added XRequest enumeration (to suppor translation of errors)
  8970. 2005-02-25 Jackson Harper <[email protected]>
  8971. * PropertyManager.cs: Implement editing features
  8972. * CurrencyManager.cs:
  8973. * Binding.cs: First attempt at UpdateIsBinding
  8974. * BindingManagerBase.cs: Call UpdateIsBinding before
  8975. pushing/pulling data.
  8976. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  8977. * MenuAPI.cs: Respect disabled items
  8978. * ThemeWin32Classic.cs
  8979. - Caches ImageAttributes creation for DrawImageDisabled
  8980. - Fixes vertical menu line drawing
  8981. - Draws disabled arrows in disable menu items
  8982. 2005-02-24 Peter Bartok <[email protected]>
  8983. * Hwnd.cs:
  8984. - Added UserData property to allow associating arbitrary objects
  8985. with the handle
  8986. - Fixed leak; now removing Hwnd references from static windows array
  8987. * XplatUIWin32.cs:
  8988. - Fixed Graphics leak in PaintEventEnd
  8989. - Removed usage of HandleData, switched over to Hwnd class
  8990. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  8991. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  8992. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  8993. * ScrollBar.cs: Fixes bug
  8994. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  8995. keyboard navigation enhancements
  8996. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  8997. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  8998. * GroupBox.cs: Add control styles
  8999. * Label.cs: Add control styles
  9000. * UpDownBase.cs: Add control styles
  9001. * ListBox.cs: Add control styles
  9002. * XplatUIWin32.cs: Fixes wrong parameter order
  9003. 2005-02-23 Chris Bacon <[email protected]>
  9004. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  9005. 2005-02-23 Jackson Harper <[email protected]>
  9006. * PropertyManager.cs: Implement property binding. This doesn't
  9007. seem to work yet though as (I think) there are some bugs in
  9008. System.ComponentModel.PropertyDescriptor.
  9009. * BindingContext.cs: Use new PropertyManager constructor.
  9010. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  9011. * ProgressBar.cs: use clip region in ProgressBar
  9012. * ThemeWin32Classic.cs: use clip region in ProgressBar
  9013. 2004-02-22 Jackson Harper <[email protected]>
  9014. * BindingsCollection.cs: Remove some debug code.
  9015. 2005-02-22 Jackson Harper <[email protected]>
  9016. * BindingContext.cs:
  9017. * ControlBindingsCollection.cs:
  9018. * CurrencyManager.cs:
  9019. * Binding.cs:
  9020. * BindingManagerBase.cs: Initial implementation
  9021. * BindingsCollection.cs: Add an internal contains method that the
  9022. BindingManagerBase uses to ensure bindings aren't added twice to
  9023. the collection.
  9024. * PropertyManager.cs: Stubbed out.
  9025. * Control.cs:
  9026. * ContainerControl.cs: Hook up databinding
  9027. 2005-02-22 Geoff Norton <[email protected]>
  9028. * XplatUIOSX.cs:
  9029. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  9030. Fixed Invalidate/Update chain.
  9031. Fixed tons of other minor bugs (this is almost a complete rewrite).
  9032. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  9033. * ComboBox.cs: do subcontrol creation when the control is created
  9034. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9035. * Label.cs: fixes image drawing (image and imagelist)
  9036. * ThemeWin32Classic.cs: cache brushes
  9037. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9038. * Form.cs: Move menu drawing code to Theme class
  9039. * ComboBox.cs: Move ComboBox drawing code to Theme class
  9040. * MenuItem.cs: Move menu drawing code to Theme class
  9041. * MenuAPI.cs: Move menu drawing code to Theme class
  9042. * ThemeWin32Classic.cs: New methods
  9043. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  9044. * ListBox.cs: Move Listbox drawing code to Theme class
  9045. * Theme.cs: New methods
  9046. 2005-02-20 Peter Bartok <[email protected]>
  9047. * Control.cs:
  9048. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  9049. only process mnemonics on those)
  9050. - Fixed event sequence for key handling; first calling
  9051. ProcessKeyEventArgs now
  9052. * TextBoxBase.cs:
  9053. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  9054. for processing non-character keys
  9055. - Fixed WM_CHAR to generate proper event sequence before processing
  9056. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  9057. generation
  9058. 2005-02-19 Peter Bartok <[email protected]>
  9059. * UserControl.cs: Added TextChanged event; added attributes
  9060. * SizeGrip.cs: Implemented resizing and optional display of grip
  9061. * Form.cs: Fixed attribute
  9062. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9063. Changed meaning of ScrollWindow bool argument; instead of the
  9064. clear attribute (which will be true usually anyway), it gives the
  9065. option of moving child controls as well.
  9066. * XplatUIX11.cs:
  9067. - Changed to match new ScrollWindow argument
  9068. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  9069. now handles the implicit parent window a WM puts around us
  9070. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  9071. to work)
  9072. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  9073. * TreeView.cs: Adjusted to new ScrollWindow arguments
  9074. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  9075. * Form.cs: Menu integration with non-client area
  9076. * MenuItem.cs: Menu integration with non-client area
  9077. * MenuAPI.cs: Menu integration with non-client area
  9078. 2005-02-18 Peter Bartok <[email protected]>
  9079. * MethodInvoker.cs: Added
  9080. * MdiLayout.cs: Added
  9081. * SendKeys.cs: Started implementation
  9082. * ErrorIconAlignment.cs: Added
  9083. 2005-02-18 Peter Bartok <[email protected]>
  9084. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  9085. * Form.cs: Added handling for Menu-related Non-client messages
  9086. 2005-02-17 Peter Bartok <[email protected]>
  9087. * UpDownBase.cs: Fixed typo, compilation errors
  9088. * DomainUpDown.cs: Fixed attribute value
  9089. 2005-02-16 Miguel de Icaza <[email protected]>
  9090. * UpDownBase.cs: Attach entry events.
  9091. Propagate events.
  9092. Add ForeColor property, Focused, InterceptArrowKeys (interception
  9093. does not work yet).
  9094. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  9095. * Form.cs:
  9096. - Redraw non client are on Setmenu
  9097. - Calc proper menu starting point
  9098. 2005-02-17 Peter Bartok <[email protected]>
  9099. * Application.cs: Fixed message_filter check
  9100. 2005-02-17 Peter Bartok <[email protected]>
  9101. * Application.cs: Now calls registered message filters
  9102. * DockStyle.cs: Fixed attribute
  9103. * Form.cs: Fixed attribute
  9104. * Menu.cs: Fixed attribute
  9105. * ToolTip.cs: Fixed attribute
  9106. * TreeNode.cs: Added missing attributes and arranged in regions
  9107. * PropertyGrid.cs: Fixed signatures
  9108. * TreeNodeCollection.cs: Added attributes
  9109. * Splitter.cs: Added missing attributes; arranged into regions
  9110. * TabPage.cs: Added missing attributes; arranged into regions
  9111. * TextBoxBase.cs: Added missing attributes
  9112. * TextBox.cs: Added missing attributes
  9113. * ArrangeDirection.cs: Added missing attributes
  9114. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  9115. * ToolBarButton.cs: Fixed attributes
  9116. * AnchorStyles.cs: Fixed attribute
  9117. * TrackBar.cs: Fixed attributes
  9118. * TabControl.cs: Added missing attributes and arranged into regions
  9119. * ToolBar.cs: Fixed attribute
  9120. * StatusBar.cs: Fixed signature, organized into regions and added
  9121. attributes
  9122. * StatusBarPanel.cs: Fixed attributes
  9123. * ContentsResizedEventArgs.cs: Implemented
  9124. * ContentsResizedEventHandler.cs: Implemented
  9125. * DateBoldEventArgs.cs: Implemented
  9126. * DateBoldEventHandler.cs: Implemented
  9127. * UpDownEventArgs.cs: Implemented
  9128. * UpDownEventHandler.cs: Implemented
  9129. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  9130. * Form.cs: first Menu NC refactoring
  9131. * MenuAPI.cs: first Menu NC refactoring
  9132. 2005-02-16 Peter Bartok <[email protected]>
  9133. * ImeMode.cs: Added missing attributes
  9134. * Menu.cs: Fixed attribute
  9135. * GroupBox.cs: Fixed attribute
  9136. * Label.cs: Fixed attribute
  9137. * ColorDialog.cs (RunDialog): Removed TODO attribute
  9138. * ComboBox.cs: Fixed attributes
  9139. * ListControl.cs: Added missing attributes
  9140. * PropertyGrid.cs: Fixed attributes
  9141. * Control.cs: Fixed attributes
  9142. * ListViewItem.cs: Added TypeConverter attribute
  9143. * NotifyIcon.cs: Fixed attributes
  9144. * ListView.cs: Fixed attributes
  9145. * ButtonBase.cs: Fixed attribute
  9146. * ImageList.cs: Added missing attributes
  9147. * ContainerControl.cs: Fixed signature
  9148. * CheckedListBox.cs: Fixed attribute; added missing attributes
  9149. * Panel.cs: Fixed attributes
  9150. * PropertyTabChangedEventArgs.cs: Added missing attribute
  9151. * PropertyValueChangedEventArgs.cs: Added missing attribute
  9152. * Binding.cs: Fixed attribute
  9153. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  9154. * ListBox.cs: Fixed attribute; added missing attributes;
  9155. * ScrollableControl.cs: Added missing attributes
  9156. * PictureBox.cs: Added missing attributes; implemented missing property
  9157. * DateTimePicker.cs: Added missing attributes
  9158. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  9159. * MonthCalendar.cs: Fixed attributes
  9160. * StatusBarPanel.cs: Added missing attributes
  9161. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  9162. 2005-02-16 Peter Bartok <[email protected]>
  9163. * TextBoxBase.cs: The previous method to enforce height yet remember
  9164. the requested high was less than ideal, this is an attempt to do
  9165. it better.
  9166. * Control.cs: Added comment about possible problem
  9167. * Copyright: Updated format
  9168. * GridItemType.cs: Fixed swapped values
  9169. 2005-02-15 Jackson Harper <[email protected]>
  9170. * BaseCollection.cs: Use property so we never access an
  9171. uninitialized list. Also initialize the list in the property.
  9172. 2005-02-15 Peter Bartok <[email protected]>
  9173. * GroupBox.cs (ProcessMnemonic): Implemented
  9174. * Label.cs (ProcessMnemonic): Implemented
  9175. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  9176. hotkeys
  9177. 2005-02-15 Peter Bartok <[email protected]>
  9178. * RadioButton.cs (ProcessMnemonic): Implemented
  9179. * CheckBox.cs (ProcessMnemonic): Implemented
  9180. * Control.cs:
  9181. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  9182. handling
  9183. - Added internal method to allow calling ProcessMnemonic from other
  9184. controls
  9185. * ContainerControl.cs:
  9186. - Started support for handling validation chain handling
  9187. - Implemented ProcessMnemonic support
  9188. - Added Select() call to Active, to make sure the active control
  9189. receives focus
  9190. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  9191. FormParent rewrite)
  9192. * ThemeWin32Classic.cs:
  9193. - DrawCheckBox(): Fixed stringformat to show hotkeys
  9194. - DrawRadioButton(): Fixed stringformat to show hotkeys
  9195. * CommonDialog.cs: Removed WndProc override, not needed
  9196. 2005-02-14 Peter Bartok <[email protected]>
  9197. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  9198. missed those in the rewrite
  9199. 2005-02-14 Miguel de Icaza <[email protected]>
  9200. * NumericUpDown.cs (Increment, ToString): Add.
  9201. (DecimalPlaces): implement.
  9202. Add attributes.
  9203. * UpDownBase.cs: Add the designer attributes.
  9204. 2005-02-13 Peter Bartok <[email protected]>
  9205. * Panel.cs: Removed border_style, now in Control
  9206. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  9207. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  9208. 2005-02-13 Peter Bartok <[email protected]>
  9209. * MouseButtons.cs: Added missing attributes
  9210. * XplatUIStructs.cs: Added enumeration for title styles
  9211. * LeftRightAlignment.cs: Added missing attributes
  9212. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  9213. it compatible with Graphics.FromHwnd()
  9214. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  9215. * Keys.cs: Added missing attributes
  9216. * SelectionRange.cs: Added missing attributes
  9217. * SelectionRangeConverter.cs: Added
  9218. * XplatUI.cs:
  9219. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  9220. ReleaseMenuDC methods
  9221. - Renamed ReleaseWindow to UngrabWindow
  9222. - Added proper startup notice to allow version identification
  9223. * Form.cs:
  9224. - Added missing attributes
  9225. - Removed FormParent concept
  9226. * Label.cs: Removed border_style field, now in Control
  9227. * RadioButton.cs: Now properly selects RadioButton when focus is
  9228. received
  9229. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  9230. * Control.cs:
  9231. - Added missing attributes
  9232. - Added borderstyle handling
  9233. - Removed FormParent concept support
  9234. - Fixed calls to XplatUI to match changed APIs
  9235. - Fixed bug that would case us to use disposed Graphics objects
  9236. - Removed unneeded internal methods
  9237. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  9238. - SelectNextControl(): Fixed to properly check common parents
  9239. * TextBoxBase.cs: Removed border_style field (now in Control)
  9240. * MessageBox.cs:
  9241. - Patch by Robert Thompson ([email protected]): Added icon support,
  9242. fixed calculations for form size
  9243. - Added support for localized strings and icons
  9244. - Improved form size calculations, added border
  9245. * ListView.cs: Removed border_style field (now in Control)
  9246. * X11Structs.cs: Moved several structs from X11 driver here
  9247. * X11Keyboard.cs: Changed debug message
  9248. * Application.cs: Removed FormParent concept support
  9249. * CommonDialog.cs:
  9250. - Resetting end_modal flag
  9251. - Removed FormParent concept support
  9252. * NativeWindow.cs: Removed FormParent concept support
  9253. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  9254. Client area and Non-Client whole window to allow support for WM_NC
  9255. messages
  9256. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  9257. prevent using it until it supports Hwnd as per Geoff Norton's request
  9258. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  9259. * PictureBox.cs: Removed border_style field, now in Control
  9260. * XplatUIWin32.cs: Added new driver methods
  9261. 2005-02-12 Peter Bartok <[email protected]>
  9262. * OpacityConverter.cs: Implemented
  9263. * Hwnd.cs: Internal class to support drivers that need to emulate
  9264. client area/non-client area window behaviour
  9265. 2005-02-11 Peter Bartok <[email protected]>
  9266. * KeysConverter.cs: Implemented
  9267. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  9268. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  9269. * LinkLabel: Added missing attributes
  9270. * MainMenu.cs: fixes ToString
  9271. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  9272. * ListBox.cs: fixes event position
  9273. * TrackBar.cs: adds missing attributes and events
  9274. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  9275. * MenuItem.cs: Use SystemInformation and bug fixes
  9276. * MenuAPI.cs: Use SystemInformation and bug fixes
  9277. 2005-02-09 Jackson Harper <[email protected]>
  9278. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  9279. their keystate otherwise things like VK_MENU get stuck "on".
  9280. 2005-02-09 Kazuki Oikawa <[email protected]>
  9281. * ListBox.cs: Fixes AddRange bug
  9282. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  9283. * ProgressBar.cs
  9284. - Add missing attributes
  9285. - Add missing method
  9286. * CheckedListBox.cs: Added missing attributes
  9287. - Add missing attributes
  9288. - Remove extra method
  9289. * ComboBox.cs: Added missing attributes
  9290. * VScrollBar.cs: Added missing attributes
  9291. * ScrollBar.cs: Added missing attributes
  9292. * ListBox.cs: Fixes signature, add missing consts
  9293. * LinkArea.cs: Added missing attributes
  9294. 2005-02-08 Peter Bartok <[email protected]>
  9295. * Menu.cs: Added missing attributes
  9296. * MainMenu.cs: Added missing attributes
  9297. * GroupBox.cs: Added missing attributes
  9298. * Label.cs: Added missing attributes
  9299. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  9300. * ColorDialog.cs:
  9301. - Added Instance and Options properties
  9302. - Added missing attributes
  9303. * Cursor.cs: Made Serializable
  9304. * NotifyIcon: Added missing attributes
  9305. * MenuItem.cs: Added missing attributes
  9306. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  9307. * Panel.cs: Added Missing attributes
  9308. * MonthCalendar.cs: Fixed CreateParams
  9309. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  9310. * LinkLabel.cs:
  9311. - Fixes signature
  9312. - Fixes issues with links
  9313. - Adds the class attributes
  9314. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  9315. * ComboBox.cs:
  9316. - Fixes button when no items available in dropdown
  9317. - Fixes repainting problems
  9318. - Adds the class attributes
  9319. 2005-02-07 Geoff Norton <[email protected]>
  9320. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  9321. the current theme. Cache these on startup.
  9322. 2005-02-07 Jackson Harper <[email protected]>
  9323. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  9324. the scrollbar buttons when they are depressed.
  9325. 2005-02-07 Geoff Norton <[email protected]>
  9326. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  9327. Get the display size from the main displayid. We currently dont
  9328. support multiple display configurations.
  9329. 2005-02-07 Geoff Norton <[email protected]>
  9330. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  9331. 2005-02-07 Miguel de Icaza <[email protected]>
  9332. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  9333. 2005-02-05 Jonathan Chambers <[email protected]>
  9334. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  9335. 2005-02-04 Jackson Harper <[email protected]>
  9336. * ThemeWin32Classic.cs: Respect the clipping rect when
  9337. drawing. Only fill the intersection of clips and rects so there
  9338. isn't a lot of large fills.
  9339. * ScrollBar.cs: Pass the correct clipping rect to the theme
  9340. engine. Remove some debug code.
  9341. 2005-02-05 John BouAntoun <[email protected]>
  9342. * DateTimePicker.cs:
  9343. - Fixed crash on DateTime.Parse, use Constructor instead
  9344. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  9345. * MenuItem.cs:
  9346. * MenuAPI.cs:
  9347. - Owner draw support (MeasureItem and DrawItem)
  9348. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  9349. * Menu.cs:
  9350. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  9351. - Fixes MenuItems.Add range
  9352. * MenuItem.cs:
  9353. - MergeMenu and Clone and CloneMenu functions
  9354. 2005-02-03 Jackson Harper <[email protected]>
  9355. * ScrollBar.cs: Make abstract
  9356. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  9357. is abstract.
  9358. 2005-02-03 Jackson Harper <[email protected]>
  9359. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  9360. all the unneeded refreshes and uses invalidates with properly
  9361. computed rects.
  9362. 2005-02-03 Peter Bartok <[email protected]>
  9363. * ComponentModel.cs: Added
  9364. * IDataGridEditingService.cs: Added
  9365. * Timer.cs: Added missing attributes
  9366. * ToolTip.cs: Added missing attributes
  9367. 2005-02-03 Jonathan Chambers <[email protected]>
  9368. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  9369. 2005-02-03 Peter Bartok <[email protected]>
  9370. * ListBox.cs: Added missing attributes
  9371. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  9372. * ListBox.cs:
  9373. - Fixes font height after font change
  9374. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  9375. 2005-02-02 Peter Bartok <[email protected]>
  9376. * HandleData.cs: Introduced static methods to allow class
  9377. to be more self-contained and track it's own HandleData objects
  9378. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  9379. HandleData to use new static methods
  9380. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  9381. * Combobox.cs:
  9382. - Fixes default size and PreferredHeight
  9383. - Missing events
  9384. - ObjectCollection.Insert implementation
  9385. * ListControl.cs
  9386. - Fixes signature
  9387. * ListBox.cs:
  9388. - Several fixes
  9389. - ObjectCollection.Insert implementation
  9390. - No selection after clean
  9391. - Small fixes
  9392. 2005-01-31 John BouAntoun <[email protected]>
  9393. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  9394. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  9395. * Combobox.cs:
  9396. - Caches ItemHeight calculation for OwnerDrawVariable
  9397. - Handles dropdown properly
  9398. - Fixes several minor bugs
  9399. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  9400. * ListBox.cs:
  9401. - Fixes 71946 and 71950
  9402. - Fixes changing Multicolumn on the fly
  9403. - Fixes keyboard navigation on Multicolumn listboxes
  9404. 2005-01-31 Geoff Norton <[email protected]>
  9405. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  9406. crash reporter log.
  9407. 2005-01-31 Geoff Norton <[email protected]>
  9408. * XplatUIOSX.cs: Allow applications to actually exit.
  9409. 2005-01-31 Geoff Norton <[email protected]>
  9410. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  9411. their parent at creation time rather than lazily later. Fixes a major
  9412. regression we were experiencing.
  9413. 2005-01-31 John BouAntoun <[email protected]>
  9414. * ThemeWin32Classic.cs: more date time picker painting fixes
  9415. * DateTimePicker.cs: more monthcalendar drop down fixes
  9416. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  9417. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  9418. * ScrollBar.cs:
  9419. - When moving the thumb going outside the control should stop the moving
  9420. - Adds the firing of missing events
  9421. - Fixes no button show if Size is not specified
  9422. - End / Home keys for keyboard navigation
  9423. 2005-01-30 Peter Bartok <[email protected]>
  9424. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  9425. sanity check to prevent theoretical loop
  9426. * XplatUIWin32.cs (SetVisible): Removed debug output
  9427. * XplatUIX11.cs (SystrayChange): Added sanity check
  9428. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  9429. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  9430. behaviour, valid until the X11 client window rewrite is done
  9431. * TextBox.cs (ctor): Setting proper default foreground and background
  9432. colors
  9433. 2005-01-30 John BouAntoun <[email protected]>
  9434. * Theme: Added DrawDateTimePicker to interface
  9435. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  9436. * DateTimePicker.cs: Created (still needs keys and painting code)
  9437. * DateTimePickerFormat.cs: added
  9438. * MonthCalendar.cs: fixed CreateParams for popup window mode
  9439. 2005-01-29 Peter Bartok <[email protected]>
  9440. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  9441. this should also the calculations for ligher/darker
  9442. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  9443. 2005-01-29 Peter Bartok <[email protected]>
  9444. * ArrangeDirection.cs: Added
  9445. * ArrangeStartingPositon.cs: Added
  9446. * SystemInformation.cs: Implemented
  9447. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9448. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  9449. used by SystemInformation class
  9450. * X11Strucs.cs: Added XSizeHints structure
  9451. * MenuAPI.cs:
  9452. - Fixed CreateParams to make sure the menu window is always visible
  9453. - TrackPopupMenu: Added check to make sure we don't draw the
  9454. menu offscreen
  9455. 2005-01-29 Peter Bartok <[email protected]>
  9456. * HandleData.cs: Added method for altering invalid area
  9457. * TextBoxBase.cs: Implemented TextLength
  9458. 2005-01-28 Peter Bartok <[email protected]>
  9459. * XplatUIX11.cs: Improvement over last patch, not sending
  9460. the WM_PAINT directly anymore, instead we scroll any pending
  9461. exposed areas and let the system pick out the WM_PAINT later
  9462. 2005-01-28 Peter Bartok <[email protected]>
  9463. * SWF.csproj: Deleted, no longer used. Instead,
  9464. Managed.Windows.Forms/SWF.csproj should be used
  9465. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  9466. directly, to avoid a potential race condition with the next
  9467. scroll
  9468. 2005-01-28 Peter Bartok <[email protected]>
  9469. * XplatUI.cs: Made class internal
  9470. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  9471. * CheckedListBox.cs:
  9472. - Draw focus
  9473. - Fixed Drawing
  9474. - Missing methods and events
  9475. 2005-01-27 Peter Bartok <[email protected]>
  9476. * Application.cs (Run): Don't use form if we don't have one
  9477. 2005-01-27 Peter Bartok <[email protected]>
  9478. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  9479. 2005-01-27 Peter Bartok <[email protected]>
  9480. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  9481. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  9482. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  9483. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  9484. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  9485. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  9486. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  9487. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  9488. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  9489. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  9490. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  9491. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  9492. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  9493. * Combobox.cs:
  9494. - Draw focus on Simple Combobox
  9495. - Fixes drawing issues
  9496. - fixes 71834
  9497. 2005-01-27 Peter Bartok <[email protected]>
  9498. * Form.cs:
  9499. - Place window in default location, instead of hardcoded 0/0
  9500. - Send initial LocationChanged event
  9501. * Control.cs:
  9502. - UpdateBounds after creation to find out where the WM placed us
  9503. - Make sure that if the ParentForm changes location the Form
  9504. is notified
  9505. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  9506. to the root, but to whatever the WM placed around us.
  9507. Translate to root coordinates before returning toplevel
  9508. coordinates
  9509. * XplatUIWin32.cs: Removed debug output
  9510. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  9511. flag to GetWindowPos, to allow translation of coordinates on X11
  9512. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  9513. * ListBox.cs: connect LostFocus Event
  9514. 2005-01-27 Peter Bartok <[email protected]>
  9515. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  9516. XplatUIX11.cs: Extended the Systray API
  9517. * Form.cs: Removed debug output
  9518. * Application.cs: Fixed focus assignment, always need to call
  9519. XplatUI.Activate() since Form.Activate() has rules that may
  9520. prevent activation
  9521. * NotifyIcon.cs: Should be complete now
  9522. * ToolTip.cs: Worked around possible timer bug
  9523. 2005-01-27 Jackson Harper <[email protected]>
  9524. * TabControl.cs:
  9525. - Only invalidate the effected tabs when the
  9526. selected index changes. This reduces drawing and gets rid of some
  9527. flicker.
  9528. - Only refresh if the tabs need to be shifted, otherwise only
  9529. invalidate the slider button.
  9530. - On windows the tabs are not filled to right if the slider is
  9531. visible.
  9532. 2005-01-27 Jackson Harper <[email protected]>
  9533. * TabControl.cs: Only refresh on mouseup if we are showing the
  9534. slider. Also only invalidate the button whose state has changed.
  9535. 2005-01-26 Peter Bartok <[email protected]>
  9536. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  9537. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  9538. and SystrayRemove() methods
  9539. * XplatUIOSX.cs: Stubbed Systray methods
  9540. * XplatUIX11.cs:
  9541. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  9542. methods
  9543. - Fixed broken XChangeProperty calls (marshalling messed up things)
  9544. * X11Structs.cs: Added enums and structs required for Size hinting
  9545. * NotifyIcon.cs: Added & implemented
  9546. 2005-01-26 Jackson Harper <[email protected]>
  9547. * TabControl.cs: Space vertically layed out tabs properly.
  9548. 2005-01-26 Peter Bartok <[email protected]>
  9549. * Form.cs (CreateClientParams): Always set the location to 0,0
  9550. since we're a child window.
  9551. * Control.cs (SetVisibleCore): Always explicitly setting the location
  9552. of a toplevel window, apparently X11 doesn't like to move windows
  9553. while they're not mapped.
  9554. 2005-01-26 Jackson Harper <[email protected]>
  9555. * TabControl.cs: Implement FillToRight size mode with vertically
  9556. rendered tabs.
  9557. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  9558. * ControlPaint.cs, ThemeWin32Classic.cs
  9559. - Fixes DrawFocusRectangle
  9560. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  9561. * MenuAPI.cs:
  9562. - MenuBar tracking only starts when item is first clicked
  9563. - Fixes menu hidding for multiple subitems
  9564. - Unselect item in MenuBar when item Executed
  9565. - Fixes bug 71495
  9566. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  9567. * ListControl.cs:
  9568. - IsInputKey for ListBox
  9569. * ListBox.cs:
  9570. - Focus item
  9571. - Shift and Control item selection
  9572. - Implement SelectionMode.MultiExtended
  9573. - Fixes RightToLeft
  9574. * ComboBox.cs:
  9575. - IsInputKey implemented
  9576. - Do not generate OnTextChangedEdit on internal txt changes
  9577. 2005-01-23 Peter Bartok <[email protected]>
  9578. * AccessibleObject.cs: Partially implemented Select()
  9579. * MonthCalendar.cs: Added missing attributes and events
  9580. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  9581. form can properly override CreateParams.
  9582. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9583. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  9584. Control performs Invalidate & Update
  9585. * NativeWindow (CreateHandle): Added special handling for Form
  9586. and Form.FormParent classes to allow overriding of From.CreateParams
  9587. * Control.cs:
  9588. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  9589. name 'owner'
  9590. - ControlNativeWindow: Added Owner property
  9591. - Removed usage of Refresh() on property changes, changed into
  9592. Invalidate(), we need to wait until the queue is processed for
  9593. updates, direct calls might cause problems if not all vars for
  9594. Paint are initialized
  9595. - Added call to UpdateStyles() when creating the window, to set any
  9596. styles that CreateWindow might have ignored.
  9597. - Added support for Form CreateParent overrides to UpdateStyles()
  9598. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  9599. CreateParams are now properly overridable
  9600. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  9601. CreateParams are now properly overridable
  9602. 2005-01-23 Miguel de Icaza <[email protected]>
  9603. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  9604. OnTextBoxChanged.
  9605. Capture LostFocus and OnTextBoxChanged. The later introduces a
  9606. recursive invocation that I have not figured out yet.
  9607. Reset the timer when not using (it was accumulating).
  9608. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  9609. user has made changes that require validation.
  9610. Reset changing to avoid loops.
  9611. 2005-01-22 Miguel de Icaza <[email protected]>
  9612. * NumericUpDown.cs: Display value at startup.
  9613. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  9614. ValidateEditText.
  9615. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  9616. filled in. Added some basic parsing of text.
  9617. Still missing the OnXXX method overrides, and figuring out the
  9618. events that must be emitted.
  9619. * UpDownBase.cs: Handle UserEdit on the Text property.
  9620. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  9621. * ComboBox.cs:
  9622. - Fixes IntegralHeight
  9623. - ToString method
  9624. 2005-01-21 Jackson Harper <[email protected]>
  9625. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  9626. is set so that the page visibility is updated and the tabs are
  9627. sized correctly.
  9628. 2005-01-21 Jackson Harper <[email protected]>
  9629. * TabControl.cs: Use cliping rectangle for blitting. Give the
  9630. theme the clipping rect so we can do clipping while
  9631. drawing. Remove some debug code.
  9632. 2005-01-21 Jackson Harper <[email protected]>
  9633. * TabPage.cs: Add a new method so tab pages can force the tab
  9634. control to recalculate the tab page sizes.
  9635. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  9636. sizes.
  9637. 2005-01-20 Jackson Harper <[email protected]>
  9638. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  9639. 2005-01-20 Jackson Harper <[email protected]>
  9640. * TreeView.cs: Set the bounds for nodes properly. They were
  9641. getting screwed up when checkboxes were not enabled, but images
  9642. were.
  9643. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  9644. * ListBox.cs:
  9645. - Owner draw support
  9646. - Fixes
  9647. 2005-01-20 Jackson Harper <[email protected]>
  9648. * XplatUIStructs.cs: More misc keys
  9649. * X11Keyboard.cs: Ignore some control keys.
  9650. 2005-01-20 Jackson Harper <[email protected]>
  9651. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  9652. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  9653. 2005-01-19 Peter Bartok <[email protected]>
  9654. * Control.cs: Un-selecting the control when it is loosing focus
  9655. 2005-01-19 Jackson Harper <[email protected]>
  9656. * TreeView.cs: Hook up to the text controls leave event so we can
  9657. end editing when the users clicks outside the text box.
  9658. 2005-01-19 Jackson Harper <[email protected]>
  9659. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  9660. get set in the conversion array.
  9661. 2005-01-19 Peter Bartok <[email protected]>
  9662. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  9663. focus is properly set
  9664. * Button.cs:
  9665. - Added missing attributes
  9666. - removed styles, those are already set in the base class
  9667. * ButtonBase.cs:
  9668. - Added missing attributes
  9669. - Added clip window styles
  9670. * CheckBox.cs: Added missing attributes
  9671. * CommonDialog.cs:
  9672. - FormParentWindow.CreateParams: Added required clip styles
  9673. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  9674. also filters modifier keys
  9675. * MessageBox.cs:
  9676. - Added assignment of Accept and Cancel button to enable Enter
  9677. and Esc keys in MessageBox dialogs
  9678. - FormParentWindow.CreateParams: Added required clip styles
  9679. * RadioButton.cs: Added missing attributes
  9680. * TextControl.cs: No longer draws selection if control does not
  9681. have focus
  9682. * TextBoxBase.cs:
  9683. - Now draws simple rectangle around test area to make it obvious
  9684. there's a control. This is a hack until we properly support borders
  9685. - A few simple fixes to support selections better, now erases selected
  9686. text when typing, and resets selection when using movement keys
  9687. 2005-01-19 Miguel de Icaza <[email protected]>
  9688. * UpDownBase.cs: Added some new properties.
  9689. * DomainUpDown.cs: Implement a lot to get my test working.
  9690. 2005-01-19 Geoff Norton <[email protected]>
  9691. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  9692. 2005-01-19 Geoff Norton <[email protected]>
  9693. * OSXStructs (WindowAttributes): Fixed csc complaints
  9694. 2005-01-19 Geoff Norton <[email protected]>
  9695. * XplayUIOSX.cs:
  9696. OSXStructs.cs: Initial refactor to move enums and consts into
  9697. OSXStructs and use them in the driver for greater readability.
  9698. 2005-01-19 Geoff Norton <[email protected]>
  9699. * XplatUIOSX.cs: Initial support for Standard Cursors.
  9700. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  9701. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  9702. * ComboBox.cs: ability to change style when the ctrl is already
  9703. created, missing methods and events, bug fixes, signature fixes
  9704. 2005-01-19 Peter Bartok <[email protected]>
  9705. * Cursors.cs (ctor): Added ctor to fix signature
  9706. 2005-01-18 Peter Bartok <[email protected]>
  9707. * Button.cs: Implemented DoubleClick event
  9708. * ButtonBase.cs:
  9709. - Fixed keyboard handling to behave like MS, where the press of
  9710. Spacebar is equivalent to a mousedown, and the key release is
  9711. equivalent to mouseup. Now a spacebar push will give the same
  9712. visual feedback like a mouse click.
  9713. - Added missing attributes
  9714. - Added ImeModeChanged event
  9715. - Added support for generating DoubleClick event for derived classes
  9716. * CheckBox.cs:
  9717. - Implemented DoubleClick event
  9718. - Added missing attributes
  9719. * CommonDialog.cs: Added missing attribute
  9720. * ContextMenu.cs: Added missing attributes
  9721. * RadioButton.cs:
  9722. - AutoChecked buttons do not allow to be unselected when clicked
  9723. (otherwise we might end up with no selected buttons in a group)
  9724. - Added missing attributes
  9725. - Implemented DoubleClickEvent
  9726. * ThreadExceptionDialog.cs: Enabled TextBox code
  9727. 2005-01-18 Peter Bartok <[email protected]>
  9728. * Form.cs: Removed debug output
  9729. * Button.cs: Added support for DoubleClick method
  9730. 2005-01-18 Peter Bartok <[email protected]>
  9731. * Form.cs:
  9732. - Added method to parent window that allows triggering size
  9733. calculations when a menu is added/removed
  9734. - set_Menu: Cleaned up mess from early days of Form and Control,
  9735. now properly triggers a recalc when a menu is added/removed
  9736. - Added case to select form itself as focused form if no child
  9737. controls exist
  9738. - Added PerformLayout call when showing dialog, to ensure properly
  9739. placed controls
  9740. * Control.cs:
  9741. - Select(): Made internal so Form can access it
  9742. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  9743. status
  9744. * Application.cs (Run): Removed hack and calls PerformLayout instead
  9745. to trigger calculation when Form becomes visible
  9746. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  9747. * ComboBox.cs: fixes for ownerdraw
  9748. 2005-01-18 Peter Bartok <[email protected]>
  9749. * TextControl.cs:
  9750. - Sentinel is no longer static, each Document gets it's own, this
  9751. avoids locking or alternatively overwrite problems when more
  9752. than one text control is used simultaneously.
  9753. - Switched to use Hilight and HilightText brushes for text selection
  9754. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  9755. 2005-01-18 Peter Bartok <[email protected]>
  9756. * Control.cs:
  9757. - Hooked up the following events:
  9758. o ControlAdded
  9759. o ControlRemoved
  9760. o HandleDestroyed
  9761. o ImeModeChanged
  9762. o ParentChanged
  9763. o TabStopChanged
  9764. o Invalidated
  9765. o SystemColorsChanged
  9766. o ParentFontChanged
  9767. o Move
  9768. - Removed debug output
  9769. - Added a call to the current theme's ResetDefaults when a color change
  9770. is detected
  9771. * Form.cs: Now setting the proper ImeMode
  9772. * Theme.cs: Defined a method to force recreation of cached resources
  9773. and rereading of system defaults (ResetDefaults())
  9774. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  9775. 2005-01-17 Peter Bartok <[email protected]>
  9776. * Control.cs: Added missing attributes
  9777. 2005-01-17 Jackson Harper <[email protected]>
  9778. * TreeNode.cs: Implement editing. Add missing properties selected
  9779. and visible.
  9780. * TreeView.cs: Implement node editing. Also some fixes to use
  9781. Invalidate (invalid area) instead of Refresh when selecting.
  9782. 2005-01-17 Peter Bartok <[email protected]>
  9783. * Control.cs:
  9784. - Implemented InvokeGotFocus() method
  9785. - Implemented InvokeLostFocus() method
  9786. - Implemented InvokePaint() method
  9787. - Implemented InvokePaintBackground() method
  9788. - Implemented InvokeClick() method
  9789. - Implemented FindForm() method
  9790. - Implemented RectangleToClient() method
  9791. - Implemented ClientToRectangle() method
  9792. - Implemented ResetBackColor() method
  9793. - Implemented ResetCursor() method
  9794. - Implemented ResetFont() method
  9795. - Implemented ResteForeColor() method
  9796. - Implemented ResetImeMode() method
  9797. - Implemented ResetLeftToRight() method
  9798. - Implemented ResetText() method
  9799. - Implemented Scale() methods
  9800. - Implemented ScaleCore() method
  9801. - Implemented Update() method
  9802. - Removed unused variables
  9803. - Stubbed AccessibilityNotifyClients and
  9804. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  9805. with those yet)
  9806. - Now setting proper default for RightToLeft property
  9807. - Fixed bug in SetClientSizeCore that would cause windows to get
  9808. really big
  9809. - Now sending Click/DoubleClick events
  9810. - Now selecting controls when left mouse button is clicked on
  9811. selectable control
  9812. * AccessibleEvents.cs: Added
  9813. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  9814. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  9815. * XplatUIWin32.cs: Implemented UpdateWindow() method
  9816. * XplatUIX11.cs: Implemented UpdateWindow() method
  9817. * Form.cs: Removed stray semicolon causing CS0162 warning
  9818. * ThemeWin32Classic.cs: Fixed unused variable warnings
  9819. * ScrollableControl.cs: Now calls base method for ScaleCore
  9820. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  9821. style to avoid interference with internal click handler (which is
  9822. different than standard Control click handling)
  9823. * RadioButton.cs:
  9824. - Now unchecks all sibling radio buttons when control is
  9825. selected (Fixes #68756)
  9826. - Removed internal tabstop variable, using the one inherited from
  9827. Control
  9828. 2005-01-17 Jackson Harper <[email protected]>
  9829. * NavigateEventArgs.cs: Fix base type.
  9830. * LinkLabel.cs: Sig fix
  9831. 2005-01-17 Jackson Harper <[email protected]>
  9832. * TreeView.cs: Only invalidate the effected nodes bounds when
  9833. selecting nodes.
  9834. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  9835. * XplatUIWin32.cs: fixes Win32 marshaling
  9836. * XplatUIX11.cs: fixes method signature
  9837. 2005-01-17 Peter Bartok <[email protected]>
  9838. * XplatUIX11.cs: Clean up resources when we no longer need them
  9839. 2005-01-17 Peter Bartok <[email protected]>
  9840. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  9841. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  9842. and DestroyCursor() methods.
  9843. * Cursor.cs: Partially implemented, now supports standard cursors;
  9844. still contains some debug code
  9845. * Cursors.cs: Implemented class
  9846. * Control.cs:
  9847. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  9848. appropriate cursor
  9849. - Implemented Cursor property
  9850. - Replaced break; with return; more straightforwar and possibly
  9851. faster
  9852. - Now properly setting the result for WM_HELP
  9853. * X11Structs.cs: Added CursorFontShape enum
  9854. * XplatUIStructs.cs:
  9855. - Added StdCursor enum (to support DefineStdCursor() method)
  9856. - Added HitTest enum (to support sending WM_SETCURSOR message)
  9857. * XplatUIX11.cs:
  9858. - Now sends the WM_SETCURSOR message
  9859. - Implemented new cursor methods
  9860. * XplatUIOSX.cs: Stubbed new cursor methods
  9861. * XplatUIWin32.cs:
  9862. - Implemented new cursor methods
  9863. - Added GetSystemMetrics function and associated enumeration
  9864. 2005-01-15 Peter Bartok <[email protected]>
  9865. * Control.cs:
  9866. - WndProc(): Now handles EnableNotifyMessage
  9867. - SelectNextControl(): Fixed bug where if no child or sibling
  9868. controls exist we looped endlessly
  9869. 2005-01-14 Jackson Harper <[email protected]>
  9870. * TreeView.cs: Recalculate the tab pages when a new one is added
  9871. so that the proper bounding rects are created.
  9872. 2005-01-14 Jackson Harper <[email protected]>
  9873. * TreeView.cs: Draw a gray box instead of a grip in the lower
  9874. right hand corner when there are both horizontal and vertical
  9875. scroll bars.
  9876. 2005-01-14 Jackson Harper <[email protected]>
  9877. * Control.cs: When erasing backgrounds use FromHwnd instead of
  9878. FromHdc when there is a NULL wparam. This occurs on the X driver.
  9879. * XplatUIX11.cs: Set the wparam to NULL.
  9880. 2005-01-13 Jackson Harper <[email protected]>
  9881. * PictureBox.cs: Implement missing methods (except ToString, need
  9882. to test that on windows) and events. When visibility is changed we
  9883. need to redraw the image because the buffers are killed. When size
  9884. is changed refresh if the sizemode needs it.
  9885. 2005-01-13 Peter Bartok <[email protected]>
  9886. * Control.cs (SelectNextControl): Was using wrong method to select
  9887. a control
  9888. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  9889. * ComboBox.cs: fixes dropstyle
  9890. 2005-01-13 Peter Bartok <[email protected]>
  9891. * Form.cs:
  9892. - Implemented Select() override
  9893. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  9894. - Now sets keyboard focus on startup
  9895. * Control.cs (SelectNextControl): Now properly handles directed=true
  9896. * TextBoxBase.cs:
  9897. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  9898. - Added (really bad) focus rectangle (mostly for testing)
  9899. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  9900. to enforce redraw on focus changes
  9901. * ContainerControl.cs:
  9902. - Fixed detection of Shift-Tab key presses
  9903. - Fixed traversal with arrow keys
  9904. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  9905. gonna keep this or if it's complete yet
  9906. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  9907. * ComboBox.cs: missing properties, fixes
  9908. 2005-01-13 Peter Bartok <[email protected]>
  9909. * Panel.cs (ctor): Setting Selectable window style to off
  9910. * Splitter.cs (ctor): Setting Selectable window style to off
  9911. * GroupBox.cs (ctor): Setting Selectable window style to off
  9912. * Label.cs (ctor): Setting Selectable window style to off
  9913. 2005-01-12 Miguel de Icaza <[email protected]>
  9914. * UpDownBase.cs (InitTimer): If the timer has been already
  9915. created, enable it.
  9916. Use a TextBox instead of a Label.
  9917. 2005-01-12 Jackson Harper <[email protected]>
  9918. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  9919. draw the connecting node lines (when ShowLines is true).
  9920. * TreeNode.cs: The nodes index can now be updated. This is used
  9921. when a node collection is sorted.
  9922. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  9923. insert or an existing unsorted node collection can be sorted.
  9924. 2005-01-12 Peter Bartok <[email protected]>
  9925. * ContainerControl.cs: Implemented ProcessDialogKeys()
  9926. 2005-01-12 Peter Bartok <[email protected]>
  9927. * Control.cs:
  9928. - Implemented SelectNextControl() method
  9929. - Several focus related bug fixes
  9930. - Fixed Docking calculations to match MS documentation and
  9931. behaviour
  9932. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  9933. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  9934. bug fixes
  9935. 2005-01-12 Peter Bartok <[email protected]>
  9936. * Control.cs:
  9937. - Fixed broken Contains() method
  9938. - Implemented GetNextControl() method. Finally. This is the pre-
  9939. requisite for focus handling.
  9940. 2005-01-12 Peter Bartok <[email protected]>
  9941. * OSXStrucs.cs: Added
  9942. 2005-01-12 Peter Bartok <[email protected]>
  9943. * XplatUIWin32.cs:
  9944. - Removed PeekMessageFlags
  9945. - Implemented SetWindowStyle() method
  9946. * XplatUIStructs.cs: Added PeekMessageFlags
  9947. * X11Structs: Added missing border_width field to XWindowChanges struct
  9948. * XplatUIX11.cs:
  9949. - PeekMessage: Now throws exception if flags which are not yet
  9950. supported are passed
  9951. - Implemented SetWindowStyle() method
  9952. - Fixed SetZOrder to handle AfterHwnd properly
  9953. * XplatUI.cs: Added SetWindowStyle() method
  9954. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  9955. * Control.cs:
  9956. - Implemented UpdateStyles() method
  9957. - Implemented UpdateZOrder() method
  9958. * XplatUIOSX.cs: Added SetWindowStyle() stub
  9959. 2005-01-12 Geoff Norton <[email protected]>
  9960. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  9961. button mouse).
  9962. 2005-01-11 Jackson Harper <[email protected]>
  9963. * TreeView.cs: Still need to draw lines to siblings even if out of
  9964. the current node is out of the clip.
  9965. 2005-01-11 Jackson Harper <[email protected]>
  9966. * TreeView.cs: When setting the hbar/vbar/grip position use
  9967. SetBounds so that perform layout is only called once. Also suspend
  9968. and resume layout so layout is only done once for all controls.
  9969. - Removed some debug fluff
  9970. * SizeGrip.cs: Call base implmentation in overriding methods.
  9971. - When visibility is changed the drawing buffers are killed so we
  9972. need to redraw.
  9973. 2005-01-11 Jackson Harper <[email protected]>
  9974. * TreeView.cs: Calculate the open node count while drawing. This
  9975. saves us an entire tree traversal for every paint operation. Use
  9976. a member var for the open node count so less vars are passed around.
  9977. 2005-01-11 John BouAntoun <[email protected]>
  9978. * MonthCalendar.cs:
  9979. - fixed selection to use mousemove, not mouse polling on timer
  9980. * ThemeWin32Classic.cs
  9981. - removed redundant unused variable "no_more_content"
  9982. 2005-01-11 Peter Bartok <[email protected]>
  9983. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  9984. are pending, so it now calls PeekMessage instead of GetMessage;
  9985. implemented a incomplete version of PeekMessage
  9986. 2005-01-11 Peter Bartok <[email protected]>
  9987. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  9988. I18n issues
  9989. * TextBoxBase.cs: Added sending of TextChanged event
  9990. 2005-01-10 Jackson Harper <[email protected]>
  9991. * TreeView.cs: Try not to draw outside the clipping rectangle on
  9992. each node element.
  9993. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  9994. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  9995. 2005-01-10 Jackson Harper <[email protected]>
  9996. * TreeView.cs:
  9997. - Implement fast scrolling. Now only the newly
  9998. exposed nodes are drawn and the old image is moved using the
  9999. XplatUI::ScrollWindow method.
  10000. - Factor in height of nodes when calculating whether or not the
  10001. node is in the clipping rect.
  10002. 2005-01-10 Jackson Harper <[email protected]>
  10003. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  10004. 2005-01-10 Peter Bartok <[email protected]>
  10005. * Application.cs: Added temporary hack to resolve all our resize
  10006. required issues on startup. This will get fixed properly at
  10007. some point in the future
  10008. 2005-01-10 Jackson Harper <[email protected]>
  10009. * SizeGrip.cs: New internal class that is used as a sizing
  10010. grip control...hence the name.
  10011. 2005-01-10 Peter Bartok <[email protected]>
  10012. * Control.cs: Implemented proper TabIndex handling, now assigning
  10013. a tabindex when a control is added to a container
  10014. * GroupBox.cs (ctor): Now sets the Container style bit, required
  10015. for Control.GetNextControl()
  10016. 2005-01-09 Jackson Harper <[email protected]>
  10017. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  10018. 2005-01-09 Peter Bartok <[email protected]>
  10019. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10020. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  10021. an overload for ScrollWindow to allow only scrolling a rectangle
  10022. 2005-01-09 Peter Bartok <[email protected]>
  10023. * Form.cs:
  10024. - Implemented SetDesktopBounds method
  10025. - Implemented SetDesktopLocation method
  10026. 2005-01-08 Jackson Harper <[email protected]>
  10027. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  10028. the node count has changed, this removes to VScroll::Refresh calls
  10029. when drawing.
  10030. 2005-01-08 Geoff Norton <[email protected]>
  10031. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  10032. 2005-01-07 Jackson Harper <[email protected]>
  10033. * TreeNode.cs: Just update the single node when it is
  10034. checked. Don't refresh after toggling, the Expand/Collapse already
  10035. handles this.
  10036. * TreeView.cs: Respect clipping a little more when drawing. Try
  10037. not to redraw things that don't need to be redrawn. Just hide the
  10038. scrollbars when they are no longer needed instead of removing
  10039. them, so they don't have to be created again and again.
  10040. 2005-01-07 Geoff Norton <[email protected]>
  10041. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  10042. coordinates to window space to place the caret properly, FIXED.
  10043. Implement GetWindowState & SetWindowState
  10044. 2005-01-06 Peter Bartok <[email protected]>
  10045. * Form.cs:
  10046. - Implemented ClientSize property
  10047. - Implemented DesktopBounds property
  10048. - Implemented DesktopLocation property
  10049. - Implemented IsRestrictedWindow property
  10050. - Implemented Size property
  10051. - Implemented TopLevel property
  10052. - Implemented FormWindowState property
  10053. * Control.cs:
  10054. - Implemented GetTopLevel() method
  10055. - Implemented SetTopLevel() method
  10056. * X11Structs.cs (Atom):
  10057. - Added AnyPropertyType definition
  10058. - Added MapState definiton and updated XWindowAttribute struct
  10059. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  10060. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  10061. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  10062. * XplatUIWin32.cs:
  10063. - Implemented GetWindowState() and SetWindowState() methods
  10064. - Fixed Win32GetWindowLong return type
  10065. * XplatUIX11.cs:
  10066. - Introduced central function for sending NET_WM messages
  10067. - Implemented GetWindowState() and SetWindowState() methods
  10068. * TextBoxBase.cs (set_Lines):
  10069. - Now uses Foreground color for text added via Text property (Duh!)
  10070. - Added code to remember programmatically requested size (fixes
  10071. behaviour when Multiline is set after Size)
  10072. - Added AutoSize logic
  10073. 2005-01-06 Jackson Harper <[email protected]>
  10074. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  10075. 2005-01-06 Jackson Harper <[email protected]>
  10076. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  10077. set to less then 0.
  10078. 2005-01-06 Jackson Harper <[email protected]>
  10079. * ScrollableControl.cs: Lazy init the scrollbars.
  10080. 2005-01-06 Jackson Harper <[email protected]>
  10081. * Theme.cs: Speed up getting pens and solid brushes, by using
  10082. their ARGB as a hash instead of tostring and not calling Contains.
  10083. 2005-01-06 Peter Bartok <[email protected]>
  10084. * Form.cs:
  10085. - Implemented OnActivated and OnDeactivate event trigger
  10086. - Implemented Activate() method
  10087. - Fixed ShowDialog() to activate the form that was active before
  10088. the dialog was shown
  10089. * XplatUIX11.cs:
  10090. - Added global active_window var that tracks the currently active
  10091. X11 window
  10092. - Now always grabs Property changes from the root window to always
  10093. catch changes on the active window property
  10094. - Added code to PropertyNotify handler to send Active/Inactive
  10095. messages when state changes. This puts X11 and Win32 en par on
  10096. WM_ACTIVATE notifications (except for double notifications when
  10097. the user clicks away from our modal window to another one of our
  10098. windows)
  10099. 2005-01-05 Jackson Harper <[email protected]>
  10100. * ImageList.cs: Implment ctor
  10101. 2005-01-05 Geoff Norton <[email protected]>
  10102. * XplatUIOSX.cs: Implement Activate/SetTopmost
  10103. 2005-01-05 Geoff Norton <[email protected]>
  10104. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  10105. 2005-01-05 Geoff Norton <[email protected]>
  10106. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  10107. 2005-01-05 Peter Bartok <[email protected]>
  10108. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  10109. XplatUIOSX.cs: Added GetActive method to return the currently
  10110. active window for the application (or null, if none is active)
  10111. * Form.cs:
  10112. - Implemented ActiveForm
  10113. - Commented out owner assignment for modal dialogs (causes problems
  10114. on Win32, since the owner will be disabled)
  10115. - Reworked some Active/Focus handling (still incomplete)
  10116. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  10117. (causes problems on Win32, since the owner will be disabled)
  10118. * IWin32Window: Added ComVisible attribute
  10119. 2005-01-05 Peter Bartok <[email protected]>
  10120. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  10121. required XplatUI functions.
  10122. 2005-01-05 Peter Bartok <[email protected]>
  10123. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  10124. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  10125. to implement focus and activation handling; still incomplete and
  10126. with debug output
  10127. 2005-01-04 Peter Bartok <[email protected]>
  10128. * TextBoxBase.cs: Changed access level for Document property to
  10129. match switch to internal for TextControl
  10130. 2005-01-04 Peter Bartok <[email protected]>
  10131. * AccessibleObject: Added ComVisible attribute
  10132. 2005-01-04 Jackson Harper <[email protected]>
  10133. * X11Keyboard.cs: Remove unneeded var.
  10134. 2005-01-04 Jackson Harper <[email protected]>
  10135. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  10136. but PAINT.
  10137. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  10138. ClientMessage. This makes apps exit cleanly (more often).
  10139. 2005-01-04 Jackson Harper <[email protected]>
  10140. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  10141. handling focus, return correct colors and fonts,
  10142. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  10143. handle selection, horizontal scrolling, and mouse interaction.
  10144. 2005-01-04 Peter Bartok <[email protected]>
  10145. * ICommandExecutor.cs: Added
  10146. * IDataGridColumnStyleEditingNotificationService.cs: Added
  10147. * IFeatureSupport.cs: Added
  10148. * IFileReaderService.cs: Added
  10149. * IDataObject.cs: Added ComVisible attribute
  10150. * AmbientProperties.cs: Added
  10151. * BaseCollection.cs: Added missing attributes
  10152. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  10153. * BaseCollection.cs: Added missing attributes
  10154. * Binding.cs: Added TypeConverter attribute
  10155. * BindingContext.cs: Added DefaultEvent attribute
  10156. * BindingsCollection.cs: Added DefaultEvent attribute
  10157. * Button.cs: Added DefaultValue attribute
  10158. * DragEventArgs.cs: Added ComVisible attribute
  10159. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  10160. * KeyEventArgs.cs: Added ComVisible attribute
  10161. * KeyPressEventArgs.cs: Added ComVisible attribute
  10162. * MouseEventArgs.cs: Added ComVisible attribute
  10163. * NavigateEventArgs.cs: Added
  10164. * NavigateEventHandler.cs: Added
  10165. * FeatureSupport.cs: Added
  10166. * OSFeature.cs: Added
  10167. * Theme.cs: Added abstract Version property to support OSFeature
  10168. * ThemeWin32Classic.cs: Added Version property to
  10169. support OSFeature.Themes
  10170. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  10171. the proper styles to avoid background drawing are set, also doesn't
  10172. match MS signature
  10173. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  10174. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  10175. * ScrollEventArgs.cs: Added ComVisible attribute
  10176. * SplitterEventArgs.cs: Added ComVisible attribute
  10177. * AccessibleSelection.cs: Added Flags attribute
  10178. * Appearance.cs: Added ComVisible attribute
  10179. * Border3DSide.cs: Added ComVisible attribute
  10180. * Border3DStyle.cs: Added ComVisible attribute
  10181. * BorderStyle.cs: Added ComVisible attribute
  10182. * DragAction.cs: Added ComVisible attribute
  10183. * ErrorBlinkStyle.cs: Added
  10184. * ScrollEventType.cs: Added ComVisible attribute
  10185. * AnchorStyles.cs: Added Editor attribute
  10186. * DockStyle.cs: Added Editor attribute
  10187. * HorizontalAlignment.cs: Added ComVisible attribute
  10188. * HelpEventArgs.cs: Added ComVisible attribute
  10189. * PaintEventArgs.cs: Added IDisposable
  10190. 2005-01-04 Peter Bartok <[email protected]>
  10191. * TextControl.cs: Switched Line, LineTag and Document classes to
  10192. internal
  10193. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  10194. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  10195. Simple mode, fixes, IntegralHeight, etc.
  10196. 2005-01-04 Peter Bartok <[email protected]>
  10197. * TextBoxBase.cs: Using proper font variable now
  10198. 2005-01-04 Peter Bartok <[email protected]>
  10199. * Form.cs (ShowDialog): Set parent to owner, if provided
  10200. * GroupBox.cs: Removed unused vars
  10201. * TextControl.cs:
  10202. - Added GetHashCode() for Document and LineTag classes
  10203. - Removed unused variables
  10204. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  10205. to allow translation between continuous char position and line/pos
  10206. * CheckBox.cs: Removed vars that are provided by base class
  10207. * RadioButton.cs: Removed vars that are provided by base class, added
  10208. new keyword where required
  10209. * LinkLabel.cs: Added new keyword where required
  10210. * Control.cs (WndProc): Removed unused variable
  10211. * TextBoxBase.cs:
  10212. - Finished SelectionLength property
  10213. - Implemented SelectionStart property
  10214. - Implemented Text property
  10215. - Removed unused vars
  10216. * MessageBox.cs: Added new keyword where required
  10217. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  10218. WndProc signature
  10219. * MenuAPI.cs: Added new keyword where required
  10220. * ButtonBase.cs: Removed vars that are provided by base class, added
  10221. new keyword where required
  10222. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  10223. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  10224. into this)
  10225. * Application.cs (Run): Now triggers the ThreadExit event
  10226. * CommonDialog.cs: Added new keyword where required; now properly sets
  10227. parent (owner) for dialog
  10228. * XplatUIX11.cs: Commented out unused vars
  10229. * StatusBar.cs: Fixed signature for Text property
  10230. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  10231. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  10232. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  10233. TrackBar.cs, MonthCalendar.cs: remove unused vars
  10234. 2005-01-03 Jackson Harper <[email protected]>
  10235. * ThemeWin32Classic.cs:
  10236. * X11Keyboard.cs: Remove unused vars.
  10237. 2005-01-03 Peter Bartok <[email protected]>
  10238. * TextBox.cs:
  10239. - set_Text: Tied into TextControl
  10240. - set_TextAlignment: Tied into TextControl
  10241. * TextControl.cs:
  10242. - Added alignment properties and implemented alignment handling
  10243. and drawing (still has a bug, not generating proper expose events)
  10244. - Added new Line() constructor to allow passing the line alignment
  10245. - Fixed selection setting, properly handling end<start now
  10246. - Added aligment considerations to RecalculateDocument()
  10247. * TextBoxBase.cs:
  10248. - Now properly enforces control height for single line controls
  10249. - Added support for CharacterCasing
  10250. - Added IsInputKey override
  10251. - Fixed Keys.Enter logic
  10252. - Added SetBoundsCore override
  10253. - Fixed mouse selection handling
  10254. 2005-01-03 Jackson Harper <[email protected]>
  10255. * TreeView.cs:
  10256. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  10257. - Checkboxes are always aligned to the bottom of the node,
  10258. regardless of item height.
  10259. - Use the node bounds to draw the text so we can center it when
  10260. the item height is greater then the font height.
  10261. - Node::Bounds are only the text part of the node.
  10262. * TreeNode.cs: New method to combine collapsing and unchecking all
  10263. nodes recursively.
  10264. 2005-01-02 Jackson Harper <[email protected]>
  10265. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  10266. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  10267. tree when a check is changed. TODO: Only refresh the checked node.
  10268. 2004-12-30 Jackson Harper <[email protected]>
  10269. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  10270. * TreeNode.cs: When collapsing make sure to never collapse the
  10271. root node.
  10272. 2004-12-29 Jackson Harper <[email protected]>
  10273. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  10274. 2004-12-28 Zoltan Varga <[email protected]>
  10275. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  10276. 2004-12-28 Peter Bartok <[email protected]>
  10277. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  10278. not yet assigned
  10279. 2004-12-28 Peter Bartok <[email protected]>
  10280. * Control.cs (WndProc): Added WM_HELP handler, now generates
  10281. HelpRequested event
  10282. * Form.cs: Added HelpButton property and required support code
  10283. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  10284. 2004-12-28 Peter Bartok <[email protected]>
  10285. * CommonDialog.cs:
  10286. - Made DialogForm.owner variable internal
  10287. - Added check to ensure owner form is set before setting
  10288. owner properties in CreateParams
  10289. 2004-12-28 Geoff Norton <[email protected]>
  10290. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  10291. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  10292. GetCursorPos. Fix major visibility issues. Rework the windowing
  10293. system to support borderless/titleless windows (implements menus).
  10294. Fix GetWindowPos. Implement initial background color support for
  10295. views.
  10296. 2004-12-28 Peter Bartok <[email protected]>
  10297. * Form.cs (get_CreateParams): Make sure we have an owner before using
  10298. the owner variable. Implement proper default if no owner exists
  10299. 2004-12-28 Peter Bartok <[email protected]>
  10300. * In preparation for making Managed.Windows.Forms the default build target
  10301. for System.Windows.Forms, the following stubbed files were added.
  10302. Dialogs are currently being implemented by contributors and are only
  10303. short-term place holders.
  10304. * ColorDialog.cs: Initial check-in (minmal stub)
  10305. * DataGrid.cs: Initial check-in (minimal stub)
  10306. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  10307. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  10308. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  10309. * FontDialog.cs: Initial check-in (minimal stub)
  10310. * FileDialog.cs: Initial check-in (minimal stub)
  10311. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  10312. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  10313. * OpenFileDialog: Initial check-in (minimal stub)
  10314. * IComponentEditorPageSite.cs: Initial check-in
  10315. * Splitter.cs: Initial check-in (for Jackson)
  10316. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  10317. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  10318. * TextBox.cs: Initial check-in; still needs some wiring to
  10319. TextControl backend
  10320. * Form.cs: Implemented ControlBox property
  10321. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  10322. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  10323. * TextControl.cs: Added selection functionality; added todo header
  10324. * TextBoxBase.cs:
  10325. - Implemented Lines property
  10326. - Implemented TextHeight property
  10327. - Implemented SelectedText property
  10328. - Implemented SelectionLength property
  10329. - Implemented SelectAll method
  10330. - Implemented ToString method
  10331. - Removed and cleaned up some debug code
  10332. - Implemented (still buggy) mouse text selection
  10333. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  10334. * ComboBox.cs: Complete DropDownList implementation, fixes.
  10335. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  10336. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  10337. * ComboBoxStyle.cs: ComboBoxStyle enum
  10338. * ComboBox.cs: Initial work on ComboBox control
  10339. 2004-12-21 Peter Bartok <[email protected]>
  10340. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  10341. forward so that anything that creates a window gets the default,
  10342. also no longer uses Visible property in CreateParams to avoid
  10343. walking up the parent chain and possibly get the wrong visible
  10344. status. Fixed IsVisible to no longer walk up to the parent.
  10345. 2004-12-21 Peter Bartok <[email protected]>
  10346. * Form.cs (ShowDialog): Unset modality for the proper window
  10347. 2004-12-20 Peter Bartok <[email protected]>
  10348. * CommonDialog.cs: Initial check-in
  10349. 2004-12-20 Peter Bartok <[email protected]>
  10350. * Control.cs (Visible): Now uses the parent window instead of the
  10351. client area window for the property
  10352. * Form.cs
  10353. - ShowDialog(): Now uses the proper window for modality
  10354. - The default visibility state for the form parent is now false. This
  10355. will prevent the user from seeing all the changes to the form and
  10356. its controls before the application hits Application.Run()
  10357. - Removed some stale commented out code
  10358. * NativeWindow.cs:
  10359. - Added FindWindow() method to have a method to check for existence
  10360. of a window handle
  10361. - Added ability to override default exception handling (for example
  10362. when debugging with VS.Net; to do this the ExternalExceptionHandler
  10363. define must be set
  10364. - Removed some useless debug output
  10365. * XplatUIX11.cs:
  10366. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  10367. not working as expected
  10368. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  10369. property to allow switching back to the modal window if focus is
  10370. given to another one of our windows (Application Modal)
  10371. - Now only sets override_redirect if we create a window
  10372. without WS_CAPTION
  10373. - Moved EventMask selection before mapping of newly created window
  10374. so we can catch the map event as well
  10375. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  10376. - Added various Atom related DllImports
  10377. - Implemented Exit() method
  10378. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  10379. in the CreateParams
  10380. * MessageBox.cs: Now properly deals with the FormParent window by
  10381. providing an override the FormParent CreateParams property to
  10382. set as POPUP instead of OVERLAPPED window.
  10383. 2004-12-19 Geoff Norton <[email protected]>
  10384. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  10385. Minor code cleanup.
  10386. 2004-12-19 Geoff Norton <[email protected]>
  10387. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  10388. 2004-12-18 Peter Bartok <[email protected]>
  10389. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  10390. implementing SetModal() method
  10391. 2004-12-18 Peter Bartok <[email protected]>
  10392. * X11Structs.cs (XGCValues): Fixed type of function element
  10393. * XplatUI.cs: Added ScrollWindow() method
  10394. * XplatUIDriver.cs: Added ScrollWindow() abstract
  10395. * XplatUIWin32.cs: Implemented ScrollWindow() method
  10396. * XplatUIX11.cs: Implemented ScrollWindow() method
  10397. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  10398. 2004-12-17 Geoff Norton <[email protected]>
  10399. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  10400. Some more keyboard support (INCOMPLETE)
  10401. 2004-12-17 Peter Bartok <[email protected]>
  10402. * TextControl.cs:
  10403. - Added color attribute to line tags.
  10404. - Added color argument to all functions dealing with tags
  10405. - Added color argument support to various functions
  10406. - Fixed miss-calculation of baseline/shift in certain circumstances
  10407. * TextBoxBase.cs: Added new color option to test code
  10408. 2004-12-17 Jackson Harper <[email protected]>
  10409. * TreeNode.cs:
  10410. * MonthCalendar.cs: Signature fixes
  10411. 2004-12-17 Geoff Norton <[email protected]>
  10412. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  10413. keyboard event moved it. Create a new graphics context for each paint resolves this
  10414. 2004-12-17 Geoff Norton <[email protected]>
  10415. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  10416. Make caret exist and go blink blink. Initial keyboard support.
  10417. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  10418. works.
  10419. 2004-12-17 Jackson Harper <[email protected]>
  10420. * XplatUIStructs.cs: Updated set of virtual keycodes.
  10421. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  10422. 2004-12-17 Jackson Harper <[email protected]>
  10423. * XplatUIX11.cs: Prune old keyboard code.
  10424. 2004-12-17 Jackson Harper <[email protected]>
  10425. * XplatUIX11.cs: When generating mouse wparams get the modifier
  10426. keys from the ModifierKeys property.
  10427. 2004-12-17 Jackson Harper <[email protected]>
  10428. * X11Keyboard.cs: Send up/down input when generating
  10429. messages. Remove some unused vars.
  10430. 2004-12-17 Jackson Harper <[email protected]>
  10431. * TabControl.cs:
  10432. * TreeView.cs: get rid of warnings.
  10433. 2004-12-17 Jackson Harper <[email protected]>
  10434. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  10435. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  10436. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  10437. CheckedListBox.cs: Implementation
  10438. 2004-12-17 Peter Bartok <[email protected]>
  10439. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  10440. 2004-12-16 Peter Bartok <[email protected]>
  10441. * TextControl.cs:
  10442. - InsertCharAtCaret(): Fixed start pos fixup
  10443. - CaretLine_get: No longer derives the line from the tag, the tag
  10444. could be stale if lines in the document have been added or deleted
  10445. - RebalanceAfterDelete(): Fixed bug in balancing code
  10446. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  10447. - Line.Streamline(): Now can also elminate leading empty tags
  10448. - DumpTree(): Added a few more tests and prevented exception on
  10449. uninitialized data
  10450. - Added Debug section for Combining lines
  10451. - Delete(): Now copies all remaining properties of a line
  10452. * TextBoxBase.cs:
  10453. - Left mousebutton now sets the caret (and middle button still acts
  10454. as formatting tester, which must go away soon)
  10455. - Added Debug section for Deleting/Combining lines
  10456. - Fixed calculations for UpdateView after Combining lines
  10457. 2004-12-16 Peter Bartok <[email protected]>
  10458. * TextControl.cs: Now properly aligns text on a baseline, using the
  10459. new XplatUI.GetFontMetrics() method. Simplified several calculations
  10460. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  10461. defined
  10462. 2004-12-16 Peter Bartok <[email protected]>
  10463. * XplatUI.cs: Added GetFontMetrics() method
  10464. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  10465. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  10466. into libgdiplus, our private GetFontMetrics function
  10467. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  10468. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  10469. 2004-12-16 Jackson Harper <[email protected]>
  10470. * XplatUIStruct.cs: Add enum for dead keys
  10471. * X11Keyboard.cs: Map and unmap dead keys.
  10472. 2004-12-16 Jackson Harper <[email protected]>
  10473. * X11Keyboard.cs: Detect and use the num lock mask.
  10474. 2004-12-16 Peter Bartok <[email protected]>
  10475. * Control.cs (CreateGraphics): Added check to make sure the
  10476. handle of the window exists before calling Graphics.FromHwnd()
  10477. 2004-12-16 Peter Bartok <[email protected]>
  10478. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  10479. contains a lot of code that's not supposed to be there for the
  10480. real thing, but required for developing/testing the textbox
  10481. backend.
  10482. 2004-12-16 Peter Bartok <[email protected]>
  10483. * TextControl.cs:
  10484. - Fixed Streamline method
  10485. - Added FindTag method to Line
  10486. - Added DumpTree method for debugging
  10487. - Added DecrementLines() method for deleting lines
  10488. - Fixed UpdateView to update the cursor to end-of-line on single-line
  10489. updates
  10490. - Added PositionCaret() method
  10491. - Fixed MoveCaret(LineDown) to move into the last line, too
  10492. - Added InsertChar overload
  10493. - Fixed InsertChar tag offset calculations
  10494. - Added DeleteChar() method
  10495. - Added Combine() method for folding lines
  10496. - Fixed Delete() method, no longer allocates wasted Line object and
  10497. now copies all properties when swapping nodes
  10498. - Delete() method now updates document line counter
  10499. 2004-12-15 Jackson Harper <[email protected]>
  10500. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  10501. * X11Keyboard.cs: Expose the currently selected modifier keys
  10502. through a property.
  10503. 2004-12-15 Peter Bartok <[email protected]>
  10504. * TextControl.cs: Initial check-in. Still incomplete
  10505. 2004-12-15 Jackson Harper <[email protected]>
  10506. * TreeNode.cs:
  10507. * TreeView.cs: Fix build on csc (second time today ;-))
  10508. 2004-12-15 Jackson Harper <[email protected]>
  10509. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  10510. is calculated and use this for click testing.
  10511. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  10512. 2004-12-15 Jackson Harper <[email protected]>
  10513. * TreeView.cs: Pass the nodes image index to the image list when
  10514. drawing that image.
  10515. 2004-12-15 Jackson Harper <[email protected]>
  10516. * X11Keyboard.cs: Set messages hwnd.
  10517. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  10518. post_message calls.
  10519. 2004-12-15 Jackson Harper <[email protected]>
  10520. * X11Keyboard.cs: Fix to compile with csc.
  10521. 2004-12-15 Jackson Harper <[email protected]>
  10522. * X11Structs.cs: Add key mask values
  10523. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  10524. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  10525. down/up foo into WM_CHAR foo
  10526. * KeyboardLayouts.cs: Common keyboard layouts
  10527. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  10528. post messages into the main queue.
  10529. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  10530. * Button.cs: implement ProcessMnemonic
  10531. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  10532. brushes everytime
  10533. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  10534. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  10535. 2004-12-12 John BouAntoun <[email protected]>
  10536. * MonthCalendar.cs: Implemented click-hold for next/previous month
  10537. and date selection
  10538. 2004-12-11 Peter Bartok <[email protected]>
  10539. * X11Structs.cs:
  10540. - Added XKeyboardState (moved from XplatUIX11.cs)
  10541. - Added XCreateGC related enums and structures
  10542. - Added GXFunction for XSetFunction
  10543. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  10544. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  10545. CaretVisible() calls
  10546. * ToolTip.cs: Added code to prevent stealing focus from app windows
  10547. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  10548. DestroyCaret, SetCaretPos and CaretVisible)
  10549. * XplatUIX11.cs:
  10550. - Added implementation for caret functions
  10551. - Moved hover variables into a struct, to make it a bit easier
  10552. on the eyes and to debug
  10553. - Removed XKeyboardState (moved to XplatUIX11.cs)
  10554. - Moved Keyboard properties into the properties region
  10555. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  10556. call to get a graphics context for our control
  10557. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  10558. * TreeView.cs: Fixed bug. No matter what color was set it would always
  10559. return SystemColors.Window
  10560. * XplatUIWin32.cs: Implemented caret overrides
  10561. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  10562. * ListBox.cs: fire events, implement missing methods and properties,
  10563. sorting.
  10564. 2004-12-10 John BouAntoun <[email protected]>
  10565. * MonthCalendar.cs: invalidation bug fixing
  10566. * ThemeWin32Classic.cs: paint fixing
  10567. 2004-12-09 Geoff Norton <[email protected]>
  10568. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  10569. prepare the CGContextRef there now.
  10570. 2004-12-09 John BouAntoun <[email protected]>
  10571. * MonthCalendar.cs:
  10572. - optimisationL only invalidate areas that have changed
  10573. * ThemeWin32Classic.cs:
  10574. - only paint parts that intersect with clip_area
  10575. 2004-12-09 Peter Bartok <[email protected]>
  10576. * Application.cs: Undid changes from r37004 which cause problems
  10577. on X11
  10578. 2004-12-09 Ravindra <[email protected]>
  10579. * ToolBar.cs: Added support for displaying ContextMenu
  10580. attached to a button on ToolBar.
  10581. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  10582. property.
  10583. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  10584. * Label.cs: autosize works in text change and removes unnecessary
  10585. invalidate
  10586. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  10587. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  10588. remove warnings
  10589. 2004-12-08 Geoff Norton <[email protected]>
  10590. * XplatUIOSX.cs: Added mouse move/click/grab support
  10591. Remove some debugging WriteLines not needed anymore.
  10592. Add window resizing/positioning.
  10593. Fix visibility on reparenting.
  10594. 2004-12-08 Peter Bartok <[email protected]>
  10595. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  10596. 2004-12-07 Geoff Norton <[email protected]>
  10597. * XplatUIOSX.cs: Initial checkin
  10598. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  10599. 2004-12-03 Ravindra <[email protected]>
  10600. * ListView.cs: Added some keybindings and fixed scrolling.
  10601. ScrollBars listen to ValueChanged event instead of Scroll
  10602. Event. This would let us take care of all changes being
  10603. done in the scrollbars' values programmatically or manually.
  10604. * ListView.cs (CanMultiselect): Added a check for shift key.
  10605. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  10606. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  10607. of ListViewSubItemCollection as well.
  10608. 2004-12-06 Peter Bartok <[email protected]>
  10609. * Control.cs (Parent): Added check and exception to prevent
  10610. circular parenting
  10611. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  10612. * ListBox.cs: implemented clipping, selection single and multiple,
  10613. bug fixing
  10614. 2004-12-03 Ravindra <[email protected]>
  10615. * ListView.cs (ListView_KeyDown):
  10616. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  10617. when CTRL key is pressed.
  10618. * ListViewItem.cs (Selected): Fixed setting the property.
  10619. 2004-12-03 Marek Safar <[email protected]>
  10620. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  10621. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  10622. MinimizeBox, ShowInTaskbar, TopMost properties.
  10623. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  10624. will be implemented).
  10625. 2004-12-03 Marek Safar <[email protected]>
  10626. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  10627. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  10628. tests.
  10629. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  10630. * TreeView.cs: BackColor is Colors.Window.
  10631. 2004-12-01 Jackson Harper <[email protected]>
  10632. * TreeView.cs: When resizing the tree if the user is making it
  10633. smaller we don't get expose events, so we need to handle adding
  10634. the horizontal scrollbar in the size changed handler as well as
  10635. the expose handler.
  10636. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  10637. * DrawItemState.cs: fixes wrong enum values
  10638. 2004-12-01 Jackson Harper <[email protected]>
  10639. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  10640. 2004-12-01 Jackson Harper <[email protected]>
  10641. * NodeLabelEditEventArgs.cs:
  10642. * NodeLabelEditEventHandler.cs:
  10643. * OpenTreeNodeEnumerator.cs:
  10644. * TreeNode.cs:
  10645. * TreeNodeCollection.cs:
  10646. * TreeView.cs:
  10647. * TreeViewAction.cs:
  10648. * TreeViewCancelEventArgs.cs:
  10649. * TreeViewCancelEventHandler.cs:
  10650. * TreeViewEventArgs.cs:
  10651. * TreeViewEventHandler.cs: Initial implementation.
  10652. 2004-12-01 Ravindra <[email protected]>
  10653. * ListView.cs (CalculateListView): Fixed scrolling related
  10654. calculations. Also, removed some debug statements from other
  10655. places.
  10656. * ListViewItem.cs: Changed access to 'selected' instance variable
  10657. from private to internal.
  10658. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  10659. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  10660. * ThemeWin32Classic.cs: remove cache of brush and pens for
  10661. specific controls and use the global system, fixes scrollbutton
  10662. bugs (for small sizes, disabled, etc)
  10663. * ScrollBar.cs: does not show the thumb for very small controls
  10664. (as MS) and allow smaller buttons that the regular size
  10665. 2004-12-01 Miguel de Icaza <[email protected]>
  10666. * UpDownBase.cs: Add abstract methods for the interface.
  10667. Add new virtual methods (need to be hooked up to TextEntry when it
  10668. exists).
  10669. Add override methods for most features.
  10670. Computes the size, forces the height of the text entry.
  10671. * NumericUpDown.cs: Put here the current testing code.
  10672. * Set eol-style property on all files that do not have mixed line
  10673. endings, to minimize the future problems. There are still a few
  10674. files with mixed endings, and someone should choose whether they
  10675. want to move it or not.
  10676. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  10677. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  10678. System.Colors
  10679. 2004-11-30 Ravindra <[email protected]>
  10680. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  10681. drawing and replaced use of SystemColors by theme colors.
  10682. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  10683. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  10684. same ListViewItem is being added more than once.
  10685. 2004-11-30 John BouAntoun <[email protected]>
  10686. * MonthCalendar.cs:
  10687. - ControlStyles love to make the control not flicker
  10688. 2004-11-30 Peter Bartok <[email protected]>
  10689. * CharacterCasing.cs: Added
  10690. 2004-11-29 Peter Bartok <[email protected]>
  10691. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  10692. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  10693. I am removing these files as they conflict with already completed
  10694. work. While it is fantastic to get contributions to MWF, I
  10695. respectfully ask that everyone please coordinate their contributions
  10696. through mono-winforms-list or #mono-winforms at this time. We're
  10697. explicitly avoiding stubbing and don't want controls that don't have
  10698. their basic functionality implemented in svn. Please also see
  10699. http://www.mono-project.com/contributing/winforms.html
  10700. 2004-11-29 Marek Safar <[email protected]>
  10701. * Application.cs (ModalRun): Don't hang after exit.
  10702. * Theme.cs: New TreeViewDefaultSize property.
  10703. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  10704. with less hardcoded SystemColors constant.
  10705. Implemented TreeViewDefaultSize.
  10706. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  10707. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  10708. 2004-11-29 John BouAntoun <[email protected]>
  10709. * MonthCalendar.cs:
  10710. - Fix NextMonthDate and PrevMonthDate click moving calendar
  10711. 2004-11-26 John BouAntoun <[email protected]>
  10712. * MonthCalendar.cs:
  10713. - Fix usage of ScrollChange Property when scrolling months
  10714. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  10715. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  10716. - Fixes menu destroying
  10717. - Support adding and removing items on already created menus
  10718. 2004-11-26 John BouAntoun <[email protected]>
  10719. * MonthCalendar.cs:
  10720. - Re-worked all bolded dates handling to match win32
  10721. * ThemeWin32Classic.cs:
  10722. - Fixed rendering with bolded dates
  10723. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  10724. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  10725. - Horizontal scroolbar
  10726. - Multicolumn
  10727. - Fixes
  10728. 2004-11-25 John BouAntoun <[email protected]>
  10729. * MonthCalendar.cs:
  10730. - Fix Usage of MaxSelectionCount from SelectionRange
  10731. - Fixed Shift + Cursor Selection
  10732. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  10733. - Fixed normal cursor selection to be compat with win32
  10734. - Fixed Shift + Mouse Click selection
  10735. 2004-11-24 Peter Bartok <[email protected]>
  10736. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  10737. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  10738. * XplatUIX11.cs:
  10739. - CreatedKeyBoardMsg now updates keystate with Alt key
  10740. - Added workaround for timer crash to CheckTimers, Jackson will
  10741. develop a proper fix and check in later
  10742. - Implemented DispatchMessage
  10743. - Removed calling the native window proc from GetMessage (call
  10744. now moved to DispatchMessage)
  10745. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  10746. the keydata (Fixes bug #69831)
  10747. * XplatUIWin32.cs:
  10748. - (DispatchMessage): Switched to return IntPtr
  10749. - Added DllImport for SetFocus
  10750. 2004-11-24 Ravindra <[email protected]>
  10751. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  10752. background drawing.
  10753. * ListViewItem.cs: Fixed various properties, calculations
  10754. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  10755. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  10756. and some internal properties. Fixed MouseDown handler and Paint
  10757. method.
  10758. 2004-11-24 John BouAntoun <[email protected]>
  10759. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  10760. 2004-11-24 John BouAntoun <[email protected]>
  10761. * ContainerControl.cs: correct accidental check in of local changes
  10762. 2004-11-24 John BouAntoun <[email protected]>
  10763. * ThemeWin32Classic.cs:
  10764. - Fixed Drawing Last month in grid (sometimes not showing)
  10765. * MonthCalendar.cs:
  10766. - Fixed title width calculation bug (makeing title small)
  10767. 2004-11-23 Peter Bartok <[email protected]>
  10768. * XplatUIX11.cs:
  10769. - Added generation of WM_MOUSEHOVER event
  10770. - Added missing assignment of async_method atom
  10771. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  10772. 2004-11-23 John BouAntoun <[email protected]>
  10773. * ThemeWin32Classic.cs:
  10774. - Fixed Drawing of today circle when showtodaycircle not set
  10775. - fixed drawing of first and last month in the grid (gay dates)
  10776. * MonthCalendar.cs:
  10777. - Fixed Drawing of today circle
  10778. - Fixed drawing of grady dates
  10779. - Fixed HitTest for today link when ShowToday set to false
  10780. - Fixed DefaultSize to obey ShowToday
  10781. 2004-11-23 John BouAntoun <[email protected]>
  10782. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  10783. * System.Windows.Forms/Theme.cs
  10784. * MonthCalendar.cs: added for MonthCalendar
  10785. * SelectionRange.cs: added for MonthCalendar
  10786. * Day.cs: added for MonthCalendar: added for MonthCalendar
  10787. * DateRangeEventArgs.cs: added for MonthCalendar
  10788. * DateRangeEventHandler.cs: added for MonthCalendar
  10789. 2004-11-22 Ravindra <[email protected]>
  10790. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  10791. property.
  10792. 2004-11-22 Miguel de Icaza <[email protected]>
  10793. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  10794. event handler.
  10795. * NumericUpDown.cs: Added new implementation.
  10796. * UpDownBase.cs: Added new implementation.
  10797. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  10798. implementations.
  10799. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  10800. implementations.
  10801. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  10802. methods.
  10803. 2004-11-21 Miguel de Icaza <[email protected]>
  10804. * Timer.cs (Dispose): Should call the base dispose when
  10805. overriding.
  10806. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  10807. * ScrollBar.cs: updates thumb position when max, min or increment
  10808. is changed
  10809. 2004-11-21 Ravindra <[email protected]>
  10810. * ListView.cs: Implemented item selection, activation and
  10811. column header style. Fixed properties to do a redraw, if
  10812. required. Added support for MouseHover, DoubleClick, KeyDown
  10813. and KeyUp event handling and some minor fixes.
  10814. * ListViewItem.cs: Fixed constructor.
  10815. * ThemeWin32Classic.cs: Improved drawing for ListView.
  10816. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  10817. * ThemeWin32Classic.cs: initial listbox drawing code
  10818. * DrawMode.cs: new enumerator
  10819. * ListControl.cs: stubbed class
  10820. * ListBox.cs: initial implementation
  10821. * Theme.cs: new methods definitions
  10822. * SelectionMode.cs: new enumerator
  10823. 2004-11-17 Peter Bartok <[email protected]>
  10824. * XplatUIWin32.cs: Added double-click events to the class style
  10825. * Control.cs (WndProc):
  10826. - Added handling of click-count to MouseDown/ MouseUp events.
  10827. - Added handling of middle and right mouse buttons
  10828. - Removed old debug code
  10829. 2004-11-17 Jackson Harper <[email protected]>
  10830. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  10831. 2004-11-17 Ravindra <[email protected]>
  10832. * ListView.cs: Added event handling for MouseMove/Up/Down.
  10833. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  10834. * ThemeWin32Classic.cs: We need to clear the graphics context and
  10835. draw column header in a proper state.
  10836. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  10837. * Menu.cs: fixes signature
  10838. 2004-11-16 Peter Bartok <[email protected]>
  10839. * XplatUIX11.cs (GetMessage): Implemented generation of
  10840. double click mouse messages
  10841. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  10842. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  10843. not by menu
  10844. 2004-11-11 Peter Bartok <[email protected]>
  10845. * HandleData.cs: Added Visible property
  10846. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  10847. HandleData
  10848. * XplatUIX11.cs: Removed old debug leftovers
  10849. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  10850. * Control.cs (WndProc): Removed old debug leftovers,
  10851. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  10852. needed WM_SIZE handling
  10853. 2004-11-11 Jackson Harper <[email protected]>
  10854. * OwnerDrawPropertyBag.cs:
  10855. * TreeViewImageIndexConverter.cs: Initial implementation
  10856. 2004-11-10 Jackson Harper <[email protected]>
  10857. * ThemeWin32Classic.cs:
  10858. * TabControl.cs: instead of moving tabs by the slider pos just
  10859. start drawing at the tab that is offset by the slider. This way
  10860. scrolling always moves by exactly one tab.
  10861. 2004-11-10 Jackson Harper <[email protected]>
  10862. * TabControl.cs: You can only scroll left when the slider has
  10863. already ben moved right.
  10864. 2004-11-10 Jackson Harper <[email protected]>
  10865. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  10866. the clip area.
  10867. 2004-11-10 Jackson Harper <[email protected]>
  10868. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  10869. clip area.
  10870. 2004-11-09 Jackson Harper <[email protected]>
  10871. * TabControl.cs (CalcXPos): New helper method so we can determine
  10872. the proper place to start drawing vertical tabs.
  10873. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  10874. 2004-11-09 Jackson Harper <[email protected]>
  10875. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  10876. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  10877. and Bottom, left and right are illegal values for this and
  10878. multiline is enabled when the alignment is set to left or right.
  10879. (DrawTab): Each alignment block should draw the text itself now
  10880. because Left requires special love. Also add rendering for Left
  10881. aligned tabs.
  10882. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  10883. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  10884. does not destroy the windows, removes debugging messages
  10885. 2004-11-09 jba <[email protected]>
  10886. * ThemeWin32Classic.cs
  10887. (DrawButtonBase): Fix verticle text rect clipping in windows
  10888. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  10889. rendering and incorrect text rect clipping
  10890. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  10891. rendering and incorrect text rect clipping
  10892. 2004-11-08 Jackson Harper <[email protected]>
  10893. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  10894. bottom when they are bottom aligned so the bottoms of the tabs get
  10895. displayed.
  10896. * TabControl.cs (DropRow): Move rows up instead of down when the
  10897. tab control is bottom aligned.
  10898. 2004-11-08 13:59 pbartok
  10899. * XplatUIX11.cs:
  10900. - Added handling for various window styles
  10901. - Added handling for popup windows
  10902. - Added SetTopmost handling
  10903. 2004-11-08 13:55 pbartok
  10904. * XplatUIWin32.cs:
  10905. - Added argument to SetTopmost method
  10906. - Fixed broken ClientToScreen function
  10907. 2004-11-08 13:53 pbartok
  10908. * XplatUIStructs.cs:
  10909. - Added missing WS_EX styles
  10910. 2004-11-08 13:53 pbartok
  10911. * XplatUI.cs, XplatUIDriver.cs:
  10912. - Added argument to SetTopmost
  10913. 2004-11-08 13:52 pbartok
  10914. * X11Structs.cs:
  10915. - Added XSetWindowAttributes structure
  10916. - Improved XWindowAttributes structure
  10917. - Added SetWindowValuemask enum
  10918. - Added window creation arguments enum
  10919. - Added gravity enum
  10920. - Added Motif hints structure
  10921. - Added various Motif flags and enums
  10922. - Added PropertyMode enum for property functions
  10923. 2004-11-08 13:50 pbartok
  10924. * Form.cs:
  10925. - Fixed arguments for updated SetTopmost method
  10926. 2004-11-08 13:49 pbartok
  10927. * ToolTip.cs:
  10928. - Fixed arguments for updated SetTopmost function
  10929. - Fixed usage of PointToClient
  10930. 2004-11-08 13:44 pbartok
  10931. * MenuAPI.cs:
  10932. - Added Clipping of children and siblings
  10933. 2004-11-08 13:41 pbartok
  10934. * MainMenu.cs:
  10935. - Removed SetMenuBarWindow call. We do this in Form.cs
  10936. 2004-11-08 13:40 jackson
  10937. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  10938. scrolling jimmi in the correct location with bottom aligned tabs
  10939. 2004-11-08 13:36 pbartok
  10940. * ContainerControl.cs:
  10941. - Implemented BindingContext
  10942. - Implemented ParentForm
  10943. 2004-11-08 12:46 jackson
  10944. * TabControl.cs: Put bottom rendered tabs in the right location
  10945. 2004-11-08 07:15 jordi
  10946. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  10947. removes dead code
  10948. 2004-11-05 17:30 jackson
  10949. * TabControl.cs: When selected tabs are expanded make sure they
  10950. don't go beyond the edges of the tab control
  10951. 2004-11-05 14:57 jackson
  10952. * TabControl.cs: Reset show_slider so if the control is resized to
  10953. a size where it is no longer needed it's not displayed anymore
  10954. 2004-11-05 13:16 jackson
  10955. * TabControl.cs: Make tab pages non visible when added to the
  10956. control
  10957. 2004-11-05 12:42 jackson
  10958. * TabControl.cs: Implement SizeMode.FillToRight
  10959. 2004-11-05 12:16 jackson
  10960. * Control.cs: Do not call CreateHandle if the handle is already
  10961. created
  10962. 2004-11-05 11:46 jackson
  10963. * TabControl.cs: Remove superflous call to CalcTabRows
  10964. 2004-11-05 09:07 jackson
  10965. * XplatUIX11.cs: Update for Mono.Posix changes
  10966. 2004-11-05 07:00 ravindra
  10967. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  10968. scrolling.
  10969. 2004-11-04 22:47 jba
  10970. * ThemeWin32Classic.cs:
  10971. - Fix Button rendering for FlatStyle = Flat or Popup
  10972. - Fix RadioButton and CheckBox rendering when Appearance = Button
  10973. (normal and flatstyle).
  10974. - Correct outer rectangle color when drawing focus rectangle
  10975. - Adjust button bounds to be 1 px smaller when focused
  10976. - Make button not draw sunken 3d border when pushed (windows compat)
  10977. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  10978. - Offset the text in RadioButton and Checkbox when being rendered as
  10979. a button.
  10980. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  10981. radiobuttons
  10982. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  10983. - Fixed disabled text rendering for normally rendered radiobuttons
  10984. 2004-11-04 10:26 jackson
  10985. * TabControl.cs: Recalculate tab rows when resizing
  10986. 2004-11-04 07:47 jordi
  10987. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  10988. collection completion, drawing issues, missing features
  10989. 2004-11-04 05:03 ravindra
  10990. * ScrollBar.cs:
  10991. - We need to recalculate the Thumb area when
  10992. LargeChange/maximum/minimum values are changed.
  10993. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  10994. than minimum. This is required to handle the case if large_change is
  10995. more than max, and use LargeChange property instead of large_change
  10996. variable.
  10997. - We return max+1 when large_change is more than max, like MS does.
  10998. 2004-11-04 04:29 ravindra
  10999. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  11000. - Changed default value signatures (prefixed all with ListView).
  11001. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  11002. ListView.
  11003. - Fixed calculations for ListViewItem and implemented Clone()
  11004. method.
  11005. 2004-11-04 04:26 ravindra
  11006. * Theme.cs, ThemeWin32Classic.cs:
  11007. - Changed default ListView values signatures (prefixed all with
  11008. ListView).
  11009. - Fixed default size values for VScrollBar and HScrollBar.
  11010. - Fixed DrawListViewItem method.
  11011. 2004-11-04 04:05 ravindra
  11012. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  11013. 2004-11-04 04:04 ravindra
  11014. * ImageList.cs: Implemented the missing overload for Draw method.
  11015. 2004-11-03 19:29 jackson
  11016. * TabControl.cs: Handle dropping rows on selection properly
  11017. 2004-11-03 11:59 jackson
  11018. * TabControl.cs: remove debug code
  11019. 2004-11-03 11:52 jackson
  11020. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  11021. the scrolly widgerywoo
  11022. 2004-11-02 13:52 jackson
  11023. * TabControl.cs: Resize the tab pages and tabs when the tab control
  11024. is resized
  11025. 2004-11-02 13:40 jackson
  11026. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  11027. selected tab to the bottom
  11028. 2004-11-02 13:39 jackson
  11029. * TabPage.cs: Store the tab pages row
  11030. 2004-11-02 12:33 jordi
  11031. * MenuItem.cs: fixes handle creation
  11032. 2004-11-02 11:42 jackson
  11033. * TabControl.cs: signature fix
  11034. 2004-11-02 08:56 jackson
  11035. * TabControl.cs: Calculate whether the tab is on an edge properly.
  11036. Remove top secret debugging code
  11037. 2004-11-01 19:57 jackson
  11038. * TabControl.cs: Add click handling, and proper sizing
  11039. 2004-11-01 19:47 jackson
  11040. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  11041. tab controls
  11042. 2004-11-01 19:39 jackson
  11043. * TabPage.cs: add internal property to store the bounds of a tab
  11044. page
  11045. 2004-10-30 04:23 ravindra
  11046. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  11047. values.
  11048. 2004-10-30 04:21 ravindra
  11049. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  11050. fixed calculations.
  11051. 2004-10-30 03:06 pbartok
  11052. * XplatUIX11.cs:
  11053. - Removed extension of DllImported libs
  11054. 2004-10-29 09:55 jordi
  11055. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  11056. navigation, itemcollection completion, menu fixes
  11057. 2004-10-27 22:58 pbartok
  11058. * XplatUIX11.cs:
  11059. - Now throws a nice error message when no X display could be opened
  11060. 2004-10-26 13:51 jordi
  11061. * ListView.cs: removes warning
  11062. 2004-10-26 03:55 ravindra
  11063. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  11064. ThemeWin32Classic.cs: Some formatting for my last checkins.
  11065. 2004-10-26 03:36 ravindra
  11066. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  11067. control and default values.
  11068. 2004-10-26 03:35 ravindra
  11069. * Theme.cs: Added some default values for ListView control.
  11070. 2004-10-26 03:33 ravindra
  11071. * ToolBar.cs: ToolBar should use the user specified button size, if
  11072. there is any. Added a size_specified flag for the same.
  11073. 2004-10-26 03:33 ravindra
  11074. * ColumnHeader.cs: Added some internal members and calculations for
  11075. ColumnHeader.
  11076. 2004-10-26 03:32 ravindra
  11077. * ListViewItem.cs: Calculations for ListViewItem.
  11078. 2004-10-26 03:31 ravindra
  11079. * ListView.cs: Added some internal members and calculations for
  11080. ListView.
  11081. 2004-10-22 13:31 jordi
  11082. * MenuAPI.cs: speedup menus drawing
  11083. 2004-10-22 13:16 jackson
  11084. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  11085. expose event
  11086. 2004-10-22 11:49 jackson
  11087. * Control.cs: oops
  11088. 2004-10-22 11:41 jackson
  11089. * Control.cs: Check to see if the window should have its background
  11090. repainted by X when drawing.
  11091. 2004-10-22 11:31 jackson
  11092. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  11093. clear is true, this way we do not get flicker from X repainting the
  11094. background
  11095. 2004-10-22 11:28 jackson
  11096. * XEventQueue.cs: Queue properly
  11097. 2004-10-21 09:38 jackson
  11098. * XEventQueue.cs: Fix access modifier
  11099. 2004-10-21 09:36 jackson
  11100. * XEventQueue.cs: Don't loose messages
  11101. 2004-10-21 09:22 jackson
  11102. * XEventQueue.cs: Don't loose messages
  11103. 2004-10-20 04:15 jordi
  11104. * BootMode.cs: enum need it by SystemInfo
  11105. 2004-10-19 21:58 pbartok
  11106. * XplatUIWin32.cs:
  11107. - Small sanity check
  11108. 2004-10-19 21:56 pbartok
  11109. * Form.cs:
  11110. - Added private FormParentWindow class which acts as the container
  11111. for our form and as the non-client area where menus are drawn
  11112. - Added/Moved required tie-ins to Jordi's menus
  11113. - Fixed/Implemented the FormStartPosition functionality
  11114. 2004-10-19 21:52 pbartok
  11115. * Control.cs:
  11116. - Removed unneeded locals
  11117. - Added code to all size and location properties to understand and
  11118. deal with the parent container of Form
  11119. 2004-10-19 21:33 pbartok
  11120. * Application.cs:
  11121. - Fixed to deal with new Form subclasses for menus
  11122. 2004-10-19 17:48 jackson
  11123. * XEventQueue.cs: commit correct version of file
  11124. 2004-10-19 16:50 jackson
  11125. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  11126. 2004-10-19 16:15 jordi
  11127. * MenuAPI.cs: MenuBarCalcSize returns the height
  11128. 2004-10-19 08:31 pbartok
  11129. * Control.cs:
  11130. - Added missing call to PreProcessMessage before calling OnXXXKey
  11131. methods
  11132. 2004-10-19 00:04 ravindra
  11133. * ToolTip.cs: Fixed constructor.
  11134. 2004-10-18 09:31 jordi
  11135. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  11136. 2004-10-18 09:26 jordi
  11137. * MenuItem.cs: fixes MenuItem class signature
  11138. 2004-10-18 08:56 jordi
  11139. * MenuAPI.cs: prevents windows from showing in the taskbar
  11140. 2004-10-18 00:28 ravindra
  11141. * ToolTip.cs: Suppressed a warning message.
  11142. 2004-10-18 00:27 ravindra
  11143. * Control.cs: Default value of visible property must be true.
  11144. 2004-10-17 23:19 pbartok
  11145. * ToolTip.cs:
  11146. - Complete implementation
  11147. 2004-10-17 23:19 pbartok
  11148. * XplatUIX11.cs:
  11149. - Added EnableWindow method
  11150. - Added SetModal stub
  11151. - Added generation of WM_ACTIVATE message (still needs testing)
  11152. - Added SetTopMost stub
  11153. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  11154. 2004-10-17 23:17 pbartok
  11155. * XplatUIWin32.cs:
  11156. - Removed VirtualKeys to XplatUIStructs
  11157. - Implemented SetTopMost method
  11158. - Implemented EnableWindow method
  11159. - Bugfix in ScreenToClient()
  11160. - Bugfixes in ClientToScreen()
  11161. 2004-10-17 22:51 pbartok
  11162. * XplatUIStructs.cs:
  11163. - Added WS_EX styles to WindowStyles enumeration
  11164. 2004-10-17 22:50 pbartok
  11165. * XplatUI.cs, XplatUIDriver.cs:
  11166. - Added method for enabling/disabling windows
  11167. - Added method for setting window modality
  11168. - Added method for setting topmost window
  11169. 2004-10-17 22:49 pbartok
  11170. * ThemeWin32Classic.cs:
  11171. - Added ToolTip drawing code
  11172. 2004-10-17 22:49 pbartok
  11173. * Theme.cs:
  11174. - Added ToolTip abstracts
  11175. 2004-10-17 22:47 pbartok
  11176. * Form.cs:
  11177. - Fixed Form.ControlCollection to handle owner relations
  11178. - Added Owner/OwnedForms handling
  11179. - Implemented Z-Ordering for owned forms
  11180. - Removed unneeded private overload of ShowDialog
  11181. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  11182. so I hope)
  11183. - Fixed Close(), had wrong default
  11184. - Added firing of OnLoad event
  11185. - Added some commented out debug code for Ownership handling
  11186. 2004-10-17 22:16 pbartok
  11187. * Control.cs:
  11188. - Fixed/implemented flat list of controls
  11189. 2004-10-17 22:14 pbartok
  11190. * Application.cs:
  11191. - Added code to simulate modal dialogs on Win32
  11192. 2004-10-17 16:11 jordi
  11193. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  11194. mouse event
  11195. 2004-10-17 13:39 jordi
  11196. * MenuAPI.cs: menu drawing fixes
  11197. 2004-10-15 09:10 ravindra
  11198. * StructFormat.cs: General Enum.
  11199. 2004-10-15 09:09 ravindra
  11200. * SizeGripStyle.cs: Enum for Form.
  11201. 2004-10-15 09:08 ravindra
  11202. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  11203. in Theme for ListView.
  11204. 2004-10-15 09:06 ravindra
  11205. * ColumnHeader.cs: Flushing some formatting changes.
  11206. 2004-10-15 09:05 ravindra
  11207. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  11208. style.
  11209. 2004-10-15 09:03 ravindra
  11210. * ListView.cs: Implemented Paint method and fixed coding style.
  11211. 2004-10-15 07:34 jordi
  11212. * MenuAPI.cs: fix for X11
  11213. 2004-10-15 07:32 ravindra
  11214. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  11215. - Renamed Paint() method to Draw() for clarity. Also, moved
  11216. DrawImage() to OnPaint().
  11217. 2004-10-15 07:25 ravindra
  11218. * CheckBox.cs, RadioButton.cs:
  11219. - Removed Redraw (), we get it from ButtonBase.
  11220. - Implemented Paint (), to do class specific painting.
  11221. 2004-10-15 07:16 ravindra
  11222. * ButtonBase.cs:
  11223. - Redraw () is not virtual now.
  11224. - Added an internal virtual method Paint (), so that
  11225. derived classes can do their painting on their own.
  11226. - Modified OnPaint () to call Paint ().
  11227. 2004-10-15 06:43 jordi
  11228. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  11229. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  11230. 2004-10-15 00:30 ravindra
  11231. * MessageBox.cs:
  11232. - MessageBox on windows does not have min/max buttons.
  11233. This change in CreateParams fixes this on Windows. We
  11234. still need to implement this windowstyle behavior in
  11235. our X11 driver.
  11236. 2004-10-14 05:14 ravindra
  11237. * ToolBar.cs:
  11238. - Changed Redraw () to do a Refresh () always.
  11239. - Fixed the MouseMove event handling when mouse is pressed,
  11240. ie drag event handling.
  11241. - Replaced the usage of ToolBarButton.Pressed property to
  11242. ToolBarButton.pressed internal variable.
  11243. 2004-10-14 05:10 ravindra
  11244. * ToolBarButton.cs:
  11245. - Added an internal member 'inside' to handle mouse move
  11246. with mouse pressed ie mouse drag event.
  11247. - Changed 'Pressed' property to return true only when
  11248. 'inside' and 'pressed' are both true.
  11249. - Some coding style love.
  11250. 2004-10-14 00:17 ravindra
  11251. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  11252. public method.
  11253. 2004-10-14 00:15 ravindra
  11254. * ButtonBase.cs: Redraw () related improvements.
  11255. 2004-10-14 00:14 ravindra
  11256. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  11257. removed unnecessary calls to Button.Show () method.
  11258. 2004-10-13 17:50 pbartok
  11259. * XplatUIX11.cs:
  11260. - Formatting fix
  11261. - Removed destroying of window until we solve the problem of X
  11262. destroying the window before us on shutdown
  11263. 2004-10-13 16:32 pbartok
  11264. * ButtonBase.cs:
  11265. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  11266. 2004-10-13 14:18 pbartok
  11267. * XplatUIX11.cs:
  11268. - Added code to destroy the X window
  11269. 2004-10-13 14:18 pbartok
  11270. * XplatUIWin32.cs:
  11271. - Added code to destroy a window
  11272. 2004-10-13 14:12 pbartok
  11273. * ButtonBase.cs:
  11274. - Added the Redraw on Resize that got dropped in the last rev
  11275. 2004-10-13 09:06 pbartok
  11276. * ThemeWin32Classic.cs:
  11277. - Path from John BouAntoun:
  11278. * Fix check rendering (centre correctly for normal style, offset
  11279. correctly for FlatStyle).
  11280. * Fix border color usage (use backcolor) for FlatStyle.Popup
  11281. * Use checkbox.Capture instead of checkbox.is_pressed when
  11282. rendering flatstyle states.
  11283. 2004-10-12 21:48 pbartok
  11284. * ThemeWin32Classic.cs:
  11285. - Removed all occurences of SystemColors and replaced them with the
  11286. matching theme color
  11287. 2004-10-12 21:41 pbartok
  11288. * ThemeWin32Classic.cs:
  11289. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  11290. him using the function for flatstyle drawing
  11291. - Changed functions to use the new version of CPDrawBorder3D
  11292. 2004-10-12 21:15 pbartok
  11293. * ControlPaint.cs:
  11294. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  11295. match MS documentation. They need to return defined colors if the
  11296. passed color matches the configured control color. Thanks to John
  11297. BouAntoun for pointing this out.
  11298. 2004-10-12 20:57 pbartok
  11299. * Control.cs:
  11300. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  11301. color is changed
  11302. 2004-10-12 20:46 pbartok
  11303. * CheckBox.cs:
  11304. - Fix from John BouAntoun: Now properly sets the Appearance property
  11305. 2004-10-12 20:45 pbartok
  11306. * ThemeWin32Classic.cs:
  11307. - Fixes from John BouAntoun: now handles forecolors and backcolors
  11308. for flatstyle rendered controls much better; It also fixes normal
  11309. checkbox rendering when pushed or disabled.
  11310. 2004-10-08 02:50 jordi
  11311. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  11312. work
  11313. 2004-10-07 08:56 jordi
  11314. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  11315. 2004-10-06 03:59 jordi
  11316. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  11317. XplatUIWin32.cs: removes warnings from compilation
  11318. 2004-10-05 12:23 jackson
  11319. * RadioButton.cs: Fix ctor
  11320. 2004-10-05 11:10 pbartok
  11321. * MessageBox.cs:
  11322. - Partial implementation by Benjamin Dasnois
  11323. 2004-10-05 10:15 jackson
  11324. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  11325. by John BouAntoun
  11326. 2004-10-05 03:07 ravindra
  11327. * ToolBar.cs:
  11328. - Removed a private method, Draw ().
  11329. - Fixed the ButtonDropDown event handling.
  11330. - Fixed MouseMove event handling.
  11331. 2004-10-05 03:04 ravindra
  11332. * ThemeWin32Classic.cs:
  11333. - Added DrawListView method and ListViewDefaultSize property.
  11334. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  11335. - Changed DOS style CRLF to Unix format (dos2unix).
  11336. 2004-10-05 03:03 ravindra
  11337. * Theme.cs:
  11338. - Added DrawListView method and ListViewDefaultSize property.
  11339. 2004-10-05 02:42 ravindra
  11340. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  11341. clicks on DropDown arrow.
  11342. 2004-10-04 22:56 jackson
  11343. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  11344. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  11345. Control handle the buffers, derived classes should not have to
  11346. CreateBuffers themselves.
  11347. 2004-10-04 21:20 jackson
  11348. * StatusBar.cs: The control handles resizing the buffers now.
  11349. 2004-10-04 21:18 jackson
  11350. * Control.cs: When resizing the buffers should be invalidated. This
  11351. should be handled in Control not in derived classes.
  11352. 2004-10-04 14:45 jackson
  11353. * TabPage.cs: oops
  11354. 2004-10-04 02:14 pbartok
  11355. * LeftRightAlignment.cs:
  11356. - Initial check-in
  11357. 2004-10-04 01:09 jordi
  11358. * ThemeWin32Classic.cs: fixes right button position causing right
  11359. button not showing on horizontal scrollbars
  11360. 2004-10-02 13:12 pbartok
  11361. * XplatUIX11.cs:
  11362. - Simplified the Invalidate method by using an X call instead of
  11363. generating the expose ourselves
  11364. - Added an expose when the window background is changed
  11365. - Implemented ClientToScreen method
  11366. 2004-10-02 13:08 pbartok
  11367. * XplatUIWin32.cs:
  11368. - Added Win32EnableWindow method (test for implementing modal
  11369. dialogs)
  11370. - Added ClientToScreen method and imports
  11371. 2004-10-02 13:07 pbartok
  11372. * XplatUI.cs, XplatUIDriver.cs:
  11373. - Added ClientToScreen coordinate translation method
  11374. 2004-10-02 13:06 pbartok
  11375. * KeyPressEventArgs.cs:
  11376. - Fixed access level for constructor
  11377. 2004-10-02 13:06 pbartok
  11378. * NativeWindow.cs:
  11379. - Changed access level for the window_collection hash table
  11380. 2004-10-02 13:05 pbartok
  11381. * Form.cs:
  11382. - Added KeyPreview property
  11383. - Added Menu property (still incomplete, pending Jordi's menu work)
  11384. - Implemented ProcessCmdKey
  11385. - Implemented ProcessDialogKey
  11386. - Implemented ProcessKeyPreview
  11387. 2004-10-02 13:02 pbartok
  11388. * Control.cs:
  11389. - Added private method to get the Control object from the window
  11390. handle
  11391. - Implemented ContextMenu property
  11392. - Implemented PointToScreen
  11393. - Implemented PreProcessMessage
  11394. - Implemented IsInputChar
  11395. - Implemented IsInputKey
  11396. - Implemented ProcessCmdKey
  11397. - Completed ProcessKeyEventArgs
  11398. - Fixed message loop to call the proper chain of functions on key
  11399. events
  11400. - Implemented ProcessDialogChar
  11401. - Implemented ProcessDialogKey
  11402. - Implemented ProcessKeyMessage
  11403. - Implemented ProcessKeyPreview
  11404. - Added RaiseDragEvent stub (MS internal method)
  11405. - Added RaiseKeyEvent stub (MS internal method)
  11406. - Added RaiseMouseEvent stub (MS Internal method)
  11407. - Added RaisePaintEvent stub (MS Internal method)
  11408. - Added ResetMouseEventArgs stub (MS Internal method)
  11409. - Implemented RtlTranslateAlignment
  11410. - Implemented RtlTranslateContent
  11411. - Implemented RtlTranslateHorizontal
  11412. - Implemented RtlTranslateLeftRight
  11413. - Added generation of KeyPress event
  11414. 2004-10-02 05:57 ravindra
  11415. * ListViewItem.cs: Added attributes.
  11416. 2004-10-02 05:32 ravindra
  11417. * ListView.cs: Added attributes.
  11418. 2004-10-01 11:53 jackson
  11419. * Form.cs: Implement the Close method so work on MessageBox can
  11420. continue.
  11421. 2004-09-30 14:06 pbartok
  11422. * XplatUIX11.cs:
  11423. - Bug fixes
  11424. 2004-09-30 11:34 jackson
  11425. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  11426. 2004-09-30 07:26 ravindra
  11427. * ListViewItemConverter.cs: Converter for ListViewItem.
  11428. 2004-09-30 07:26 ravindra
  11429. * SortOrder.cs: Enum for ListView control.
  11430. 2004-09-30 07:25 ravindra
  11431. * ColumnHeader.cs: Supporting class for ListView control.
  11432. 2004-09-30 07:24 ravindra
  11433. * ListView.cs, ListViewItem.cs: Initial implementation.
  11434. 2004-09-30 07:20 ravindra
  11435. * ItemActivation.cs: Enum for ListView Control.
  11436. 2004-09-29 20:29 pbartok
  11437. * XplatUIX11.cs:
  11438. - Added lookup of pixel value for background color; tries to get a
  11439. color 'close' to the requested color, it avoids having to create a
  11440. colormap. Depending on the display this could mean the used color
  11441. is slightly off the desired color. Might have to change it to a more
  11442. resource intensive colormap approach, but it will work as a
  11443. workaround to avoid red screens.
  11444. 2004-09-29 14:27 jackson
  11445. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  11446. 2004-09-28 12:44 pbartok
  11447. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  11448. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  11449. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  11450. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  11451. TrackBar.cs, VScrollBar.cs:
  11452. - Streamlined Theme interfaces:
  11453. * Each DrawXXX method for a control now is passed the object for
  11454. the control to be drawn in order to allow accessing any state the
  11455. theme might require
  11456. * ControlPaint methods for the theme now have a CP prefix to avoid
  11457. name clashes with the Draw methods for controls
  11458. * Every control now retrieves it's DefaultSize from the current
  11459. theme
  11460. 2004-09-28 12:17 jackson
  11461. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  11462. drawing
  11463. 2004-09-24 14:57 jackson
  11464. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  11465. Gives us a nice little performance boost.
  11466. 2004-09-24 12:02 jackson
  11467. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  11468. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  11469. Control and supporting classes. Initial checkin
  11470. 2004-09-23 13:08 jackson
  11471. * Form.cs: Temp build fixage
  11472. 2004-09-23 01:39 ravindra
  11473. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  11474. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  11475. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  11476. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  11477. EventHandlers needed by ListView Control.
  11478. 2004-09-22 14:12 pbartok
  11479. * ScrollableControl.cs:
  11480. - Implemented DockPadding property
  11481. - Implemented AutoScroll property
  11482. - Implemented AutoScrollMargin property
  11483. - Implemented AutoScrollMinSize property
  11484. - Implemented AutoScrollPosition property
  11485. - Implemented DisplayRectangle property (still incomplete)
  11486. - Implemented CreateParams property
  11487. - Implemented HScroll property
  11488. - Implemented VScroll property
  11489. - Implemented OnVisibleChanged property
  11490. 2004-09-22 14:09 pbartok
  11491. * Form.cs:
  11492. - Added Form.ControllCollection class
  11493. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  11494. RemoveOwnedForm (still incomplete, missing on-top and common
  11495. minimize/maximize behaviour)
  11496. - Added StartPosition property (still incomplete, does not use when
  11497. creating the form)
  11498. - Added ShowDialog() methods (still incomplete, missing forcing the
  11499. dialog modal)
  11500. 2004-09-22 14:05 pbartok
  11501. * Application.cs:
  11502. - Added message loop for modal dialogs
  11503. 2004-09-22 14:02 pbartok
  11504. * GroupBox.cs:
  11505. - Fixed wrong types for events
  11506. 2004-09-22 14:00 pbartok
  11507. * Shortcut.cs, FormWindowState.cs:
  11508. - Fixed wrong values
  11509. 2004-09-22 12:01 jackson
  11510. * Control.cs: Text is never null
  11511. 2004-09-20 22:14 pbartok
  11512. * XplatUIWin32.cs:
  11513. - Fixed accessibility level for Idle handler
  11514. 2004-09-20 18:54 jackson
  11515. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11516. XplatUIX11.cs: New message loop that uses poll so we don't get a
  11517. busy loop
  11518. 2004-09-17 10:43 pbartok
  11519. * ScrollBar.cs:
  11520. - Fixed behaviour of arrow buttons. Now properly behaves like
  11521. Buttons (and like Microsoft's scrollbar arrow buttons)
  11522. 2004-09-17 10:14 pbartok
  11523. * ScrollBar.cs:
  11524. - Added missing release of keyboard/mouse capture
  11525. 2004-09-17 06:18 jordi
  11526. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  11527. Theme.cs: Very early menu support
  11528. 2004-09-16 17:45 pbartok
  11529. * XplatUIWin32.cs:
  11530. - Fixed sending a window to the front
  11531. - Added overload for SetWindowPos to avoid casting
  11532. 2004-09-16 17:44 pbartok
  11533. * Control.cs:
  11534. - Added SendToBack and BringToFront methods
  11535. 2004-09-16 07:00 ravindra
  11536. * Copyright: Added Novell URL.
  11537. 2004-09-16 07:00 ravindra
  11538. * ToolBar.cs: Invalidate should be done before redrawing.
  11539. 2004-09-15 21:19 ravindra
  11540. * ColumnHeaderStyle.cs: Enum for ListView Control.
  11541. 2004-09-15 21:18 ravindra
  11542. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  11543. ListView Control.
  11544. 2004-09-13 18:26 jackson
  11545. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  11546. properly
  11547. 2004-09-13 18:13 jackson
  11548. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  11549. a second thread and post messages into the main threads message
  11550. queue. This makes timing much more consistent. Both win2K and XP
  11551. have a minimum timer value of 15 milliseconds, so we now do this
  11552. too.
  11553. 2004-09-13 15:18 pbartok
  11554. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11555. XplatUIX11.cs:
  11556. - Added Z-Ordering methods
  11557. 2004-09-13 10:56 pbartok
  11558. * Form.cs:
  11559. - Fixed #region names
  11560. - Moved properties and methods into their proper #regions
  11561. 2004-09-13 10:51 pbartok
  11562. * Form.cs:
  11563. - Added Accept and CancelButton properties
  11564. - Added ProcessDialogKey() method
  11565. 2004-09-13 08:18 pbartok
  11566. * IWindowTarget.cs:
  11567. - Initial check-in
  11568. 2004-09-10 21:50 pbartok
  11569. * Control.cs:
  11570. - Added DoDragDrop() [incomplete]
  11571. - Properly implemented 'Visible' handling
  11572. - Added SetVisibleCore()
  11573. - Implemented FindChildAtPoint()
  11574. - Implemented GetContainerControl()
  11575. - Implemented Hide()
  11576. 2004-09-10 19:28 pbartok
  11577. * Control.cs:
  11578. - Moved methods into their appropriate #regions
  11579. - Reordered methods within regions alphabetically
  11580. 2004-09-10 18:57 pbartok
  11581. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  11582. - Added method to retrieve text from window
  11583. 2004-09-10 18:56 pbartok
  11584. * Control.cs:
  11585. - Moved some internal functions into the internal region
  11586. - Implemented FontHeight
  11587. - Implemented RenderRightToLeft
  11588. - Implemented ResizeRedraw
  11589. - Implemented ShowFocusCues
  11590. - Implemented ShowKeyboardCues
  11591. - Implemented FromChildHandle
  11592. - Implemented FromHandle
  11593. - Implemented IsMnemonic
  11594. - Implemented ReflectMessage
  11595. - All public and protected Static Methods are now complete
  11596. 2004-09-10 16:54 pbartok
  11597. * Control.cs:
  11598. - Implemented remaining missing public instance properties
  11599. - Alphabetized some out of order properties
  11600. 2004-09-10 05:51 ravindra
  11601. * PictureBox.cs: Added a check for null image.
  11602. 2004-09-10 00:59 jordi
  11603. * GroupBox.cs: remove cvs tag
  11604. 2004-09-09 05:25 ravindra
  11605. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  11606. 2004-09-09 05:23 ravindra
  11607. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  11608. parent redraw.
  11609. 2004-09-09 02:28 pbartok
  11610. * ThemeWin32Classic.cs:
  11611. - Improve disabled string look
  11612. 2004-09-09 01:15 jordi
  11613. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  11614. args and handler
  11615. 2004-09-08 23:56 ravindra
  11616. * ItemBoundsPortion.cs: It's enum, not a class!
  11617. 2004-09-08 23:47 ravindra
  11618. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  11619. Enums for Form.
  11620. 2004-09-08 21:13 ravindra
  11621. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  11622. ListView control.
  11623. 2004-09-08 21:03 ravindra
  11624. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  11625. avoid crash.
  11626. 2004-09-08 21:01 ravindra
  11627. * ScrollableControl.cs: Removed unreachable code.
  11628. 2004-09-08 06:45 jordi
  11629. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  11630. 2004-09-08 01:00 jackson
  11631. * XplatUIX11.cs: Only run the timers when updating the message
  11632. queue. This effectively gives X messages a higher priority then
  11633. timer messages. Timers still need love though
  11634. 2004-09-07 14:01 jackson
  11635. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  11636. this for us and the handle is no longer valid.
  11637. 2004-09-07 13:59 jackson
  11638. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  11639. loop that manages to not crash. TODO: Add poll and cleanup timers
  11640. 2004-09-07 11:12 jordi
  11641. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  11642. 2004-09-07 03:40 jordi
  11643. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  11644. fixes, methods, multiple links
  11645. 2004-09-06 06:55 jordi
  11646. * Control.cs: Caches ClientRectangle rectangle value
  11647. 2004-09-05 02:03 jordi
  11648. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  11649. certain situations
  11650. 2004-09-04 11:10 jordi
  11651. * Label.cs: Refresh when font changed
  11652. 2004-09-02 16:24 pbartok
  11653. * Control.cs:
  11654. - Added sanity check to creation of double buffer bitmap
  11655. 2004-09-02 16:24 pbartok
  11656. * ButtonBase.cs:
  11657. - Fixed selection of text color
  11658. - Fixed handling of resize event; now properly recreates double
  11659. buffering bitmap
  11660. - Added missing assignment of TextAlignment
  11661. - Added proper default for TextAlignment
  11662. 2004-09-02 14:26 pbartok
  11663. * RadioButton.cs:
  11664. - Added missing RadioButton.RadioButtonAccessibleObject class
  11665. 2004-09-02 14:26 pbartok
  11666. * Control.cs:
  11667. - Added missing Control.ControlAccessibleObject class
  11668. - Started to implement Select()ion mechanisms, still very incomplete
  11669. 2004-09-02 14:25 pbartok
  11670. * AccessibleObject.cs:
  11671. - Added missing methods
  11672. 2004-09-02 14:23 pbartok
  11673. * AccessibleNavigation.cs, AccessibleSelection.cs:
  11674. - Initial check-in
  11675. 2004-09-02 10:32 jordi
  11676. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  11677. pool for pens, brushes, and hatchbruses
  11678. 2004-09-01 15:30 jackson
  11679. * StatusBar.cs: Fix typo
  11680. 2004-09-01 14:44 pbartok
  11681. * RadioButton.cs:
  11682. - Fixed state
  11683. 2004-09-01 14:39 pbartok
  11684. * Button.cs, RadioButton.cs:
  11685. - Functional initial check-in
  11686. 2004-09-01 14:01 pbartok
  11687. * CheckBox.cs:
  11688. - Added missing default
  11689. - Added missing region mark
  11690. 2004-09-01 09:10 jordi
  11691. * Label.cs: fixes method signatures, new methods, events, fixes
  11692. autosize
  11693. 2004-09-01 07:19 jordi
  11694. * Control.cs: Init string variables with an empty object
  11695. 2004-09-01 04:20 jordi
  11696. * Control.cs: fires OnFontChanged event
  11697. 2004-08-31 20:07 pbartok
  11698. * ButtonBase.cs:
  11699. - Enabled display of strings
  11700. 2004-08-31 20:05 pbartok
  11701. * Form.cs:
  11702. - Added (partial) implementation of DialogResult; rest needs to be
  11703. implemented when the modal loop code is done
  11704. 2004-08-31 19:55 pbartok
  11705. * CheckBox.cs:
  11706. - Fixed to match the removal of the needs_redraw concept
  11707. 2004-08-31 19:55 pbartok
  11708. * ButtonBase.cs:
  11709. - Removed the rather odd split between 'needs redraw' and redrawing
  11710. - Now handles the events that require regeneration (ambient
  11711. properties and size)
  11712. 2004-08-31 19:41 pbartok
  11713. * Control.cs:
  11714. - Added firing of BackColorChanged event
  11715. - Added TopLevelControl property
  11716. - Fixed handling of WM_ERASEBKGRND message
  11717. 2004-08-31 12:49 pbartok
  11718. * ButtonBase.cs:
  11719. - Removed debug
  11720. - Minor fixes
  11721. 2004-08-31 12:48 pbartok
  11722. * CheckBox.cs:
  11723. - Finished (famous last words)
  11724. 2004-08-31 04:35 jordi
  11725. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  11726. scrolling bugs, adds new methods
  11727. 2004-08-30 14:42 pbartok
  11728. * CheckBox.cs:
  11729. - Implemented CheckBox drawing code
  11730. 2004-08-30 14:42 pbartok
  11731. * ButtonBase.cs:
  11732. - Made Redraw() and CheckRedraw() virtual
  11733. - Improved mouse up/down/move logic to properly track buttons
  11734. 2004-08-30 09:44 pbartok
  11735. * CheckBox.cs:
  11736. - Updated to fix broken build. Not complete yet.
  11737. 2004-08-30 09:28 pbartok
  11738. * CheckState.cs:
  11739. - Initial checkin
  11740. 2004-08-30 09:17 pbartok
  11741. * Appearance.cs:
  11742. - Initial check-in
  11743. 2004-08-27 16:12 ravindra
  11744. * ToolBarButton.cs: Added TypeConverter attribute.
  11745. 2004-08-27 16:07 ravindra
  11746. * ImageIndexConverter.cs: Implemented.
  11747. 2004-08-27 14:17 pbartok
  11748. * Control.cs:
  11749. - Removed unneeded stack vars
  11750. - First attempt to fix sizing issues when layout is suspended
  11751. 2004-08-25 15:35 jordi
  11752. * ScrollBar.cs: more fixes to scrollbar
  11753. 2004-08-25 14:04 ravindra
  11754. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  11755. Added the missing divider code and grip for ToolBar Control.
  11756. 2004-08-25 13:20 pbartok
  11757. * Control.cs:
  11758. - Control now properly passes the ambient background color to child
  11759. controls
  11760. 2004-08-25 13:20 jordi
  11761. * ScrollBar.cs: small bug fix regarding bar position
  11762. 2004-08-25 12:33 pbartok
  11763. * Timer.cs:
  11764. - Now only calls SetTimer or KillTimer if the enabled state has
  11765. changed
  11766. 2004-08-25 12:33 pbartok
  11767. * XplatUIWin32.cs:
  11768. - Fixed timer handling, now seems to work
  11769. - Improved error message for window creation
  11770. 2004-08-25 12:32 pbartok
  11771. * Control.cs:
  11772. - Fixed generation of MouseUp message
  11773. 2004-08-25 12:29 jordi
  11774. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  11775. and fixes for progressbar
  11776. 2004-08-24 18:43 ravindra
  11777. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  11778. in ToolBar control.
  11779. 2004-08-24 17:15 pbartok
  11780. * Panel.cs:
  11781. - Added #region
  11782. - Added missing events
  11783. - Alphabetized
  11784. 2004-08-24 17:14 pbartok
  11785. * StatusBar.cs, PictureBox.cs:
  11786. - Now uses Control's CreateParams
  11787. 2004-08-24 16:36 pbartok
  11788. * XplatUIX11.cs:
  11789. - Fixed background color handling
  11790. - Fixed sending of enter/leave events on a grab
  11791. 2004-08-24 16:35 pbartok
  11792. * X11Structs.cs:
  11793. - Refined definitions for CrossingEvent
  11794. 2004-08-24 12:37 jordi
  11795. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  11796. formmating, methods signature, and adds missing events
  11797. 2004-08-24 12:24 jordi
  11798. * Control.cs: fire OnEnabledChanged event
  11799. 2004-08-24 11:17 pbartok
  11800. * XplatUIWin32.cs:
  11801. - Implemented SetTimer() and KillTimer()
  11802. 2004-08-24 11:16 pbartok
  11803. * XplatUIX11.cs:
  11804. - Now uses Remove instead of Add to kill the timer
  11805. 2004-08-24 10:16 jackson
  11806. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  11807. picture boxes in the theme now. Draw picture box borders and obey
  11808. sizing modes
  11809. 2004-08-24 05:49 jackson
  11810. * Timer.cs: Remove top secret debugging code
  11811. 2004-08-24 05:34 jackson
  11812. * PictureBox.cs: Temp hack to make picture boxes draw their full
  11813. image
  11814. 2004-08-24 05:29 jackson
  11815. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11816. XplatUIX11.cs: Move timers to the driver level. On X they are
  11817. queued by the driver and checked on idle.
  11818. 2004-08-24 01:07 jackson
  11819. * XplatUIX11.cs: Use a queue for async messages instead of passing
  11820. them as ClientMessages since that was totally broken. Also simply
  11821. check for events and return an idle message if none are found. This
  11822. gives us an idle handler, and prevents deadlocking when no messages
  11823. are in the queue.
  11824. 2004-08-23 18:19 ravindra
  11825. * XplatUIWin32.cs: Removed the unwanted destructor.
  11826. 2004-08-23 17:27 pbartok
  11827. * ButtonBase.cs:
  11828. - Finishing touches. Works now, just needs some optimizations.
  11829. 2004-08-23 16:53 jordi
  11830. * ScrollBar.cs: small fix
  11831. 2004-08-23 16:45 pbartok
  11832. * Application.cs:
  11833. - Removed debug output
  11834. - Simplifications
  11835. 2004-08-23 16:43 jordi
  11836. * ScrollBar.cs: [no log message]
  11837. 2004-08-23 16:10 pbartok
  11838. * Form.cs:
  11839. - Fixed handling of WM_CLOSE message
  11840. - Removed debug output
  11841. 2004-08-23 16:09 pbartok
  11842. * Application.cs:
  11843. - Added handling of Idle event
  11844. - Added handling of form closing
  11845. - Fixed reporting of MessageLoop property
  11846. - Removed some unneeded code, should provide a bit of a speedup
  11847. 2004-08-23 15:22 pbartok
  11848. * Control.cs:
  11849. - Added InitLayout() method
  11850. - Added code to properly perform layout when Anchor or Dock property
  11851. is changed
  11852. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  11853. LAMESPEC, tried to do it in a way that makes sense
  11854. 2004-08-23 14:10 jordi
  11855. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  11856. properties and methods
  11857. 2004-08-23 13:55 pbartok
  11858. * Control.cs:
  11859. - Properly fixed Jordi's last fix
  11860. - Now uses Cursor's Position property instead of calling XplatUI
  11861. directly
  11862. 2004-08-23 13:44 jordi
  11863. * PaintEventHandler.cs: Adding missing attribute
  11864. 2004-08-23 13:39 pbartok
  11865. * Cursor.cs:
  11866. - Implemented Position property
  11867. 2004-08-23 13:39 pbartok
  11868. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  11869. - Added method to move mouse cursor
  11870. 2004-08-23 13:39 pbartok
  11871. * XplatUIX11.cs:
  11872. - Fixed setting of background color
  11873. - Added method to move mouse cursor
  11874. 2004-08-23 13:16 jordi
  11875. * Control.cs: avoids null exception
  11876. 2004-08-22 17:46 jackson
  11877. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  11878. PictureBox
  11879. 2004-08-22 17:40 jackson
  11880. * XplatUIX11.cs: Add some missing locks
  11881. 2004-08-22 15:10 pbartok
  11882. * Control.cs, Form.cs:
  11883. - Removed OverlappedWindow style from Control, instead it's default
  11884. now is child
  11885. - Made form windows OverlappedWindow by default
  11886. 2004-08-22 13:34 jackson
  11887. * ScrollBar.cs: Update the position through the Value property so
  11888. the OnValueChanged event is raised.
  11889. 2004-08-22 12:04 pbartok
  11890. * SWF.csproj:
  11891. - Added Cursor.cs and UserControl.cs
  11892. 2004-08-22 12:03 pbartok
  11893. * Cursor.cs:
  11894. - Started implementation, not usable yet
  11895. 2004-08-22 12:00 pbartok
  11896. * UserControl.cs:
  11897. - Implemented UserControl (complete)
  11898. 2004-08-21 19:20 ravindra
  11899. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  11900. 2004-08-21 18:49 ravindra
  11901. * ToolBar.cs: Probably this completes the missing attributes in
  11902. toolbar control.
  11903. 2004-08-21 18:03 ravindra
  11904. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  11905. Fixed toolbar control signatures.
  11906. 2004-08-21 16:32 pbartok
  11907. * LinkLabel.cs:
  11908. - Signature Fixes
  11909. 2004-08-21 16:30 pbartok
  11910. * Label.cs:
  11911. - Signature fixes
  11912. 2004-08-21 16:19 pbartok
  11913. * Control.cs, Label.cs:
  11914. - Signature fixes
  11915. 2004-08-21 15:57 pbartok
  11916. * ButtonBase.cs:
  11917. - Added loads of debug output for development
  11918. - Fixed typo in method name
  11919. 2004-08-21 15:52 pbartok
  11920. * ToolBarButtonClickEventArgs.cs:
  11921. - Added missing base class
  11922. 2004-08-21 14:53 pbartok
  11923. * Control.cs:
  11924. - Updated to match new GrabWindow signature
  11925. 2004-08-21 14:51 pbartok
  11926. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11927. - Added method to get default display size
  11928. 2004-08-21 14:23 pbartok
  11929. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11930. - Added method to query current grab state
  11931. - Added argument to allow confining a grab to a window
  11932. 2004-08-21 14:22 pbartok
  11933. * Keys.cs:
  11934. - Added [Flags] attribute so that modifiers can be used in bitwise
  11935. ops
  11936. 2004-08-21 14:21 pbartok
  11937. * TrackBar.cs, ScrollBar.cs:
  11938. - Replaced direct XplatUI calls with their Control counterpart
  11939. 2004-08-21 13:32 pbartok
  11940. * Control.cs:
  11941. - Implemented Created property
  11942. 2004-08-21 13:28 pbartok
  11943. * Control.cs:
  11944. - Implemented ContainsFocus
  11945. 2004-08-21 13:26 pbartok
  11946. * Control.cs:
  11947. - Implemented CausesValidation
  11948. 2004-08-21 13:21 pbartok
  11949. * Control.cs:
  11950. - Implemented CanFocus
  11951. - Implemented CanSelect
  11952. - Implemented Capture
  11953. 2004-08-21 12:35 pbartok
  11954. * XplatUIWin32.cs:
  11955. - Fixed bug with Async message handling
  11956. - Implemented getting the ModifierKeys
  11957. 2004-08-21 12:32 jackson
  11958. * AsyncMethodResult.cs: Make sure we have the mutex before we
  11959. release it. Fixes BeginInvoke on windows
  11960. 2004-08-21 11:31 pbartok
  11961. * XplatUIWin32.cs, XplatUIX11.cs:
  11962. - Drivers now return proper mouse state
  11963. 2004-08-21 10:54 jackson
  11964. * Control.cs: Implement EndInvoke
  11965. 2004-08-21 10:48 jackson
  11966. * Timer.cs: Remove unneeded finalizer
  11967. 2004-08-20 19:52 ravindra
  11968. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  11969. in mouse event handling in the ToolBar control.
  11970. 2004-08-20 19:50 ravindra
  11971. * ImageList.cs: Changed draw method to use the arguments passed in
  11972. to draw the image.
  11973. 2004-08-20 18:58 pbartok
  11974. * XplatUIStructs.cs:
  11975. - Added private message for async communication
  11976. 2004-08-20 17:38 ravindra
  11977. * Control.cs: Made RightToLeft property virtual and removed a
  11978. Console.WriteLine.
  11979. 2004-08-20 14:39 jordi
  11980. * ThemeGtk.cs: use style_attach
  11981. 2004-08-20 14:39 pbartok
  11982. * XplatUIWin32.cs:
  11983. - Added jackson's Async code from X11 to Win32
  11984. 2004-08-20 14:09 pbartok
  11985. * SWF.csproj:
  11986. - Added all new files
  11987. 2004-08-20 14:09 pbartok
  11988. * Control.cs:
  11989. - Added call to set window background color
  11990. 2004-08-20 14:03 pbartok
  11991. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  11992. - Added method for setting the window background
  11993. 2004-08-20 14:02 pbartok
  11994. * XplatUIWin32.cs:
  11995. - Added method for setting the background color
  11996. - Added handling for erasing the window background
  11997. 2004-08-20 13:45 jordi
  11998. * TrackBar.cs: fixes timer, new properties and methods
  11999. 2004-08-20 13:34 jackson
  12000. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  12001. correct thread
  12002. 2004-08-20 13:22 jackson
  12003. * Timer.cs: Timer Tick events are now handed through Controls Async
  12004. mechanism so the callbacks are executed in the same thread as X
  12005. 2004-08-20 13:19 jackson
  12006. * XplatUIDriver.cs: Expose functionality to send async messages
  12007. through the driver
  12008. 2004-08-20 13:18 jackson
  12009. * Control.cs: Implement Begininvoke
  12010. 2004-08-20 13:14 jackson
  12011. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  12012. messages through the driver
  12013. 2004-08-20 13:12 jackson
  12014. * XplatUIX11.cs: Lock before all X operations. Also added Async
  12015. method functionality through XSendEvent
  12016. 2004-08-20 13:11 jackson
  12017. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  12018. This will screw up on 64 bit systems)
  12019. 2004-08-20 13:10 jackson
  12020. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  12021. Async messages through X/Win32
  12022. 2004-08-19 19:39 pbartok
  12023. * XplatUIX11.cs:
  12024. - Updated code to match new HandleData.DeviceContext type
  12025. 2004-08-19 19:38 pbartok
  12026. * HandleData.cs:
  12027. - Made DeviceContext a generic object to allow usage from various
  12028. drivers
  12029. - Added support for queueing Windows messages
  12030. 2004-08-19 19:37 pbartok
  12031. * XplatUIWin32.cs:
  12032. - Added generation of MouseEnter, MouseLeave and MouseHover events
  12033. - Added cleanup on EndPaint
  12034. 2004-08-19 19:17 pbartok
  12035. * Control.cs:
  12036. - Added handling of WM_MOUSEHOVER
  12037. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  12038. code
  12039. 2004-08-19 18:55 jordi
  12040. * ThemeGtk.cs: fixes button order
  12041. 2004-08-19 18:12 jordi
  12042. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  12043. 2004-08-19 17:09 pbartok
  12044. * Control.cs:
  12045. - Added Right property
  12046. - Added RightToLeft property
  12047. 2004-08-19 16:27 jordi
  12048. * ThemeGtk.cs: experimental GTK theme support
  12049. 2004-08-19 16:26 jordi
  12050. * ITheme.cs, Theme.cs: move themes from an interface to a class
  12051. 2004-08-19 16:25 jordi
  12052. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  12053. theme enhancaments
  12054. 2004-08-19 16:04 pbartok
  12055. * XplatUIX11.cs:
  12056. - Added colormap basics
  12057. - Added a way to re-initialize with a different display handle
  12058. - Fixed setting of the window background color
  12059. - Added various X11 imports related to colors and colormaps
  12060. 2004-08-19 15:51 pbartok
  12061. * X11Structs.cs:
  12062. - Removed packing hints (Paolo suggested this a while back)
  12063. - fixed colormap type
  12064. - Added default Atom types
  12065. - Added Screen and color structs and enums
  12066. 2004-08-19 15:39 pbartok
  12067. * ImageList.cs:
  12068. - Added missing Draw() method
  12069. - Added missing RecreateHandle event
  12070. 2004-08-19 15:30 pbartok
  12071. * Form.cs:
  12072. - Added handling of WM_CLOSE
  12073. 2004-08-18 13:16 jordi
  12074. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  12075. a table
  12076. 2004-08-18 09:56 jordi
  12077. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  12078. 2004-08-17 15:31 ravindra
  12079. * SWF.csproj: Updated project.
  12080. 2004-08-17 15:25 pbartok
  12081. * Control.cs:
  12082. - Drawing improvement; don't call UpdateBounds if we are not visible
  12083. (or have been minimized)
  12084. 2004-08-17 15:24 pbartok
  12085. * XplatUIWin32.cs:
  12086. - Finished IsVisible
  12087. - Added Win32GetWindowPlacement
  12088. 2004-08-17 15:08 jackson
  12089. * Panel.cs: Initial checkin of the Panel
  12090. 2004-08-17 14:25 pbartok
  12091. * Control.cs:
  12092. - Fixed broken handling of default window sizes
  12093. 2004-08-17 13:29 jackson
  12094. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  12095. has a large startup time.
  12096. 2004-08-17 10:25 jackson
  12097. * HandleData.cs: union areas properly
  12098. 2004-08-17 10:12 jackson
  12099. * HandleData.cs: union areas properly
  12100. 2004-08-16 20:00 ravindra
  12101. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  12102. 2004-08-16 18:48 ravindra
  12103. * ToolBar.cs: Added attributes.
  12104. 2004-08-16 17:17 ravindra
  12105. * SWF.csproj: Updated project.
  12106. 2004-08-16 17:16 jackson
  12107. * XplatUIX11.cs: Check for more expose events before sending a
  12108. WM_PAINT so they can all be grouped together. This makes dragging a
  12109. window across another window redraw in a sane way.
  12110. 2004-08-16 15:47 pbartok
  12111. * Control.cs:
  12112. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  12113. support OnMouseEnter/Leave()
  12114. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  12115. exposure handling
  12116. 2004-08-16 15:46 pbartok
  12117. * XplatUIStructs.cs, XplatUIX11.cs:
  12118. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  12119. OnMouseEnter/Leave()
  12120. 2004-08-16 15:34 jackson
  12121. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  12122. sure messages get the message field set to WM_NULL if they are not
  12123. handled.
  12124. 2004-08-16 15:24 jackson
  12125. * HandleData.cs: HandleData is used for storing message information
  12126. for window handles
  12127. 2004-08-15 17:23 ravindra
  12128. * ColorDepth.cs: Added attribute.
  12129. 2004-08-15 17:23 ravindra
  12130. * SWF.csproj: Updated project for ToolBar Control.
  12131. 2004-08-15 17:20 ravindra
  12132. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  12133. control and also dos2unix format.
  12134. 2004-08-15 17:13 ravindra
  12135. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  12136. ToolBarButtonClickEventArgs.cs,
  12137. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  12138. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  12139. 2004-08-15 15:31 pbartok
  12140. * ButtonBase.cs:
  12141. - First (mostly) working version
  12142. 2004-08-13 16:15 pbartok
  12143. * Control.cs:
  12144. - Fixed Anchor default
  12145. 2004-08-13 15:43 pbartok
  12146. * Control.cs:
  12147. - Changed GetCursorPos signature
  12148. 2004-08-13 15:42 pbartok
  12149. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12150. - Changed signature for GetCursorPos
  12151. 2004-08-13 15:25 pbartok
  12152. * XplatUIX11.cs:
  12153. - Cleanup
  12154. - Fixed resizing/exposure handling
  12155. 2004-08-13 15:22 jordi
  12156. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  12157. with tickposition
  12158. 2004-08-13 14:55 jordi
  12159. * TrackBar.cs: change from wndproc to events
  12160. 2004-08-13 13:00 jordi
  12161. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12162. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  12163. 2004-08-13 12:53 pbartok
  12164. * XplatUIWin32.cs:
  12165. - Changed GetWindowPos to also provide client area size
  12166. - Fixed broken prototypes for several win32 functions
  12167. 2004-08-13 12:53 pbartok
  12168. * XplatUI.cs, XplatUIDriver.cs:
  12169. - Changed GetWindowPos to also provide client area size
  12170. 2004-08-13 12:52 pbartok
  12171. * XplatUIX11.cs:
  12172. - Added generation of WM_POSCHANGED
  12173. - Changed GetWindowPos to also provide client area size
  12174. 2004-08-13 12:52 pbartok
  12175. * Control.cs:
  12176. - Added Dispose() and destructor
  12177. - Fixed resizing and bounds calculation
  12178. - Fixed Layout
  12179. - Added memory savings for invisible windows
  12180. 2004-08-13 12:46 jordi
  12181. * TrackBar.cs: adds timer and grap window
  12182. 2004-08-13 10:25 jackson
  12183. * Timer.cs: SWF Timer
  12184. 2004-08-12 16:59 pbartok
  12185. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12186. - Implemented method to get current mouse position
  12187. 2004-08-12 14:29 jordi
  12188. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  12189. enhancement, fix mouse problems, highli thumb, etc
  12190. 2004-08-12 13:31 pbartok
  12191. * Control.cs:
  12192. - Fixed Anchoring bugs
  12193. 2004-08-12 13:01 jackson
  12194. * StatusBar.cs: Don't forget things
  12195. 2004-08-12 12:54 jackson
  12196. * ThemeWin32Classic.cs: Handle owner draw status bars
  12197. 2004-08-12 12:54 jackson
  12198. * StatusBar.cs: Implement missing properties, events, and methods.
  12199. Handle mouse clicking
  12200. 2004-08-12 10:19 jackson
  12201. * StatusBarPanelClickEventArgs.cs,
  12202. StatusBarPanelClickEventHandler.cs: Classes for handling status
  12203. bar panel click events
  12204. 2004-08-12 10:10 jackson
  12205. * Control.cs: Add missing properties
  12206. 2004-08-12 09:46 pbartok
  12207. * BindingsManagerBase.cs:
  12208. - Name changed to BindingManagerBase.cs
  12209. 2004-08-12 09:25 jordi
  12210. * ScrollableControl.cs: calls ctrlbase instead of exeception
  12211. 2004-08-11 16:28 pbartok
  12212. * InputLanguageChangingEventArgs.cs:
  12213. - Never check in before compiling. Fixes the last check-in
  12214. 2004-08-11 16:26 pbartok
  12215. * InputLanguageChangingEventArgs.cs:
  12216. - More signature fixes
  12217. 2004-08-11 16:20 pbartok
  12218. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  12219. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  12220. ImageListStreamer.cs, InputLanguage.cs,
  12221. InputLanguageChangedEventArgs.cs,
  12222. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  12223. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  12224. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  12225. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12226. - Signature fixes
  12227. 2004-08-11 16:16 pbartok
  12228. * Application.cs:
  12229. - Fixed Signature
  12230. - Added .Net 1.1 method
  12231. 2004-08-11 15:25 pbartok
  12232. * SWF.csproj:
  12233. - Fixed BindingManagerBase.cs filename
  12234. 2004-08-11 15:22 pbartok
  12235. * BindingManagerBase.cs:
  12236. - Was checked in with wrong filename
  12237. 2004-08-11 14:50 pbartok
  12238. * SWF.csproj:
  12239. - Updated
  12240. 2004-08-11 13:41 jordi
  12241. * XplatUIWin32.cs: Fixes ClientRect
  12242. 2004-08-11 13:19 pbartok
  12243. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12244. XplatUIX11.cs:
  12245. - We had SetWindowPos and MoveWindow to set window positions and
  12246. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  12247. keep SetWindowPos as matching counterpart
  12248. - Added some X11 sanity checking
  12249. 2004-08-11 12:59 pbartok
  12250. * Control.cs:
  12251. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  12252. (It seems that SetBounds is just a front for SetBoundsCore and
  12253. SetBoundsCore updates the underlying window system and
  12254. UpdateBounds is responsible for updating the variables associated
  12255. with the Control and sending the events)
  12256. - Major cleanup of Size handling; we now have two sizes, client_size
  12257. and bounds. Bounds defines the window with decorations, client_size
  12258. without them.
  12259. 2004-08-11 12:55 pbartok
  12260. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12261. - Added method to calculate difference between decorated window and
  12262. raw client area
  12263. 2004-08-11 12:54 pbartok
  12264. * Label.cs:
  12265. - Forcing redraw on resize
  12266. 2004-08-11 11:43 pbartok
  12267. * ImageList.cs:
  12268. - Removed disposing of the actual images when the list is disposed
  12269. 2004-08-11 09:13 pbartok
  12270. * Control.cs:
  12271. - Now properly reparents windows
  12272. 2004-08-11 08:37 pbartok
  12273. * Control.cs:
  12274. - Duh!
  12275. 2004-08-11 07:47 pbartok
  12276. * Control.cs:
  12277. - Rewrote the collection stuff. Might not be as fast now, not
  12278. keeping the number of children around and accessible directly, but
  12279. it's more straightforward
  12280. 2004-08-11 07:44 pbartok
  12281. * AccessibleObject.cs:
  12282. - Fixed to match ControlCollection rewrite
  12283. 2004-08-11 07:43 pbartok
  12284. * ImageList.cs:
  12285. - Added missing creation of the collection list
  12286. 2004-08-10 20:08 jackson
  12287. * StatusBar.cs: Get the paint message from WndProc
  12288. 2004-08-10 19:31 jackson
  12289. * ThemeWin32Classic.cs: Create Brushes as little as possible
  12290. 2004-08-10 19:20 jackson
  12291. * UICues.cs: Add Flags attribute
  12292. 2004-08-10 19:19 jackson
  12293. * StatusBarPanel.cs: Signature cleanup
  12294. 2004-08-10 19:10 jackson
  12295. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  12296. Initial implementation of status bar item drawing
  12297. 2004-08-10 17:27 jordi
  12298. * TrackBar.cs: add missing methods, properties, and restructure to
  12299. hide extra ones
  12300. 2004-08-10 16:24 jackson
  12301. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  12302. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  12303. attribute
  12304. 2004-08-10 13:21 jordi
  12305. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  12306. enhancements and standarize on win colors defaults
  12307. 2004-08-10 12:52 jackson
  12308. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  12309. ThemeWin32Classic.cs: Implement DrawItem functionality
  12310. 2004-08-10 12:47 jordi
  12311. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  12312. 2004-08-10 12:32 jordi
  12313. * Control.cs: throw ontextchange event
  12314. 2004-08-10 11:43 pbartok
  12315. * Control.cs:
  12316. - Added more to the still unfinished Dock/Anchor layout code
  12317. 2004-08-10 11:39 pbartok
  12318. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  12319. - Added GetWindowPos method
  12320. 2004-08-10 11:36 pbartok
  12321. * XplatUIWin32.cs:
  12322. - Implemented several methods
  12323. 2004-08-10 09:47 jackson
  12324. * TrackBar.cs: Allow control to handle buffering
  12325. 2004-08-10 09:41 jackson
  12326. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  12327. 2004-08-10 09:24 jackson
  12328. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  12329. 2004-08-10 09:09 jackson
  12330. * StatusBar.cs: Let Control handle all the buffering.
  12331. 2004-08-10 09:08 jackson
  12332. * Control.cs: Control will now handle the buffering code, so each
  12333. control does not have to implement this.
  12334. 2004-08-10 08:34 jackson
  12335. * XplatUIDriver.cs: Use default colors from the theme
  12336. 2004-08-09 17:12 pbartok
  12337. * ImageList.cs:
  12338. - Fixed several bugs Ravindra pointed out
  12339. 2004-08-09 16:11 pbartok
  12340. * Control.cs:
  12341. - Added incomplete dock layout code
  12342. - Added support for mouse wheel
  12343. 2004-08-09 16:09 pbartok
  12344. * XplatUIX11.cs:
  12345. - Added handling for middle and right mousebutton
  12346. - Added handling for mouse wheel
  12347. - Added handling for key state and mouse state and position
  12348. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  12349. messages
  12350. 2004-08-09 15:40 jackson
  12351. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  12352. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  12353. checkin
  12354. 2004-08-09 15:37 jackson
  12355. * StatusBar.cs: Initial implementation of StatusBar
  12356. 2004-08-09 15:36 jackson
  12357. * ITheme.cs: Add support for drawing status bar and getting status
  12358. bar item sizes
  12359. 2004-08-09 15:35 pbartok
  12360. * MouseButtons.cs:
  12361. - Fixed values
  12362. 2004-08-09 15:34 jackson
  12363. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  12364. status bar item sizes
  12365. 2004-08-09 15:21 jackson
  12366. * ThemeWin32Classic.cs: Use known colors for default control
  12367. colours
  12368. 2004-08-09 15:12 jackson
  12369. * ThemeWin32Classic.cs: Make the default font static, it is static
  12370. in control so this doesn't change functionality and creating fonts
  12371. is sloooooow.
  12372. 2004-08-09 14:56 pbartok
  12373. * X11Structs.cs:
  12374. - Added GrabMode enum
  12375. 2004-08-09 14:55 pbartok
  12376. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12377. - Removed Run method, was only required for initial development
  12378. 2004-08-09 14:51 pbartok
  12379. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  12380. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  12381. capture
  12382. 2004-08-09 13:48 pbartok
  12383. * XplatUIX11.cs:
  12384. - Fixed default sizing for child windows
  12385. 2004-08-09 12:56 pbartok
  12386. * XplatUIX11.cs:
  12387. - Added generation of WM_DESTROY message
  12388. - Added handling of window manager induced shutdown
  12389. 2004-08-09 11:31 jackson
  12390. * ThemeWin32Classic.cs: New names for control properties
  12391. 2004-08-09 11:25 jackson
  12392. * Control.cs: Use new color names
  12393. 2004-08-09 11:02 jackson
  12394. * XplatUI.cs: Get default window properties from the theme
  12395. 2004-08-09 11:01 jackson
  12396. * ITheme.cs: The theme engine now controls default window
  12397. properties
  12398. 2004-08-09 11:00 jackson
  12399. * ThemeWin32Classic.cs: Add default window color properties
  12400. 2004-08-09 10:17 jackson
  12401. * ThemeWin32Classic.cs: Use correct default back color
  12402. 2004-08-09 10:05 jackson
  12403. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  12404. the theme now.
  12405. 2004-08-09 09:56 jackson
  12406. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  12407. 2004-08-09 09:54 jackson
  12408. * Control.cs: Get default properties from the theme.
  12409. 2004-08-09 09:53 jackson
  12410. * ITheme.cs: Themes now handle default control properties
  12411. 2004-08-09 09:53 jackson
  12412. * ThemeWin32Classic.cs: Themes now handle default control
  12413. properties so coloring will be consistent
  12414. 2004-08-08 16:54 jordi
  12415. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  12416. 2004-08-08 15:08 jordi
  12417. * XplatUIX11.cs: fixes keyboard crash
  12418. 2004-08-08 13:47 jordi
  12419. * Label.cs: add cvs header info
  12420. 2004-08-08 12:09 jackson
  12421. * ThemeWin32Classic.cs: Add pen_buttonface
  12422. 2004-08-08 11:52 jordi
  12423. * Label.cs, LinkLabel.cs: [no log message]
  12424. 2004-08-08 11:34 jordi
  12425. * ThemeWin32Classic.cs: Use Windows Standard Colours
  12426. 2004-08-07 17:32 jordi
  12427. * TrackBar.cs: throw exceptions of invalid enums values
  12428. 2004-08-07 17:31 jordi
  12429. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  12430. draw method name
  12431. 2004-08-07 16:56 jackson
  12432. * HorizontalAlignment.cs: Initial checkin
  12433. 2004-08-07 13:16 jordi
  12434. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  12435. methods
  12436. 2004-08-07 13:05 jordi
  12437. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  12438. GetSysColor defines
  12439. 2004-08-06 18:01 pbartok
  12440. * ThemeWin32Classic.cs:
  12441. - Fixed some rounding issues with float/int
  12442. 2004-08-06 18:00 jackson
  12443. * DockStyle.cs, AnchorStyles.cs:
  12444. Add flags and serializable attributes.
  12445. 2004-08-06 17:46 pbartok
  12446. * XplatUIX11.cs:
  12447. - Implemented GetParent
  12448. 2004-08-06 17:18 pbartok
  12449. * TrackBar.cs:
  12450. - Fixed some rounding issues with float/int
  12451. 2004-08-06 17:17 pbartok
  12452. * X11Structs.cs, XplatUIX11.cs:
  12453. - Fixed Refresh and Invalidate
  12454. 2004-08-06 15:30 pbartok
  12455. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  12456. - Fixed recursive loop when resizing
  12457. - Improved/fixed redrawing on expose messages
  12458. 2004-08-06 09:53 jordi
  12459. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  12460. keyboard navigation
  12461. 2004-08-06 08:02 pbartok
  12462. * X11Structs.cs, XplatUIX11.cs:
  12463. - Fixed reparenting
  12464. - Fixed window border creation
  12465. 2004-08-05 15:38 pbartok
  12466. * XplatUIX11.cs:
  12467. - Attempted fix for reparenting problems
  12468. 2004-08-04 15:14 pbartok
  12469. * Control.cs:
  12470. - Fixed Invalidation bug (calculated wrong client area)
  12471. - Added ClientSize setter
  12472. 2004-08-04 15:13 pbartok
  12473. * Form.cs:
  12474. - Added AutoScale properties
  12475. 2004-08-04 15:13 pbartok
  12476. * SWF.csproj:
  12477. - Added latest files
  12478. 2004-08-04 14:11 pbartok
  12479. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12480. XplatUIX11.cs:
  12481. - Added Invalidate handling
  12482. 2004-08-03 17:09 jordi
  12483. * XplatUIDriver.cs: fixes spelling mistake
  12484. 2004-07-27 09:53 jordi
  12485. * TrackBar.cs: fixes trackbar events, def classname, methods
  12486. signature
  12487. 2004-07-27 09:29 jordi
  12488. * ScrollBar.cs: fixes scrollbar events
  12489. 2004-07-27 04:38 jordi
  12490. * Control.cs: changes to be able to run winforms samples
  12491. 2004-07-26 11:42 jordi
  12492. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  12493. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  12494. 2004-07-26 05:41 jordi
  12495. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  12496. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  12497. implementation
  12498. 2004-07-22 09:22 jordi
  12499. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  12500. check link overlapping, implement events, and fixes
  12501. 2004-07-21 10:28 jordi
  12502. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  12503. 2004-07-21 10:19 jordi
  12504. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  12505. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  12506. LinkLabelLinkClickedEventArgs.cs,
  12507. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  12508. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  12509. implementation
  12510. 2004-07-19 13:09 jordi
  12511. * Control.cs, Label.cs: label control re-written: added missing
  12512. functionlity, events, and properties
  12513. 2004-07-19 10:49 jordi
  12514. * Control.cs: fixes SetBounds logic
  12515. 2004-07-19 01:29 jordi
  12516. * Control.cs: Call RefreshWindow only if the window has created
  12517. 2004-07-15 14:05 pbartok
  12518. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  12519. - Implemented ImageList and ImageList.ImageCollection classes
  12520. - Added ColorDepth enumeration
  12521. - Updated SWF VS.Net project
  12522. 2004-07-15 11:06 jordi
  12523. * XplatUIStructs.cs: added MsgButons enum
  12524. 2004-07-15 11:03 jordi
  12525. * Control.cs: added basic mouse handeling events
  12526. 2004-07-15 03:38 jordi
  12527. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  12528. Vertical TrackBar control implementation
  12529. 2004-07-13 09:33 jordi
  12530. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  12531. 2004-07-13 09:31 jordi
  12532. * Control.cs, Form.cs: commit: new properties and fixes form size
  12533. problems
  12534. 2004-07-09 14:13 miguel
  12535. * ProgressBar.cs: Spelling
  12536. 2004-07-09 11:25 pbartok
  12537. * ProgressBar.cs:
  12538. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  12539. faster
  12540. 2004-07-09 11:17 miguel
  12541. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  12542. * ProgressBar.cs: Fixed spelling for `block'
  12543. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  12544. style guidelines.
  12545. Avoid using the += on rect.X, that exposed a bug in the compiler.
  12546. 2004-07-08 23:21 pbartok
  12547. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  12548. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  12549. BaseCollection.cs, Binding.cs, BindingContext.cs,
  12550. BindingMemberInfo.cs, BindingsCollection.cs,
  12551. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  12552. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  12553. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  12554. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  12555. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  12556. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  12557. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  12558. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  12559. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  12560. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  12561. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  12562. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  12563. InputLanguageChangedEventArgs.cs,
  12564. InputLanguageChangedEventHandler.cs,
  12565. InputLanguageChangingEventArgs.cs,
  12566. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  12567. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  12568. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  12569. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  12570. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  12571. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  12572. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  12573. QueryAccessibilityHelpEventArgs.cs,
  12574. QueryAccessibilityHelpEventHandler.cs,
  12575. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  12576. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  12577. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  12578. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  12579. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  12580. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  12581. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  12582. XplatUIX11.cs, lang.cs:
  12583. - Initial check-in