ChangeLog 897 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503
  1. 2007-04-07 Gert Driesen <[email protected]>
  2. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  3. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  4. Spaces to tabs. Removed extra tabs.
  5. 2007-04-06 Jonathan Pobst <[email protected]>
  6. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  7. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  8. 2007-04-06 Jackson Harper <[email protected]>
  9. * TextBoxBase.cs: When a delete removes a line, recalculate all
  10. lines below that line (they need to get offsets setup correctly)
  11. and invalidate.
  12. 2007-04-05 Jackson Harper <[email protected]>
  13. * TextControl.cs: We need to invalidate across the width of the
  14. document when we are invalidating multiple lines.
  15. * TextBoxBase.cs: Don't delete into the line ending.
  16. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  17. * ListView.cs: Restore the check for the MouseHover event
  18. in ListView. It looks like the ListView fires more than one MouseHover
  19. event when HoverSelection is true _only_ in weird-corner scenarios, but
  20. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  21. event.
  22. 2007-04-05 Mike Kestner <[email protected]>
  23. * ListView.cs : raise MouseDown before updating selection.
  24. [Fixes #80373 tab 1&3]
  25. 2007-04-05 Jonathan Pobst <[email protected]>
  26. * ToolStripRenderer.cs: Add static method to mirror image.
  27. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  28. and RightToLeftAutoMirrorImage.
  29. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  30. 2007-04-05 Jonathan Pobst <[email protected]>
  31. * ToolStripSplitStackLayout.cs: Support Alignment property.
  32. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  33. 2007-04-05 Jackson Harper <[email protected]>
  34. * TextControl.cs: Move around the line endings when crossing line
  35. boundaries.
  36. - When combining lines, strip the ending text off the first line.
  37. 2007-04-05 Jackson Harper <[email protected]>
  38. * TextControl.cs:
  39. * TextBoxBase.cs: Try to never move the cursor into the line
  40. ending.
  41. 2007-04-04 Jonathan Pobst <[email protected]>
  42. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  43. the item is disabled. Also add a few missing methods.
  44. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  45. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  46. to fire just one MouseHover event when HoverSelection is true, since
  47. .Net does fire more than one MouseHover event in that scenario. Also,
  48. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  49. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  50. Finally, we need to reset the Hover logic in MouseMove, even when we
  51. don't have a selected item.
  52. 2007-04-04 Jonathan Pobst <[email protected]>
  53. * ToolStrip.cs: Add several missing methods, properties, and events.
  54. 2007-04-04 Chris Toshok <[email protected]>
  55. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  56. (0,0,0,0) in Commit, as MS does.
  57. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  58. make sure we set CurrentRow on a row header click *before* calling
  59. Select. This moves the current cell (and the textbox) to the new
  60. row. The call to Select then hides the textbox, giving us the
  61. correct behavior. Fixes #80362.
  62. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  63. (ListChangedHandler): reorder the position/current changed events,
  64. and call UpdateIsBinding in the ItemAdded case.
  65. * GridColumnStylesCollection.cs: add some columns events, one of
  66. which raises the CollectionChanged event.
  67. 2007-04-04 Jackson Harper <[email protected]>
  68. * TextControl.cs: When we delete multiple selection lines
  69. invalidate the selection area, don't need to do that for single
  70. lines because the final update view will handle it.
  71. 2007-04-04 Jonathan Pobst <[email protected]>
  72. * Control.cs: When we CreateControl, we need to also create all of the
  73. control's children. The child's OnLoad must also fire before the parent's
  74. OnLoad. Fixes the toolbox size in PDN.
  75. 2007-04-04 Jackson Harper <[email protected]>
  76. * TextBoxBase.cs: When the user presses enter, insert a line
  77. ending into the text. (Maybe this would be a good spot for
  78. Environment.NewLine).
  79. * TextControl.cs: Remove undo manager hack, line endings get
  80. inserted properly now.
  81. 2007-04-04 Everaldo Canuto <[email protected]>
  82. * MenuAPI.cs:
  83. - Remove unneeded parameters in UpdateCursor.
  84. - Fix UpdateCursor to check if menu is active.
  85. - Call UpdateCursor when menu deactivate my click.
  86. [Fixes remaining issues from #80410]
  87. 2007-04-04 Everaldo Canuto <[email protected]>
  88. * Control.cs: GetRealChildAtPoint method added, it make an
  89. recursive child control search for the point.
  90. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  91. menu.
  92. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  93. 2007-04-03 Everaldo Canuto <[email protected]>
  94. * Form.cs: Fix mouse position when send back mouse event after closes
  95. menu.
  96. 2007-04-03 Everaldo Canuto <[email protected]>
  97. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  98. 2007-04-03 Jonathan Pobst <[email protected]>
  99. * Control.cs: Fix an issue where if a user resized a control inside
  100. a sizing method like OnResize, we would overwrite their explicit
  101. value. Also, only call DefaultSize once in the constructor instead
  102. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  103. nothing actually changed.
  104. 2007-04-03 Jackson Harper <[email protected]>
  105. * TextControl.cs: Don't attempt to copy text for lines with no
  106. text in them (technically this shouldn't happen, but we aren't
  107. always inserting line endings when we should be).
  108. 2007-04-03 Jackson Harper <[email protected]>
  109. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  110. document, because this sets some of the document size properties
  111. that are needed.
  112. 2007-04-03 Jackson Harper <[email protected]>
  113. * TextBoxBase.cs: We need to calculate maximums even if this is
  114. not a multiline control, because the maxs are used for scrolling.
  115. - Display the caret after doing a page up/down, we need to
  116. manually display it because a proper CaretMoved event isn't
  117. triggered (this is because of the way the math is done to
  118. determine how far to scroll).
  119. 2007-04-03 Jonathan Pobst <[email protected]>
  120. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  121. (ToolBar was relying on SetBoundsCore to default the values sent
  122. base off of BoundsSpecified.)
  123. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  124. * DateTimePicker.cs: Change Text so that when a null value or empty
  125. string is assigned to the test we always raise ValueChanged and
  126. TextChanged (earlier implementation would only raise ValueChanged
  127. if the current date value was different from DateTime.Now).
  128. 2007-04-03 Andreia Gaita <[email protected]>
  129. * ButtonBase: Call update after invalidation, fixes #80194
  130. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  131. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  132. #79335.
  133. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  134. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  135. FormBorderStyle = None, don't give the window any decorations.
  136. Fixes #81276.
  137. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  138. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  139. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  140. to check for is a mix of several styles (such as WS_CAPTION for
  141. instance).
  142. * Control.cs: Don't paint an area bigger than the client area when
  143. painting the background colour. Add an internal GetCreateParams.
  144. Update calls to XplatUI.CalculateWindowRect due to API change.
  145. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  146. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  147. the size if it hasn't been handled by any windows. When creating
  148. and moving windows, X wants the location of the entire window, but
  149. the size of the client window, so add
  150. TranslateClientRectangleToXClientRectangle,
  151. TranslateWindowSizeToXWindowSIze and
  152. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  153. before every window creation and move. Update CalculateWIndowRect
  154. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  155. In AddConfigureNotify don't do anything if the hwnd is a zombie
  156. (fixes the BadWindow we were getting while running the tests),
  157. always calculate the offsets when it's a parentless window, not
  158. only when reparented, and translate the window size, since we're
  159. getting the client size of the whole window, excluding entire
  160. window.
  161. * Theme.cs: Added BorderSizableSize.
  162. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  163. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  164. chang
  165. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  166. change. Fake the window styles here instead of in XplatUIWin32 so
  167. that all back-ends get the same window styles (and it's Form that's
  168. deciding when to use wm, not the Win32 backend anyways)
  169. * Hwnd.cs: Completely reworked GetWindowRectangle and
  170. GetClientRectangle - they are now passed a CreateParams and they
  171. only use Style and ExStyle to determine the rectangles (they should
  172. now work just like Win32AdjustWindowRectEx - though quite a few
  173. special cases are probably missing). They should also be 100%
  174. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  175. == rect), and all numbers (borders, menu sizes) are taken from the
  176. current theme. Added a GetBorders helper function that will return
  177. the borders for any given CreateParams (including captions and
  178. menus), and GetBorderSize that returns the given border size only.
  179. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  180. Hwnd.GetClientRectangle.
  181. 2007-04-02 Chris Toshok <[email protected]>
  182. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  183. logic between the values we present to the user and the values
  184. which are stored in the column's property. Also, don't call
  185. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  186. 2007-04-02 Jackson Harper <[email protected]>
  187. * TextBoxBase.cs: Scroll faster!
  188. 2007-04-02 Jonathan Pobst <[email protected]>
  189. * StatusStrip.cs: Layout fixes for PDN.
  190. * ToolStrip.cs: Set item's available to true, and placement to main when
  191. added.
  192. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  193. changing in setter before doing any work, add InternalVisible.
  194. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  195. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  196. infinite loop.
  197. 2007-04-02 Jackson Harper <[email protected]>
  198. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  199. text on focus.
  200. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  201. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  202. Makes ToolStripComboBoxes show up again.
  203. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  204. * ListView.cs: Add a hover_pending field in ListView
  205. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  206. cycle (we are resetting the MouseHover logic in XplatUI
  207. to handle HoverSelection). Fixes #80429.
  208. 2007-04-02 Jackson Harper <[email protected]>
  209. * TextControl.cs: Make sure the attributes get set on the last
  210. tag.
  211. - Still have to do the end tag if we have stepped all the ways to
  212. the end.
  213. 2007-04-02 Sebastien Pouliot <[email protected]>
  214. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  215. on an internal libgdiplus call when the information is already
  216. available via the public API.
  217. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  218. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  219. control is removed from a control collecftion.
  220. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  221. Fixes FormPropertyTest (failed on rare occasions).
  222. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  223. of Win32SetParent (when changing from no parent to a parent it
  224. might add the new parent's location in screen coordinates to this
  225. window's location).
  226. * Form.cs: Rework ChangingParent once again, now the handle is
  227. recreated whenever a FormWindowManager is added or removed (that is
  228. whenever a normal form is parented or abandoned). Also change
  229. CreateParams so that all non-toplevel windows always get the
  230. specified sice (StartupPosition is never considered for
  231. non-TopLevel forms).
  232. * ContainerControl.cs: Add ChildControlRemoved, the container control
  233. needs to be notified when a control is removed from it's
  234. collection, in the case the removed control is the active control.
  235. 2007-04-02 Jackson Harper <[email protected]>
  236. * RichTextBox.cs: Use the new methods for setting the font and
  237. color, these methods set the specified attribute without
  238. overriding the other attributes.
  239. 2007-04-02 Jonathan Pobst <[email protected]>
  240. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  241. 2007-03-31 Gert Driesen <[email protected]>
  242. * TextBox.cs: Added internal ChangeBackColor method to special-case
  243. Color.Empty. Added check for invalid ScrollBars value.
  244. * TextBoxBase.cs: Added internal ChangeBackColor method.
  245. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  246. internal ChangeBackColor method to special-case Color.Empty. Added
  247. check for invalid ScrollBars value.
  248. 2007-03-30 Everaldo Canuto <[email protected]>
  249. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  250. 2007-03-30 Jonathan Pobst <[email protected]>
  251. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  252. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  253. [Based on submitted patch from Olivier Duff.]
  254. 2007-03-30 Jackson Harper <[email protected]>
  255. * TextBox.cs: Only select all on initial focus if the user has not
  256. specified a selection area.
  257. 2007-03-30 Jonathan Pobst <[email protected]>
  258. * UserControl.cs: Override CreateParams.
  259. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  260. [ Fixes #80995 ]
  261. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  262. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  263. check for is a mix of several styles (such as WS_CAPTION for instance).
  264. * Control.cs: Don't paint an area bigger than the client area when painting
  265. the background colour. Add an internal GetCreateParams. Update calls to
  266. XplatUI.CalculateWindowRect due to API change.
  267. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  268. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  269. hasn't been handled by any windows. When creating and moving windows, X
  270. wants the location of the entire window, but the size of the client
  271. window, so add TranslateClientRectangleToXClientRectangle,
  272. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  273. to cope with this, and call them before every window creation and move.
  274. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  275. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  276. hwnd is a zombie (fixes the BadWindow we were getting while running the
  277. tests), always calculate the offsets when it's a parentless window, not
  278. only when reparented, and translate the window size, since we're getting
  279. the client size of the whole window, excluding entire window.
  280. * Theme.cs: Added BorderSizableSize.
  281. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  282. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  283. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  284. Fake the window styles here instead of in XplatUIWin32 so that all
  285. back-ends get the same window styles (and it's Form that's deciding when
  286. to use wm, not the Win32 backend anyways)
  287. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  288. they are now passed a CreateParams and they only use Style and ExStyle
  289. to determine the rectangles (they should now work just like
  290. Win32AdjustWindowRectEx - though quite a few special cases are probably
  291. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  292. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  293. sizes) are taken from the current theme. Added a GetBorders helper
  294. function that will return the borders for any given CreateParams
  295. (including captions and menus), and GetBorderSize that returns the given
  296. border size only.
  297. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  298. Hwnd.GetClientRectangle.
  299. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  300. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  301. layout of the mdi children is handled by CreateParams. Fixes
  302. #79964,
  303. 2007-03-29 Everaldo Canuto <[email protected]>
  304. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  305. processed.
  306. * Form.cs: When active tracker mouse down is not processed, send event
  307. back to control inside mouse position. [Fixes #81227]
  308. 2007-03-29 Jonathan Pobst <[email protected]>
  309. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  310. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  311. stealing focus from the active form on Windows. (Control will be made
  312. visible in ShowWindow.)
  313. 2007-03-29 Mike Kestner <[email protected]>
  314. * ImageList.cs : add internal Changed event.
  315. * ListView.cs : hook up to StateImageList.Changed to perform
  316. invalidations when the the state icon list changes. [Fixes #81191]
  317. 2007-03-29 Jonathan Pobst <[email protected]>
  318. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  319. to prevent tooltips from stealing focus from the active form on Windows.
  320. 2007-03-29 Everaldo Canuto <[email protected]>
  321. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  322. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  323. 2007-03-29 Everaldo Canuto <[email protected]>
  324. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  325. balloons.
  326. 2007-03-29 Jackson Harper <[email protected]>
  327. * TextControl.cs: When deleting text from non multiline textboxes,
  328. we need to update the entire document, because line offsets will
  329. be shifting.
  330. 2007-03-29 Everaldo Canuto <[email protected]>
  331. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  332. added to theme, now we can create themes that uses diferent notify engines
  333. like notification-daemon from galago project or growl for Mac OS.
  334. 2007-03-28 Everaldo Canuto <[email protected]>
  335. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  336. 2007-03-28 Everaldo Canuto <[email protected]>
  337. * XplatUIX11.cs: Prevent system to open more than one balloon.
  338. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  339. some compiler warning messages.
  340. 2007-03-28 Everaldo Canuto <[email protected]>
  341. [Fixes #79149]
  342. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  343. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  344. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  345. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  346. systems.
  347. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  348. * ListViewItem.cs: Forgot to make Invalidate internal.
  349. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  350. * ListView.cs: Add a InvalidateSelection method to
  351. invalidate methods which are currently selected, and call
  352. it when setting FullRowSelect and HideSelection, instead of
  353. calling Redraw.
  354. 2007-03-28 Chris Toshok <[email protected]>
  355. * XplatUIX11.cs (UnmapWindow): reindent this block.
  356. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  357. the selection_start if we're moving the selection (that is, not
  358. extending it). Fixes bug #80461.
  359. 2007-03-28 Jonathan Pobst <[email protected]>
  360. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  361. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  362. create private ControlCollection.
  363. 2007-03-28 Jonathan Pobst <[email protected]>
  364. * Control.cs: We need to call OnVisibleChanged for our implicit
  365. children as well as our normal children. Fixes scrollbars in
  366. comboboxes not showing up.
  367. 2007-03-28 Jonathan Pobst <[email protected]>
  368. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  369. the check for IsHandleCreated first. The check in CreateHandle is not
  370. good enough because CreateHandle can be overriden, and the override
  371. should not be called if the handle is already created.
  372. 2007-03-28 Jonathan Pobst <[email protected]>
  373. * ToolStrip.cs: Remove MonoTODO for tooltips.
  374. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  375. * ToolStripContainer.cs: Add custom ControlCollection class.
  376. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  377. * ToolStripDropDown.cs: Add some missing properties/methods.
  378. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  379. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  380. * ToolStripManager.cs: Add IsShortcutDefined.
  381. * ToolStripOverflow.cs: Override LayoutEngine.
  382. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  383. * ToolStripSeparator.cs: Add ImageKey.
  384. 2007-03-28 Jackson Harper <[email protected]>
  385. * TextControl.cs: If a char delete removes a line ending, we need
  386. to update the ending style.
  387. - Make sure the line ending calcs get called.
  388. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  389. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  390. it was making the new code not work. Fixed a typo in the new code
  391. as well. Fixes #79826.
  392. 2007-03-27 Everaldo Canuto <[email protected]>
  393. * XplatUIWin32.cs:
  394. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  395. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  396. - SystrayBalloon method implemented.
  397. [Add support for notifyicon balloon on win32, #79149]
  398. 2007-03-27 Mike Kestner <[email protected]>
  399. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  400. the ms behavior when only one image is added to the list.
  401. [Fixes #81191]
  402. 2007-03-27 Jackson Harper <[email protected]>
  403. * TextControl.cs: Improvements to non multiline line ending
  404. drawing/measuing.
  405. 2007-03-27 Everaldo Canuto <[email protected]>
  406. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  407. 2007-03-27 Everaldo Canuto <[email protected]>
  408. * NotifyIcon.cs:
  409. - Balloon message handling added.
  410. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  411. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  412. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  413. to SystrayBalloon to me like other Systray method, also a
  414. handle parameter added.
  415. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  416. * ListView.cs: Show scrollbars even when items.Count == 0
  417. but the columns Width is bigger than the ListView.Width.
  418. Also, when columns.Count == 0 set layout_wd and layout_ht
  419. to the ClientRectangle values, so we don't show any scrollbar
  420. in that case.
  421. 2007-03-27 Everaldo Canuto <[email protected]>
  422. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  423. 2007-03-27 Jackson Harper <[email protected]>
  424. * RichTextBox.cs: The RTF library decodes the text properly for us
  425. now.
  426. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  427. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  428. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  429. ListView header (HeaderControl), instead of Control.BackColor.
  430. 2007-03-27 Jonathan Pobst <[email protected]>
  431. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  432. Fixes tab control issues where controls would not show up because they
  433. never received their OnVisibleChanged call.
  434. 2007-03-27 Everaldo Canuto <[email protected]>
  435. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  436. BalloonTipShown).
  437. 2007-03-27 Jonathan Pobst <[email protected]>
  438. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  439. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  440. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  441. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  442. the handle. Fix WindowState by using the internal variable until we are
  443. sure that we've been shown.
  444. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  445. max or min.
  446. [Fixes bug #81198]
  447. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  448. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  449. (at least borders). Fixes #79386 on Linux (with a small difference
  450. in behaviour: when trying to resize a caption-less window metacity
  451. shows the sysmenu. Resizing is still possible though).
  452. * XplatUIWin32.cs: When setting window styles send request an extra
  453. WM_NCCALCSIZE when it's a form without title (due to no text and no
  454. caption), since Win32 seems to calculate it wrong the first time we
  455. get the message, though the second time things work as they should.
  456. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  457. newly reparented window might show up unparented. Update
  458. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  459. there's no title text. Fixes #79386.
  460. 2007-03-27 Mike Kestner <[email protected]>
  461. * ListBox.cs : don't perform invalidations if the handle hasn't been
  462. created. [Fixes #80753]
  463. 2007-03-27 Mike Kestner <[email protected]>
  464. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  465. [Fixes #80428]
  466. 2007-03-26 Everaldo Canuto <[email protected]>
  467. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  468. needed to implement Balloon.
  469. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  470. * ListViewItem.cs: In the constructors that take
  471. an array of strings, don't use ListViewSubItemCollection.AddRange
  472. method to add items, since we need to have a different behaviour (in
  473. the constructors we add an item for each null string, opposed to
  474. the behaviour of AddRange, which adds nothing).
  475. 2007-03-26 Andreia Gaita <[email protected]>
  476. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  477. 2007-03-26 Jackson Harper <[email protected]>
  478. * TextControl.cs: Draw and measure line endings when in non
  479. multiline mode.
  480. - When searching the text, count the end of the last line as a
  481. word boundary.
  482. 2007-03-26 Jackson Harper <[email protected]>
  483. * RichTextBox.cs: The selection_start and selection_end don't
  484. really track the correct tags for the selection. So we'll manually
  485. compute the correct tag here.
  486. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  487. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  488. and Continuous styles. Fixes #79469.
  489. 2007-03-26 Jonathan Pobst <[email protected]>
  490. * ToolStrip.cs: Implement Tooltips.
  491. * ToolStripItem.cs: Create internal method for determining tooltip.
  492. 2007-03-26 Jonathan Pobst <[email protected]>
  493. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  494. 2007-03-26 Everaldo Canuto <[email protected]>
  495. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  496. it prevents a problem thak keeps icon visible after application
  497. closes on win32.
  498. 2007-03-26 Everaldo Canuto <[email protected]>
  499. * NotifyIcon.cs: Balloon properties and methods created.
  500. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  501. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  502. 2007-03-25 Jonathan Pobst <[email protected]>
  503. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  504. 2007-03-24 Jonathan Pobst <[email protected]>
  505. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  506. parameter indicates which aspects were explicit/user-set.
  507. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  508. 2007-03-24 Jonathan Pobst <[email protected]>
  509. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  510. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  511. SmallChange, and Value (2.0).
  512. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  513. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  514. * ListView.cs: Always set item_control.Width in LayoutDetails
  515. if View is Details. Setting it later in CalculateScrollBars
  516. in a not-so-corner scenario (the sum of columns width is
  517. not bigger than the ListView width when handle is created, and then
  518. that sum gets bigger by increasing the width of the columns)
  519. causes a very weird recursion path (which shouldn't be happening,
  520. since header_control sets it in CalculateScrollBars too). This bug
  521. appeared after Chris' fixes for handle created issues, so probably
  522. it's related to some handle-creation time.
  523. 2007-03-23 Chris Toshok <[email protected]>
  524. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  525. case where there's an add row, just so we don't end up in a case
  526. where it's not displayed (this happens when the row is partially
  527. obscured). Fixes bug #79574.
  528. 2007-03-23 Jackson Harper <[email protected]>
  529. * TextControl.cs:
  530. * TextBoxBase.cs:
  531. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  532. also added an enum that represents the line ending type.
  533. 2007-03-23 Andreia Gaita <[email protected]>
  534. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  535. messed with in every method call, but only from DownButton,
  536. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  537. 2007-03-23 Chris Toshok <[email protected]>
  538. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  539. format objects if the format spec is "". Fixes bug #80889.
  540. 2007-03-22 Miguel de Icaza <[email protected]>
  541. * ToolStripPanel.cs (Join): added stubs to build PDN3
  542. * Control.cs (AutoScrollOffset): Add.
  543. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  544. property, its only implemented for Win32, on X11 it defaults to
  545. some hardcoded value.
  546. * ToolStripItem.cs (AllowDrop): Add property
  547. 2007-03-22 Mike Kestner <[email protected]>
  548. * ListView.cs : in FullRowSelect Details mode, only enable box
  549. selection if the user clicks over the "item" column outside of the
  550. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  551. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  552. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  553. handle is not created yet.
  554. * Form.cs: Select: Don't call CreateHandle if the handle is already
  555. created, avoids a stack overflow on Windows when we are recreating
  556. controls.
  557. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  558. they are made visible, and override AfterTopMostControl to keep
  559. them on top when other controls are brought to front.
  560. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  561. or force_*scroll_visible is true (old implementation always shows
  562. scrollbars when needed, no matter what auto_scroll was set to).
  563. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  564. IsHandleCreated check.
  565. 2007-03-22 Andreia Gaita <[email protected]>
  566. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  567. row or col separator.
  568. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  569. 2007-03-22 Everaldo Canuto <[email protected]>
  570. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  571. 2007-03-22 Everaldo Canuto <[email protected]>
  572. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  573. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  574. every time. Fixes #80410.
  575. 2007-03-22 Chris Toshok <[email protected]>
  576. * BindingSource.cs (AddNew): partially implement.
  577. remove a couple of NotImplementedException's
  578. to get bug #81148 closed.
  579. 2007-03-22 Everaldo Canuto <[email protected]>
  580. [Fixes #80380]
  581. * Control.cs:
  582. - UpdateCursor method added to update the screen cursor.
  583. - GetAvailableCursor method added to return cursor for enabled tree,
  584. it searches for cursor on control and it's parent's for enabled control.
  585. - Call UpdateCursor method on setter of Cursor property.
  586. - On setter of Enabled call UpdateCursor when it is false, we need to
  587. change cursor to normal (or to this parent cursor) because cursor
  588. setting theres no effect to disabled controls.
  589. - Some minor source changes to follow the coding style guidelines.
  590. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  591. controls.
  592. 2007-03-22 Chris Toshok <[email protected]>
  593. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  594. generates.
  595. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  596. * XplatUIX11.cs: Implement default locations for forms.
  597. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  598. * Hwnd.cs: Add previous_child_startup_location (to track the current
  599. startup location for any child forms of the current form) and
  600. previous_main_startup_location (to track the startup location for
  601. the current toplevel form).
  602. 2007-03-21 Jonathan Pobst <[email protected]>
  603. * Control.cs: Don't trigger a layout if an implicit control is added
  604. that isn't visible. Also, don't notify the owner when an implicit control
  605. is added. (Owners shouldn't even know about their implicit controls.)
  606. 2007-03-21 Jonathan Pobst <[email protected]>
  607. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  608. to save some re-layouts.
  609. 2007-03-21 Everaldo Canuto <[email protected]>
  610. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  611. [Fixes #81203]
  612. 2007-03-21 Jonathan Pobst <[email protected]>
  613. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  614. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  615. 2007-03-21 Mike Kestner <[email protected]>
  616. * ListView.cs : disable selection update for non-left button clicks
  617. with mods and over selected items. [Fixes #80524]
  618. 2007-03-20 Jackson Harper <[email protected]>
  619. * TextControl.cs:
  620. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  621. \r\r\n, \n.
  622. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  623. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  624. very probably a more complicated calculation there. Update the
  625. textbox' ForeColor and BackColor when the ComboBox' colors are
  626. changed. Change the border change in LayoutComboBox to only affect
  627. the textbox, not all the calculations there. Seems to fix most of
  628. #79436.
  629. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  630. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  631. modifiers + navigation keys as input keys, enables advanced text
  632. selection in the combobox (like Shift+Left Arrow for instance).
  633. ComboTextBox now overrides Focused and returns whatever
  634. ComboBox.Focused returns, since it really should be focused
  635. whenever the ComboBox is. Fixes #80795. Also make the border around
  636. the text box one pixel bigger, as mentioned in #79436.
  637. 2007-03-20 Jackson Harper <[email protected]>
  638. * TreeView.cs: Don't offset the images, this was causing some
  639. artifacts when expanding/collapsing with images that were the
  640. exact height of the treenode.
  641. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  642. * TrackBar.cs: Query the theme for the correct value when the mouse
  643. moves and the thumb is pressed.
  644. * Theme.cs: Added TrackBarValueFromMousePosition
  645. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  646. implementation was updating the trackbar value when drawing, now
  647. the drawing methods only draw. Fixes #80900. Refactored the
  648. calculations out to TrackBarValueFromMousePosition and
  649. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  650. according to the mouse position whenever it wants to. Changed the
  651. light coloured pen when drawing the thumb from ControlLight to
  652. ControlLightLight, because the ControlLight is the same colour as
  653. the background so the 3D effect is lost.
  654. 2007-03-20 Everaldo Canuto <[email protected]>
  655. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  656. defined. Fixes #80784.
  657. 2007-03-20 Marek Habersack <[email protected]>
  658. * ContextMenuStrip.cs: align with the change introduced in
  659. revision 74664.
  660. 2007-03-20 Everaldo Canuto <[email protected]>
  661. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  662. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  663. in SetTopmost.
  664. 2007-03-19 Chris Toshok <[email protected]>
  665. * Control.cs (WmPaint): don't make use of the Handle property
  666. after an event is emitted, as the user could have closed the
  667. form/destroyed the control. Store the Handle in a local variable
  668. and make use of that. Fixes bug #80768.
  669. 2007-03-20 Everaldo Canuto <[email protected]>
  670. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  671. behavior in X11 environments.
  672. 2007-03-20 Everaldo Canuto <[email protected]>
  673. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  674. because on setter of topmost we dont call SetTopmost when handle is not
  675. created.
  676. 2007-03-20 Jackson Harper <[email protected]>
  677. * TextControl.cs: Need to use SelectionLength () not
  678. selection_length, since that var is reset to -1.
  679. - Draw the caret when we don't have focus.
  680. * TextBox.cs: The selectall actually doesn't occur until the first
  681. focus.
  682. * TextBoxBase.cs: Need to update the caret position after a
  683. selectall.
  684. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  685. * ListView.cs: Enable scrolling when using Tile view.
  686. 2007-03-20 Everaldo Canuto <[email protected]>
  687. [Fixes #80902]
  688. * XplatUIDriver.cs: Abstract SetOwner method created.
  689. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  690. must be implemented and was masked as todo.
  691. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  692. GWL_HWNDPARENT.
  693. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  694. cheking for null owner to remove transient. The SetTopmost will be change
  695. on a decond step.
  696. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  697. SetTopmost. Now owned forms will work properly in win32 and X11.
  698. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  699. * MdiWindowManager.cs: Update function name.
  700. * Form.cs: After closing a form MdiParent is always null.
  701. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  702. better what it should do: necessary book-keeping when the form is
  703. closed, it should not close the form itself.
  704. 2007-03-19 Andreia Gaita <[email protected]>
  705. * ListViewItem.cs: Fix back and fore color. The subitems only
  706. use their own colors if they are set, otherwise use the listview's
  707. colors. Don't set default colors on constructor for subitem.
  708. Fixes #79315.
  709. 2007-03-19 Mike Kestner <[email protected]>
  710. * ListView.cs : make box selection for Details views with
  711. FullRowSelect conform to MS behavior when clicking in the "item"
  712. column and clicking outside the defined columns.
  713. [Fixes case 5-6 of #80374]
  714. 2007-03-19 Chris Toshok <[email protected]>
  715. * ScrollableControl.cs: create the controls from within the ctor,
  716. but don't actually add them until our handle is created. this
  717. fixes a NRE possibility jpobst found (if you override OnLayout in
  718. a subclass, it's called before your ctor). Also, add a
  719. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  720. 2007-03-19 Jackson Harper <[email protected]>
  721. * TextBox.cs: Reduce the amount of invalidation we do.
  722. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  723. some of them are true by default on MS.
  724. - Add some functions to reduce the amount of invalidates we do.
  725. * TextControl.cs: Less invalidation.
  726. 2007-03-19 Chris Toshok <[email protected]>
  727. [ Fixes #81773, and *seems* to fix #81553 as well ]
  728. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  729. AccumulateDestroyedHandles. We need to do it *after* we send
  730. WM_DESTROY, as the user's code can access Control.Handle in
  731. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  732. move the WM_DESTROY/zombie handling to before the call to
  733. XDestroyWindow. For some reason without this ordering
  734. FormTest.RecreateHandle hangs. This ordering is semantically
  735. equivalent, however, as XDestroyWindow is async anyway.
  736. 2007-03-19 Gert Driesen <[email protected]>
  737. * RichTextBox.cs: Reset backcolor_set after setting default.
  738. 2007-03-19 Chris Toshok <[email protected]>
  739. * ScrollableControl.cs: the scroll position should not effect the
  740. canvas size. commit patch from [email protected], which
  741. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  742. 2007-03-19 Chris Toshok <[email protected]>
  743. * ScrollableControl.cs: clean this up a bit. create the
  744. scrollbars in the ctor and just show/hide them as needed. Also,
  745. make hscroll_visible/vscroll_visible internal to Recalculate, and
  746. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  747. everywhere else. This seems to fix the scrollbars appearing
  748. beneath the content for me (i have *no* idea why that is,
  749. however.)
  750. 2007-03-19 Jonathan Pobst <[email protected]>
  751. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  752. some redundacy for stuff in Anchor and Dock that base will take care of.
  753. [Fixes #80762]
  754. 2007-03-19 Mike Kestner <[email protected]>
  755. * ListView.cs : make box selection for Details views without
  756. FullRowSelect dependent on the text bounds, not item bounds.
  757. * ListViewItem.cs : add an internal property to obtain the TextBounds
  758. in Details view. [Fixes case 1-4 of #80374]
  759. 2007-03-19 Andreia Gaita <[email protected]>
  760. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  761. we're < 2.0. #78448 && #80316
  762. 2007-03-19 Jonathan Pobst <[email protected]>
  763. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  764. have the same style available as the previously selected one. Also,
  765. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  766. 2007-03-19 Jackson Harper <[email protected]>
  767. * TextControl.cs: Add an alignment property that all new lines
  768. will be given.
  769. - Make sure to use the align shift when calculating the line's X
  770. position.
  771. * TextBox.cs: Set the alignment on the document as well as on all
  772. the document lines.
  773. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  774. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  775. throw if setting the parent of an mdichild that already has an
  776. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  777. AssemblyProductAttribute in the assembly, use the type's namespace (as
  778. MS seems to do). CreateControl: don't create the handle if the control
  779. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  780. create handle if the control is not a form. Change FocusInternal to
  781. virtual so that it can be overriden by Form.
  782. * TextBox.cs: Update call to FocusInternal.
  783. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  784. form is not a toplevel form when it's a mdi child, so update is_toplevel
  785. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  786. hasn't been created. Show (IWin32Window): Don't allow this overload for
  787. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  788. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  789. parent isn't visible yet, save the visibility and restore it when the
  790. parent is made visible.
  791. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  792. methods, since the visibility of the scrollbars can be changed from
  793. several places, not only from AutoScroll.
  794. [Fixes #81179]
  795. 2007-03-19 Jackson Harper <[email protected]>
  796. * RichTextBox.cs: Enable shortcuts by default.
  797. * TextBoxBase.cs: Add conditional shortcuts.
  798. 2007-03-19 Everaldo Canuto <[email protected]>
  799. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  800. 2007-03-19 Chris Toshok <[email protected]>
  801. [ Fixes bug #80604]
  802. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  803. swallow the message we're waiting on, instead of delivering it, as
  804. this is only used for the WM_SHOWWINDOW raised from
  805. MapWindow/UnmapWindow, and the message needs to be generated
  806. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  807. before doing the Map/Unmap. Also make sure that the Hwnd is still
  808. alive after the message has been handled.
  809. *before* the window is shown.
  810. * Control.cs (CreateControl): guard a few more things inside the
  811. if (!is_created) block, as we might end up being called again -
  812. yay .net.
  813. (WmShowWindow): call CreateControl if we're showing the control.
  814. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  815. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  816. controls without a handle if they have any parent with a handle. In
  817. Dispose add a check whether the handle is created or not before
  818. calling BeginInvoke, this removes the need of the extra disposing
  819. parameter (which was bogus anyway since it didn't prevent the
  820. invoke from happening, it only skipped the check for an existing
  821. handle, meaning that the invoke would call on an inexistent
  822. handle).
  823. 2007-03-19 Everaldo Canuto <[email protected]>
  824. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  825. appears in taskbar.
  826. 2007-03-18 Everaldo Canuto <[email protected]>
  827. * MessageBox.cs:
  828. - Fixed a problem that dont show help button for messages with 3 buttons.
  829. - Refactory button size and position calculations, now dont use fixed
  830. values, also fixed button sizes (#80043) and form's border space.
  831. - AddButton method created, now all other AddButton methods call this one.
  832. - Some other source code cosmetic changes.
  833. 2007-03-18 Jackson Harper <[email protected]>
  834. * RichTextBox.cs: Don't do this all fonts must match check if
  835. there is only one char selected.
  836. 2007-03-18 Jackson Harper <[email protected]>
  837. * TreeView.cs: ScrollWindow works properly now, so we don't need
  838. to screw around with the scroll area. This fixes some artifacts
  839. when expanding and collapsing.
  840. 2007-03-18 Jackson Harper <[email protected]>
  841. * TextBoxBase.cs: Allow updating the selection position when the
  842. cursor is outside the textarea, but we have a capture.
  843. * TextControl.cs: A special case for when the cursor is outside
  844. the bounds of the TB.
  845. 2007-03-18 Jackson Harper <[email protected]>
  846. * TextBoxBase.cs: Remove image pasting code for now. There is no
  847. way to get an image on the clipboard right now anyways.
  848. * TextControl.cs:
  849. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  850. 2007-03-18 Everaldo Canuto <[email protected]>
  851. * MessageBox.cs:
  852. - Set window properties in constructor intead of on CreateParams.
  853. - Remove topmost from Window ExStyle.
  854. - Set ShowInTaskbar to false.
  855. - Set form border to FixedDialog.
  856. - Some cosmetic changes and remove unneeded comments.
  857. - It fixes itens 2,3 and 4 of bug #80043.
  858. 2007-03-18 Gert Driesen <[email protected]>
  859. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  860. none was explicitly set. Fixes part of bug #79949.
  861. 2007-03-16 George Giolfan <[email protected]>
  862. * ToolStripComboBox.cs: Add AutoComplete*.
  863. 2007-03-16 George Giolfan <[email protected]>
  864. * ToolStripComboBox.cs: Add FlatStyle.
  865. 2007-03-16 Jonathan Pobst <[email protected]>
  866. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  867. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  868. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  869. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  870. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  871. DataGridColumnStyle.cs: Remove warnings.
  872. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  873. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  874. it.
  875. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  876. visibility of mdi child forms. FormSizeChangedHandler: update the
  877. maximized size if size has changed while maximized.
  878. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  879. creating the handle.
  880. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  881. avoid creating the handle if not created.
  882. * XplatUI.cs: Update debug output.
  883. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  884. 2007-03-16 Jonathan Pobst <[email protected]>
  885. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  886. ProcessCmdKey().
  887. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  888. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  889. Implement keyboard shortcuts.
  890. 2007-03-15 Everaldo Canuto <[email protected]>
  891. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  892. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  893. ColorDialog and all derived classes.
  894. 2007-03-15 Everaldo Canuto <[email protected]>
  895. [ Fixes bug #79828 ]
  896. * ToolBar.cs:
  897. - Rename ToolBarButtonInfor to ToolBarItem.
  898. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  899. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  900. collection to be able add same button more than one time on a toolbar.
  901. - Refactory all properties and methods to use ToolBarItem.
  902. * ToolBarButton.cs:
  903. - Remove all propeties and methods that is now in ToolBarItem.
  904. - Rectangle propery now gets the rectangle from first ToolBarItem to
  905. mimic win32 behavior.
  906. - Size calculation and layout methods also removed.
  907. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  908. ToolBarItem instead of ToolBarButton to right drawing buttons when
  909. same button/separator was added more than one time to ToolBar.
  910. * ThemeNice.cs: Same as above.
  911. 2007-03-15 Andreia Gaita <[email protected]>
  912. * XplatUIX11.cs: Fire extra MouseMove events right after
  913. MouseDown and MouseUp, emulating win32's <censored> behaviour
  914. for apps that rely on it.
  915. 2007-03-15 Jackson Harper <[email protected]>
  916. * TextControl.cs:
  917. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  918. it is drawn on the controls client window and there is no NC
  919. area.
  920. - Set the background color to gray on 2.0 when we are readonly.
  921. 2007-03-15 Chris Toshok <[email protected]>
  922. [ Fixes bug #81144 ]
  923. * XplatUIX11.cs: implement VirtualScreen independently of
  924. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  925. property.
  926. 2007-03-15 Chris Toshok <[email protected]>
  927. * Hwnd.cs: add an internal field for the cached_window_state.
  928. * XplatUIX11.cs: cache the window state, invalidating the cache
  929. (and thus re-querying the X server) only when we see an update to
  930. the _NET_WM_STATE property.
  931. 2007-03-15 Chris Toshok <[email protected]>
  932. * BindingSource.cs: get a lot of the unit tests working.
  933. 2007-03-15 Jonathan Pobst <[email protected]>
  934. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  935. 0 instead of just bounds > 0. [Fixes bug #80912]
  936. 2007-03-15 Jonathan Pobst <[email protected]>
  937. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  938. and methods.
  939. 2007-03-15 Ivan N. Zlatev <[email protected]>
  940. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  941. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  942. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  943. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  944. 2007-03-15 Chris Toshok <[email protected]>
  945. [ Fixes #81101 ]
  946. * Control.cs: add Ivan's fix for 81101, with a slight modification
  947. - you can set control.Target to null.
  948. 2007-03-14 Jonathan Pobst <[email protected]>
  949. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  950. HideDropDown, use Hide instead to prevent an NRE.
  951. [Fixes bug #81147]
  952. 2007-03-14 Jackson Harper <[email protected]>
  953. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  954. to calculate the document before the handle is created, in some
  955. cases. (Actually just one case).
  956. 2007-03-14 Jackson Harper <[email protected]>
  957. * TextBoxBase.cs: Need to display the caret after letting the base
  958. wndproc handle the focus methods, because the caret display
  959. methods check the focus state.
  960. - Try to display the caret after updating it's position with SelectWord.
  961. - Don't need to do an immediate update on this recalc, since there
  962. will be an invalidate anyways.
  963. 2007-03-14 Jackson Harper <[email protected]>
  964. * TreeView.cs: Some workarounds so that we can match event order a
  965. little better.
  966. 2007-03-14 Gert Driesen <[email protected]>
  967. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  968. #80803. Avoid NullReferenceException when Control does not have
  969. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  970. event a single time. Only draw error icon when control is created and
  971. visible. Fixes failing unit tests.
  972. 2007-03-14 Andreia Gaita <[email protected]>
  973. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  974. Selecting events. Fire Leave and Enter events when changing tabs.
  975. 2007-03-14 George Giolfan <[email protected]>
  976. * TreeView.cs: Add TreeViewNodeSorter.
  977. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  978. 2007-03-14 Chris Toshok <[email protected]>
  979. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  980. removed earlier and I had him add back it. It turns out metacity
  981. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  982. just doesn't redraw the window titlebar until you resize the
  983. window. This also means we aren't recreating the entire window
  984. hierarchy on X when you change this property. And it looks better
  985. on windows, too.
  986. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  987. * ListViewItem.cs:
  988. * ListView.cs: Collecting selection information
  989. is now done in SelectedIndexCollection rather than in
  990. SelectedListViewItemCollection. This is done so we can
  991. have the selection information code in one single place
  992. (virtual mode selection information entirely depends on
  993. SelectedIndexCollection).
  994. 2007-03-13 Miguel de Icaza <[email protected]>
  995. * ErrorProvider.cs: Add stubs for ISupportInitialize
  996. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  997. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  998. in the right order with the right values, from the Checked property,
  999. just as MS does (instead of triggering them from ListView).
  1000. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  1001. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  1002. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  1003. the correct handler in OnItemCheck method (ItemCheckEventHandler
  1004. instead of EventHandler). This used to throw an InvalidCastException.
  1005. 2007-03-13 Jackson Harper <[email protected]>
  1006. * TextBoxBase.cs: Calculate the document before the handle is
  1007. created, so there isn't an extra invalidate called.
  1008. 2007-03-13 Jonathan Pobst <[email protected]>
  1009. * Form.cs: Don't set owner in ShowDialog until we are sure
  1010. that we aren't going to throw an exception. [Fixes bug #80773]
  1011. 2007-03-12 George Giolfan <[email protected]>
  1012. * TreeView.cs: Make it compile.
  1013. 2007-03-12 Jonathan Pobst <[email protected]>
  1014. * Control.cs: Another place we don't call SizeFromClientSize.
  1015. * Form.cs: Another place we don't call SizeFromClientSize.
  1016. [Fixes bug #81125]
  1017. 2007-03-12 Jackson Harper <[email protected]>
  1018. * TreeView.cs: Basically emulating some strangness here with
  1019. exanding nodes and setting node positions when windows aren't
  1020. created.
  1021. - Also attempting to walk the node tree less than previously, and
  1022. just use visible order calculations for determining offsets.
  1023. - oops made scrolling backwards.
  1024. * TreeNode.cs: We need to start nodes with a zero visible order,
  1025. because the order calcs are based on the first nodes order.
  1026. 2007-03-12 Jonathan Pobst <[email protected]>
  1027. * Form.cs: Don't exit the program if RecreateHandle is called on
  1028. the main form.
  1029. 2007-03-12 Chris Toshok <[email protected]>
  1030. * XEventQueue.cs: remove the use of PostQuitState.
  1031. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  1032. WM_QUIT message in GetMessage, return false (and if we're in the
  1033. nested WaitForHwndMessage, repost the WM_QUIT message).
  1034. 2007-03-12 Jonathan Pobst <[email protected]>
  1035. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  1036. or the MaximizeBox properties. [Part of bug #80640]
  1037. 2007-03-12 Everaldo Canuto <[email protected]>
  1038. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  1039. no links.
  1040. 2007-03-12 Jonathan Pobst <[email protected]>
  1041. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  1042. instead of visible.
  1043. 2007-03-12 Gert Driesen <[email protected]>
  1044. * FileDialog.cs: Use text of File name combobox to determine what
  1045. files the user selected. Added tokenizer to parse the file names.
  1046. Fixes bug #81123.
  1047. 2007-03-12 Jonathan Pobst <[email protected]>
  1048. * Control.cs: We can't call SizeFromClientSize in the constructor,
  1049. but we still need to do the same work, so make an internal version.
  1050. [Fixes bug #80621]
  1051. 2007-03-12 Jackson Harper <[email protected]>
  1052. * TreeView.cs:
  1053. * TreeNode.cs:
  1054. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  1055. IsExpanded.
  1056. 2007-03-12 Jackson Harper <[email protected]>
  1057. * TextBoxBase.cs: Now that the handles are being created a little
  1058. later, we need to make sure that the document is recalculated when
  1059. the handle is created.
  1060. 2007-03-11 Everaldo Canuto <[email protected]>
  1061. * Theme.cs: GetLinkFont abstract method added.
  1062. * LinkLabel.cs:
  1063. - Remove CalcTrimRectangle, no longer needed.
  1064. - Factor also remove, position issues must be fixed in libgdiplus.
  1065. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  1066. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  1067. care about font used to draw links.
  1068. - Set TabStop to true when control is "Selectable", control is selectable
  1069. when have one or more links. Fixes #80501 (test case is also added).
  1070. - Set the LinkArea values after links change, LinkArea values must be
  1071. based in first link position and size, a test case was created.
  1072. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  1073. the attribute must be true LinkArea.Length > 0. The same was applied to
  1074. TabStop.
  1075. * ThemeWin32Classic.cs:
  1076. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  1077. in draw method.
  1078. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  1079. color change.
  1080. - Draw focus rectangle for every parts focused, including parts that
  1081. is on another line, its because regions returns various rectangles
  1082. and not only one. Needed to mimic W32 look.
  1083. - Uses Graphics.Clip to delimite region painted, it mean that now
  1084. complete text is passed to DrawString, with this we solve layout
  1085. issues without create another text renderer.
  1086. - Uses Region.Intersect to fix some flickers problems, now only needed
  1087. parts will redrawed.
  1088. - This changes fixes #79614 and some other unreported issues, on Linux
  1089. some layout problems still remain, the problem is under
  1090. MeasureCharacterRanges but it is an libgdiplus bug.
  1091. 2007-03-10 Gert Driesen <[email protected]>
  1092. * TextBox.cs: Set for foreground color.
  1093. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  1094. this is already done in Control.
  1095. 2007-03-10 Jackson Harper <[email protected]>
  1096. * TextBox.cs: Set the background color, but reset the
  1097. backcolor_set flag which is just for the user setting the
  1098. background color.
  1099. 2007-03-09 Chris Toshok <[email protected]>
  1100. * Control.cs: really remove the call to XplatUI.SetVisible from
  1101. CreateHandle(), like I said I did when I merged the branch.
  1102. * BindingSource.cs: implement some more of this stuff.
  1103. 2007-03-09 Jackson Harper <[email protected]>
  1104. * TextBox.cs: Don't explicitly set our background colors.
  1105. * TextControl.cs:
  1106. * TextBoxBase.cs: Draw readonly text.
  1107. - Need to invalidate when backcolor or readonly are changed.
  1108. 2007-03-09 Jackson Harper <[email protected]>
  1109. * TextBoxBase.cs: Don't set the forecolor until the handle is
  1110. created.
  1111. - Do not raise OnPaint, and removed some old debug code.
  1112. 2007-03-09 George Giolfan <[email protected]>
  1113. * ScrollableControl.cs: Fix mouse wheel scrolling.
  1114. 2007-03-09 Jonathan Pobst <[email protected]>
  1115. * Control.cs: Wire up MouseDoubleClick event.
  1116. 2007-03-09 Jonathan Pobst <[email protected]>
  1117. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  1118. top or bottom.
  1119. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  1120. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  1121. item is added. This logic was moved to ToolStrip.OnItemAdded.
  1122. [Fixes bug #81090]
  1123. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  1124. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  1125. 2007-03-08 Jackson Harper <[email protected]>
  1126. * TreeView.cs: Show the correct image for selected node (this used
  1127. to work, not sure how the code got deleted). Also implemented 2.0 feature
  1128. SelectedImageKey.
  1129. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  1130. * ListView.cs:
  1131. * ListViewItem.cs: Cache index in items when retrieving them
  1132. in VirtualMode.
  1133. 2007-03-08 Jonathan Pobst <[email protected]>
  1134. * ToolStripItem.cs: Don't return the explicit_size if we are using
  1135. AutoSize. Fixes invalidation issue when user has explicitly set a
  1136. size and has AutoSize = true.
  1137. 2007-03-08 Jonathan Pobst <[email protected]>
  1138. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  1139. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1140. * DataGridView.cs: Remove event handler from DataView when a
  1141. DataTable is used as DataSource.
  1142. 2007-03-08 Jonathan Pobst <[email protected]>
  1143. * Control.cs: Create internal setter for client_size to allow it to be
  1144. set without triggering resizing code.
  1145. * Form.cs: Calculate client_size in constructor, only change client_size
  1146. in FormBorderStyle property if Handle has been created.
  1147. [Fixes #80574, #80791]
  1148. 2007-03-08 George Giolfan <[email protected]>
  1149. * SystemInformation.cs: Add TerminalServerSession.
  1150. 2007-03-07 Jonathan Pobst <[email protected]>
  1151. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  1152. TreeView code.
  1153. 2007-03-07 Jonathan Pobst <[email protected]>
  1154. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  1155. Handle before we were supposed to. Now checks ActivateOnShow property
  1156. in Control.
  1157. * Control.cs: Add internal ActivateOnShow property.
  1158. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  1159. for ActivateOnShow.
  1160. * Hwnd.cs Remove no longer needed no_activate field.
  1161. 2007-03-07 Jackson Harper <[email protected]>
  1162. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  1163. 2.0 properties
  1164. * DrawTreeNodeEventHandler.cs: Add
  1165. * DrawTreeNodeEventArgs.cs: Correct default value.
  1166. 2007-03-07 Chris Toshok <[email protected]>
  1167. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  1168. to be called before NativeWindow.WndProc. Put the HwndCreating
  1169. magic there to hook up our Hwnd's to handles.
  1170. 2007-03-07 Gert Driesen <[email protected]>
  1171. * DataGridView.cs: Comment out debug code.
  1172. 2007-03-07 Chris Toshok <[email protected]>
  1173. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  1174. to make the rest of the world happy]
  1175. * Control.cs (CreateHandle): there's no need to call
  1176. XplatUI.SetVisible here, it's effectively done by
  1177. XplatUI.CreateWindow on X now, and always was on windows.
  1178. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  1179. shortcircuit out of the loop if we have a message loop running on
  1180. this thread.
  1181. [Changelog from merge]
  1182. 2007-03-05 Chris Toshok <[email protected]>
  1183. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  1184. causes handle creation.
  1185. 2007-02-28 Chris Toshok <[email protected]>
  1186. * ApplicationContext.cs: Add a flag to make sure we only raise the
  1187. ThreadExit event once (ExitThreadCore can be indirectly called
  1188. from a few places.) I don't like the additional flag, but it
  1189. makes the event ordering/count correct.
  1190. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  1191. without locking the collection. An enumerator doesn't give us any
  1192. protection from modification anyway. Lock the thread hash and
  1193. replace the complicated enumerator loop with a foreach.
  1194. (Application.CloseForms): make internal so it can be called from
  1195. ApplicationContext. This should probably be moved to MWFThread.
  1196. (Application.ExitThread): don't call MWFThread.Current.Exit()
  1197. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  1198. when the runloop exits (in response to WM_QUIT.)
  1199. (Application.RunLoop): add a comment (and check) for
  1200. context.MainForm being null after setting context.MainForm.Visible
  1201. = true. This is because you're perfectly free to dispose of a
  1202. form in VisibilityChanged. Chalk this up to another case where we
  1203. need to synchronously generate WM_ACTIVATE from Control.Show.
  1204. Also, add handling for WM_QUIT here so we'll exit the loop.
  1205. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  1206. fact that we don't wait if we're only unmapping the whole_window
  1207. makes me a bit nervous, but it doesn't seem to cause any problems
  1208. yet.
  1209. also, add a comment about the stupid, broken and wrong resetting
  1210. of PostQuitState to false in GetMessage().
  1211. In PostQuitMessage, we need to add a WM_QUIT message to the
  1212. thread's queue. We use the FosterParent to get the right
  1213. handle/hwnd/queue.
  1214. Lastly, in SetVisible, we need to unmap both windows, since the
  1215. waiting only happens when we're unmapping the client window. So
  1216. now, the *only* time we unmap just the whole_window is in the hack
  1217. for resizing a control to 0,0.
  1218. 2007-02-21 Chris Toshok <[email protected]>
  1219. * Application.cs (CloseForms): rewrite this so that we don't
  1220. modify the list while we're traversing it.
  1221. 2007-02-20 Chris Toshok <[email protected]>
  1222. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  1223. of OnHandleCreated.
  1224. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  1225. handle is created. otherwise we'll create it here.
  1226. (VerticalScrollEvent): same here.
  1227. * Application.cs (CloseForms): call Form.Dispose, don't post
  1228. WM_CLOSE_INTERNAL.
  1229. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  1230. here. Application should Dispose() of the Form's.
  1231. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  1232. WM_DESTROY as well.
  1233. (MapWindow,UnmapWindow): only actually do the waiting for
  1234. SHOWWINDOW if the control we're dealing with is a Form.
  1235. (CreateWindow): if the control isn't a form, SendMessage
  1236. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  1237. * Control.cs (SetVisibleCore): always use is_visible here, not
  1238. value. If we use value, we can end up re-setting something
  1239. visible if, for instance, you do Control.Hide() in a delegate
  1240. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  1241. 2007-02-20 Chris Toshok <[email protected]>
  1242. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  1243. the message we need. PeekMessage returning false should not be a
  1244. condition under which we exit the loop.
  1245. 2007-02-15 Chris Toshok <[email protected]>
  1246. * Control.cs (Refresh): only refresh if we've got a handle and are
  1247. visible.
  1248. (CreateAccessibilityInstance): CreateControl() here.
  1249. (UpdateChildrenZOrder): complicate the code loop even more by
  1250. taking into account controls that haven't had their handle
  1251. created, and those that aren't visible. But on the flip side,
  1252. simplify the code by splitting it into two loops. one which
  1253. builds up the list of child controls we're interested in, and the
  1254. other that sets the z order of those children.
  1255. 2007-02-14 Chris Toshok <[email protected]>
  1256. * Control.cs: Control.AccessibilityObject causes the control to be
  1257. created, not just the handle.
  1258. 2007-02-14 Chris Toshok <[email protected]>
  1259. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  1260. problem on X where a window might have its handle created (and be
  1261. visible) while the window is unmapped. calling XConfigureWindow
  1262. on an unmapped window is bad, and generates X errors.
  1263. 2007-02-13 Chris Toshok <[email protected]>
  1264. * Control.cs (CreateHandle): don't loop over our children setting
  1265. their parent here. do it when in WndProc when we're shown.
  1266. (UpdateChildrenZOrder): make this internal so we can call it from
  1267. ScrollableControl.
  1268. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  1269. creating its handle. Also, remove the calls to PerformLayout from
  1270. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  1271. OnVisibleChanged only seems to be called directly here for the
  1272. toplevel control. It's propagated down the window hierarchy by
  1273. calls to child.OnParentVisibleChanged.
  1274. (OnVisibleChanged): don't do layout here - it's done (oddly
  1275. enough, according to a glance at stack traces on ms.net..) in
  1276. ScrollableControl.
  1277. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  1278. z order of our children before calling PerformLayout.
  1279. 2007-02-12 Chris Toshok <[email protected]>
  1280. [big change, fixes #80020]
  1281. * AccessibleObject.cs: we need to make owner internal again to fix
  1282. some of ControlAccessibleObject.
  1283. * Control.cs: lots of changes here. add support for WM_CREATE,
  1284. for which we generate OnHandleCreated. Remove the OnHandleCreated
  1285. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  1286. we create child controls. leave the MonoTODO's for the
  1287. accessibility calls, but fix the exceptions so the tests pass.
  1288. Add the InvalidOperationExceptions to Invoke methods, and remove a
  1289. couple of InvokeInternal methods we aren't using.
  1290. Also, add a couple of CreateHandle calls in places where we know
  1291. the handles are being created but our code doesn't reference
  1292. .Handle.
  1293. Make SetVisibleCore call OnVisibleChange if the handle isn't
  1294. created. If the handle is created, we rely on XplatUI.SetVisible
  1295. generating the event synchronously.
  1296. Lastly, make sure we don't use this.Handle inside CreateHandle,
  1297. because we can call back into client (and that code can dispose of
  1298. the control).
  1299. * XplatUIStructs.cs: misc/cleanup.
  1300. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  1301. although we don't populate the wParam properly.
  1302. (CreateWindow): generate WM_CREATE.
  1303. (MapWindow,UnmapWindow): make these calls synchronous, at great
  1304. performance expense (particularly in the unmap case), to match
  1305. win32 behavior.
  1306. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  1307. to call it.
  1308. (set_MdiParent): don't recreate the handle unless it's been
  1309. created already.
  1310. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  1311. it's created.
  1312. * NativeWindow.cs: this is probably the weirdest part of the
  1313. patch. We need a way to link up the window being created to the
  1314. WM_CREATE message. Since we can only be creating one window at a
  1315. time on a given thread, we keep track of a per-thread reference so
  1316. we can dispatch it properly. We also need to keep track of the
  1317. Hwnd currently being created so that the win32 backend doesn't
  1318. have problems.
  1319. * XplatUIWin32.cs: a similar change to the one we made in
  1320. NativeWindow.cs.
  1321. 2007-03-07 Jonathan Pobst <[email protected]>
  1322. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  1323. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  1324. to draw the menu shortcut string.
  1325. 2007-03-07 Jackson Harper <[email protected]>
  1326. * TreeNode.cs: Add the 2.0 collapse method.
  1327. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1328. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  1329. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1330. * DataGridView.cs: Change DataSource will clear column and row
  1331. lists. Call Invalidate() to reflect DataSource change.
  1332. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1333. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  1334. and a new row is added to it.
  1335. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  1336. * DataGridView.cs: Add columns when DataSource is en empty list but
  1337. is a System.Data.DataView (from a System.Data.DataTable).
  1338. 2007-03-06 Andreia Gaita <[email protected]>
  1339. * Label.cs: Implement AutoEllipsis (2.0)
  1340. 2007-03-06 Jackson Harper <[email protected]>
  1341. * TreeView.cs: Implement 2.0 TopNode setter property.
  1342. - Use a local var instead of the skipped_nodes field for computing
  1343. how many nodes to skip. Otherwise we won't scroll because the
  1344. valuechanged handler checks if skipped_nodes is equal to the new
  1345. value.
  1346. - Implement 2.0 Sort method.
  1347. - Add useless 2.0 DoubleBuffer property
  1348. - Implement 2.0 LineColors property. Lets you change the color of
  1349. the lines in the tree. Terribly useful for creating non cohesive
  1350. desktops.
  1351. - Implement 2.0 image key feature.
  1352. 2007-03-06 Jackson Harper <[email protected]>
  1353. * TreeView.cs: We can't get the bounds of the nodes before raising
  1354. the AfterSelect event, because that event could change the node's
  1355. bounds (scrolling, font change, etc).
  1356. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  1357. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  1358. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  1359. update window styles. In CreateParams us VisibleInternal instead of
  1360. VIsible to get the actual visible flag set for this form.
  1361. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  1362. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  1363. handle the case when the form is already maximized, in which case
  1364. it should be restored. Fixes #81043.
  1365. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  1366. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  1367. 2007-03-05 Jackson Harper <[email protected]>
  1368. * TreeViewHitTestInfo.cs: implement.
  1369. 2007-03-05 Jackson Harper <[email protected]>
  1370. * InternalWindowManager.cs: class status fix.
  1371. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  1372. * InternalWindowManager.cs: All windows that have a parent
  1373. are confined to their parent when they're being moved.
  1374. Fixes #80822.
  1375. 2007-03-04 Gert Driesen <[email protected]>
  1376. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  1377. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  1378. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  1379. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  1380. buttons invisible before deciding which ones should be visible
  1381. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  1382. an unused variable.
  1383. * InternalWindowManager.cs: Remove warning.
  1384. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  1385. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  1386. to throw an InvalidOperationException is virtual mode is being used.
  1387. 2007-03-02 Jonathan Pobst <[email protected]>
  1388. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  1389. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  1390. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  1391. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  1392. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  1393. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  1394. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  1395. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  1396. driver.KeyboardDelay from XplatUI.KeyboardDelay
  1397. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  1398. (patch by Sergey Volk)
  1399. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  1400. * ToolWindowManager.cs: Added, contains logic for
  1401. tool windows.
  1402. * CreateParams.cs: Add a few helper methods and an
  1403. internal variable to know which control the CreateParams belongs
  1404. to.
  1405. * Control.cs: Call Form.ChangingParent when the
  1406. parent is about to be changed.
  1407. * XplatUIX11.cs: DeriveStyles (): Set
  1408. caption_height for all windows that have captions and are children.
  1409. Update to use ToolWindowManager instead of InternalWindowManager
  1410. for ToolWindows.
  1411. * XplatUIWin32.cs: Set fake window styles for all
  1412. windows that have window managers.
  1413. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  1414. now duplicated for mdi windows when they are
  1415. maximized, first for the buttons the window itself has, then for
  1416. the buttons that appear in the menu bar. Makes things a little
  1417. easier). Updated UpdateWindowDecorations, SetWindowState and the
  1418. mouse eventhandlers accordingly.
  1419. * Form.cs: Add ChangingParent (), contains the
  1420. logic of what should happen when the parent changes. In MdiParent
  1421. don't set things that ChangingParent () is doing. When handling
  1422. WM_CLOSE, we can close the form if there are any other modal forms
  1423. and the current form is a descendent of the modal form.
  1424. * InternalWindowManager.cs: A lot of refactoring,
  1425. the title buttons are now extracted to a separate container class
  1426. that takes care of all button code (clicks, tooltips, etc). Moved
  1427. Iconic|Maximized|Normal Bounds properties to this class from
  1428. MdiWindowManager, so that the window state logic can succeed for
  1429. other than mdi wm's. Implemented general window state change logic.
  1430. Moved CreateButtons to ThemeWin32Classic, since the theme might
  1431. override which buttons are available when as well as the exact
  1432. location.
  1433. * FormWindowManager.cs: Added, contains logic for
  1434. normal forms.
  1435. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  1436. which buttons go where (and if they are at all visible).
  1437. Removed special handling of maximized windows, since they aren't special.
  1438. In DrawManagedWindowDecorations don't try to draw the text if it is
  1439. empty.
  1440. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  1441. use whatever the wm gives us.
  1442. 2007-03-02 Jonathan Pobst <[email protected]>
  1443. * ButtonBase.cs: Add 2.0 properties.
  1444. * Button.cs: Override Draw for 2.0.
  1445. * Control.cs: Add Entered and Selected properties.
  1446. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  1447. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  1448. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  1449. buttons.
  1450. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  1451. 2007-03-01 Jonathan Pobst <[email protected]>
  1452. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  1453. 2007-03-01 Jonathan Pobst <[email protected]>
  1454. * XplatUIWin32.cs: Register a new class with Windows each time we get
  1455. a new ClassStyle. [Fixes bugs #79432, #80817]
  1456. * Controls.cs: Set the correct ClassStyle in CreateParams.
  1457. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  1458. 2007-03-01 Gert Driesen <[email protected]>
  1459. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  1460. ColumnReordered event must not be signaled when modifying DisplayIndex
  1461. of a ColumnHeader. Added internal ReorderColumns method which takes
  1462. care of drawing, and updating the internal DisplayIndex of the
  1463. ColumnHeader. Added AddColumn method which is invoked from
  1464. ColumnHeaderCollection when adding or inserting columns, and which
  1465. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  1466. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  1467. Recalculated dispay indices after removing a ColumnHeader.
  1468. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  1469. match MS. Allows last display index to be returned after ListView
  1470. is disposed. Update actual location of ColumnHeader when DisplayIndex
  1471. is modified.
  1472. 2007-03-01 Everaldo Canuto <[email protected]>
  1473. * LinkLabel.cs: Improve CalcTrimRectangle.
  1474. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  1475. 2007-02-28 Everaldo Canuto <[email protected]>
  1476. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  1477. get rectangle as a result value.
  1478. 2007-02-28 Everaldo Canuto <[email protected]>
  1479. * LinkLabel.cs: Theres some diferences between rectangle return from
  1480. MeasureCharacterRanges and the area used for DrawString to fix this
  1481. CalcMeasurementFactor method was created, it calcules the diferences
  1482. to be use later to adjust rectangle in draw operations. Fixes #80473.
  1483. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  1484. to adjust draw rectangle.
  1485. 2007-02-27 Everaldo Canuto <[email protected]>
  1486. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  1487. text and some other changes to reduce and optimize source code.
  1488. 2007-02-27 Jonathan Pobst <[email protected]>
  1489. * RadioButton.cs: Implement 2.0 event.
  1490. * RelatedImageListAttribute.cs: Implement new class.
  1491. 2007-02-27 Everaldo Canuto <[email protected]>
  1492. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  1493. 2007-02-27 Jonathan Pobst <[email protected]>
  1494. * CheckBox.cs: Implement 2.0 functionality.
  1495. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  1496. * ListView.cs: Refactor Add and AddRange methods of
  1497. ListViewItemCollection, to not update the ListView
  1498. everytime an item is added in AddRange. Also move the update
  1499. code to a new CollectionChanged method, and call it
  1500. from other methods that need it as well (this should also fix some
  1501. bugs when Sorting is used).
  1502. 2007-02-27 Jackson Harper <[email protected]>
  1503. * TextControl.cs: Try to never let the caret stay in a non-text
  1504. tag.
  1505. * TextBoxBase.cs: Update the caret.
  1506. 2007-02-26 Jonathan Pobst <[email protected]>
  1507. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  1508. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  1509. delete POINT structure, duplicate of one in XplatUIStructs.
  1510. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  1511. 2007-02-26 Gert Driesen <[email protected]>
  1512. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  1513. edit box since otherwise the Label would immediately be set (even if
  1514. the user did not modify the label). In OnKeyDown set Handled to true
  1515. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  1516. columns that are to be removed. In ListViewItemCollection unlink items
  1517. that are to be removed.
  1518. 2007-02-24 Jonathan Pobst <[email protected]>
  1519. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  1520. it when we are done. [Fixes bug #80949]
  1521. 2007-02-23 Jonathan Pobst <[email protected]>
  1522. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  1523. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  1524. * ListView.cs: I forgot to commit the changes for ListView
  1525. in my previous patch.
  1526. 2007-02-23 Jonathan Pobst <[email protected]>
  1527. * Clipboard.cs: Partially implement an overload of SetDataObject.
  1528. * Form.cs: Implement ShowWithoutActivation.
  1529. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  1530. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  1531. This is a first set of changes to make the Virtual mode works,
  1532. by avoiding the retrieval of ListViewItem instances until
  1533. draw time.
  1534. * ListView.cs: Store item position in the ListView instead of the
  1535. ListViewItem, this way we don't request the Bounds property of
  1536. ListViewItem inside the ListView calculations, as well as cache the item
  1537. size in item_size field. Store indexes instead of ListViewItem
  1538. instances in the matrix used by icon view. Add a ItemMatrixLocation
  1539. struct to hold the row and col info of the matrix info.
  1540. * ListViewItem.cs: Don't store the location anymore, and only cache
  1541. the rectangles for GetBounds. Use the ListView.GetItemLocation
  1542. method to retrieve the actual location.
  1543. 2007-02-23 Jonathan Pobst <[email protected]>
  1544. * TextRenderer.cs: Add clipping support, thanks to George.
  1545. [Fixes bug #80949]
  1546. 2007-02-23 Gert Driesen <[email protected]>
  1547. * ListViewItem.cs: Cancel label edit when item is removed from
  1548. ListView.
  1549. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  1550. event before the edit textbox is displayed. Added CancelEdit method
  1551. which is used end to editing while ignoring the value set by the
  1552. user. In EndEdit, set focus to ListView to avoid losing focus to
  1553. other controls. In ListViewItemCollection.Clear, cancel editing of
  1554. any of the items. In Remove, cancel editing of item being removed.
  1555. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  1556. 2007-02-23 Gert Driesen <[email protected]>
  1557. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  1558. bug #80948.
  1559. 2007-02-23 Everaldo Canuto <[email protected]>
  1560. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  1561. compatible with non X11 systems. Fixes #80901.
  1562. 2007-02-23 Gert Driesen <[email protected]>
  1563. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  1564. whether the item should be unselected and reselect. We do no want this
  1565. when we're starting to edit the label. Do not fire the
  1566. SelectedIndexChanged event from ListView when its already been fired
  1567. by modifying ListViewItem.Selected. Fixes bug #80943.
  1568. 2007-02-23 Jonathan Pobst <[email protected]>
  1569. * TextRenderer.cs: Previos commit logic was backwards.
  1570. 2007-02-23 Jonathan Pobst <[email protected]>
  1571. * TextRenderer.cs: Don't add padding on MeasureText if we were
  1572. sent the NoPadding flag.
  1573. 2007-02-23 Everaldo Canuto <[email protected]>
  1574. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  1575. after DrawButton. To prevent image overlaps button borders SetClip and
  1576. ResetClip added before and after draw image. Fixes #79129.
  1577. 2007-02-23 Everaldo Canuto <[email protected]>
  1578. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  1579. window size, it fix problem when you run under win32 that theres
  1580. Size diferent than ClientSize. Also fix controls size and positions
  1581. to mimic Win32. Fixes #80837.
  1582. 2007-02-22 Everaldo Canuto <[email protected]>
  1583. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  1584. menu area to fix some problems for non X11 systems. Fixes #80613.
  1585. 2007-02-22 Jackson Harper <[email protected]>
  1586. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  1587. even if it doesn't have any children.
  1588. 2007-02-22 Jackson Harper <[email protected]>
  1589. * TreeView.cs: Calculate the top node 'on the fly', this
  1590. eliminates issues where you need to click on the tree before
  1591. scrolling it to get the top node computed correctly.
  1592. * TreeNodeCollection.cs: We don't need to mess with the top node
  1593. anymore.
  1594. 2007-02-22 Jackson Harper <[email protected]>
  1595. * DataGridViewRow.cs: Fix typo so height can actually be set.
  1596. Patch by Peter Grimm.
  1597. 2007-02-22 Gert Driesen <[email protected]>
  1598. * FileDialog.cs: Fixed support for renaming files and directories.
  1599. * ListView.cs: Do not lose focus when edit is canceled. Process
  1600. Escape as regular key (to prevent closing of dialogs).
  1601. 2007-02-22 Gert Driesen <[email protected]>
  1602. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  1603. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  1604. 2007-02-22 Gert Driesen <[email protected]>
  1605. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  1606. did not modify label.
  1607. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  1608. modified the text. Reset Label when user presses Escape in edit mode.
  1609. Move focus to ListView after having cancelled or finished editing the
  1610. label.
  1611. 2007-02-21 Gert Driesen <[email protected]>
  1612. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  1613. private. Clear textbox when Text is set to null and SelectedIndex is
  1614. already -1.
  1615. * FileDialog.cs: Removed unnecessary initializations. Removed
  1616. workarounds for ComboBox bugs that are now fixed. Modified
  1617. DefaultExt, InitialDirectory and Title property to change null to
  1618. zero-length string in getters. Avoid directly accessing fields.
  1619. 2007-02-20 Jackson Harper <[email protected]>
  1620. * TextControl.cs: Remove RecalAlignments call, that was some
  1621. debugging leftovers.
  1622. - Don't use the line indent when we shouldn't.
  1623. * RichTextBox.cs: Add support for paragraph left indents.
  1624. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  1625. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  1626. Seems like the class status pages doesn't catch params differences.
  1627. 2007-02-19 Gert Driesen <[email protected]>
  1628. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  1629. 2007-02-19 Gert Driesen <[email protected]>
  1630. * ComboBox.cs: Setting Text should have no effect if item text of
  1631. selected item exactly matches value. First lookup text using
  1632. case-sensitive comparison, and fallback to case-insensitive comparison.
  1633. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  1634. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  1635. paramname to match MS. Restart from first item if string is not found
  1636. after startIndex. Fixed paramname of ArgumentNullException that is
  1637. thrown for null value in ObjectCollection.Contains.
  1638. 2007-02-19 Everaldo Canuto <[email protected]>
  1639. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  1640. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1641. * ListControl.cs: In SelectedValue use value.Equals to compare for
  1642. equality instead of ==, otherwise it will fail for strings.
  1643. Fixes #80794.
  1644. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1645. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  1646. since the caret won't show up unless ShowSelection is true.
  1647. Fixes #80795.
  1648. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  1649. * Application.cs: When disabling all forms but the main form, do not
  1650. disable any descendants of the main form (such as mdi children or
  1651. other parented forms). Fixes #80822 on Windows.
  1652. * Form.cs: If we have a parent, set the WS_CHILD style.
  1653. * Control.cs: Update the window styles if the control whose parent has
  1654. changed is a form (the WS_CHILD style has to be switched).
  1655. 2007-02-19 Everaldo Canuto <[email protected]>
  1656. * XplatUIStructs.cs: MsgUIState structure added.
  1657. 2007-02-18 Gert Driesen <[email protected]>
  1658. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  1659. profile, do not check filename(s) for illegal character if filename(s)
  1660. were set non-interactively but always check on 1.0 profile. Fixed NRE
  1661. in DefaultExt and only strip off first leading dot. Improve exception
  1662. message when invalid Filter is set. Do not ignore InitialDirectory if
  1663. it does no exist. Store specified Title, and if empty use default
  1664. title (depending on type of dialog). Added an internal DialogTitle
  1665. property for retrieving dialog title. Fixed logic of displayed dir to
  1666. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  1667. string as its buggy.
  1668. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  1669. FileName is a zero-length string (it can never be null). Override
  1670. DialogTitle property to set default title of dialog box.
  1671. * SaveFileDialog.cs: Override DialogTitle property to set default
  1672. title of dialog box.
  1673. 2007-02-18 Gert Driesen <[email protected]>
  1674. * FileDialog.cs: Modify default text of filename and filetype labels
  1675. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  1676. after we've updated the SelectedIndex. Fixes part of bug #80887.
  1677. * SaveFileDialog.cs: Set text of filetype label.
  1678. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  1679. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  1680. label field. Needed by latest Jackson's fixes for ListView.
  1681. 2007-02-16 Andreia Gaita <[email protected]>
  1682. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  1683. print preview images.
  1684. 2007-02-16 Jackson Harper <[email protected]>
  1685. * ListView.cs: Make AfterLabelEdit work correctly.
  1686. * FileDialog.cs: After changing the name of the folder, we have to
  1687. make sure that it is created, or that we pop up an error because
  1688. it already exists.
  1689. 2007-02-16 Jackson Harper <[email protected]>
  1690. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  1691. System.String are mapped to text.
  1692. - Handle dataobjects, getting all the possible formats out of them
  1693. - We dont need the drag event args before we give feedback. This
  1694. allows feedback cursors to be immediate before selections have
  1695. been converted.
  1696. 2007-02-16 Jackson Harper <[email protected]>
  1697. * TextBoxBase.cs: Modified the method for inserting images to
  1698. taking a line and position instead of tag and position.
  1699. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  1700. into the RTF file.
  1701. * TextControl.cs: Allow images to be inserted as the first tag of
  1702. a line.
  1703. - Fix some off by one issues when we assume the first tag is a
  1704. text tag, not an image tag.
  1705. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  1706. * ListView.cs: Set focus to ListView when ItemControl gets a
  1707. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  1708. Fixes part of #80467.
  1709. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  1710. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  1711. validate Text input (if null or empty string reset Value to default
  1712. value). Fixes #80830.
  1713. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  1714. * ListView.cs: Set owner as null for columns and items when
  1715. Dispose is invoked. Fixes #80607.
  1716. 2007-02-14 Jonathan Pobst <[email protected]>
  1717. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  1718. showing DropDowns, don't show a Grip when doing Flow layout.
  1719. [This fixes the toolbox in PDN 2.72.]
  1720. * ToolStripItem.cs: Add Anchor property and some internal properties to
  1721. reduces needed changes to FlowLayout.
  1722. * ToolStripOverflow.cs: Remove unused variable.
  1723. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  1724. use it in the layout calculations.
  1725. 2007-02-13 Everaldo Canuto <[email protected]>
  1726. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  1727. reported in #79640.
  1728. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  1729. size calculation.
  1730. 2007-02-13 Everaldo Canuto <[email protected]>
  1731. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  1732. MeasureString format, it can make button very large in some cases, it is
  1733. strange but is what win32 do.
  1734. 2007-02-13 Everaldo Canuto <[email protected]>
  1735. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  1736. size calculation.
  1737. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  1738. rendering, the value is based on MenuAccessKeysUnderlined.
  1739. 2007-02-13 Everaldo Canuto <[email protected]>
  1740. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  1741. for most themes.
  1742. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  1743. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  1744. and use MenuAccessKeysUnderlined instead.
  1745. 2007-02-13 Andreia Gaita <[email protected]>
  1746. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  1747. A selected control would not get a Focus call if:
  1748. - the default active control of the container is the same as
  1749. the one that was selected
  1750. - we are switching from one container to another
  1751. Under these conditions, the container being selected already has
  1752. an active_control, which is the same as the one being activated,
  1753. so set_ActiveControl would always return and not send the Focus
  1754. call. Fix to check if the currently active control of the container
  1755. is actually focused.
  1756. 2007-02-13 Jonathan Pobst <[email protected]>
  1757. * StatusStrip.cs: Implement the spring layout.
  1758. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  1759. always matches the host.
  1760. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  1761. and TextAfterImage.
  1762. 2007-02-13 Andreia Gaita <[email protected]>
  1763. * Control.cs: Code reorganization only.
  1764. - Reorganize the WndProc cases so that each case has it's own handling method,
  1765. to help with the no-line-numbering stack traces.
  1766. - Formatting changes (it's vstudio's fault, really :p)
  1767. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  1768. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  1769. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  1770. behaviour.
  1771. 2007-02-12 Jackson Harper <[email protected]>
  1772. * RichTextBox.cs:
  1773. * TextBox.cs: By default we have a non multiline document
  1774. - use the multiline property instead of the internal variable
  1775. * TextBoxBase.cs: Treat multiline and non multiline the same in
  1776. most places.
  1777. - Use the documents multiline flag instead of tracking it ourself
  1778. * TextControl.cs: Attempt at getting multiline to match MS
  1779. behavior. Lines now track an offset, which is either their X or Y
  1780. offset depending on whether or not we are in multiline mode.
  1781. - Update all the methods to understand that lines have an X value.
  1782. - Fix crash in Undo::Duplicate when empty lines are deleted.
  1783. 2007-02-12 Everaldo Canuto <[email protected]>
  1784. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  1785. code moved to properties PreferredHeight and PreferredWidth. It solve the
  1786. all problems when preferred sizes must be recalculated. Fixes #80801.
  1787. 2007-02-12 Everaldo Canuto <[email protected]>
  1788. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  1789. font height when compatible_text_rendering is false. Partially fix #80801.
  1790. 2007-02-09 Gert Driesen <[email protected]>
  1791. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  1792. 2007-02-09 Gert Driesen <[email protected]>
  1793. * Form.cs: Improved exception messages in ShowDialog.
  1794. 2007-02-09 Gert Driesen <[email protected]>
  1795. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  1796. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  1797. if not set. Fixes bug #80764. Avoid accessing current_settings field
  1798. directly.
  1799. 2007-02-08 Everaldo Canuto <[email protected]>
  1800. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  1801. false.
  1802. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  1803. public in 2.0 and for easy maintenance and dont break compatibility it is
  1804. internal in 1.1.
  1805. 2007-02-08 Jonathan Pobst <[email protected]>
  1806. * ToolStripItem.cs: Implement using images from ImageList.
  1807. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1808. * DateTimePicker.cs: Change default date-formatting culture from
  1809. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  1810. seems to be the way MS does it.
  1811. 2007-02-08 Andreia Gaita <[email protected]>
  1812. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  1813. (the 6 was cut off on the right side)
  1814. 2007-02-08 Jonathan Pobst <[email protected]>
  1815. * Form.cs: Tell MenuStrips to close when the form is clicked.
  1816. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  1817. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  1818. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  1819. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  1820. support for Overflow, where items that do not fit are automatically
  1821. reparented to a drop down menu.
  1822. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  1823. Also: fixes bug #80747.
  1824. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1825. * ComboBox.cs: Remove warning (unused code).
  1826. * ScrollableControl.cs: Remove warning for 1.1 profile.
  1827. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1828. * Form.cs: Remove a warning.
  1829. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  1830. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  1831. 'g' specifier, not documented anywhere, but seems to always show up
  1832. as a single space (might have something to do with the DateTime 'g'
  1833. specifier, which is the era format, but since DateTimePicker can't
  1834. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  1835. won't crash if the format has an unmatched quote. Now shows
  1836. single-character formats correctly. Fixes #80744.
  1837. 2007-02-08 Jonathan Pobst <[email protected]>
  1838. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  1839. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  1840. 2007-02-07 Chris Toshok <[email protected]>
  1841. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  1842. background color. it overwrites the background image we've
  1843. already painted. Fixes #80599.
  1844. 2007-02-07 Chris Toshok <[email protected]>
  1845. * DataGrid.cs: return immediately from Edit() when there are no
  1846. columns. Fixes #80662.
  1847. 2007-02-07 Chris Toshok <[email protected]>
  1848. * MessageBox.cs: fix #80625. don't always show the Help button in
  1849. 2.0. use the displayHelpButton parameter to determine if we
  1850. should show it. Also, make the internal show_help field private.
  1851. 2007-02-07 Chris Toshok <[email protected]>
  1852. * Control.cs (SetVisibleCore): check in the proposed patch for
  1853. 80604, and set is_visible before calling CreateControl.
  1854. 2007-02-07 Jonathan Pobst <[email protected]>
  1855. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  1856. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  1857. on it.
  1858. 2007-02-06 Everaldo Canuto <[email protected]>
  1859. * MenuAPI.cs: hotkey_active internal field added, it is required because
  1860. we need to know when hotkeys must be draw, before this change a keystate
  1861. Navigating was used but we can have menu in navigating state without
  1862. hotkeys. Fixes #80694.
  1863. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  1864. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  1865. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  1866. corresponding events and methods to be internal for 1.1 profile and
  1867. public for 2.0 profile (required by SizeGrip).
  1868. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  1869. implicit control list). Don't set the size nor the location of the
  1870. SizeGrip anymore as it's not needed.
  1871. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  1872. draw directly on the captured control (fixes #80656). Removed
  1873. ShowGrip (it wasn't used anywhere), redraw (always true), added
  1874. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  1875. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  1876. be called from SizeGrip.
  1877. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  1878. * Timer.cs: Throw ArgumentException if Interval <= 0.
  1879. 2007-02-05 Jackson Harper <[email protected]>
  1880. * TreeView.cs: We need to check scrollbar visibility when window
  1881. visibility is updated, because non visible trees don't ever add
  1882. scrollbars.
  1883. * Cursor.cs: We want the override cursor to be reset to NULL when
  1884. we set current cursor to the default cursor.
  1885. 2007-02-05 Jackson Harper <[email protected]>
  1886. * TextControl.cs: Don't have crlfs when we are non multiline.
  1887. - Consolidate the line position.
  1888. 2007-02-05 Jackson Harper <[email protected]>
  1889. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  1890. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  1891. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  1892. handling LeaveNotify->NotifyUngrab in order to send
  1893. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  1894. after calling XUngrabPointer, so we call WindowUngrabbed directly
  1895. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  1896. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  1897. MouseCaptureChanged correctly. Also create handles if changing
  1898. Capture (matches MS behaviour).
  1899. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1900. * SizeGrip.cs: Make the last change 2.0 only.
  1901. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1902. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  1903. changes to initial size (fixes #80597).
  1904. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1905. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  1906. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  1907. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  1908. background) and only allow dragging if enabled. This way the
  1909. sizegrip can be used to fill the open square that otherwise would
  1910. have been shown in the bottom right corner of ScrollableControl
  1911. when ScrollableControl is not suppose to support sizing.
  1912. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  1913. sizegrip is shown and enabled, and hook up with necessary events.
  1914. 2007-02-01 Chris Toshok <[email protected]>
  1915. * DataGridTextBoxColumn.cs: clean up the
  1916. GetFormattedString/GetColumnValueAtRow combination of functions.
  1917. Also fix UpdateUI, and the initial state of
  1918. IsInEditOrNavigateMode.
  1919. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  1920. aren't supposed to scroll the textbox here, we're supposed to
  1921. scroll the datagrid.
  1922. 2007-02-01 Chris Toshok <[email protected]>
  1923. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  1924. setting the position.
  1925. 2007-02-01 Chris Toshok <[email protected]>
  1926. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  1927. here, since the most recent focus fixes keep us from generating
  1928. the Leave event when our textbox gets focus.
  1929. (Edit): we should be passing null for the column style's
  1930. instantText parameter.
  1931. 2007-02-01 Jonathan Pobst <[email protected]>
  1932. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  1933. raised. Fixes menu text/icons not showing up in PDN.
  1934. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  1935. * Control.cs: Remove code in constructor that makes every
  1936. control with WS_CHILD set have initial location -1, -1.
  1937. 2007-01-31 Jackson Harper <[email protected]>
  1938. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  1939. XplatUIX11.
  1940. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  1941. 2007-01-31 Jackson Harper <[email protected]>
  1942. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  1943. - Remove some debug code.
  1944. 2007-01-31 Jackson Harper <[email protected]>
  1945. * XplatUIX11.cs: If you set the override cursor during a grab, it
  1946. should actually override the grab cursor. This comes into play
  1947. when you are setting custom cursors in a DND feedback method.
  1948. 2007-01-31 Jackson Harper <[email protected]>
  1949. * X11Dnd.cs: Add support for handling the QueryContinue and
  1950. GiveFeedback events.
  1951. - Cancel drag and drop actions when the escape key is clicked.
  1952. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  1953. can handle the ESCAPE key.
  1954. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  1955. done when dnd events are continued after the button is released.
  1956. - Add a new helper method so that dnd can translate key events.
  1957. 2007-01-31 Alexander Olk <[email protected]>
  1958. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  1959. make it more obvious what is happening.
  1960. 2007-01-30 Jackson Harper <[email protected]>
  1961. * XplatUIX11.cs: Don't break when handling button release in drag
  1962. and drop operations. We need that BUTTONUP message to get through
  1963. so capture is released.
  1964. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  1965. this is handled automatically when the mouse is down.
  1966. 2007-01-30 Jackson Harper <[email protected]>
  1967. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  1968. is closed, so we need to make sure that we aren't changing the
  1969. dialog result when the OK (Open or Save) button has been clicked
  1970. and we are closing the window ourselves. Note we don't need to
  1971. worry about the cache being written in this case, because it was
  1972. already done in the previous FilOk call.
  1973. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  1974. * DateTimePicker.cs: Remove a warning.
  1975. * ComboBox.cs: Remove a couple of warnings.
  1976. 2007-01-29 Chris Toshok <[email protected]>
  1977. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  1978. set one, if SetIcon is passed a null icon.
  1979. 2007-01-29 Andreia Gaita <[email protected]>
  1980. * TextBox.cs: Redraw when the password characters changes
  1981. * TextControl.cs: Check if textbox has a password char and draw
  1982. a line of password chars instead of the text in the line. LineTag gets
  1983. an extra Draw() method which allows document.Draw to override the text
  1984. that will be drawn. Removes 1024 char limitation on length of passworded
  1985. lines.
  1986. 2007-01-29 Jackson Harper <[email protected]>
  1987. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  1988. single chars is not.
  1989. 2007-01-28 Jonathan Pobst <[email protected]>
  1990. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  1991. one pixel. Fix a StackOverflowException caused by an overload wrongly
  1992. calling itself.
  1993. 2007-01-26 Everaldo Canuto <[email protected]>
  1994. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  1995. also remove ProcessArrowKey and put the code inside ProcessKeys.
  1996. 2007-01-26 Jonathan Pobst <[email protected]>
  1997. * PaddingConverter.cs: Added.
  1998. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  1999. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  2000. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  2001. of text (fixes #80601). For panels clip the text to draw to the
  2002. panel (fixes #80603).
  2003. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  2004. * ComboBox.cs: Fixed implementation of ResetText.
  2005. 2007-01-25 Jackson Harper <[email protected]>
  2006. * TextControl.cs: For the last char of a line we need to use the
  2007. line size, not that chars width, since it won't actually be
  2008. computed since the right side of a char is based on the start of
  2009. the left side of the next char, and the next char does not exist.
  2010. 2007-01-25 Chris Toshok <[email protected]>
  2011. * Splitter.cs: fix the new unit tests, and reindent some switch
  2012. statements.
  2013. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2014. * ComboBox.cs: Implemented 2.0 methods and events.
  2015. * TextBoxBase.cs: Added OnTextUpdate, so that
  2016. ComboBox.ComboTextBox can inform ComboBox of it.
  2017. 2007-01-25 Jackson Harper <[email protected]>
  2018. * TextControl.cs: Respect ShowSelection when deciding whether or
  2019. not to display the caret, this allows comboboxes to have carets
  2020. when the combotextbox does not have focus.
  2021. 2007-01-25 Jackson Harper <[email protected]>
  2022. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  2023. same as the Suspend/Resume for recalc, except this will do actual
  2024. Invalidates.
  2025. - New Undo manager, works much like the MS version.
  2026. - Implemented Redo
  2027. * TextBoxBase.cs: The Cut operation is undoable.
  2028. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2029. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  2030. on Windows (no difference on Linux).
  2031. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2032. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  2033. we don't want to activate any windows. Fixes #79433.
  2034. 2007-01-25 Jonathan Pobst <[email protected]>
  2035. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  2036. [Fixes bug #80609]
  2037. 2007-01-25 Alexander Olk <[email protected]>
  2038. * FileDialog.cs:
  2039. - Move to using System.ComponentModel.EventHandlerList
  2040. - Replace Refresh with Invalidate
  2041. - Clear the mime filecache on closing
  2042. - Some other memory reducing work. After beeing closed FD now uses
  2043. only about 300 KB for the fdo mime stuff plus the memory of the
  2044. cached icons.
  2045. * Mime.cs: Changed coding style and removed unnecessary commented
  2046. code. Some more memory memory reducing work.
  2047. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2048. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  2049. a few other missing 2.0 properties.
  2050. * Theme.cs: Added DrawFlatStyleComboBox.
  2051. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  2052. 2007-01-24 Chris Toshok <[email protected]>
  2053. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  2054. wake_waiting flag, not just when there's data to be read. if we
  2055. don't, then future wakeup's won't reach us and we'll be doomed to
  2056. wait for the entire 1 second timeout forever (unless there are X
  2057. events to be had).
  2058. 2007-01-24 Jonathan Pobst <[email protected]>
  2059. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  2060. until you pass Items.Count, not Items.Count - 1 like 1.1.
  2061. 2007-01-24 Gert Driesen <[email protected]>
  2062. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  2063. 2007-01-24 Jonathan Pobst <[email protected]>
  2064. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  2065. adding the panels in the wrong order.
  2066. 2007-01-24 Jackson Harper <[email protected]>
  2067. * TextBoxBase.cs: When we move the caret we also need to move the
  2068. selection, this fixes some random crashing after doing select
  2069. text, unselect, delete a char, paste.
  2070. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  2071. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  2072. 2007-01-23 Everaldo Canuto <[email protected]>
  2073. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  2074. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  2075. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  2076. 2007-01-23 Everaldo Canuto <[email protected]>
  2077. * ToolBar.cs:
  2078. - Implement support for vertical toolbars. Fixes #80539;
  2079. - Call LayoutToolBar when resize, it fix some other problems in layout.
  2080. - Rename requested_height to requested_size, as we can have width on it
  2081. when toolbar is vertical.
  2082. - Create a private property "Vertical" that uses Dock to verify when
  2083. toolbar is vertical or not.
  2084. - Set ControlStyles when change Dock property.
  2085. - Refactory in LayoutToolBar to have better variables names and to support
  2086. vertical toolbars.
  2087. - Fixes default value for ButtonSize when button count is equal zero, size
  2088. must be (39, 36) test case writed.
  2089. 2007-01-23 Chris Toshok <[email protected]>
  2090. * Control.cs: fix the checks so that they work correctly for mdi
  2091. parents/children.
  2092. 2007-01-23 Chris Toshok <[email protected]>
  2093. * Control.cs: ControlCollection seems to have super-secret
  2094. abstraction breaking knowledge of Mdi containers. allow MdiClient
  2095. to add toplevel controls.
  2096. 2007-01-23 Chris Toshok <[email protected]>
  2097. * Control.cs: throw an ArgumentException if a toplevel control is
  2098. added to our control collection from ControlCollection.Add, as
  2099. well as from ControlCollection.IList.Add. This fixes the
  2100. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  2101. Also, in ControlCollection.IList.Add, don't through an
  2102. ArgumentNullException, throw an ArgumentException, when value ==
  2103. null. This matches MS.
  2104. 2007-01-23 Chris Toshok <[email protected]>
  2105. * BindingSource.cs: initial, incomplete, implementation of
  2106. BindingSource.
  2107. 2007-01-23 Jackson Harper <[email protected]>
  2108. * TextControl.cs:
  2109. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  2110. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  2111. 2007-01-23 Everaldo Canuto <[email protected]>
  2112. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  2113. 2007-01-23 Andreia Gaita <[email protected]>
  2114. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  2115. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  2116. IndexOfKey() for 2.0
  2117. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  2118. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  2119. to prevent it from changing z-order.
  2120. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  2121. leave UI updates in MdiWindowManager.
  2122. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  2123. 1 sized (NC handling goes weird on Linux otherwise).
  2124. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  2125. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  2126. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  2127. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  2128. and SetWindowState(s) to allow for changing the size of an activated child
  2129. before activating it (reduces a lot of flicker).
  2130. 2007-01-22 Jonathan Pobst <[email protected]>
  2131. * Form.cs: Changing FormBorderStyle has different semantics based
  2132. on whether the Form is visible or not. If not visible, don't change
  2133. the Size. But InvalidateNC needs to be called to force the window
  2134. to pick up the changes and redraw itself. [Fixes bug #80574]
  2135. 2007-01-22 Jonathan Pobst <[email protected]>
  2136. [Moma work]
  2137. * ContainerControl.cs: ProcessCmdKey.
  2138. * ErrorProvider.cs: new constructor.
  2139. * Form.cs: fix AutoValidateEvent compiler warning.
  2140. * Label.cs: fix OnAutoSizeChanged compiler warning.
  2141. * MenuStrip.cs: fix CanOverflow compiler warning.
  2142. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  2143. * TextBox.cs: Dispose.
  2144. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  2145. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  2146. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  2147. * ToolStripItem.cs: Overflow, RightToLeft properties.
  2148. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  2149. * Form.cs: Move the layout of the main form to MdiWindowManager.
  2150. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  2151. do a layout of the main window to update MdiClient's client area to
  2152. the right area. Fixes #80533. Remove the calculation of nc size,
  2153. it was just wrong and the correct one is the same as for
  2154. InternalWindowManager.
  2155. 2007-01-20 Jonathan Pobst <[email protected]>
  2156. * Control.cs: Setting Anchor or Dock needs to reset the other
  2157. to its default. [Fixes bug #80556]
  2158. 2007-01-20 Chris Toshok <[email protected]>
  2159. * CheckedListBox.cs: class status changes.
  2160. * ScrollableControl.cs: same.
  2161. * RichTextBox.cs: same.
  2162. * ContainerControl.cs: same.
  2163. * ListView.cs: same.
  2164. * NotifyIcon.cs: same.
  2165. * MenuStrip.cs: same.
  2166. * RadioButton.cs: same.
  2167. * CheckBox.cs: same.
  2168. * PrintPreviewDialog.cs: same.
  2169. * Form.cs: same.
  2170. 2007-01-19 Jonathan Pobst <[email protected]>
  2171. * TreeNode.cs: Apply Alan's patch for Name property.
  2172. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  2173. * Form.cs: Implemented SizeGripStyle.
  2174. * SizeGrip.cs: Check for minimum and maximum size for the
  2175. control being resized and only resize if size has actually
  2176. changed.
  2177. 2007-01-19 Chris Toshok <[email protected]>
  2178. * DataGridColumnStyle.cs: stop setting _readonly in the
  2179. PropertyDescriptor setter. fixes a unit test failure.
  2180. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  2181. just consult our table style (if we have one). We don't need to
  2182. consult the datagrid readonly attribute because that's passed in
  2183. as the _ro arg to Edit. this simplifies things a little.
  2184. * DataGrid.cs: use CurrentColumn instead of
  2185. current_cell.ColumnNumber just to simplify some of the code.
  2186. switch the order of some things in the CurrentCell setter to keep
  2187. the previous cell from getting a textbox again -
  2188. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  2189. So we need to set the new cell before calling it.
  2190. call Edit in OnEnter, as does Microsoft.
  2191. also, make sure the current table style isn't the one we create
  2192. initially when checking to see if it's different than the one
  2193. we're setting it to in BindColumns (this fixes #80421).
  2194. * GridTableStylesCollection.cs: table styles can have "" for a
  2195. mapping name. part of the fix for #80421.
  2196. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  2197. Edit significantly.
  2198. 2007-01-18 Jonathan Pobst <[email protected]>
  2199. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  2200. and less GDI object leaky-er.
  2201. 2007-01-18 Andreia Gaita <[email protected]>
  2202. * LinkLabel.cs: Add opaque control style
  2203. 2007-01-18 Jackson Harper <[email protected]>
  2204. * TextControl.cs: Calculate width properly.
  2205. - Don't store the tag's X offset, this can be figured out very
  2206. easily.
  2207. - When getting the caret tag make sure to get the last empty tag.
  2208. 2007-01-18 Jonathan Pobst <[email protected]>
  2209. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  2210. [Fixes bug #79959]
  2211. * Control.cs: Color.Empty shouldn't count for previous transparent
  2212. redraw changes.
  2213. 2007-01-18 Jackson Harper <[email protected]>
  2214. * TextBox.cs:
  2215. * RichTextBox.cs:
  2216. * TextControl.cs: Starting to merge in some pieces of my older
  2217. undo work. Basically just some slight cleanup of the undo API.
  2218. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  2219. * TrackBar.cs: Fix signature of RightToLeftLayout.
  2220. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  2221. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  2222. * Application.cs: Implemented UseWaitCursor.
  2223. 2007-01-18 Jackson Harper <[email protected]>
  2224. * TextControl.cs: We can't skip tags if any part of the tag is
  2225. visible.
  2226. 2007-01-18 Jonathan Pobst <[email protected]>
  2227. * ContainerControl.cs: Override OnLayout.
  2228. 2007-01-18 Jonathan Pobst <[email protected]>
  2229. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  2230. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  2231. everything else.
  2232. 2007-01-18 Chris Toshok <[email protected]>
  2233. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  2234. (leftover from the container_selected days, I'd wager). fixes bug
  2235. #80546.
  2236. 2007-01-18 Jonathan Pobst <[email protected]>
  2237. * Control.cs: Apply patch from George to fix the new testcase on
  2238. bug #80451. We can't just check for Color.Transparent, we need
  2239. to check if the back color's alpha channel is < 255.
  2240. 2007-01-18 Jonathan Pobst <[email protected]>
  2241. * Form.cs: Move setting show_icon = true to before the constructor
  2242. so that the base constructor has that information when it calculates
  2243. the form's size. Was causing forms to be (6, 6) bigger than they
  2244. were supposed to be. Thanks for catching this Rolf!
  2245. 2007-01-18 Jackson Harper <[email protected]>
  2246. * TextControl.cs: When replacing a selection we need to invalidate
  2247. from the initial selection start, because selection start is moved
  2248. to the end of the replacement.
  2249. 2007-01-18 Andreia Gaita <[email protected]>
  2250. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  2251. 2007-01-18 Chris Toshok <[email protected]>
  2252. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  2253. I just added.
  2254. 2007-01-17 Everaldo Canuto <[email protected]>
  2255. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  2256. layout methods and properties from ToolBarButton must be available
  2257. into ToolBarButtonInfo.
  2258. 2007-01-17 Jonathan Pobst <[email protected]>
  2259. * Control.cs: If the control has a transparent background, we
  2260. need to refresh it when it moves and when it's parent's background
  2261. image changes. [Fixes bug #80451]
  2262. 2007-01-17 Jonathan Pobst <[email protected]>
  2263. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  2264. 2007-01-17 Jonathan Pobst <[email protected]>
  2265. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  2266. [Fixes bug #80447, and probably speeds up things as well]
  2267. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2268. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  2269. * XplatUIWin32.cs: We need to recalculate NC size after changing
  2270. window style to toolwindow (otherwise the client rectangle will be
  2271. 3 pixels to small for some reason).
  2272. * MdiWindowManager.cs: Revert NC size calculations to match how
  2273. they are calculated only based on window styles (to match
  2274. Win32AdjustWindowRectEx, since otherwise when setting size or
  2275. location, Control will call Win32AdjustWindowRectEx to update client
  2276. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  2277. calculate a different value of client size causing another paint
  2278. (and flickering))
  2279. * InternalWindowManager.cs: When moving or resizing a window only
  2280. update size or location if they actually changed.
  2281. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  2282. (seems to match Windows behaviour better). Cleaned up
  2283. ManagedWindowDecorations to draw what's needed and nothing else
  2284. (was drawing borders and lines where they shouldn't be)
  2285. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  2286. (style = 0xFFFF) and takes into account caption height when
  2287. calculating window rectangle.
  2288. 2007-01-16 Everaldo Canuto <[email protected]>
  2289. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  2290. can be added to toolbar multiple times, we need to maintain a list of
  2291. button information for each positions.
  2292. 2007-01-16 Everaldo Canuto <[email protected]>
  2293. * ToolBar.cs: Some small stetic changes.
  2294. 2007-01-16 Jackson Harper <[email protected]>
  2295. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  2296. that allow us to have nested recalc = false blocks.
  2297. - Add paste support for images in the RichTextBox
  2298. * RichTextBox.cs: flush the text after the color is changed, so
  2299. the change takes effect.
  2300. - Use SuspendRecalc
  2301. - Some extra debugging info
  2302. * TextControl.cs: Tags no longer track their length, it is just
  2303. computed from the next tags length, this makes things a little
  2304. simpler and reduces places that we have to track length changes.
  2305. - Refactored the linetag class a little so we could make it
  2306. a base class for different kinds of tags
  2307. - Created a image tag, a tag that can have a single image inserted
  2308. into it
  2309. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  2310. that we can call suspend multiple times.
  2311. - Add some debugging methods
  2312. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2313. * MdiClient.cs: Add ActivatePreviousChild for
  2314. mdi child window navigation.
  2315. * Form.cs: Use MdiClient.ActivateNextChild/
  2316. ActivatePreviousChild instead of Form.SelectNextControl
  2317. to select the next/previous child since
  2318. SelectNextControl doesn't do it in the same order
  2319. as mdi children should do it.
  2320. 2007-01-16 Chris Toshok <[email protected]>
  2321. * Control.cs: remove container_selected field.
  2322. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2323. * MdiClient.cs: Update main form's ActiveChild when
  2324. updating keyboard focus for the mdi child.
  2325. 2007-01-16 Jonathan Pobst <[email protected]>
  2326. * Control.cs: PreferredSize fix.
  2327. * Form.cs: Add several 2.0 events, properties, and methods.
  2328. 2007-01-16 Gert Driesen <[email protected]>
  2329. * Form.cs: Provide meaningful message when MdiParent is assigned a
  2330. Form that is not an MdiContainer.
  2331. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2332. * MdiClient.cs: Update main form's ActiveChild when
  2333. activating a mdi child.
  2334. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  2335. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  2336. doesn't have a menu.
  2337. * Form.cs: Request NCRecalc after creating a mdi child window.
  2338. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  2339. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  2340. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  2341. sends keyboard focus to the active child, or to the MdiClient
  2342. if there are no child forms.
  2343. 2007-01-15 Chris Toshok <[email protected]>
  2344. * ListView.cs: drop the *Internal overrides, just do our work in
  2345. ItemControl's WndProc instead.
  2346. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  2347. of the various controls, and forward the events properly (in the
  2348. same manner as MS) from the textbox to the UpDown. Also the
  2349. ActiveControl of the UpDownBase gets set properly now. Finally,
  2350. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  2351. * NumericUpDown.cs: set Text in the ctor.
  2352. * DomainUpDown.cs: call UpdateEditText in the ctor.
  2353. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  2354. so even a Selectable = false textbox can be focused if you click
  2355. in it. Go figure.
  2356. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  2357. just add their handling in their respective WndProc's. Also add
  2358. an explicit FocusInternal method that doesn't consult CanFocus
  2359. before calling Select(this).
  2360. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  2361. do our work in WndProc instead.
  2362. * TabControl.cs: same.
  2363. * ComboBox.cs: same.
  2364. 2007-01-15 Everaldo Canuto <[email protected]>
  2365. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  2366. Fixes #80006.
  2367. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  2368. * ListViewItem.cs:
  2369. * ThemeWin32Classic.cs: Don't draw the item text outside
  2370. item bounds in Details view, as well as use trimming.
  2371. Fixes bug #80376.
  2372. 2007-01-15 Jonathan Pobst <[email protected]>
  2373. * Form.cs: Implement Form.ShowIcon.
  2374. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  2375. null, which when combined with the DlgModalFrame window style removes
  2376. the icon from the title bar.
  2377. 2007-01-15 Jonathan Pobst <[email protected]>
  2378. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  2379. 2007-01-15 Everaldo Canuto <[email protected]>
  2380. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  2381. menu when mdi child windows theres a menu, uses insert to get icon
  2382. at first position. Partially fix #80006.
  2383. 2007-01-15 Jonathan Pobst <[email protected]>
  2384. * Clipboard.cs: Implement 2.0 methods.
  2385. 2007-01-15 Everaldo Canuto <[email protected]>
  2386. * Menu.cs: Implement Insert method of MenuItemCollection class
  2387. to fix MenuMerge.
  2388. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  2389. * ListView.cs: Implement 2.0 FindItemWithText method.
  2390. 2007-01-11 Everaldo Canuto <[email protected]>
  2391. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  2392. to calculate menu bar size. Fixes #80290.
  2393. 2007-01-11 Everaldo Canuto <[email protected]>
  2394. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  2395. 2007-01-11 Chris Toshok <[email protected]>
  2396. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  2397. initial form.
  2398. 2007-01-11 Chris Toshok <[email protected]>
  2399. * LinkLabel.cs: make sure to call base.Select in our Select method
  2400. if it turns out we're going to be selected (i.e. if we have a link
  2401. that is going to receive focus). That way our container's
  2402. ActiveControl is updated properly.
  2403. 2007-01-11 Chris Toshok <[email protected]>
  2404. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  2405. they have 1 or more links. this fixes the crash gert reported.
  2406. 2007-01-11 Andreia Gaita <[email protected]>
  2407. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  2408. anymore.
  2409. * Control.cs (Controls.Add): Check if control to be added to the collection
  2410. is a top level control, and throw an ArgumentException if it is.
  2411. Remove ContainerSelectedFlag, not needed anymore.
  2412. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  2413. top most control doesn't activate the form. This fixes a problem in the
  2414. MessageBox, where the default button wouldn't get focus because the form
  2415. was activated before being Loaded - when the Owner is set, SetTopMost is
  2416. called, and it would activate it.
  2417. 2007-01-11 Jonathan Pobst <[email protected]>
  2418. * Button.cs: When clicked and setting the parent form's DialogResult,
  2419. use FindForm instead of Parent, since parent could be a container
  2420. control and not the Form. Fixes bug #80495.
  2421. 2007-01-10 Chris Toshok <[email protected]>
  2422. * Form.cs: move the call to SendControlFocus into the same
  2423. is_loaded check.
  2424. 2007-01-10 Chris Toshok <[email protected]>
  2425. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  2426. It breaks in the face of the new ActiveControl stuff, and should
  2427. be unnecessary.
  2428. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  2429. activecontrol's focus if it's not already set, after we set
  2430. ActiveControl, but before we call OnActivated. Re-fixes #79667
  2431. after the previous focus/active control fixes regressed it.
  2432. * Control.cs: reindent some code.
  2433. 2007-01-10 Chris Toshok <[email protected]>
  2434. * Splitter.cs: clearing some outstanding changes from my tree.
  2435. Replace all accesses (not writes) to the internal dock_style field
  2436. with the Dock property.
  2437. 2007-01-10 Chris Toshok <[email protected]>
  2438. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  2439. FireValidated virtual.
  2440. * Form.cs: override and don't chain up calls to FireEnter and
  2441. FireLeave.
  2442. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  2443. * ListView.cs: Add more text padding space when using
  2444. auto resize for columns (the previous value didn't work fine).
  2445. * ThemeWin32Classic.cs: Update text position inside columns,
  2446. to match the appeareance of .Net.
  2447. * ColumnHeader.cs: When using auto resize, only the Width should
  2448. depend on the sub items, not the Height. Also, set width after
  2449. auto resizing (the value of Width should never remain as -1 or -2).
  2450. 2007-01-10 Chris Toshok <[email protected]>
  2451. * Application.cs: fix compilation errors when debug is enabled.
  2452. 2007-01-10 Chris Toshok <[email protected]>
  2453. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  2454. add some nice ascii art pictures and explanation of the process).
  2455. (GetMostDeeplyNestedActiveControl): new utility function we need
  2456. because our ActiveControl can refer to a child container with its
  2457. own ActiveControl.
  2458. * Form.cs (OnActivated): remove the call to SelectActiveControl
  2459. from here, since you can override this method and not chain up,
  2460. and winforms still sets the active control.
  2461. (OnCreateControl): also remove the unnecessary SelectActiveControl
  2462. call from here.
  2463. (WndProc): it's actually called from the WM_ACTIVATE block, just
  2464. before calling OnActivated.
  2465. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  2466. inside the else. the ActiveControl setter will end up setting
  2467. focus on @control. This keeps us from setting it again (and
  2468. generating an extra LostFocus/GotFocus pair).
  2469. (Select (bool, bool)): reindent.
  2470. 2007-01-10 Jonathan Pobst <[email protected]>
  2471. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  2472. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  2473. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  2474. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  2475. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  2476. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  2477. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  2478. ToolStripTextBox.cs: Another wave of corcompare work.
  2479. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  2480. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  2481. the Width property.
  2482. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  2483. methods by callling Column.AutoResize method on columns.
  2484. 2007-01-09 Jonathan Pobst <[email protected]>
  2485. * Control.cs: Provide proper implementations of PreferredSize
  2486. and GetPreferredSize (2.0).
  2487. 2007-01-09 Jonathan Pobst <[email protected]>
  2488. * Form.cs: Remove one character (!) to make my previous OnClosing
  2489. stuff work for modal windows like MessageBox.
  2490. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  2491. * ListView.cs:
  2492. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  2493. ListView.Columns to get the last displayed column. Fixes #80452.
  2494. 2007-01-09 Everaldo Canuto <[email protected]>
  2495. * Label.cs, LinkLabel.cs: Source code identation fixes.
  2496. 2007-01-08 Everaldo Canuto <[email protected]>
  2497. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  2498. we dont need to invalidate only borders because when we invalidate four
  2499. border lines the invalidate's generates a complete redraw of button,
  2500. because it now invalidate a complete rect some other redraws operations
  2501. are fixed. Fixes #80196.
  2502. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  2503. Remove ToolBarInvalidateEntireButton as it is not used.
  2504. 2007-01-08 Jonathan Pobst <[email protected]>
  2505. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  2506. called for 2.0 profile.
  2507. * CloseReason.cs: Make class internal for 1.1.
  2508. 2007-01-08 Jonathan Pobst <[email protected]>
  2509. * ToolStripManager.cs: Implement FindToolStrip functionality.
  2510. * ToolStrip.cs: Register and unregister with ToolStripManager.
  2511. 2007-01-07 Jonathan Pobst <[email protected]>
  2512. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  2513. to ArrangedElementCollection. Implemented this with as few #if's as
  2514. possible (which is still too many).
  2515. 2007-01-07 Jonathan Pobst <[email protected]>
  2516. * Control.cs: Implement SizeFromClientSize() [2.0].
  2517. 2007-01-07 Everaldo Canuto <[email protected]>
  2518. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  2519. use Theme.BorderSize to calculate area instead of static value 1,
  2520. by the way use new BorderStaticSize instead Border3DSize when
  2521. border_static is true. Fixes #79537.
  2522. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  2523. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  2524. it is not needed.
  2525. 2007-01-06 Everaldo Canuto <[email protected]>
  2526. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  2527. 2007-01-06 Everaldo Canuto <[email protected]>
  2528. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  2529. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  2530. * Hwnd.cs:
  2531. - border_static field added, it will used to define when a control
  2532. theres 3D border but it must be static (thin).
  2533. - In GetWindowRectangle use Theme.BorderSize to calculate area
  2534. instead of static value 1, by the way use new BorderStaticSize instead
  2535. Border3DSize when border_static is true.
  2536. * XplatUIX11.cs, XplatUIOSX.cs:
  2537. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  2538. * Theme.cs: BorderStaticSize field added.
  2539. 2007-01-05 Everaldo Canuto <[email protected]>
  2540. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  2541. 2007-01-05 Everaldo Canuto <[email protected]>
  2542. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  2543. mimic same behavior than win32 that set border only in CreateParams,
  2544. it fix problems under CreateParams overrides. Fix #79442 and partial
  2545. fix #79537.
  2546. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  2547. of thi control you must call recreate handle.
  2548. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  2549. need to do anything as RecreateHangle will take care about borders.
  2550. 2007-01-05 Mike Kestner <[email protected]>
  2551. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  2552. cycles between the ItemControl and parent. Fixes #80388.
  2553. 2007-01-05 Gert Driesen <[email protected]>
  2554. * Control.cs: Lazy init layout engine. Do not directly use
  2555. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  2556. 2007-01-05 Chris Toshok <[email protected]>
  2557. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  2558. unless our list manager has changed (i.e. unless we have reason to
  2559. believe our columns have changed). Fixes #80422.
  2560. also, disable the call do BindColumns in
  2561. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  2562. 1.1 the event isn't raised in response to a column addition on a
  2563. table.)
  2564. 2007-01-05 Jonathan Pobst <[email protected]>
  2565. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  2566. that inheritors can not call it if they choose. Fixes bug #80456.
  2567. 2007-01-05 Andreia Gaita <[email protected]>
  2568. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  2569. doesn't blow up with a null exception on marshalling.
  2570. 2007-01-05 Jonathan Pobst <[email protected]>
  2571. * Control.cs: Implement several 2.0 protected properties and methods.
  2572. Ensure that all necessary events are being called when properties
  2573. are set.
  2574. 2007-01-05 Mike Kestner <[email protected]>
  2575. * ListView.cs: implement PgUp/PgDn for Details view. Also
  2576. fixes First/LastVisibleIndex to use the item_control.ClientRect
  2577. instead of the parent control. Fixes #80378.
  2578. 2006-01-05 Atsushi Enomoto <[email protected]>
  2579. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  2580. determine whether to use yard-pound or not (bug #78399).
  2581. 2006-01-04 Alexander Olk <[email protected]>
  2582. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  2583. problems. So it is time to bring back the old popupbutton colors.
  2584. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  2585. * ColumnHeader.cs:
  2586. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  2587. property by using the internal information of the
  2588. columns order in ListView.
  2589. 2007-01-04 Jonathan Pobst <[email protected]>
  2590. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  2591. Add 2.0 Tag properties.
  2592. * LinkArea.cs: Add 2.0 ToString method.
  2593. 2007-01-03 Chris Toshok <[email protected]>
  2594. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  2595. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  2596. when we're editing, which fixes #80047.
  2597. 2007-01-03 Chris Toshok <[email protected]>
  2598. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  2599. #80404.
  2600. 2007-01-03 Jonathan Pobst <[email protected]>
  2601. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  2602. property and implementation.
  2603. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  2604. for MdiWindowListItem property.
  2605. * ToolStripDropDown.cs: Don't consider hidden menu items while
  2606. laying out the menu.
  2607. 2007-01-03 Andreia Gaita <[email protected]>
  2608. * SendKeys.cs: window handle is not needed in win32, so just
  2609. get the active window for X after parsing keys and don't use
  2610. it when building the message; it is passed by parameter to the
  2611. Xplat method and used there to build the message instead. Also,
  2612. wait for events to be processed on SendWait, as opposed to Send,
  2613. which doesn't wait :) Playing with threads and Send() completely
  2614. hangs on ms.net, only SendWait() works.
  2615. XplatUIX11.cs
  2616. X11Display.cs: Check for valid window handle.
  2617. 2007-01-03 Jackson Harper <[email protected]>
  2618. * TextControl.cs: Need to prevent wrap calculations when replacing
  2619. text (this was there before i removed it accidently).
  2620. - Don't update the cursor during the positioning, just set it to
  2621. selection_start at the end of the operaion.
  2622. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  2623. * Control.cs:
  2624. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  2625. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  2626. * MonthCalendar.cs: Added Click and DoubleClick events again,
  2627. but this time they only hide Control's Click and DoubleClick.
  2628. 2007-01-03 Gert Driesen <[email protected]>
  2629. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  2630. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  2631. 2007-01-02 Jackson Harper <[email protected]>
  2632. * TextBoxBase.cs: We move the caret with the split now, so we
  2633. don't need to explicitly move the caret after splitting. This
  2634. fixes the caret bumping down an extra line on Enter.
  2635. 2007-01-02 Miguel de Icaza <[email protected]>
  2636. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  2637. 2.72).
  2638. * ScrollableControl.cs: Add Scroll event.
  2639. 2007-01-02 Mike Kestner <[email protected]>
  2640. * ListView.cs: one more try with help from [email protected]
  2641. to fix all hdr height padding codepaths. Fixes #80207.
  2642. 2007-01-02 Chris Toshok <[email protected]>
  2643. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  2644. setting it to the Control defaults anyway, and it being after the
  2645. Dock set was screwing up layout.
  2646. (set_Dock): don't short circuit out of setting base.Dock. Also,
  2647. no need to call UpdateStatusBar here, as it'll be re-layed out if
  2648. it needs to be.
  2649. 2007-01-02 Mike Kestner <[email protected]>
  2650. * ListView.cs: patch from [email protected] to add padding
  2651. to header height for width == -1. Fixes the rest of #80207.
  2652. 2007-01-02 Mike Kestner <[email protected]>
  2653. * ListView.cs: rework the mouse event forwarding everaldo added
  2654. to translate the coordinates to the parent control not
  2655. raise the parent events until after we've done our work. Hover
  2656. needs more work, in the case where HoverSelection is on, because
  2657. the item control receives more than one MouseHover per Enter
  2658. event, so we need to ensure only the "first" hover gets forwarded.
  2659. Opening a minor bug for that.
  2660. 2007-01-02 Gert Driesen <[email protected]>
  2661. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  2662. * ListControl.cs: Implemented AllowSelection property. Removed extra
  2663. tabs.
  2664. * ListBox.cs: Implemented AllowSelection property.
  2665. 2007-01-02 Everaldo Canuto <[email protected]>
  2666. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  2667. SelectedItem, it prevent for errors when you must disable item
  2668. before perform click. Fixes #80409.
  2669. 2007-01-02 Everaldo Canuto <[email protected]>
  2670. * MenuAPI.cs: Prevent second level and beyond submenus to close
  2671. until first level when move out side of popup.
  2672. 2007-01-02 Everaldo Canuto <[email protected]>
  2673. * MenuAPI.cs:
  2674. - Down submenu positin in three pixels.
  2675. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  2676. 2007-01-02 Everaldo Canuto <[email protected]>
  2677. * ThemeWin32Classic.cs:
  2678. - Fix popup menu size adding one pixel on the top.
  2679. - Down menu item border from two to one to mimic Win32.
  2680. - Some source identation fixes.
  2681. 2007-01-01 Everaldo Canuto <[email protected]>
  2682. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  2683. position of menu arrows, it fix wrong arrow size.
  2684. 2007-01-01 Everaldo Canuto <[email protected]>
  2685. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  2686. instead of line, it simplify draw operation and fix it using 3D
  2687. borders to mimic Win32.
  2688. 2007-01-01 Jonathan Pobst <[email protected]>
  2689. * StatusStrip.cs: Add implementation of the sizing grip.
  2690. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  2691. StatusStrip rendering.
  2692. 2006-12-31 Chris Toshok <[email protected]>
  2693. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  2694. override the layout style (anchor/dock) of the control. assign to
  2695. Dock instead. Fixes bug #80416.
  2696. * ToolStrip.cs: same.
  2697. 2006-12-31 Andreia Gaita <[email protected]>
  2698. * ContainerControl.cs: Use ContainerSelected flag to check if
  2699. a Container is directly selected, or if Select is called on a
  2700. non-container. If a container is directly selected, focus events
  2701. should not be raised.
  2702. Apply #80411 patch to throw exception on set_ActiveControl if
  2703. control is the same as the current one.
  2704. * Control.cs: Use ContainerSelected flag (see above).
  2705. Add invalidation check to raise event but not invalidate if
  2706. dimensions are 0.
  2707. Apply #80411 patch.
  2708. 2006-12-31 Everaldo Canuto <[email protected]>
  2709. * MenuAPI.cs: After click, dont close popup menu when menu is
  2710. ContextMenu. Fixes #80399.
  2711. 2006-12-30 Chris Toshok <[email protected]>
  2712. * ContainerControl.cs: make sure we throw the exception if the
  2713. container control doesn't contain the control we're setting
  2714. ActiveControl to.
  2715. 2006-12-30 Chris Toshok <[email protected]>
  2716. * Control.cs (SetTopLevel): fix the exception raised by
  2717. SetTopLevel for child controls.
  2718. (set_Anchor): call UpdateDistances when setting the anchor type.
  2719. This fixes bug #80336.
  2720. 2006-12-29 Gert Driesen <[email protected]>
  2721. * Theme.cs: For now, revert back to 8pt font.
  2722. 2006-12-29 Everaldo Canuto <[email protected]>
  2723. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  2724. Fixes #80395.
  2725. 2006-12-29 Chris Toshok <[email protected]>
  2726. * Control.cs: reorder the code in OnResize to give the same event
  2727. ordering as MS.
  2728. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  2729. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  2730. TileHorizontally and TileVertically.
  2731. 2006-12-29 Alexander Olk <[email protected]>
  2732. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  2733. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  2734. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  2735. Corrected copyright and email adress.
  2736. 2006-12-29 Gert Driesen <[email protected]>
  2737. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  2738. of Exception in FullPath property if no TreeView is associated with
  2739. the TreeNode.
  2740. 2006-12-29 Gert Driesen <[email protected]>
  2741. * Theme.cs: Marked default_font as private, and initialize it in ctor
  2742. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  2743. on 2.0 profile.
  2744. * ThemeGtk.cs: Removed default_font intialization.
  2745. * ThemeWin32Classic.cs: Removed default_font initialization.
  2746. 2006-12-28 Chris Toshok <[email protected]>
  2747. * Control.cs: fix a couple of place where we were creating handles
  2748. more aggressively than we should be. Fixes ControlRefresh unit
  2749. tests.
  2750. 2006-12-28 Chris Toshok <[email protected]>
  2751. * Control.cs: contrary to what the comment said, Control.Dock does
  2752. not supercede Control.Anchor - the last one you assign to decides
  2753. the layout behavior. so we need to keep track of which was the
  2754. last set. Also, fix some of the affected property arguments in
  2755. PerformLayout calls, and remove an redundant parent.PerformLayout
  2756. call in OnResized.
  2757. Add a VisibleInternal property, which returns is_visible. We
  2758. can/should get rid of all the usage of this field elsewhere.
  2759. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2760. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  2761. control style, not DoubleBuffer. Added UseDoubleBuffering property
  2762. that indicates whether doublebuffering is enabled and supported.
  2763. (comment from and code based on Gert Driesen's patch in #80324).
  2764. Fixes #80324.
  2765. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2766. * Control.cs: Fixed a NRE.
  2767. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2768. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  2769. for 2.0.
  2770. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  2771. * Control.cs: Rewrote double buffering, now a seperate
  2772. class handles all the buffering, no Graphics is disposed of
  2773. until the painting is finished (earlier implementation
  2774. would crash if the control was resized in the OnPaint,
  2775. since it would cause the double buffer to be recreated
  2776. and the old one disposed), a separate Graphics is
  2777. created for every paint (MS behaviour and anyways the state
  2778. of the Graphics would have to be saved and restored otherwise)
  2779. * XplatUIDriver.cs:
  2780. * XplatUIX11.cs:
  2781. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  2782. so that we can get the graphics for the back buffer without
  2783. having to create a new one and remove the offscreen_dc parameter
  2784. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  2785. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  2786. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  2787. Also make virtual all the key-related methods.
  2788. * ListViewItem.cs: Make virtual the key related methods for
  2789. ListViewSubItemCollection.
  2790. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  2791. * ListView.cs:
  2792. * ListViewItem.cs:
  2793. * ThemeWin32Classic.cs:
  2794. * Theme.cs: Initial support for Tile view in ListView,
  2795. as well as the implementation of the required bits for it (Item
  2796. and Subitem).
  2797. 2006-12-27 Gert Driesen <[email protected]>
  2798. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  2799. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  2800. Provide useful exception messages.
  2801. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  2802. * TrackBar.cs: Remove a warning.
  2803. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  2804. when used by DateTimePicker, fixes #80287. This also requires that
  2805. MonthCalendar implements it's own drawing for the yearly updown control,
  2806. otherwise the Capture tracking would be too complicated. Removed the Click
  2807. and DoubleClick events (according to comments they were hiding the base class
  2808. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  2809. raise these events, not that they cannot be raised. It is possible to raise
  2810. them by calling OnClick and OnDoubleClick). Added two internal fields in
  2811. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  2812. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  2813. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  2814. event, no longer needed.
  2815. 2006-12-27 Gert Driesen <[email protected]>
  2816. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  2817. true if new value differs from current value.
  2818. 2006-12-27 Gert Driesen <[email protected]>
  2819. * Control.cs: ControlCollection.Count must be public. Fixed build of
  2820. unit tests.
  2821. 2006-12-27 Gert Driesen <[email protected]>
  2822. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  2823. 2006-12-27 Gert Driesen <[email protected]>
  2824. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  2825. 2006-12-26 Everaldo Canuto <[email protected]>
  2826. * Control.cs: Invalidates control including when Width and Height is
  2827. equal zero or is not visible, only Paint event must be care about
  2828. this. Fixes #79913.
  2829. 2006-12-26 Chris Toshok <[email protected]>
  2830. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  2831. more corcompare work.
  2832. * DataGridView.cs: fix compiler warning.
  2833. * ColumnHeader.cs: some corcompare work, and also take the
  2834. opportunity to make the internal fields private.
  2835. * ListView.cs: fix the fallout from the above field change.
  2836. 2006-12-26 Jonathan Pobst <[email protected]>
  2837. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  2838. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  2839. ToolStripTextBox.cs: Fixes to events and corcompare.
  2840. 2006-12-26 Everaldo Canuto <[email protected]>
  2841. * ListView.cs: Call owner.OnMousexx event to propagate events from
  2842. item to ListView. Fixes #80367.
  2843. 2006-12-26 Gert Driesen <[email protected]>
  2844. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  2845. if value is less than one. ItemHeight should not be set to a value
  2846. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  2847. Removed extra tabs.
  2848. 2006-12-26 Jonathan Pobst <[email protected]>
  2849. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  2850. * ToolStripStatusLabel.cs: Add Spring for Moma.
  2851. 2006-12-26 Gert Driesen <[email protected]>
  2852. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  2853. Fixed code formatting. Removed debug code.
  2854. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  2855. 2006-12-26 Gert Driesen <[email protected]>
  2856. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  2857. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  2858. ArgumentOutOfRangeException if ColumnCount is negative. In
  2859. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  2860. less than 4 or higher than 32768.
  2861. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  2862. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  2863. Fixed IsFormatProviderDefault to return true if FormatProvider has
  2864. not been explicitly set.
  2865. 2006-12-25 Chris Toshok <[email protected]>
  2866. * Application.cs: add a couple of 2.0 events.
  2867. 2006-12-25 Chris Toshok <[email protected]>
  2868. * Control.cs: fix compiler warning.
  2869. * AxHost.cs: corcompare fixes.
  2870. * ApplicationContext.cs: corcompare fixes.
  2871. 2006-12-25 Chris Toshok <[email protected]>
  2872. * Control.cs: only update dist_right/dist_bottom if the
  2873. width/height is > 0. this fixes anchored controls being resized
  2874. smaller until they disappear and then resized larger again.
  2875. 2006-12-25 Chris Toshok <[email protected]>
  2876. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  2877. since they're nothing more than X/Left and Y/Top, respectively.
  2878. Also, move back to a per-control Bitmap/Graphics for
  2879. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  2880. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  2881. Height.
  2882. 2006-12-25 Miguel de Icaza <[email protected]>
  2883. * MessageBox.cs: Implemented overload that takes a new "bool
  2884. displayHelpButton" by adding a new internal field "show_help".
  2885. When clicked this will raise the HelpRequested on the owner or the
  2886. main form.
  2887. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  2888. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  2889. * ListView.cs: Add support ColumnWidthChanged and
  2890. ColumnWidthChanging.
  2891. Add support for ColumnReordered event.
  2892. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  2893. reorder.
  2894. Very nice codebase!
  2895. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  2896. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  2897. 2006-12-24 Chris Toshok <[email protected]>
  2898. * GridTablesFactory.cs: 2.0 corcompare work.
  2899. * ToolStripContainer.cs: add "override" to
  2900. ContextMenuStripChanged, and remove the local event object.
  2901. * ToolStripDropDown.cs: same with a couple properties.
  2902. * ToolStripPanel.cs: same with AutoSizeChanged event.
  2903. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  2904. * Form.cs: add the remaining 2.0 events, and do some corcompare
  2905. attribute work.
  2906. * DateTimePicker.cs: add "new" to padding.
  2907. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  2908. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  2909. * DataGridView.cs: PaddingChanged is overridden.
  2910. 2006-12-24 Chris Toshok <[email protected]>
  2911. * Control.cs: corecompare work here too.
  2912. * DataGridViewElement.cs, DataGridView.cs,
  2913. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  2914. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  2915. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  2916. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  2917. work.
  2918. 2006-12-24 Miguel de Icaza <[email protected]>
  2919. * Control.cs: Switched the error message on the console for a
  2920. todo. A review of the code will have to cope with this anyways
  2921. (since its a large feature, it is in our radar) and it was
  2922. producing too much output when running PDN.
  2923. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  2924. changes. Applications depend on this (PDN 2.72)
  2925. 2006-12-23 Chris Toshok <[email protected]>
  2926. * TableLayoutSettings.cs: finish up the corcompare work for this
  2927. class.
  2928. 2006-12-23 Chris Toshok <[email protected]>
  2929. * Control.cs: make SetImplicitBounds internal, do some futzing
  2930. with LayoutEngine so that it's available in 1.1, and remove the
  2931. entire duplicated code mess from PerformLayout. Use
  2932. System.Windows.Forms.Layout.DefaultLayout instead.
  2933. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  2934. 2006-12-23 Jonathan Pobst <[email protected]>
  2935. * Form.cs: Add MainMenuStrip property.
  2936. 2006-12-23 Jonathan Pobst <[email protected]>
  2937. * Control.cs: Add ContextMenuStrip property and implementation.
  2938. Fix ContextMenu implementation to show menu centered on control when
  2939. activated using the keyboard instead of showing at screen (0,0).
  2940. * ToolStripDropDown.cs: Fix needed overload of Show ().
  2941. 2006-12-23 Everaldo Canuto <[email protected]>
  2942. * Menu.cs: Name property added for 2.0 profile.
  2943. 2006-12-23 Everaldo Canuto <[email protected]>
  2944. * Menu.cs: Update information about FindMenuItem, method to be
  2945. implemented soon.
  2946. 2006-12-23 Everaldo Canuto <[email protected]>
  2947. * MenuAPI.cs: When deselect items deselect also selected subitems.
  2948. 2006-12-23 Everaldo Canuto <[email protected]>
  2949. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  2950. FindSubItemByCoord to found itens that is not active, also an
  2951. cheking added to FindSubItemByCoord to search for items only
  2952. in visible popup windows. Fixes #80274.
  2953. 2006-12-22 Everaldo Canuto <[email protected]>
  2954. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  2955. internal property, it be care about change ExStyle.
  2956. 2006-12-22 Andreia Gaita <[email protected]>
  2957. * ContainerControl.cs: set activeControl for parent forms up the
  2958. tree when the new activecontrol is a container.
  2959. When validating the active control, if it is a container, also
  2960. raise up the validation for it's active control. Fixes #80280
  2961. * Control.cs: Add internal property flag and check to prevent
  2962. Focus events from getting raised when Select() is called for
  2963. a ContainerControl. There are still too many focus events being
  2964. raised at the moment though.
  2965. Cleaned up the code a bit.
  2966. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  2967. * Control.cs: Added all missing 2.0 events.and
  2968. fixed a couple of corcompare issues.
  2969. * TrackBar.cs: Implemented missing 2.0 bits.
  2970. * MonthCalendar.cs,
  2971. * DateTimePicker.cs,
  2972. * MdiClient.cs: Fixed some corcompare issues.
  2973. 2006-12-21 Jonathan Pobst <[email protected]>
  2974. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  2975. SplitterPanel.cs: corecompare work.
  2976. 2006-12-21 Jonathan Pobst <[email protected]>
  2977. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  2978. Clean up warnings for BackgroundImageChanged and PaddingChanged
  2979. events now that they are implemented in Control.cs.
  2980. 2006-12-21 Jonathan Pobst <[email protected]>
  2981. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  2982. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  2983. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  2984. of TableLayoutPanel and supporting cast.
  2985. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  2986. * XplatUIWin32.cs:
  2987. - GrabWindow now confines the mouse pointer to the confine window.
  2988. - Added Win32ClipCursor and Win32GetClipCursor.
  2989. * Control.cs:
  2990. - Added CaptureWithConfine to be able to capture and confine
  2991. mouse pointer.
  2992. * InternalWindowManager.cs:
  2993. - Call CaptureWithConfine instead of Capture if we're an
  2994. MdiChild (fixes #79982).
  2995. 2006-12-21 Chris Toshok <[email protected]>
  2996. * DataGrid.cs: guard against the initial state of selection, where
  2997. selection_start == -1. make sure we only select from index >= 0.
  2998. Fixes bug #80291.
  2999. 2006-12-21 Chris Toshok <[email protected]>
  3000. * Control.cs: we don't need to be so draconian with
  3001. UpdateDistances, and we thusly don't need to call it before
  3002. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  3003. 2006-12-21 Daniel Nauck <[email protected]>
  3004. * ComboBox.cs,
  3005. TextBox.cs: Implemented AutoComplete properties.
  3006. 2006-12-20 Chris Toshok <[email protected]>
  3007. * DataGridView*.cs: some corecompare work.
  3008. 2006-12-20 Jackson Harper <[email protected]>
  3009. * XplatUIX11.cs: We need to hide the caret when deleting it,
  3010. otherwise you get carets left lying around everywhere.
  3011. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  3012. prevents getting some weird half drawn caret tracers when
  3013. scrolling.
  3014. * TextControl.cs: Attempt to reduce the number of times we need to
  3015. recreate the caret.
  3016. 2006-12-20 Gert Driesen <[email protected]>
  3017. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  3018. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  3019. * DateTimePicker.cs:
  3020. - Implemented missing 2.0 bits.
  3021. - Changed some default values to match MS.
  3022. 2006-12-20 Jackson Harper <[email protected]>
  3023. * TextBoxBase.cs: When changing the font across the document we
  3024. can't recalculate after changing each line, since that will cahnge
  3025. the line count.
  3026. - PreferredHeight is a little different than i thought.
  3027. - When backspacing, move the caret before we do the actual char
  3028. delete, because when that delete crosses a wrap boundary the
  3029. positional information will change.
  3030. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  3031. * Control.cs: Added some missing 2.0 bits:
  3032. BackgroundImageLayout, BackgroundImageLayoutChanged,
  3033. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  3034. add IBindableComponent and IDropTarget implementation.
  3035. * MonthCalendar.cs:
  3036. - Added all missing 2.0 features:
  3037. BackgroundImageLayout, RightToLeftLayout,
  3038. OnHandleDestroyed, RightToLeftLayoutChanged,
  3039. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  3040. PaddingChanged.
  3041. - Rewrote all the BoldDate code, it was completely broken.
  3042. - Fixed all the tests (the tests can now be re-enabled, the
  3043. problems were not with the tests, but with the control, it was
  3044. mostly broken).
  3045. * DateTimePicker.cs: Changed the location where the
  3046. MonthCalendar is shown.
  3047. 2006-12-19 Chris Toshok <[email protected]>
  3048. * DataGridView.cs: add IDropTarget implementation.
  3049. * ToolStripPanel.cs: add IDropTarget implementation.
  3050. 2006-12-19 Jackson Harper <[email protected]>
  3051. * TextControl.cs: soft now means something different than what it
  3052. used to mean, we want to move the caret regardless of whether or
  3053. not this break was soft (would we really have wanted the caret
  3054. to not move with the break in the old context?)
  3055. * TreeView.cs: Make sure we factor in the vert scrollbar when
  3056. calculating the horizontal scrollbar's maximum.
  3057. 2006-12-19 Andreia Gaita <[email protected]>
  3058. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  3059. check for keywords in alternate casing, close bug #80049.
  3060. 2006-12-19 Chris Toshok <[email protected]>
  3061. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  3062. methods (which all do nothing).
  3063. * IDropTarget.cs: add the 4 missing methods.
  3064. 2006-12-19 Chris Toshok <[email protected]>
  3065. * TableLayoutRowStyleCollection.cs: corcompare work.
  3066. * TableLayoutSettings.cs: same.
  3067. * TableLayoutStyle.cs: same.
  3068. * TableLayoutColumnStyleCollection.cs: same.
  3069. 2006-12-19 Jonathan Pobst <[email protected]>
  3070. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  3071. TableLayoutPanel I've had in my local tree for way too long.
  3072. 2006-12-19 Miguel de Icaza <[email protected]>
  3073. * TableLayoutSettings.cs: Finish the public API (still needs all
  3074. the logic to update on changes).
  3075. * TableLayoutPanelCellPosition.cs: new file.
  3076. * TableLayoutRowStyleCollection.cs,
  3077. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  3078. TableLayoutSettings.cs: Track the final 2.0 table api.
  3079. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  3080. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  3081. and Image List 2.0 members for ColummnHeader.
  3082. * ListView.cs: Add key-related 2.0 methods for
  3083. ColumnHeaderCollection.
  3084. 2006-12-19 Gert Driesen <[email protected]>
  3085. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  3086. ArgumentNullException if items argument is null. Ignore null item in
  3087. arrays. Removed extra tabs.
  3088. 2006-12-19 Gert Driesen <[email protected]>
  3089. * MonthCalendar.cs: Fixed InvalidCastException.
  3090. 2006-12-19 Jackson Harper <[email protected]>
  3091. * TextControl.cs: Don't increment the position here.
  3092. - When calculating char positions only add in the line break size
  3093. for hard line breaks.
  3094. 2006-12-19 Andreia Gaita <[email protected]>
  3095. * SendKeys.cs: Changed some things to match ms.net behaviour
  3096. when parsing shifted capital letters.
  3097. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  3098. Add window handle as parameter to SendInput. X11 needs the
  3099. window handle, and the handle being passed to it in the keys
  3100. queue is the active control handle (which windows needs), not
  3101. the window handle.
  3102. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  3103. to support SendKeys on X.
  3104. * X11Keyboard: Implement helper method to lookup a linux keycode
  3105. given the virtual keycode. Added table of keycode-2-virtualkey
  3106. values to support this.
  3107. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  3108. * ListView.cs: Add support for SelectedIndexCollection
  3109. and SelectedItemCollection 2.0 methods. Implement support
  3110. for ImageKey too.
  3111. * ListViewItem.cs: Add support for ListViewSubItemCollection
  3112. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  3113. (it shouldn't call Clear).
  3114. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  3115. 2006-12-19 Jackson Harper <[email protected]>
  3116. * RichTextBox.cs:
  3117. * TextBoxBase.cs: New args for FormatText
  3118. * TextControl.cs: Rewrote the main drawing method, this version
  3119. feels a little easier to understand and debug to me. Hopefully it
  3120. does to others also
  3121. - Fix FormatText to OR in the new formating values. Added
  3122. FormatSpecified param, basically this works in the same way as
  3123. BoundsSpecified in Control.
  3124. - Set the caret properties when the caret is positioned.
  3125. - When wrapping text make sure that we calculate the width of the
  3126. last character
  3127. - when calculating alignments we might have wrapped down to the
  3128. next line, so don't search for an individual tag, search for the
  3129. end of the line
  3130. - We need to invalidate the selection area when we replace the
  3131. selection.
  3132. 2006-12-19 Daniel Nauck <[email protected]>
  3133. * Application.cs: add Restart () 2.0 support
  3134. 2006-12-18 Everaldo Canuto <[email protected]>
  3135. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  3136. property. Fixes #80268.
  3137. 2006-12-18 Everaldo Canuto <[email protected]>
  3138. * MenuAPI.cs: Dont trigger select event when closes top menu
  3139. item. Fixes #80270.
  3140. 2006-12-18 Everaldo Canuto <[email protected]>
  3141. * MenuAPI.cs: When you click on menuitem only trigger onselect
  3142. event for top menu itens. Fixes #80271.
  3143. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  3144. * MdiWindowManager.cs: Make IconicBounds depend on
  3145. the bottom of MdiClient, not the top (fixes #80267)
  3146. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  3147. * MdiClient.cs: Added missing 2.0 attribute
  3148. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  3149. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  3150. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  3151. 2006-12-18 Everaldo Canuto <[email protected]>
  3152. * MenuAPI.cs: Fix click when menuitem is not popup,
  3153. this regression was caused by last commit (#80272).
  3154. 2006-12-17 Everaldo Canuto <[email protected]>
  3155. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  3156. fire click event or close menu. Fixes #80272.
  3157. 2006-12-17 Daniel Nauck <[email protected]>
  3158. * ListViewHitTestInfo.cs: add
  3159. 2006-12-17 Daniel Nauck <[email protected]>
  3160. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  3161. * FlatButtonAppearance.cs: add
  3162. * DockingAttribute.cs: add
  3163. 2006-12-17 Chris Toshok <[email protected]>
  3164. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  3165. and rebind our columns when it does - this way, if you make
  3166. changes to the DataTable (or set the Table attribute on a DataView
  3167. after setting it as the DataGrid's DataSource, the changes are
  3168. made visible.) Fixes bug #80107.
  3169. 2006-12-17 Daniel Nauck <[email protected]>
  3170. * ListViewGroup.cs: add internal Location property for layouting.
  3171. * Theme.cs: add abstract ListViewGroupHeight function.
  3172. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  3173. 2006-12-16 Andreia Gaita <[email protected]>
  3174. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  3175. Added reset of selected index to 0 when adding first tab page.
  3176. Fixes #80264
  3177. * NumericUpDown.cs: Fix NET_2_0 check
  3178. 2006-12-16 Daniel Nauck <[email protected]>
  3179. * ListViewGroup.cs: fixed DefaultValueAttribute value
  3180. 2006-12-16 Daniel Nauck <[email protected]>
  3181. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  3182. 2006-12-15 Miguel de Icaza <[email protected]>
  3183. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  3184. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  3185. ScrollableControl.cs: Add a handful of methods that are
  3186. overwritten in 2.0
  3187. 2006-12-15 Chris Toshok <[email protected]>
  3188. * XplatUIWin32.cs: initial implementation of the Reversible
  3189. drawing functions. there are some problems. DrawReversibleFrame
  3190. doesn't seem to work at all for Dashed FrameStyle, and in the
  3191. Thick case there are drawing errors at the corners (we probably
  3192. need to bind Rectangle instead of doing moveto/lineto's.)
  3193. 2006-12-16 Andreia Gaita <[email protected]>
  3194. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  3195. to send blocks of key messages. Send accumulates keys to send with Flush,
  3196. while SendWait sends all keys immediately.
  3197. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3198. XplatUIX11.cs, XplatUIX11-new.cs:
  3199. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  3200. to Win32 SendInput.
  3201. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  3202. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  3203. testing for ms.net on this class is very tricky, as the tests run too fast
  3204. to allow the hook to release, essentially freezing the keyboard and the
  3205. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  3206. category :p
  3207. 2006-12-16 Daniel Nauck <[email protected]>
  3208. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  3209. added missing attributes.
  3210. 2006-12-15 Daniel Nauck <[email protected]>
  3211. * ListViewGroup.cs: Added missing attributes.
  3212. * ListViewGroupCollection.cs: Added missing attributes.
  3213. 2006-12-15 Daniel Nauck <[email protected]>
  3214. * ListViewItem.cs: fixed ListViewSubItem text property.
  3215. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3216. * Control.cs: Added missing 2.0 attributes
  3217. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3218. * MdiClient.cs: Added missing 2.0 attribute.
  3219. * MonthCalendar.cs: Added some missing 2.0 attributes
  3220. and properties.
  3221. 2006-12-15 Daniel Nauck <[email protected]>
  3222. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  3223. 2006-12-15 Jonathan Pobst <[email protected]>
  3224. * MainMenu.cs: Add the new 2.0 constructor to help out people
  3225. using the MainMenu in VS2005.
  3226. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3227. * MdiChildContext.cs: Removed it, no longer used.
  3228. * MdiClient.cs: Added missing 2.0 attributes.
  3229. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3230. * InternalWindowManager.cs: Fix a NullRef with previous
  3231. changes for toolwindows.
  3232. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  3233. * Control.cs:
  3234. - Added AfterTopMostControl to allow for certain controls
  3235. to always stay on top when normal controls are brought to
  3236. front.
  3237. * XplatUIWin32.cs:
  3238. - (DrawInversibleRectangle): Get window rectangle from Win32
  3239. in stead of from control, since Win32 doesn't calculate
  3240. screen coords correctly from control's Location if it
  3241. have docked siblings.
  3242. * MdiWindowManager.cs:
  3243. - Correct the control menu popup location when clicked on
  3244. the maximized form icon. (fixes #80223.1)
  3245. - Don't show moving rectangle if mouse hasn't moved from
  3246. the original clicked point.
  3247. - Removed FormGotFocus handler (not used).
  3248. - Calculate the control buttons location from the main
  3249. window's size and not client size (fixes #79770).
  3250. - Form is now closed when the form icon is double-clicked
  3251. (fixes #79775).
  3252. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  3253. * InternalWindowManager.cs:
  3254. - Moved some MDI-only methods to MdiWindowManager.
  3255. - Removed unused properties and methods.
  3256. - Unified method naming for methods handling wm messages.
  3257. - Moved all message handling to seperate methods for
  3258. each message.
  3259. * ThemeWin32Classic.cs:
  3260. - DrawManagedWindowDecorations now draws the title bar
  3261. with a gradient brush.
  3262. - Add a CPDrawButtonInternal that allows us to specify
  3263. light, normal and dark colors for the buttons (control
  3264. buttons for MDI children were drawn with the same light
  3265. color as the background, therefore loosing the 3D effect).
  3266. * SizeGrip.cs:
  3267. - Add a CapturedControl property that is used to
  3268. determine the control to resize (defaults to parent).
  3269. Needed for MdiClient, since its SizeGrip's parent is
  3270. MdiClient, but the control to resize is the main form.
  3271. * MdiClient.cs:
  3272. - Set SizeGrip's CapturedControl to the main form in order
  3273. to resize the main form and not the MdiClient.
  3274. - Override AfterTopMostControl to leave the scrollbars
  3275. always on top.
  3276. 2006-12-15 Daniel Nauck <[email protected]>
  3277. * ListView.cs: fixed ListViewItemCollection AddRange and
  3278. implemented ListViewItemCollection AddRange 2.0 support.
  3279. 2006-12-15 Daniel Nauck <[email protected]>
  3280. * ListViewGroup.cs: Add.
  3281. * ListViewGroupCollection.cs: Add
  3282. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  3283. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  3284. stub for ImageKey 2.0 support.
  3285. 2006-12-14 Mike Kestner <[email protected]>
  3286. * ListView.cs: add text padding to the autocalculation for columns
  3287. of width -2. Fixes #80207.
  3288. 2006-12-14 Mike Kestner <[email protected]>
  3289. * ListView.cs: add some index guarding for partial row navigation
  3290. logic. Fixes #80250.
  3291. 2006-12-14 Mike Kestner <[email protected]>
  3292. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  3293. are added or inserted to the collection. Fixes #81099.
  3294. 2006-12-13 Everaldo Canuto <[email protected]>
  3295. * MenuAPI.cs: Closes menu when right click out side of popup
  3296. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  3297. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  3298. * ListViewItem.cs: Fix dumb error.
  3299. * ListView.cs: Add Find and ContainsKey methods in
  3300. ListViewItemCollection, and also return true for IsReadOnly
  3301. and IsFixedSize (changes for 2.0).
  3302. 2006-12-13 Gert Driesen <[email protected]>
  3303. * Control.cs: Allow Region to be set to null.
  3304. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  3305. * MdiWindowManager.cs: Remove unused (commented out) code.
  3306. * Form.cs: When the MdiChild is maximized, the form needs
  3307. WM_NCMOUSELEAVE, so request it.
  3308. * InternalWindowManager.cs:
  3309. - Added tooltips to control buttons.
  3310. - Removed duplicated control button handling code.
  3311. - Removed unused (commented out) code.
  3312. 2006-12-12 Everaldo Canuto <[email protected]>
  3313. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  3314. was used because we must set cursor without trigger ChangeCursor event
  3315. and without change Cursor control property. Fixes #79963.
  3316. 2006-12-12 Andreia Gaita <[email protected]>
  3317. * Control.cs: Check if Region setter value is null, and ignore
  3318. 2006-12-12 Jackson Harper <[email protected]>
  3319. * TextControl.cs: We were almost always drawing one more line then
  3320. needed, since the GetLineByPixel will return the last line found
  3321. at that pixel. In most cases though, we were invalidating up to
  3322. the junction between two lines.
  3323. - Improve debug code.
  3324. 2006-12-12 Chris Toshok <[email protected]>
  3325. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  3326. and FillReversibleRectangle.
  3327. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  3328. and FillReversibleRectangle.
  3329. * XplatUIWin32.cs: add stubs which do nothing for
  3330. DrawReversibleFrame, DrawReversibleLine, and
  3331. FillReversibleRectangle.
  3332. * XplatUIOSX.cs: add stubs which raise NIE for
  3333. DrawReversibleFrame, DrawReversibleLine, and
  3334. FillReversibleRectangle.
  3335. * XplatUIX11.cs: add working implementation for
  3336. DrawReversibleFrame, DrawReversibleLine, and
  3337. FillReversibleRectangle.
  3338. * ControlPaint.cs: implement DrawReversibleFrame,
  3339. DrawReversibleLine, and FillReversibleRectangle, by calling into
  3340. the appropriate XplatUI method.
  3341. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3342. * Form.cs: Make MdiClient have the focus even if it's
  3343. not selectable, since it should receive WM_KEY* and WM_MOUSE
  3344. messages. Fixes #79907.
  3345. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3346. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  3347. queried after the window is created.
  3348. * XplatUIX11.cs: Added SendParentNotify to implement
  3349. WM_PARENTNOTIFY logic. Fixes #79965.
  3350. * Control.cs: Added MakeParam.
  3351. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3352. * MdiClient.cs: Resume Layout before setting window
  3353. states (fixes #80201).
  3354. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  3355. * MenuAPI.cs: Deselect a menu item after performing
  3356. the click (fixes #80197).
  3357. 2006-12-11 Jackson Harper <[email protected]>
  3358. * TextBoxBase.cs: We need to cap this value, since Maximum -
  3359. ViewPortHeight can be less than zero.
  3360. - Only do selection with the left mouse button.
  3361. * TextBox.cs: Don't tell the world that we have a context menu.
  3362. * Control.cs: New method so that we can control whether or not the
  3363. context menu is visible outside MWF.
  3364. 2006-12-11 Everaldo Canuto <[email protected]>
  3365. * ToolBarButton.cs: Fix text positon.
  3366. 2006-12-11 Miguel de Icaza <[email protected]>
  3367. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  3368. * Control.cs (DoubleBuffered): Add implementation.
  3369. * Application.cs (OpenForms): Add.
  3370. 2006-12-11 Jonathan Pobst <[email protected]>
  3371. * Form.cs: Use opacity instead of Opactiy to determine if we need
  3372. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  3373. 2006-12-11 Jonathan Pobst <[email protected]>
  3374. * Control.cs: Fix NRE if Control.Site was set to null.
  3375. 2006-12-11 Chris Toshok <[email protected]>
  3376. * Control.cs: ControlCollection.Remove should return if the arg is
  3377. null, and ControlCollection.SetChildIndex should raise a ANE.
  3378. 2006-12-11 Gert Driesen <[email protected]>
  3379. * Control.cs: Verify value set for Dock property. Code formatting
  3380. updates.
  3381. 2006-12-11 Jackson Harper <[email protected]>
  3382. * TextControl.cs: Draw the caret and the selection when a flag is
  3383. set on the owner.
  3384. * TextBoxBase.cs: We want to draw the caret and the selection for
  3385. TextBox but not for TextBoxBase.
  3386. - If the window is resized and scrolling is no longer needed (the
  3387. whole doc is visible) set the scroll position to zero.
  3388. - The default SelectWord (the one TextBox uses) should move the
  3389. caret to the end of the word.
  3390. - SelectAll moves the caret to the end of the selection.
  3391. * TextBox.cs: We don't selectall on focus, we just do it when the
  3392. control is created.
  3393. 2006-12-11 Mike Kestner <[email protected]>
  3394. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  3395. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  3396. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  3397. 2.0 support.
  3398. * ListViewItem.cs: Add Name 2.0 property.
  3399. 2006-12-11 Andreia Gaita <[email protected]>
  3400. * TabControl.cs: Set visibility on selected or default tab
  3401. when tabcontrol handle is created, so that it's contents
  3402. actually show up (duh). Fixes #80193
  3403. Don't redraw the control if there is no handle created, as
  3404. the selected index might be completely invalid. Added some tests
  3405. to check for this.
  3406. 2006-12-11 Everaldo Canuto <[email protected]>
  3407. * ToolBar.cs: Uses maximun width and height of all buttons as
  3408. button rectangle when ButtonSize specified, it looks strange but
  3409. is what happens in Win32. Fixes #80189.
  3410. 2006-12-11 Jackson Harper <[email protected]>
  3411. * TextControl.cs: Need to track undo levels ourself, since
  3412. compound actions will mess them up.
  3413. 2006-12-10 Andreia Gaita <[email protected]>
  3414. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  3415. SelectedIndex value is changed (even if it's not valid).
  3416. Reset SelectedIndex to 0 when the handle is created and if
  3417. the current index is invalid.
  3418. Fixes SelectdeIndex unit tests and #80128
  3419. 2006-12-08 Chris Toshok <[email protected]>
  3420. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  3421. calls EndEdit, it needs to be called before we set current_cell to
  3422. its new value. Otherwise, we end up committing the value in the
  3423. textbox to the new cell as well. Fixes bug #80160.
  3424. 2006-12-08 Chris Toshok <[email protected]>
  3425. * Form.cs (set_CancelButton): if the button's DialogResult is
  3426. None, set it to Cancel. Fixes bug 80180.
  3427. 2006-12-08 Jackson Harper <[email protected]>
  3428. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  3429. to watch ourselves when setting the canvas size and setting the
  3430. scrollbar values.
  3431. 2006-12-08 Chris Toshok <[email protected]>
  3432. * DataGrid.cs: comment out the two MakeTransparent calls for the
  3433. time being so people using trunk (and not 1.2.2) on windows can
  3434. actually use the datagrid. This deals with bug #80151.
  3435. 2006-12-08 Jonathan Pobst <[email protected]>
  3436. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  3437. Graphics.DrawImage (image, int, int, int, int) overload instead
  3438. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  3439. the dpi difference and was blurring images it drew.
  3440. [Fixes bug #79960]
  3441. 2006-12-08 Chris Toshok <[email protected]>
  3442. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  3443. rowcnt is 0 (such as with an empty datasource), and make sure we
  3444. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  3445. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  3446. 2006-12-08 Chris Toshok <[email protected]>
  3447. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  3448. grid.
  3449. 2006-12-08 Chris Toshok <[email protected]>
  3450. [ Fixes bug #80167 ]
  3451. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  3452. style is FlatStyle.System.
  3453. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  3454. ButtonBase.flat_style private, and switch uses of it to the public
  3455. property.
  3456. 2006-12-08 Chris Toshok <[email protected]>
  3457. [ Fixes bug #80121 ]
  3458. * ThemeWin32Classic.cs: center the caption text in the datagrid
  3459. when we draw it.
  3460. * DataGrid.cs: lessen the amount we add to the caption height from
  3461. 6 to 2. 6 was making it huge.
  3462. 2006-12-08 Andreia Gaita <[email protected]>
  3463. * UpDownBase: Handle MouseWheel call directly instead of capturing
  3464. the inner textbox's OnMouseWheel. Fixes #80166
  3465. 2006-12-08 Jackson Harper <[email protected]>
  3466. * TextControl.cs: We need to invalidate the textbox when we empty
  3467. it (how had this not been discovered before?)
  3468. 2006-12-08 Jackson Harper <[email protected]>
  3469. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  3470. to behave like MS, we now ignore the eventargs.Click and just
  3471. track state ourself, which we were already doing anyways.
  3472. - Constrain the double click handler to the double click size.
  3473. 2006-12-08 Chris Toshok <[email protected]>
  3474. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  3475. direction if that scrollbar isn't shown. fixes bug #80158.
  3476. 2006-12-08 Andreia Gaita <[email protected]>
  3477. * NumericUpDown.cs: Update value on getter. Fixes #79950
  3478. 2006-12-08 Chris Toshok <[email protected]>
  3479. * MenuItem.cs: add back in the event cloning code. I didn't know
  3480. how to do it in the face of the EventHandlerList work i'd done
  3481. last week. Fixes bug #80183.
  3482. 2006-12-08 Jonathan Pobst <[email protected]>
  3483. * Control.cs: Add an invalidate to the BackgroundImage setter.
  3484. [Fixes 80184]
  3485. 2006-12-07 Jonathan Pobst <[email protected]>
  3486. * ToolStrip*: Add some small properties reported by MoMA, fix event
  3487. firing and default properties based off of unit tests, and add some
  3488. attributes based off of the class status page.
  3489. 2006-12-07 Jackson Harper <[email protected]>
  3490. * TextBoxBase.cs: Take HideSelection into account when determining
  3491. whether or not to show the selection.
  3492. * RichTextBox.cs: After inserting the RTF into the document move
  3493. the cursor to the beginning of the document.
  3494. 2006-12-07 Jonathan Pobst <[email protected]>
  3495. * Control.cs: Remove static ArrayList "controls" which maintained
  3496. a reference to every control created.
  3497. * Application.cs: Create a static FormCollection to maintain a reference
  3498. to every form created. Use it in places that formerly enumerated through
  3499. the controls one looking for forms.
  3500. * Form.cs: Add and remove self from above FormCollection.
  3501. 2006-12-07 Alexander Olk <[email protected]>
  3502. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  3503. not libgdk (though it makes me wonder why I didn't have any
  3504. problems)
  3505. 2006-12-07 Chris Toshok <[email protected]>
  3506. [ you had to know this was coming after that last commit...]
  3507. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  3508. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  3509. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  3510. XCopyArea).
  3511. 2006-12-07 Chris Toshok <[email protected]>
  3512. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  3513. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  3514. all the behavior we need for double buffering.
  3515. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  3516. client side Bitmap, just like the old Control-based double buffer
  3517. code did. The methods are virtual, so each XplatUI driver
  3518. subclass can replace the implementation to use a faster, platform
  3519. specific approach.
  3520. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  3521. double buffer code, and clean things up a bit in the process.
  3522. 2006-12-06 Chris Toshok <[email protected]>
  3523. * Control.cs: reindent WndProc.
  3524. 2006-12-06 Chris Toshok <[email protected]>
  3525. [ I wanna be like BenM when I grow up ]
  3526. * Hwnd.cs: create a single static Graphics object on the static
  3527. Bitmap we create. use this for our text measurements.
  3528. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  3529. This was causing us to allocate a backbuffer for every control,
  3530. even when it wasn't flagged as double buffered. Instead use the
  3531. single graphics instance. This might have implications for
  3532. multithreaded applications. If we run into problems we can switch
  3533. to creating 1 Graphics per control, on the static Hwnd bitmap.
  3534. this change nets us a 7M savings in private dirty mappings when
  3535. running FormsTest.exe.
  3536. 2006-12-06 Chris Toshok <[email protected]>
  3537. * ListView.cs: the BackgroundImage override is just to set
  3538. attributes. chain up to base.BackgroundImage.
  3539. * RichTextBox.cs: same.
  3540. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  3541. changes, so instead a handler for BackgroundImageChanged.
  3542. * Control.cs: make background_image private.
  3543. 2006-12-06 Chris Toshok <[email protected]>
  3544. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  3545. sure we even need this assignment, but roll with it for now.
  3546. * Control.cs: make the cursor field private.
  3547. 2006-12-06 Chris Toshok <[email protected]>
  3548. * Form.cs: we don't need to explicitly set ImeMode to
  3549. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  3550. behavior in the face of ImeMode.Inherit.
  3551. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  3552. change the ctor's assignment to use ImeMode instead of ime_mode.
  3553. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  3554. ImeModeInherit. Only check for the parent's imemode (and return
  3555. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  3556. This fixes the button unit test, which sets both ImeMode and
  3557. DefaultImeMode to ImeMode.Disable.
  3558. also make the ime_mode field private.
  3559. 2006-12-06 Chris Toshok <[email protected]>
  3560. * Control.cs: make control_style private.
  3561. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  3562. setting the styles to true, then setting them to false instead of
  3563. reverting to their previous values.
  3564. also, call SetStyle on the scrollbars instead of using
  3565. control_style directly.
  3566. 2006-12-06 Jonathan Pobst <[email protected]>
  3567. * FormCollection.cs: Implement. [2.0]
  3568. 2006-12-06 Chris Toshok <[email protected]>
  3569. * Control.cs: make tab_stop private.
  3570. * Label.cs: set TabStop, not tab_stop. reformat some event
  3571. add/remove methods to make them more compact.
  3572. 2006-12-06 Chris Toshok <[email protected]>
  3573. * RadioButton.cs: fix TabStop handling.
  3574. 2006-12-06 Chris Toshok <[email protected]>
  3575. * TextBox.cs: remove the explicit assignments to has_focus.
  3576. Control does that.
  3577. * ButtonBase.cs: remove the assignment to has_focus. Control will
  3578. manage that.
  3579. 2006-12-06 Chris Toshok <[email protected]>
  3580. * ButtonBase.cs: remove all uses of is_enabled from this code.
  3581. it's always true when any of the code containing the checks is
  3582. executed.
  3583. 2006-12-06 Chris Toshok <[email protected]>
  3584. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  3585. with different semantics (some are present in both 1.1 and 2.0
  3586. profiles) so that we match MS's behavior in our unit tests.
  3587. 2006-12-06 Jackson Harper <[email protected]>
  3588. * TextControl.cs: Make this operation undoable.
  3589. * TextBoxBase.cs: Factor the border width into the preferred
  3590. height.
  3591. - implement Modified as per the spec.
  3592. 2006-12-06 Chris Toshok <[email protected]>
  3593. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  3594. 2006-12-06 Chris Toshok <[email protected]>
  3595. * Control.cs: make right_to_left and context_menu fields private.
  3596. 2006-12-06 Chris Toshok <[email protected]>
  3597. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  3598. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  3599. Control.child_controls private. switch all uses over to
  3600. Control.Controls.
  3601. 2006-12-06 Chris Toshok <[email protected]>
  3602. * System.Windows.Forms/GroupBox.cs,
  3603. System.Windows.Forms/AccessibleObject.cs,
  3604. System.Windows.Forms/ErrorProvider.cs,
  3605. System.Windows.Forms/Control.cs,
  3606. System.Windows.Forms/UpDownBase.cs,
  3607. System.Windows.Forms/ScrollBar.cs,
  3608. System.Windows.Forms/DateTimePicker.cs,
  3609. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  3610. System.Windows.Forms/ToolTip.cs,
  3611. System.Windows.Forms/RadioButton.cs,
  3612. System.Windows.Forms/LinkLabel.cs,
  3613. System.Windows.Forms/Splitter.cs,
  3614. System.Windows.Forms/TextBoxBase.cs,
  3615. System.Windows.Forms/ToolStripTextBox.cs,
  3616. System.Windows.Forms/ContainerControl.cs,
  3617. System.Windows.Forms/ThemeWin32Classic.cs,
  3618. System.Windows.Forms/SizeGrip.cs,
  3619. System.Windows.Forms/ToolStripDropDown.cs,
  3620. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  3621. private. switch all uses over to Control.Parent.
  3622. 2006-12-06 Chris Toshok <[email protected]>
  3623. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  3624. Control does this before calling emitting these events.
  3625. * TabControl.cs: same.
  3626. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  3627. Control.client_rect.
  3628. * ButtonBase.cs: use the ClientSize property instead of the
  3629. client_size field.
  3630. * ScrollableControl.cs: same.
  3631. * Control.cs: another pass at making properties private. also,
  3632. move the initialization of tab_stop to the ctor.
  3633. 2006-12-05 Andreia Gaita <[email protected]>
  3634. * TabControl.cs: Let the selected index be set freely if the
  3635. control handle is not yet created.
  3636. 2006-12-05 Jonathan Pobst <[email protected]>
  3637. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  3638. internal until I can rewrite DefaultLayout.
  3639. * ToolStrip.cs: Fix build error and some general cleaning.
  3640. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  3641. Fix build errors caused by making some of Control's fields private.
  3642. 2006-12-05 Jackson Harper <[email protected]>
  3643. * TextControl.cs: Redo Insert a little so that it use IndexOf
  3644. instead of Split, this prevents it from messing up on things like
  3645. \n\n\n. Also more effecient since the split array doesn't need to
  3646. be created.
  3647. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  3648. multiline text differently, this is the first of many fixes that
  3649. will make multiline/non-multiline the same thing as far as the
  3650. TextBoxBase is concerned.
  3651. - Don't split the text and insert lines, this can lose some line
  3652. endings (like is the last line a soft or hard break). Instead use
  3653. the new Insert.
  3654. - Fix an off by one when combining all the lines in the Text
  3655. getter.
  3656. - Remove separate multiline handling from the Text getter/setter.
  3657. 2006-12-05 Chris Toshok <[email protected]>
  3658. * ButtonBase.cs: a few changes:
  3659. - don't reinitialize internal Control fields in the ctor when they
  3660. have the same values as Control sets them.
  3661. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  3662. this before calling those methods.
  3663. - we don't need to call Refresh for anything. use Invalidate
  3664. instead.
  3665. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  3666. calls Refresh in its OnEnabledChanged.
  3667. - several of the events we were registered for in the ctor to
  3668. redraw ourselves already include calls to Invalidate in the
  3669. property setters that raise the events. remove the extra
  3670. invalidation.
  3671. - reformat a switch statement that was 83274658 columns wide.
  3672. 2006-12-05 Mike Kestner <[email protected]>
  3673. * ComboBox.cs: fix a unit test regression from a TextBox
  3674. SelectionLength return of -1 when there's no selection.
  3675. 2006-12-05 Chris Toshok <[email protected]>
  3676. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  3677. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  3678. cleaning up some of the internal Control fields being used by
  3679. subclasses.
  3680. 2006-12-05 Mike Kestner <[email protected]>
  3681. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  3682. listbox after AddImplicit calls since it defaults to hidden. Add a
  3683. hack to preserve requested heights across DropDownStyle changes.
  3684. 2006-12-05 Jonathan Pobst <[email protected]>
  3685. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  3686. 2006-12-05 Chris Toshok <[email protected]>
  3687. * DataGridView.cs: fix compiler warnings.
  3688. * PrintControllerWithStatusDialog.cs: same.
  3689. * ToolBar.cs: same.
  3690. * FolderBrowserDialog.cs: same.
  3691. * Splitter.cs: same.
  3692. * DataGridViewComboBoxCell.cs: same.
  3693. * XplatUIWin32.cs: same.
  3694. * PictureBox.cs: same.
  3695. * Win32DnD.cs: same.
  3696. * PageSetupDialog.cs: same.
  3697. * FileDialog.cs: same.
  3698. * PrintDialog.cs: same.
  3699. * DataGridTextBoxColumn.cs: same.
  3700. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  3701. 2006-12-05 Chris Toshok <[email protected]>
  3702. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  3703. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  3704. System.ComponentModel.EventHandlerList work.
  3705. 2006-12-05 Jonathan Chambers <[email protected]>
  3706. * DrawTreeNodeEventArgs.cs: Added.
  3707. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  3708. * InternalWindowManager.cs: Remove an unused field.
  3709. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  3710. * InternalWindowManager.cs:
  3711. - Save the point where the title bar is clicked.
  3712. * MdiWindowManager.cs:
  3713. - Only allow moving of the window as long as the
  3714. clicked point on the title bar does not get out of
  3715. MdiClient's rectangle. Fixes #79982.
  3716. * MdiClient.cs:
  3717. - Added Horizontal/VerticalScrollbarVisible.
  3718. - Simplified the scrollbar sizing algorithm.
  3719. - Cache the difference in scrolled value in
  3720. H/VBarValueChanged and move the calculation out
  3721. of the for loop.
  3722. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  3723. * Control.cs: Make the Console.WriteLine in WndProc
  3724. write more info.
  3725. 2006-12-05 Chris Toshok <[email protected]>
  3726. * ToolStripManager.cs, ToolStripButton.cs,
  3727. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  3728. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  3729. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  3730. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  3731. ToolStripProgressBar.cs, ToolStripContainer.cs,
  3732. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  3733. to using System.ComponentModel.EventHandlerList.
  3734. 2006-12-04 Chris Toshok <[email protected]>
  3735. * LinkLabel.cs: fix up compiler warnings.
  3736. * TableLayoutSettings.cs: same.
  3737. * TreeView.cs: same.
  3738. * ToolBar.cs: same.
  3739. * TabControl.cs: same.
  3740. * RichTextBox.cs: same.
  3741. * ListViewItem.cs: same.
  3742. * PropertyGrid.cs: same.
  3743. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  3744. * ToolTip.cs same.
  3745. * TextRenderer.cs: fix up compiler warnings.
  3746. * Label.cs: same.
  3747. * Form.cs: corcompare fixes.
  3748. * PictureBox.cs: fix up compiler warnings.
  3749. * ImageListStreamer.cs: same.
  3750. * TrackBar.cs: corcompare fix.
  3751. * Control.cs: fix up compiler warnings.
  3752. * SplitterPanel.cs: same.
  3753. * NumericTextBox.cs: same.
  3754. * ImageList.cs: same.
  3755. * StatusStrip.cs: same.
  3756. * ProgressBar.cs: corcompare fix.
  3757. * ToolStripButton.cs: fix up compiler warnings.
  3758. * ToolStripStatusLabel.cs: same.
  3759. * ToolStripSplitButton.cs: same.
  3760. * ToolStripSeparator.cs: same.
  3761. * ToolStripProgressBar.cs: same.
  3762. * ToolStripDropDownMenu.cs: same
  3763. * ToolStripDropDown.cs: same.
  3764. * ToolStripDropDownButton.cs: same.
  3765. * ToolStrip.cs: same.
  3766. * ToolStripControlHost.cs: same.
  3767. * ToolStripContentPanel.cs: same.
  3768. * ToolStripDropDown.cs: same.
  3769. * ToolStripContainer.cs: same.
  3770. * ToolStripPanel.cs: same, and add "new" where we need it to work
  3771. with the new ArrangedElementCollection.
  3772. * ToolStripItemCollection.cs: add "new" where we need it to work
  3773. with the new ArrangedElementCollection.
  3774. 2006-12-04 Andreia Gaita <[email protected]>
  3775. * TabControl.cs: Fix default tab selection to after TabControl
  3776. gets focus and not before. Fixes #80128
  3777. 2006-12-04 Chris Toshok <[email protected]>
  3778. * DataGridTableStyle.cs: remove the gross calling of
  3779. datagrid.Refresh from here. It's a broken idea and it doesn't
  3780. work anyway.
  3781. * DataGrid.cs: instead, just register/unregister from the
  3782. DataGridTableStyle events in CurrentTableStyle. we play it
  3783. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  3784. even though some would most likely not require it. Fixes bug
  3785. #80115 (and one portion of #80117 as a side effect).
  3786. 2006-12-04 Chris Toshok <[email protected]>
  3787. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  3788. so the textbox (if any) goes away. Fixes bug #80117.
  3789. 2006-12-04 Chris Toshok <[email protected]>
  3790. * DataGridColumnStyle.cs: set the column's readonly property
  3791. initially based on the property descriptor's IsReadOnly. Fixes
  3792. bug #80044.
  3793. 2006-12-04 Chris Toshok <[email protected]>
  3794. * ComboBox.cs: wrap the dropdown style changing work in
  3795. SuspendLayout/ResumeLayout. Fixes bug #79968.
  3796. 2006-12-04 Jackson Harper <[email protected]>
  3797. * TextBoxBase.cs: Fix off by one, since these are one-based.
  3798. * TextBox.cs: Select all the text when we get focus. The TextBox
  3799. does this but the RTB does not.
  3800. 2006-12-04 Chris Toshok <[email protected]>
  3801. * DataGridTextBoxColumn.cs: remove some spew.
  3802. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  3803. but some part of me is saying "it shouldn't be here.." At any
  3804. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  3805. setting the value.
  3806. 2006-12-04 Chris Toshok <[email protected]>
  3807. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  3808. to reassign the propertydescriptor.
  3809. 2006-12-04 Jackson Harper <[email protected]>
  3810. * TextBoxBase.cs:
  3811. * TextControl.cs: Remove some unused variables. Maybe this will
  3812. patch things up between mike and I.
  3813. - don't split lines less then one char wide, if the viewport is
  3814. that small text won't be visible anyways.
  3815. 2006-12-04 Jackson Harper <[email protected]>
  3816. * TextBoxBase.cs: Default selection length is -1, need to do some
  3817. more testing on windows to see when this is used for the property.
  3818. - Redid the Lines [] property to that we properly remove soft line
  3819. breaks
  3820. - added support for preserving carriage returns
  3821. - CanUndo is not a variable like 'is undo enabled' it just returns
  3822. true if there is undo operations available.
  3823. - AppendText doesn't need to grab the last tag itself anymore,
  3824. this happens automatically when we move the cursor.
  3825. * TextControl.cs: Add CompoundActions to the undo class. This
  3826. allows combining the other operations into one big option. ie a
  3827. paste will combine { delete old, insert new, move cursor }
  3828. - Add InsertString undo operation
  3829. - New method for deleting multiline text
  3830. - Add carriage returns to lines. So we can preserve carriage
  3831. returns when text is 'roundtripped'
  3832. 2006-12-04 Chris Toshok <[email protected]>
  3833. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  3834. minimum 0. Fixes the scrollbar exception in bug #80136.
  3835. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  3836. * MdiClient.cs:
  3837. * MdiWindowManager: Removed unused fields and methods.
  3838. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  3839. * StatusBar.cs: Update all panels when a AutoSize=Contents
  3840. panel needs updating.
  3841. * StatusBarPanel.cs: Remove twidth and only use initialize.
  3842. Fixes #80031.
  3843. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  3844. * Form.cs: When a form's MdiParent is set add it directly
  3845. on top of the z-order in stead of relying on MdiClient's
  3846. ActivateChild to do it. Fixes #80135.
  3847. * MdiClient.cs:
  3848. - Remove original_order, mdi_child_list is already doing
  3849. the same thing.
  3850. - Create mdi_child_list on construction in
  3851. stead of first use (avoids a few null checks).
  3852. * MenuItem.cs: Use an already existing list of mdi children
  3853. to get the correct order of children and remove the other
  3854. redundant list.
  3855. 2006-12-04 Chris Toshok <[email protected]>
  3856. * PropertyGridView.cs: cached_splitter_location is only used in
  3857. !DOUBLEBUFFER code.
  3858. * PropertyGrid.cs: implement the ComComponentNameChanged event
  3859. using Events, hoping that would fix the warning. Looks like a
  3860. compiler bug instead (#80144).
  3861. * PropertyManager.cs: remove unused method.
  3862. 2006-11-04 Everaldo Canuto <[email protected]>
  3863. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  3864. include parentesis to fix expression evaluation. Fixes #79634.
  3865. 2006-11-02 Everaldo Canuto <[email protected]>
  3866. * MenuAPI.cs:
  3867. - Changes to fix behavior in Menu control, some reported in #80097
  3868. and other detected during behavior refactory like a select event
  3869. problems.
  3870. - Remove unneded "if's" conditions.
  3871. - Created an internal to flag when popup is active in control, we need
  3872. it because in .NET you can have menu active but without popup active
  3873. when you active menu using popup without visible items.
  3874. - Mimic win32 behavior for Select and Popup events.
  3875. - Dont open popup menu when you dont have visible subitems.
  3876. - Do nothing when click on disabled menu item.
  3877. - Some small changes to follow the coding style guidelines.
  3878. - Unselect menu only when another control gives focus. Fixes #80097.
  3879. - Remove unused code.
  3880. * MenuItem.cs: internal VisibleItems method to check if menu
  3881. theres visible subitems, it will be usefull to fix some
  3882. behavior in Menu control.
  3883. 2006-11-01 Everaldo Canuto <[email protected]>
  3884. * Timer.cs: Tag property for 2.0 profile.
  3885. 2006-12-01 Chris Toshok <[email protected]>
  3886. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  3887. * Win32DnD.cs: comment out some unused fields.
  3888. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  3889. some unused properties/methods.
  3890. * XplatUIX11.cs: fix MousePosition so we override the base class's
  3891. property instead of conflicting with it.
  3892. * PictureBox.cs: comment out some unused fields
  3893. * OSXStructs.cs: make some struct fields public.
  3894. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  3895. MousePosition so we override the base class's property instead of
  3896. conflicting with it.
  3897. * X11Dnd.cs: comment out some unused fields
  3898. * X11DesktopColors.cs: fix some struct field visibility to quiet
  3899. the compiler.
  3900. * X11Dnd.cs: remove some debug code.
  3901. * ThemeClearlooks.cs: comment out unused field.
  3902. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  3903. * ThemeGtk.cs: comment out some unused pinvokes.
  3904. * Timer.cs: remove some unused fields.
  3905. * ThemeClearlooks.cs: comment out unused field.
  3906. * UpDownBase.cs: comment out unused field.
  3907. * DataObject.cs: comment out unused field.
  3908. * DataGridBoolColumn.cs: reomve unused field.
  3909. * DataGrid.cs: remove unused field.
  3910. * Cursor.cs: remove old ToBitmap code.
  3911. * ControlPaint.cs: remove unused method.
  3912. * ScrollBar.cs: remove unused fields.
  3913. * ComboBox.cs: remove unused field, and chain up to
  3914. AccessibleObject ctor.
  3915. * ListBox.cs: remove unused field.
  3916. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  3917. * GridEntry.cs: remove unused fields.
  3918. * Binding.cs: remove unused fields.
  3919. * AxHost.cs: remove unused method.
  3920. * ContainerControl.cs: remove unused field.
  3921. * ScrollableControl.cs: remove unused fields.
  3922. 2006-12-01 Chris Toshok <[email protected]>
  3923. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  3924. the Where/WhereString stuff. it's easy enough to CWL
  3925. Environment.StackTrace.
  3926. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  3927. unused private fields.
  3928. 2006-12-01 Jackson Harper <[email protected]>
  3929. * TextControl.cs: Do not update the view while inserting multiline
  3930. text. If we update the view we might wrap lines, before entering
  3931. the new lines, which causes the new line insertion calculations to
  3932. be totally fubared.
  3933. - Remove an old TODO
  3934. - Make debug output a little nicer
  3935. 2006-12-01 Chris Toshok <[email protected]>
  3936. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  3937. 2006-12-01 Chris Toshok <[email protected]>
  3938. [ fix the majority of the CS0108 warnings we've been suppressing ]
  3939. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  3940. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  3941. to "LayoutToolBar" to quiet mcs.
  3942. * TabControl.cs: mark our ControlCollection class as 'new'.
  3943. * TextBoxBase.cs: mark some events as 'new'.
  3944. * Splitter.cs: TabStop is 'new'.
  3945. * ControlBindingsCollection.cs: mark a few methods as new since
  3946. they change the visibility from protected to public.
  3947. * RadioButton.cs: DoubleClick -> base class, and remove unused
  3948. HaveDoubleClick.
  3949. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  3950. events as new.
  3951. * NumericUpDown.cs: TextChanged -> base class.
  3952. * CheckedListBox.cs: mark our ObjectCollection class as new to
  3953. quiet mcs.
  3954. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  3955. muck with the base class.
  3956. * StatusBar.cs: fix some mcs warnings about Update being the same
  3957. name as a base class method.
  3958. * RichTextBox.cs: mark some events as new, and make them do things
  3959. to the base class impl.
  3960. * UserControl.cs: mark TextChanged as new, and have it manipulate
  3961. base.TextChanged.
  3962. * UpDownBase.cs: mark some things new.
  3963. * CheckBox.cs: mark DoubleClick "new", and add some text about
  3964. what we need to look at.
  3965. * Panel.cs: make the events "new", and manipulate the base
  3966. version. these are just here for attributes.
  3967. * AccessibleObject.cs: make owner private.
  3968. * Control.cs: deal with AccessibleObject.owner being private.
  3969. cache our own copy if we need it.
  3970. * Button.cs: add "new" to the DoubleClickEvent.
  3971. * ListBox.cs: no need to track our own has_focus here. let
  3972. Control.has_focus do it for us. Also some other work to clear up
  3973. warnings about not overriding base class methods of the same name.
  3974. * ComboBox.cs: clear up some warnings about not override base
  3975. class methods of the same name.
  3976. 2006-12-01 Chris Toshok <[email protected]>
  3977. * Form.cs: flag a few things as "new" to quiet some of the mcs
  3978. warnings.
  3979. * AxHost.cs: same.
  3980. * PrintPreviewDialog.cs: same.
  3981. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  3982. now DGV isn't so horrible on the class status page. also, move
  3983. all events to using System.ComponentModel.EventHandlerList. my
  3984. wrists hurt.
  3985. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  3986. * MdiWindowManager.cs:
  3987. - Set form to active mdi child if shown,
  3988. and update the active mdi child to the next
  3989. remaining child in the z-order if the form is hidden.
  3990. * Form.cs:
  3991. - Track if the form has been visible and if its
  3992. visibility is beeing changed, so that the MdiClient
  3993. can properly decide the ActiveMdiChild. The MdiClient
  3994. cannot track this since the form can change visibility
  3995. before MdiClient is created.
  3996. * MdiClient.cs:
  3997. - Don't activate anything of the parent form is changing
  3998. its visibility.
  3999. - Rework ActiveMdiChild to only return visible mdi
  4000. children and take into account several other corner
  4001. cases.
  4002. 2006-12-01 Chris Toshok <[email protected]>
  4003. * IBindableComponent.cs: new 2.0 interface.
  4004. 2006-12-01 Gert Driesen <[email protected]>
  4005. * DataGrid.cs: Font for caption area is bold by default.
  4006. 2006-12-01 Everaldo Canuto <[email protected]>
  4007. * Menu.cs: Tag property for 2.0.
  4008. 2006-11-01 Everaldo Canuto <[email protected]>
  4009. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  4010. 2006-12-01 Chris Toshok <[email protected]>
  4011. * TreeView.cs: doh, the Begin* events should be
  4012. TreeViewCancelEventHandler.
  4013. 2006-12-01 Chris Toshok <[email protected]>
  4014. * Form.cs: Form.ControlCollection already stores off the
  4015. form_owner field. don't access the base class's internal "owner"
  4016. field.
  4017. * Control.cs: make all the fields in Control.ControlCollection
  4018. private. there's no need for any internal fields here.
  4019. 2006-12-01 Chris Toshok <[email protected]>
  4020. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  4021. OnHandleCreated. Fixes bug #80109.
  4022. 2006-12-01 Chris Toshok <[email protected]>
  4023. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  4024. SplitContainer.cs, Control.cs, StatusStrip.cs,
  4025. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  4026. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  4027. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  4028. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  4029. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  4030. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  4031. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  4032. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  4033. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  4034. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  4035. do most of the work to convert our code over to use
  4036. System.ComponentModel.Component.Events for
  4037. adding/removing/dispatching events.
  4038. 2006-11-30 Jonathan Pobst <[email protected]>
  4039. * DataGridView.cs: Fix an ArgumentNullException reported
  4040. twice today in IRC.
  4041. 2006-11-30 Mike Kestner <[email protected]>
  4042. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  4043. grabbed listbox. Fixes #80036 and #80101.
  4044. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  4045. * Message.cs: Changed ToString() to match MS.
  4046. 2006-11-30 Jackson Harper <[email protected]>
  4047. * TextBoxBase.cs: You can still change the selected text on a read
  4048. only textbox.
  4049. * TextControl.cs: Lower magic number for wrap calculations. This
  4050. lets text get closer to the right (far) edge.
  4051. 2006-11-30 Jonathan Pobst <[email protected]>
  4052. * Control.cs: Tweak 2.0 layout properties.
  4053. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  4054. * TextRenderer.cs: Add a new overload.
  4055. * ToolStrip*: Huge amount of changes and new features.
  4056. 2006-11-30 Mike Kestner <[email protected]>
  4057. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  4058. scroll range correct. Fixes #79994.
  4059. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  4060. * MdiWindowManager.cs: Update main form's text when
  4061. a form is closed. (fixes #80038)
  4062. 2006-11-30 Everaldo Canuto <[email protected]>
  4063. * ToolBar.cs:
  4064. - Fix an regression in ButtonSize.
  4065. - Get ImeMode default value change to "Disable".
  4066. - Get ShowTooltips default value change to true, default value is
  4067. "false" but after make a test in .NET we get "true" result as default.
  4068. 2006-11-29 Jonathan Pobst <[email protected]>
  4069. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  4070. 2006-11-29 Chris Toshok <[email protected]>
  4071. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  4072. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  4073. SetWindowTransparency hasn't been called.
  4074. 2006-11-29 Chris Toshok <[email protected]>
  4075. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  4076. if it's supported.
  4077. (set_AllowTransparency): reorder things a little so that the
  4078. WS_EX_LAYERED style is removed properly.
  4079. 2006-11-29 Chris Toshok <[email protected]>
  4080. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  4081. * Form.cs: only call the XplatUI transparency method (get/set) if
  4082. SupportsTransparency says it's supported. Otherwise fallback to
  4083. doing nothing (in the set case) or returning the instance field we
  4084. cache (in the get case).
  4085. * XplatUIStructs.cs: add TransparencySupport flag enum.
  4086. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  4087. change to SupportsTransparency.
  4088. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  4089. TransparencySupport.None from SupportsTransparency.
  4090. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  4091. TransparencySupport.Set from SupportsTransparency.
  4092. * XplatUIWin32.cs: implement GetWindowTransparency calling
  4093. GetLayeredWindowAttributes, and implement SupportsTransparency by
  4094. checking whether or not both
  4095. GetWindowTransparency/SetWindowTransparency are available
  4096. entrypoints. We need to do this since SetWindowTransparency is
  4097. available as of win2k, but GetWindowTransparency requires winxp.
  4098. yay win32 api.
  4099. * XplatUI.cs: Add GetWindowTransparency, and change
  4100. SupportsTransparency to allow for either/both Get/Set.
  4101. 2006-11-29 Chris Toshok <[email protected]>
  4102. * DataGrid.cs: keep from going into an infinite loop redrawing a
  4103. datagrid that has no datasource. Fixes bug #80033.
  4104. 2006-11-29 Chris Toshok <[email protected]>
  4105. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  4106. Invalidate) before the mainmenu has been assigned to a control.
  4107. 2006-11-29 Chris Toshok <[email protected]>
  4108. * DataGrid.cs: detect when we should be double the double click
  4109. row/column autosize stuff, although that codepath has yet to be
  4110. written. part of the work for bug #79891.
  4111. 2006-11-29 Chris Toshok <[email protected]>
  4112. * Binding.cs (SetControl): fix unit test.
  4113. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  4114. * PageSetupDialog.cs: Validate the margins and set them in
  4115. PageSettings.
  4116. * NumericTextBox.cs: New class to mimic the behavior of the
  4117. textboxes used in the printing dialogs.
  4118. 2006-11-29 Andreia Gaita <[email protected]>
  4119. * Form.cs: Revert previous change (remove call UpdateBounds
  4120. from form constructor), because it messes with the handle creation
  4121. order, and that one needs lots and lots of love.
  4122. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  4123. for valid printer and throw InvalidPrinterException if document
  4124. is set but printer not valid), adding a MonoTODO. Once
  4125. handle creation is done properly, we can put this back in.
  4126. 2006-11-28 Everaldo Canuto <[email protected]>
  4127. * MenuItem.cs: Create a invalidate method for menu item, to be
  4128. calling from set text, it make text changes to imadiate update
  4129. on screen. Fixes #80013.
  4130. 2006-11-28 Everaldo Canuto <[email protected]>
  4131. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  4132. fixes bug #80070 and some other problem on toolbar buttons
  4133. layout.
  4134. 2006-11-28 Everaldo Canuto <[email protected]>
  4135. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  4136. with dotted brush. Fixes #79564
  4137. 2006-11-28 Andreia Gaita <[email protected]>
  4138. * Form.cs: Removed call to UpdateBounds on Form
  4139. constructor, it was causing a call to CreateHandle
  4140. before it was supposed to.
  4141. * PrintControllerWithStatusDialog: Applied patch
  4142. by Chris Toshok to hide controller when there are
  4143. no printers available.
  4144. PrintDialog.cs: initialize printer settings to
  4145. null - correct DefaultValues test #5
  4146. * PrintPreviewControl.cs: Move PrintController
  4147. initialization to GeneratePreview
  4148. * PrintPreviewDialog.cs:
  4149. - Remove Preview generation from Document_set(). It is
  4150. called on OnPaint
  4151. - Throw InvalidPrinterException on CreateHandle if
  4152. a Document is set but there are no printers or
  4153. printer is not valid.
  4154. * ThemeWin32Classic: don't paint PrintPreviewControl
  4155. if there is nothing to paint
  4156. 2006-11-28 Miguel de Icaza <[email protected]>
  4157. * Form.cs: Add another popular method.
  4158. * TabPage.cs: ditto.
  4159. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4160. * MenuItem.cs: Fixed a warning.
  4161. * InternalWindowManager: Fixed a warning.
  4162. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4163. * MenuItem.cs:
  4164. - When cloning a menu also clone MdiList and clone the
  4165. window menu items properly (as the forms and menuitems
  4166. are kept in an internal hashtable, these need updating
  4167. as well)
  4168. - Rewrote the window menu code, menu items are added in the
  4169. order the forms were added to their parent, and they are
  4170. updated every time the window menu is shown (before the
  4171. list was only generated once, in the current order of the
  4172. forms, and would never be updated). A checkmark is shown
  4173. next to the item corresponding to the active mdi child.
  4174. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4175. * XplatUIStructs.cs:
  4176. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  4177. * XplatUIWin32.cs:
  4178. - Added TME_NONCLIENT to TMEFlags.
  4179. - Handles WM_NCMOUSEMOVE in GetMessage to
  4180. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  4181. * MdiWindowManager:
  4182. - Now merges mdi child menu to parent menu when maximized.
  4183. - Recalculate NC areas of both mdi child and mdi parent.
  4184. Fixes #79757 (4).
  4185. on window state and size changes.Fixes #79844 (3).
  4186. - Handle WM_NCCALCSIZE to properly calculate borders.
  4187. * Form.cs:
  4188. - Add/remove to the mdi containers list of mdi children
  4189. in the order they are added.
  4190. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  4191. to the maximized mdi child.
  4192. * InternalWindowManager.cs:
  4193. - Only execute a click on the control buttons on the mouse up,
  4194. not on the mouse down. Show the state of the button
  4195. (was only showing Normal state, never Pressed state). The
  4196. pressed button now follows the mouse (if you click the Close
  4197. button and move the mouse over the Maximize button, the
  4198. Maximize button will be shown as pressed). Since Win32 does
  4199. not generate WM_NCLBUTTONUP if you release the button outside
  4200. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  4201. it as a mouse up.
  4202. * ThemeWin32Classic.cs:
  4203. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  4204. * MdiClient.cs:
  4205. - Added a list of forms which contains the order the forms are
  4206. added to the mdi parent.
  4207. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  4208. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  4209. - If the active form changes set the scrollbars to the top
  4210. of the Z order, otherwise the form could hide them.
  4211. - Scrollbars are now sized according to ClientSize, not
  4212. to Size, and they take into account the other scrollbar
  4213. to determine maximum.
  4214. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  4215. * XplatUI.cs:
  4216. * XplatUIDriver.cs:
  4217. * XplatUIX11.cs:
  4218. * XplatUIWin32.cs:
  4219. * XplatUIOSX.cs:
  4220. - Added RequestAdditionalWM_NCMessages for windows to
  4221. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  4222. Currently only implemented in XplatUIWin32.
  4223. 2006-11-27 Chris Toshok <[email protected]>
  4224. * Hwnd.cs: only add the hwnd to the windows hash in
  4225. set_WholeWindow and set_ClientWindow if whole_window/client_window
  4226. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  4227. 2006-11-27 Mike Kestner <[email protected]>
  4228. * ComboBox.cs: remove redundant OnDropDown call. It is called
  4229. from the ComboListBox.ShowWindow code. Fixes #79969.
  4230. 2006-11-27 Chris Toshok <[email protected]>
  4231. * Hwnd.cs: remove the setters for ExposePending and
  4232. NCExposePending - noone uses them.
  4233. 2006-11-27 Jackson Harper <[email protected]>
  4234. * TextControl.cs: new param for ReplaceSelection which determines
  4235. whether we select the new selection, or set the cursor to the end
  4236. of the new selection.
  4237. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  4238. pasting, select the new text.
  4239. * RichTextBox.cs: Use new param for ReplaceSelection.
  4240. 2006-11-27 Jackson Harper <[email protected]>
  4241. * TextBoxBase.cs: Set the selection to the caret after the caret
  4242. is moved, otherwise they get out of sync.
  4243. 2006-11-26 Everaldo Canuto <[email protected]>
  4244. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  4245. it fixes #80015
  4246. 2006-11-26 Everaldo Canuto <[email protected]>
  4247. * ThemeWin32Classic.cs:
  4248. - Fix toolbar drop down arrow position.
  4249. - Fix drop down appearance when ToolBar.Appearance is normal,
  4250. it fixes #80018.
  4251. 2006-11-26 Gert Driesen <[email protected]>
  4252. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  4253. * Control.cs: Same.
  4254. * UpDownBase.cs: Same.
  4255. * ButtonBase.cs: Same.
  4256. * ScrollBar.cs: Same.
  4257. * TrackBar.cs: Same.
  4258. * PictureBox.cs: Same.
  4259. * UserControl.cs: Same.
  4260. * Label.cs: Same.
  4261. * ListControl.cs: Same.
  4262. * TextBoxBase.cs: Same.
  4263. * ListView.cs: Same.
  4264. * RichTextBox.cs: Same.
  4265. * TreeView.cs: Same.
  4266. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  4267. * PrintDialog.cs:
  4268. - Text label for where
  4269. - Text label comment was not shown
  4270. 2006-11-23 Everaldo Canuto <[email protected]>
  4271. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  4272. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  4273. * InternalWindowManager.cs:
  4274. - Handle WM_PARENTNOTIFY to activate the form
  4275. if any child control is clicked.
  4276. - The form is only sizable if not minimized.
  4277. * MdiWindowManager.cs:
  4278. - Save the IconicBounds if the form is moved.
  4279. - Rework SetWindowState, now the window bounds
  4280. are stored only if the old window state is Normal.
  4281. * MdiClient.cs:
  4282. - In SetWindowStates store the old window state if
  4283. the window is maximized and restore window state if
  4284. the window looses focus.
  4285. - Don't handle any scrollbar value changes if
  4286. initializing the scroll bars. Fixes #79771.
  4287. - Reworked ArrangeIconicWindows. Current algorithm
  4288. tests bounds agains all other minimized windows, if
  4289. any intersections create new bounds (going left to
  4290. right, bottom to top) and then test again. When
  4291. successful the bounds are saved and never computed
  4292. again. Fixes #79774.
  4293. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  4294. * InternalWindowManager.cs: Added HandleTitleBarUp.
  4295. 2006-11-23 Gert Driesen <[email protected]>
  4296. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  4297. hexadecimal in ParseUserEdit.
  4298. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  4299. * MdiWindowManager.cs:
  4300. - Handle a click on the form's icon to show the
  4301. system menu (when maximized). Fixes #79775.
  4302. - Change the existing click handler for the form's
  4303. icon when not maximized to show on MouseUp.
  4304. Fixes #79776.
  4305. * Form.cs: In OnResize only layout the mdi child's
  4306. parent if it actually has a parent. Might not if
  4307. the window is closing.
  4308. 2006-11-23 Gert Driesen <[email protected]>
  4309. * MdiClient.cs: Ignore active MDI client for text of parent, if
  4310. child has no text set.
  4311. 2006-11-23 Gert Driesen <[email protected]>
  4312. * ToolBar.cs: Fixed ToString to match MS.
  4313. 2006-11-22 Andreia Gaita <[email protected]>
  4314. * NumericUpDown:
  4315. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  4316. update inner values on set. Fixes #79966.
  4317. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  4318. - Fix hexadecimal parsing.
  4319. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  4320. parent. Fixes #79957
  4321. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  4322. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  4323. the actual size has to be queried, since if height /
  4324. width is negative Win32 changes it to 0.
  4325. Fixes #79999 on Windows.
  4326. * XplatUIX11.cs: Set height / width to 0 if negative
  4327. in SetWindowPos. Fixes #79999 on Linux.
  4328. 2006-11-22 Everaldo Canuto <[email protected]>
  4329. * ThemeWin32Classic.cs: Fix text redenring when button is
  4330. pressed.
  4331. 2006-11-22 Everaldo Canuto <[email protected]>
  4332. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  4333. and later navigate by mouse. Fixes #79528.
  4334. 2006-11-21 Everaldo Canuto <[email protected]>
  4335. * ToolBar.cs: Set default value for TabStop to false in
  4336. constructor, it fixes remaining behavior of bug #79863.
  4337. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  4338. * MdiWindowManager.cs:
  4339. * InternalWindowManager.cs:
  4340. - Moved a few methods specific to Mdi from
  4341. InternalWindowManager to MdiWindowManager.
  4342. Fixes #79996.
  4343. 2006-11-21 Chris Toshok <[email protected]>
  4344. * XplatUIOSX.cs: stub out InvalidateNC.
  4345. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  4346. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  4347. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  4348. * XplatUIDriver.cs: add InvalidateNC abstract method.
  4349. * XplatUI.cs: add InvalidateNC.
  4350. 2006-11-21 Everaldo Canuto <[email protected]>
  4351. * ToolBar.cs: Invalidate complete button area when pressed status
  4352. was changed.
  4353. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  4354. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  4355. by 1 when button is pressed.
  4356. 2006-11-20 Everaldo Canuto <[email protected]>
  4357. * ToolButton.cs: Invalidate middle of DropDown button when
  4358. ToolBar theres DropDownArrows.
  4359. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  4360. fix DropDown drawing operations.
  4361. 2006-11-20 Chris Toshok <[email protected]>
  4362. * NativeWindow.cs: fix the formatting of functions ('{' on the
  4363. following line), and enable the thread exception dialog.
  4364. * Application.cs: remove the duplicate exception catching from
  4365. here.
  4366. 2006-11-20 Everaldo Canuto <[email protected]>
  4367. * Toolbar.cs: Triggers button click event when click on icon
  4368. of dropdown ToolBarButton. Fixes #79912.
  4369. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  4370. * Theme.cs:
  4371. * ThemeWin32Classic.cs:
  4372. - Added a property WindowBorderFont to enable themeing
  4373. of mdi child windows' Text.
  4374. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  4375. * InternalWindowManager.cs:
  4376. * Form.cs:
  4377. * MdiClient.cs:
  4378. * MdiWindowManager.cs:
  4379. - If mdi child is maximized, set mdi parent's
  4380. text to "Parent - [Child]". Fixes #79770.
  4381. - If there is any maximized mdi child windows, only the active
  4382. window (and any new windows) is maximized, the rest are normal.
  4383. - On a WindowState change only save mdi child's window bounds
  4384. if the old window state was normal. Fixes #79774.
  4385. - The scroll bars are now calculated on hopefully all
  4386. necessary events. Fixed #79771 / #79844->6 / #79906.
  4387. - MdiClient.SizeScrollBars() now takes into account docked
  4388. controls in the parent when calculating available space.
  4389. - InternalWindowManager now always repaints the entire title
  4390. area. Fixes #79844->1/4/5.
  4391. - Added RequestNCRecalc on mdi child windowstate changes.
  4392. Fixes #79772.
  4393. 2006-11-20 Mike Kestner <[email protected]>
  4394. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  4395. in the MouseUp handler of the listbox and move the return handling
  4396. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  4397. 2006-11-20 Everaldo Canuto <[email protected]>
  4398. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  4399. 2006-11-17 Alexander Olk <[email protected]>
  4400. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  4401. working in 1.2.x anymore. So, updated.
  4402. 2006-11-19 Gert Driesen <[email protected]>
  4403. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  4404. NumberGroupSeparator of current culture instead of assuming en-US.
  4405. Fixed bug #79967.
  4406. 2006-11-17 Mike Kestner <[email protected]>
  4407. * Control.cs: Add the concept of implicit bounds setting so that
  4408. dock/undock round trips preserve explicitly set size/locations.
  4409. Fixes #79313.
  4410. 2006-11-17 Alexander Olk <[email protected]>
  4411. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  4412. can't handle those filters. (Fixes bug #79961)
  4413. 2006-11-17 Chris Toshok <[email protected]>
  4414. [ fixes the exit/crashes associated with #79835. it's clearly
  4415. suboptimal though, we need to figure out a better way to solve
  4416. this. ]
  4417. * PrintPreviewControl.cs: deal with the new invalid printer
  4418. exceptions.
  4419. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  4420. and return false (so CommonDialog.ShowDialog doesn't actually show
  4421. the form.)
  4422. * PrintDialog.cs: enable/disable the Ok button depending on
  4423. whether or not the printer is valid.
  4424. * CommonDialog.cs (ShowDialog): only actually show the form if
  4425. RunDialog returns true.
  4426. 2006-11-17 Jackson Harper <[email protected]>
  4427. * TextControl.cs: When soft splitting a line, mark it as a soft
  4428. split line. Also carry over the current line break to the next
  4429. line.
  4430. 2006-11-17 Chris Toshok <[email protected]>
  4431. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  4432. only want to shift the part of the invalid area that overlaps the
  4433. area we're scrolling. we also don't want to clear the invalid
  4434. area unless the invalid area was entirely contained within the
  4435. scrolling area.
  4436. 2006-11-16 Chris Toshok <[email protected]>
  4437. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  4438. also make sure to free the memory returned by XGetWindowProperty
  4439. in GetText().
  4440. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  4441. 2006-11-16 Chris Toshok <[email protected]>
  4442. * XplatUI.cs: add a new super secret way to get at the totally
  4443. unsupported X11 backend.
  4444. 2006-11-16 Gert Driesen <[email protected]>
  4445. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  4446. 2006-11-16 Jackson Harper <[email protected]>
  4447. * TreeView.cs: Allow more explicit setting of top node position
  4448. for scrollbars. Slower algo, but more accurate.
  4449. - CollapseAll should maintain the current top node.
  4450. * TextBoxBase.cs: When positioning the caret, use the line, pos
  4451. method, since the x, y method does not grab the correct tag, and
  4452. the caret height never gets set correctly. (Maybe I should just do
  4453. away with the caret having its own height, and always use the
  4454. carets current tag for height).
  4455. 2006-11-16 Jonathan Pobst <[email protected]
  4456. [Fixes 79778, 79923]
  4457. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  4458. Parent to the FosterParent instead.
  4459. 2006-11-16 Jackson Harper <[email protected]>
  4460. * TreeView.cs: Need to recalc the topnode when we expand or
  4461. collapse. The scrolling methods can't handle this on their own,
  4462. since they use differences between the last scroll position, and
  4463. those difference get completely messed up since we are expanding
  4464. nodes. This problem should probably be fixed in the scrolling
  4465. methods, so they can figure out exactly where they are, but this
  4466. will slow things down a little.
  4467. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  4468. strings, makes nunit-gui look a lot nicer.
  4469. 2006-11-16 Chris Toshok <[email protected]>
  4470. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  4471. the broken multithreaded event handling we have in here. File
  4472. this entry under "Why we should move to the new X11 backend".
  4473. Any thread can make it into UpdateMessageQueue, which gets events
  4474. from the X socket - some of which could belong to hwnds being
  4475. managed by a different thread. We can also have multiple threads
  4476. in UpdateMessageQueue at the same time, with each one reading from
  4477. the X socket. This leads to many problems, with the following
  4478. solutions:
  4479. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  4480. EnqueueLocked.
  4481. The MotionNotify compression we do can't work across threads
  4482. (without locking the entire queue, perhaps) since we call
  4483. hwnd.Queue.Peek, so we just punt and don't compress motion events
  4484. unless the owning thread is the one which got the X event.
  4485. ConfigureNotify is another fun one, since it modifies the hwnd's
  4486. bounds and then enqueues the event. We add a lock to Hwnd which
  4487. is held when setting configure_pending to true (and enqueuing the
  4488. event).
  4489. There is a race wrt the wake socket. we need to make sure that
  4490. only 1 thread is waiting on that socket, or else a thread could
  4491. sleep waiting for data that never comes. It's difficult (but not
  4492. impossible) to make happen, because it seems to require something
  4493. like the following:
  4494. 1. Thread 1 polls on wake_receive
  4495. 2. poll returns saying there's data to be read on
  4496. wake_receive.
  4497. 3. Thread 2 polls on wake_receive and immediately returns
  4498. saying there's data to be read.
  4499. 4. Thread 2 reads the wakeup byte from wake_receive
  4500. 5. Thread 1 attempts to read the wakeup byte from
  4501. wake_receive.
  4502. 6. Thread 2 exits (due to a form closing, perhaps).
  4503. 7. Thread 1 blocks forever.
  4504. Fun, eh?
  4505. Fixing the Expose handling isn't done yet, and the races inherent
  4506. in that piece of code are responsible for the drawing mistakes you
  4507. see when generating expose events in a MT app (like NPlot). This
  4508. one is the likely to be the hardest to bandaid, and it doesn't
  4509. appear to cause anything but drawing problems. The other issues
  4510. caused apps to exit or hang.
  4511. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  4512. called from a different thread than the one that should be calling
  4513. these functions.
  4514. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  4515. 2006-11-15 Chris Toshok <[email protected]>
  4516. * Application.cs: null out the context's MainForm when we exit
  4517. RunLoop. Fixes a newly checked in unit test as well as the last
  4518. ODE from bug #79933.
  4519. 2006-11-15 Chris Toshok <[email protected]>
  4520. * Form.cs (set_Owner): allow a null value so we can clear the
  4521. form's owner.
  4522. (Dispose): set all our owned_form's Owner properties to null, and
  4523. clear the owned_forms collection.
  4524. (WM_CLOSE): clean up this a little bit.. still not right though.
  4525. * ApplicationContext.cs: OnMainFormClosed should only call
  4526. ExitThreadCore if the main form isn't recreating. Fixes unit
  4527. test.
  4528. 2006-11-15 Jonathan Pobst <[email protected]>
  4529. [Fixes 78346]
  4530. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  4531. 2006-11-15 Jonathan Pobst <[email protected]>
  4532. [Fixes 79433]
  4533. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  4534. keep popup window types from stealing focus from the main form
  4535. on Windows.
  4536. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  4537. * MenuAPI.cs: Set above flag to true.
  4538. 2006-11-15 Chris Toshok <[email protected]>
  4539. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  4540. the button being released is not in wParam.
  4541. 2006-11-15 Jonathan Pobst <[email protected]>
  4542. * Form.cs: Add the released button to MouseEventArgs.Button
  4543. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  4544. on Win32.
  4545. 2006-11-15 Chris Toshok <[email protected]>
  4546. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  4547. GetText(). untested because it's unused in our implementation.
  4548. Control.Text always caches the text, even if
  4549. ControlStyles.CacheText is not set.
  4550. fixes bug #79939.
  4551. 2006-11-15 Chris Toshok <[email protected]>
  4552. [ fixes #79933 ]
  4553. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  4554. message. no hiding, no disposing.
  4555. in the WM_CLOSE handler, hide the form if it's modal.
  4556. 2006-11-15 Chris Toshok <[email protected]>
  4557. * XplatUIX11.cs: use AddExpose instead of sending a message.
  4558. fixes textbox border drawing.
  4559. 2006-11-15 Chris Toshok <[email protected]>
  4560. * PropertyGridView.cs: keep from crashing on mouse move/down when
  4561. the property grid is empty.
  4562. 2006-11-14 Jackson Harper <[email protected]>
  4563. * TextControl.cs: Make PageUp and PageDown more like the MS
  4564. versions.
  4565. * TextBoxBase.cs: When we set the text property position the
  4566. cursor at the beginning of the document.
  4567. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  4568. * Form.cs: if a mdi child's WindowState has changed
  4569. before it's creation, it would display wrong control
  4570. buttons.
  4571. 2006-11-14 Alexander Olk <[email protected]>
  4572. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  4573. (Fixes bug #79927)
  4574. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  4575. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  4576. the window gets to paint its borders even if the window is
  4577. getting smaller.
  4578. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  4579. otherwise the old control buttons would still be painted
  4580. if the window gets bigger.
  4581. * PaintEventArgs.cs: add an internal method so that the clip
  4582. rectangle can be changed.
  4583. 2006-11-13 Chris Toshok <[email protected]>
  4584. [ fixes bug #79745 ]
  4585. * NotifyIcon.cs: lots of cleanup.
  4586. * X11Structs.cs: add an enum for XEMBED messages.
  4587. * XplatUIX11.cs: reindent one of the giant switch statements, it
  4588. was taking up an additional tab stop, and this file is already way
  4589. too wide for my laptop's screen.
  4590. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  4591. we get it, resize the hwnd to the WMNormalHints max_width/height.
  4592. 2006-11-13 Jackson Harper <[email protected]>
  4593. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  4594. teh simple way.
  4595. 2006-11-13 Chris Toshok <[email protected]>
  4596. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  4597. #79898. force a reference to the Region to stick around so the
  4598. unmanaged object isn't collected (rendering our handle in the MSG
  4599. stale).
  4600. 2006-11-13 Chris Toshok <[email protected]>
  4601. * XplatUIX11.cs: fix #79917 for window managers which support
  4602. using XStoreName on the raw utf8, and we need to convert to
  4603. COMPOUND_TEXT if it's non-latin1.
  4604. 2006-11-13 Chris Toshok <[email protected]>
  4605. * Form.cs (set_DialogResult): we need to set closing to false if
  4606. we're setting our result to None. fixes bug #79908.
  4607. 2006-11-13 Jackson Harper <[email protected]>
  4608. * TextControl.cs: When formatting text, compute the adjusted tag
  4609. lengths correctly, using FindTag for the end tag instead of trying
  4610. to figure it out outselves.
  4611. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  4612. the item, ItemHeight doesn't work, because trees with large
  4613. imagelists use those for their height
  4614. * TreeView.cs: ActualItemHeight factors in the image height
  4615. - compute left edge of checkboxes correctly
  4616. - when expanding/collapsing move the bottom down one pixel, so we
  4617. aren't moving part of the node
  4618. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  4619. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  4620. stack in PaintEventStart so that it won't get disposed by the gc
  4621. before reaching PaintEventEnd.
  4622. 2006-11-13 Jackson Harper <[email protected]>
  4623. * TextBoxBase.cs: Don't select the word if we are on a line with
  4624. no text.
  4625. - We don't need to position the caret on mouse up, since the mouse
  4626. move handler should be doing this
  4627. - When double clicking a blank line, the caret is advanced to the
  4628. next line.
  4629. 2006-11-13 Gert Driesen <[email protected]>
  4630. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  4631. 2006-11-12 Gert Driesen <[email protected]>
  4632. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  4633. Fixes part of bug #79910.
  4634. 2006-11-11 Alexander Olk <[email protected]>
  4635. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  4636. (bug #79903). Some minor string updates to match ms.
  4637. 2006-11-10 Alexander Olk <[email protected]>
  4638. * FileDialog.cs: Don't add an extension if the filename
  4639. already ends with that extension.
  4640. 2006-11-10 Jackson Harper <[email protected]>
  4641. * TreeView.cs: Use the currently highlighted node for the
  4642. BeforeSelect event.
  4643. * TextBoxBase.cs: There is no need to expand selection on
  4644. MouseMove.
  4645. - CanUndo means 'is there any undo operations', not 'is undo
  4646. allowed on this textcontrol. Fixed ClearUndo unit test.
  4647. 2006-11-10 Andreia Gaita <[email protected]>
  4648. * Button.cs: only perform click when button is Selectable (so as
  4649. not to activate default buttons when they're disabled)
  4650. * Control.cs: Rewrite of the SelectNextControl and related
  4651. methods. HandleClick now selects next control if the current one
  4652. is being disabled.
  4653. * Form.cs: OnActivated selects next active control only if Load
  4654. has already occurred. If Load hasn't run, there's no point in
  4655. selecting here, Load might change the state of controls.
  4656. * FocusTest.cs: Tests marked as working again for these fixes
  4657. 2006-11-10 Chris Toshok <[email protected]>
  4658. * XplatUIX11.cs: a couple of fixes.
  4659. - use XInternAtoms with almost all the atoms we need to register,
  4660. instead of many, many calls to XInternAtom. should help a bit on
  4661. startup time, at the expense of making the code look a little
  4662. worse.
  4663. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  4664. isn't reparented (which seems to be a clue that we're running fon
  4665. compiz) and they have an Owner form. This fixes the tool windows
  4666. in paint.net when running under compiz.
  4667. - when setting the opacity of a window, support both the case
  4668. where the window has been reparented and also when it hasn't been.
  4669. Since compiz/beryl doesn't seem to reparent windows, and these are
  4670. the only window managers which support translucency, I'm not sure
  4671. why we need the hwnd.reparented case at all.. but leave it in.
  4672. now we get translucent windows in paint.net under compiz/beryl.
  4673. 2006-11-10 Alexander Olk <[email protected]>
  4674. * FileDialog.cs: Always return the value for FilterIndex that
  4675. was set. Internally convert it to values that make sense.
  4676. 2006-11-10 Everaldo Canuto <[email protected]>
  4677. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  4678. 2006-11-10 Everaldo Canuto <[email protected]>
  4679. * Toolbar.cs: Change default value of DropDownArrows to true, the
  4680. signature still using false to make it compatible with MS but the
  4681. initial value is true. Fixes #79855.
  4682. 2006-11-10 Alexander Olk <[email protected]>
  4683. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  4684. only available on Linux.
  4685. 2006-11-09 Everaldo Canuto <[email protected]>
  4686. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  4687. reduce number of calls to redraw method during toolbar creation.
  4688. 2006-11-09 Mike Kestner <[email protected]>
  4689. * ListView.cs : raise SelectedIndexChanged when an item is selected
  4690. programmatically via the Item.Selected property. Gert's nice
  4691. ListViewSelectedIndexChanged test fixture now runs clean.
  4692. 2006-11-09 Mike Kestner <[email protected]>
  4693. * ListView.cs : raise SelectedIndexChanged when a selected item is
  4694. removed from the item collection using Remove or RemoveAt.
  4695. 2006-11-09 Mike Kestner <[email protected]>
  4696. * ListView.cs : raise SelectedIndexChanged once per selected item
  4697. for compat with MS. Fixes #79849+.
  4698. 2006-11-09 Chris Toshok <[email protected]>
  4699. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  4700. we need to (if we have any tab pages). Fixes unit test.
  4701. 2006-11-09 Chris Toshok <[email protected]>
  4702. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  4703. width is 0, not 3. Fixes a unit test.
  4704. 2006-11-09 Mike Kestner <[email protected]>
  4705. * ListView.cs : use Implicit scrollbars so that focus isn't
  4706. stolen from the listview when they are clicked. Fixes #79850.
  4707. 2006-11-09 Chris Toshok <[email protected]>
  4708. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  4709. have a root item. Fixes #79879.
  4710. 2006-11-09 Alexander Olk <[email protected]>
  4711. * FileDialog.cs:
  4712. - Fix ToString ()
  4713. - An ArgumentException is now thrown if a wrong filter
  4714. is applied (matches ms). The previous filter doesn't change
  4715. anymore if an exception is thrown.
  4716. - Changing the FileName property also affects FileNames
  4717. * ColorDialog.cs: The length of the CustomColors array is always
  4718. 16. It doesn't matter if we use a smaller array or null to update
  4719. or change the custom colors property.
  4720. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  4721. for RootFolder if we get a undefined value.
  4722. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  4723. * StatusBarPanel.cs:
  4724. - Width is set to MinWidth if Width is smaller than
  4725. MinWidth. Fixes #79842.
  4726. - MinWidth now always overrides Width (MSDN says MinWidth
  4727. is set to Width when AutoSize = None, but they do not
  4728. behave like that).
  4729. - Style has now the the correct default value.
  4730. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  4731. * TrackBar.cs:
  4732. - The control is completely invalidated on
  4733. Got/LostFocus to draw the focus rectangle correctly.
  4734. - When AutoSize then height is always 45 (width for
  4735. vertical controls).
  4736. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  4737. on the mouse when moved and it doesn't move when grabbed
  4738. until the mouse moves as well. Also fixed some wrong
  4739. calculations when clicking on the thumb (control thought
  4740. click was outside of thumb and didn't grab it).
  4741. Fixes some of the issues in #79718.
  4742. 2006-11-08 Everaldo Canuto <[email protected]>
  4743. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  4744. 2006-11-08 Chris Toshok <[email protected]>
  4745. * PropertyGridView.cs: only call ToggleValue if the item is not
  4746. readonly.
  4747. 2006-11-08 Jackson Harper <[email protected]>
  4748. * TextBoxBase.cs: The RichTextBox and textbox have very different
  4749. word selection methods. Implement the textbox's simple word
  4750. selection here, and let the RichTextBox override and provide it's
  4751. own.
  4752. - Don't do extra selection on mouseup
  4753. * RichTextBox.cs: Use the documents word selection algorithm, I
  4754. think ideally, this function will be pulled into the
  4755. RichTextBox.cs code someday.
  4756. 2006-11-08 Chris Toshok <[email protected]>
  4757. * RootGridEntry.cs: new class to represent GridItemType.Root.
  4758. * CategoryGridEntry.cs: reformat, and add boilerplate.
  4759. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  4760. returns the UI parent anyway, and we need special handling to
  4761. implement the GetTarget method in the face of it. Also, implement
  4762. Select().
  4763. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  4764. a root grid item, and use that instead of PropertyGrid.grid_items.
  4765. Also, make use of TypeConverters (and add limitted support for
  4766. ICustomTypeDescriptors) when initially populating the grid.
  4767. Arrays now show up more or less properly.
  4768. 2006-11-08 Chris Toshok <[email protected]>
  4769. * Application.cs: set the modal dialog to non modal after we close
  4770. it. Fixes bug #79866.
  4771. 2006-11-08 Jackson Harper <[email protected]>
  4772. * TextControl.cs: When combining lines carry over the line end
  4773. style from the end line.
  4774. - Invalidate the selected area when setting it, if it is visible.
  4775. * TextBoxBase.cs: Only rich text box can do full line selects.
  4776. - Make sure to set the cursor position when there is a click,
  4777. otherwise two clicks in separate areas could cause a large chunk
  4778. to be selected.
  4779. 2006-11-07 Everaldo Canuto <[email protected]>
  4780. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  4781. Fixes #79863.
  4782. 2006-11-07 Everaldo Canuto <[email protected]>
  4783. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  4784. time. Remove tooltips when ToolButton click events. Fixes #79856.
  4785. 2006-11-07 Everaldo Canuto <[email protected]>
  4786. * MenuAPI.cs: Ignore right click for menu actions and fixes
  4787. menu border when clicked. Fixes #79846.
  4788. 2006-11-07 Everaldo Canuto <[email protected]>
  4789. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  4790. MouseState after create wParam for message, this fixes mouse button
  4791. equal none in mouse up events.
  4792. 2006-11-07 Andreia Gaita <[email protected]>
  4793. * Control.cs : Focus() now calls Select to set the Container's
  4794. Active Control and to give it focus. To avoid infinite recursion
  4795. (because ActiveControl also calls Focus at one point), a check
  4796. is made in Focus with the help of a new internal variable
  4797. is_focusing.
  4798. 2006-11-07 Mike Kestner <[email protected]>
  4799. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  4800. if there's a selection. Fixes #79849.
  4801. 2006-11-07 Gert Driesen <[email protected]>
  4802. * PropertyGrid.cs: Avoid fixed height of help description label.
  4803. Fixes part of bug #79829.
  4804. 2006-11-07 Chris Toshok <[email protected]>
  4805. * XplatUIX11.cs: fix #79790 again, by using the
  4806. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  4807. 2006-11-07 Everaldo Canuto <[email protected]>
  4808. * ToolBar.cs: Fix left click checking.
  4809. 2006-11-07 Chris Toshok <[email protected]>
  4810. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  4811. 2006-11-07 Chris Toshok <[email protected]>
  4812. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  4813. PropertyManager unit tests.
  4814. * PropertyManager.cs: make property_name internal.
  4815. 2006-11-07 Chris Toshok <[email protected]>
  4816. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  4817. pass a unit test. Also, don't set image_index to anything in
  4818. response to setting the ImageList property.
  4819. 2006-11-07 Everaldo Canuto <[email protected]>
  4820. * ToolBar.cs: Ignore click events when mouse button is not a
  4821. left button, only accepts other button for dropdown menus.
  4822. Fixes #79854.
  4823. 2006-11-07 Chris Toshok <[email protected]>
  4824. * DataGrid.cs: make the back and parent row buttons a little less
  4825. ugly.
  4826. 2006-11-07 Jackson Harper <[email protected]>
  4827. * TextBoxBase.cs: When converting to Text don't put line breaks in
  4828. for soft line breaks.
  4829. * TextControl.cs: There is an initial "fake" line in the document,
  4830. this is now a soft break line, so that an extra line feed doesn't
  4831. get added to the end of documents.
  4832. 2006-11-07 Chris Toshok <[email protected]>
  4833. [ fix bug #79778 ]
  4834. * CurrencyManager.cs: if the list is readonly, don't bother
  4835. checking if IBindingList.AllowNew is true.
  4836. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  4837. for non-DataRowView datasources.. or rather, make it not crash.
  4838. (DataGridPaintRelationRow): make sure we limit the row painting to
  4839. the area not covered by the row header, and make our cell width at
  4840. least large enough to cover the relation area. This allows grids
  4841. that have relations but no rows to render correctly.
  4842. (DataGridPaintRowContents): same type of changes here.
  4843. (SetDataSource): move back to always calling
  4844. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  4845. navigating back through relations.
  4846. (HitTest): handle the case where we have no cells but have
  4847. relations. Right now we generate a hit in cell 0 of whatever the
  4848. row is, not sure if this is strictly correct, but it works for our
  4849. purposes.
  4850. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  4851. bother doing anything.
  4852. 2006-11-07 Jonathan Pobst <[email protected]>
  4853. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  4854. early version of StatusStrip. Not responsible for eaten
  4855. application or firstborn children.
  4856. 2006-11-06 Chris Toshok <[email protected]>
  4857. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  4858. call GetTabRect with a -1 index. Fixes #79847.
  4859. 2006-11-06 Jackson Harper <[email protected]>
  4860. * TreeNodeCollection.cs: Update scrollbars after clearing.
  4861. 2006-11-06 Chris Toshok <[email protected]>
  4862. * NumericUpDown.cs: fix the ToString method for some unit test
  4863. love.
  4864. 2006-11-06 Chris Toshok <[email protected]>
  4865. * PropertyGrid.cs:
  4866. - set the initial SelectedGridItem if we can.
  4867. - Exclude non-mergable properties only if we're merging > 1
  4868. object. Merging 1 object isn't really merging, obviously.
  4869. - Handle PropertySort.NoSort just like Alphabetical, which is
  4870. wrong of course, but at least gets things on the screen.
  4871. * PropertyGridView.cs:
  4872. - Add method "FindFirstItem" which finds the first property grid
  4873. item, so we can select it by default.
  4874. - make use of GridEntry.CanResetValue.
  4875. - Don't call RedrawBelowItemOnExpansion here anymore, the
  4876. individual GridEntry's will do that.
  4877. - Remove the ITypeDescriptorContextImpl internal class.
  4878. * GridEntry.cs:
  4879. - this class needs to implement ITypeDescriptorContext, as it's
  4880. what MS's PropertyDescriptorGridEntry does, which means we can
  4881. remove the ITypeDescriptorContextImpl internal class from
  4882. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  4883. - keep a reference to our PropertyGridView, and move the call to
  4884. RedrawBelowItemOnExpansion here from PGV. This means
  4885. programmaticly setting Expanded actually does something visible.
  4886. - add a CanResetValue() function which takes into account our
  4887. possibly multiple "selected_objects" in the merged case. Shifting
  4888. PropertyGridView to use this method fixes another unreported
  4889. crasher found running the test for #79829.
  4890. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  4891. is updated to reflect this.
  4892. * CategoryGridEntry.cs: the ctor takes the PGV now.
  4893. 2006-11-06 Jackson Harper <[email protected]>
  4894. * TextControl.cs: These are 1 based.
  4895. * TextBoxBase.cs: When setting the selected text, don't change the
  4896. selected text tags, this is done by ReplaceText, just position the
  4897. cursor at the end of the new text.
  4898. 2006-11-06 Alexander Olk <[email protected]>
  4899. * ListView.cs: Allow label edit only when, when LabelEdit is
  4900. set to true.
  4901. 2006-11-06 Jackson Harper <[email protected]>
  4902. * TextControl.cs: If a suitable wrapping position isn't found,
  4903. just wrap right in the middle of a word.
  4904. 2006-11-06 Alexander Olk <[email protected]>
  4905. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  4906. bug #79820.
  4907. 2006-11-06 Jackson Harper <[email protected]>
  4908. * TreeView.cs: Can't use the VisibleCount property when setting
  4909. scrollbar heights, because this doesn't take into account whether
  4910. or not the horz scrollbar just came visible.
  4911. 2006-11-05 Everaldo Canuto <[email protected]>
  4912. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  4913. activated. Fixes #79369, #79832.
  4914. 2006-11-05 Alexander Olk <[email protected]>
  4915. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  4916. had to remove support for links that point to a directory. FileInfo
  4917. returns no usefull information (means, the directory they point to)
  4918. for such links. Replaced some empty string ("") with String.Empty.
  4919. 2006-11-04 Gert Driesen <[email protected]>
  4920. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  4921. NullReferenceException when attempting to remove node that is not in
  4922. collection. Throw NullReferenceException when null is passed to
  4923. Remove. Allow first element of the collection to be removed. Fixes
  4924. bug #79831. In GetEnumerator ().Current return null if positioned
  4925. before the first element of the collection. In GetEnumerator ().Reset,
  4926. position before first element of the collection.
  4927. 2006-11-04 Gert Driesen <[email protected]>
  4928. * PropertyGrid.cs: To match MS, remove default title and description
  4929. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  4930. buttons.
  4931. 2006-11-04 Chris Toshok <[email protected]>
  4932. * Theme.cs: add a Clamp method, just for kicks.
  4933. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  4934. 2006-11-04 Chris Toshok <[email protected]>
  4935. * Form.cs: if the form isn't visible, Close() does nothing.
  4936. 2006-11-03 Chris Toshok <[email protected]>
  4937. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  4938. Hide it.
  4939. (WndProc): don't Dispose after handling the WM_CLOSE message.
  4940. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  4941. them as such, instead of using casts from Control to Form. Also,
  4942. don't Dispose of the modal dialog when we fall out of the loop -
  4943. Close() it instead.
  4944. fixes bug #79813.
  4945. 2006-11-03 Chris Toshok <[email protected]>
  4946. * Control.cs (Dispose): only go through the dispose thing if we're
  4947. @disposing, and we haven't already been disposed. Fixes bug
  4948. #79814.
  4949. * Form.cs: no reason to call "base.Dispose()" here instead of
  4950. "Dispose()".
  4951. 2006-11-03 Mike Kestner <[email protected]>
  4952. * ComboBox.cs : use ToString instead of casts in AddItem for
  4953. sorting functionality. Fixes #79812.
  4954. 2006-11-03 Chris Toshok <[email protected]>
  4955. * Application.cs: pave the way for actually using the thread
  4956. exception dialog. it's ifdefed out at the moment.
  4957. 2006-11-03 Chris Toshok <[email protected]>
  4958. * ThreadExceptionDialog.cs: until we get a better layout, actually
  4959. hide the details textbox and label when we shouldn't see them.
  4960. 2006-11-03 Jackson Harper <[email protected]>
  4961. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  4962. multiline textboxes anymore. This method also determines the
  4963. width/height of a textboxes canvas area.
  4964. - Sorta a revert of the last patch. For multiline just position
  4965. the controls, then bail. This way the scrollbar width won't be
  4966. altered.
  4967. 2006-11-03 Everaldo Canuto <[email protected]>
  4968. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  4969. it dont need. Fixes #79537.
  4970. 2006-11-02 Jackson Harper <[email protected]>
  4971. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  4972. send the status after firing the DndOver event.
  4973. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  4974. * TrackBar.cs: Now orientation only switches height / width if
  4975. the control's handle is created (Win32 does it like this). Also
  4976. fixed a typo in ToString() for a test to pass, changed the
  4977. exception thrown in set_LargeChange and set_SmallChange to
  4978. match Win32 behaviour, and added TrackBar tests to the unit
  4979. tests.
  4980. 2006-11-02 Chris Toshok <[email protected]>
  4981. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  4982. not _NET_WM_STATE_NO_TASKBAR.
  4983. 2006-11-02 Jackson Harper <[email protected]>
  4984. * TextControl.cs: Increment count by one, since in the update view
  4985. count - 1 is used.
  4986. 2006-11-02 Jackson Harper <[email protected]>
  4987. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  4988. the mouse is in the client rectangle (duh).
  4989. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  4990. * TrackBar.cs: Fixed trackbar jumping around when clicking
  4991. on it - the trackbar was not detecting correctly at which
  4992. side of the thumb the click was done. (fixes #79718)
  4993. 2006-11-02 Everaldo Canuto <[email protected]>
  4994. * ListBox.cs: scroll visible area when change SelectedIndex to
  4995. a non visible area. Fixes #79481.
  4996. 2006-11-01 Jackson Harper <[email protected]>
  4997. * TextControl.cs: When replacing the selection move the selection
  4998. start/end/anchor to the end of the new text.
  4999. 2006-11-01 Jackson Harper <[email protected]>
  5000. * XplatUIWin32.cs: When setting the parent change the controls
  5001. visibility to it's visibility flag, not to it's old parents
  5002. visibility (.Visible walks the parent chain).
  5003. 2006-11-01 Chris Toshok <[email protected]>
  5004. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  5005. XSetTransientForHint fix breaks paint .net's tool windows. more
  5006. work needed for that one.
  5007. 2006-11-01 Chris Toshok <[email protected]>
  5008. * ScrollBar.cs: throw ArgumentException instead of Exception in
  5009. LargeChange/SmallChange setters. fixes unit tests.
  5010. 2006-10-31 Andreia Gaita <[email protected]>
  5011. * ContainerControl.cs: reverted rev.67183 (which was itself
  5012. a reversion of rev.66853... eh).
  5013. * Control.cs: Fixes Reflector hang by changing Focus() call
  5014. to what it was before rev.66643 (calling Select() here sets
  5015. ActiveControl, which in some situations calls back Focus and
  5016. eventually does a stack overflow). Temp fix.
  5017. Changes to GetNextControl() to not look for children to select when
  5018. parent cannot be selectable (so it looks for siblings instead)
  5019. 2006-10-31 Mike Kestner <[email protected]>
  5020. * CheckedListBox.cs : off by one error in returned index from
  5021. ObjectCollection.Add. Fixes #79758.
  5022. 2006-10-31 Chris Toshok <[email protected]>
  5023. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  5024. calls for the textbox/spinner, to keep from recursing to the point
  5025. where we crash. Fixes #79760.
  5026. 2006-10-31 Chris Toshok <[email protected]>
  5027. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  5028. null/"" value, just return. matches ms's behavior and fixes some
  5029. failing tests.
  5030. 2006-10-31 Chris Toshok <[email protected]>
  5031. * Control.cs (set_Capture): make a logic a little easier to
  5032. follow.
  5033. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  5034. if it's being destroyed. A necessary fix surely, but a bandaid
  5035. also, to fix the stuck capture problem in bug #78413.
  5036. 2006-10-31 Chris Toshok <[email protected]>
  5037. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  5038. convention of clearing hwnd.ClientRect when we set the
  5039. width/height (so it'll be recalculated by Hwnd).
  5040. 2006-10-31 Andreia Gaita <[email protected]>
  5041. * ContainerControl.cs: reversed Contains check from
  5042. ActiveControl due to hanging problems. This fix
  5043. partly regresses #79667 (button does not have
  5044. initial focus), so this might be a symptom for
  5045. a larger parenting problem (set_ActiveControl
  5046. is being called but the child control does
  5047. not have the parent set yet?)
  5048. 2006-10-31 Mike Kestner <[email protected]>
  5049. * MenuAPI.cs : fix keynav when menu is click activated.
  5050. 2006-10-31 Jonathan Pobst <[email protected]>
  5051. * ToolStrip*: Version 0.2.
  5052. * MenuStrip.cs: Version 0.1.
  5053. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  5054. 2006-10-30 Chris Toshok <[email protected]>
  5055. [ fixes the oversized notify icon issue in bug #79745 ]
  5056. * NotifyIcon.cs: scale the icon down to the size we're given by
  5057. the XplatUI layer (this would be faster if we did it once instead
  5058. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  5059. since it's never invoked.
  5060. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  5061. pixels high by default, so let's hardcode our systray icon to that
  5062. size. The SYSTEM_TRAY protocol should really have a way for
  5063. client apps to query for the correct icon size.. but oh well. A
  5064. couple of patches to deal with the screwy client_window ==
  5065. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  5066. instance, and also make sure we don't XSelectInput twice).
  5067. 2006-10-30 Chris Toshok <[email protected]>
  5068. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  5069. recreating forms. Control recreation is the bane of my existence.
  5070. Fix it in a way that keeps everyone happy.
  5071. 2006-10-30 Chris Toshok <[email protected]>
  5072. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  5073. just non-CHILD ones. otherwise sometimes scrollbars end up with
  5074. client_windows not being resized to the proper size (ReportBuilder
  5075. shows this extremely well).
  5076. 2006-10-30 Chris Toshok <[email protected]>
  5077. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  5078. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  5079. showing up in the gnome taskbar. Fixes bug #79790.
  5080. 2006-10-30 Chris Toshok <[email protected]>
  5081. * ApplicationContext.cs: guard against a NRE.
  5082. * Application.cs: null out the old MainForm for the context, so we
  5083. don't try to use it again once it's disposed. Fixes bug #79783.
  5084. 2006-10-30 Chris Toshok <[email protected]>
  5085. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  5086. BindingContext, set the data source directly, otherwise do the
  5087. lazy approach - the actual ListManager will be created when we get
  5088. a BindingContext. Fixes bug #79700.
  5089. 2006-10-30 Jonathan Pobst <[email protected]>
  5090. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  5091. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  5092. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  5093. 2006-10-30 Jonathan Pobst <[email protected]>
  5094. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  5095. of SetVisible that allows a window to be shown, but not activated.
  5096. This is needed on Windows for MenuStrip, and can probably be used
  5097. with MainMenu and ComboBox to fix the focus stealing issues on
  5098. Windows.
  5099. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  5100. 2006-10-30 Alexander Olk <[email protected]>
  5101. * PictureBox.cs: Fix the output of the ToString method.
  5102. 2006-10-29 Chris Toshok <[email protected]>
  5103. * Control.cs (get_TopLevelControl): fix bug #79781.
  5104. 2006-10-29 Chris Toshok <[email protected]>
  5105. * ListControl.cs (set_DataSource): throw Exception here, not
  5106. ArgumentException, to match MS behavior.
  5107. 2006-10-29 Chris Toshok <[email protected]>
  5108. * Form.cs: remove the try-catch's around calls to GetWindowState.
  5109. We can just check the return value.
  5110. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  5111. Instead return -1.
  5112. * XplatUI.cs: Add note about additional return value for
  5113. GetWindowState.
  5114. 2006-10-29 Chris Toshok <[email protected]>
  5115. * Control.cs (CreateHandle): when we create our handle, we also
  5116. create the handles of our child controls. Fixes one of the
  5117. Control unit tests (CH11).
  5118. 2006-10-28 Alexander Olk <[email protected]>
  5119. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  5120. 2006-10-28 Alexander Olk <[email protected]>
  5121. * ThemeClearlooks.cs: A little speedup.
  5122. 2006-10-27 Chris Toshok <[email protected]>
  5123. * Control.cs: implement Control.FromChildHandle in a way that
  5124. matches the docs (and fixes the failed test.)
  5125. 2006-10-27 Chris Toshok <[email protected]>
  5126. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  5127. comments).
  5128. * DataGrid.cs: implement ResetForeColor such that the tests
  5129. succeed.
  5130. 2006-10-27 Chris Toshok <[email protected]>
  5131. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  5132. being set to "". Fixes bug #79759.
  5133. 2006-10-27 Jackson Harper <[email protected]>
  5134. * TextControl.cs: We need to clear the entire selection area when
  5135. setting the start, otherwise multiline selections are still
  5136. visible.
  5137. 2006-10-26 Chris Toshok <[email protected]>
  5138. * PropertyGridView.cs:
  5139. - ifdef all the code specific to the double
  5140. buffer case, and provide some alternatives in the non-doublebuffer
  5141. code, which makes heavy use of XplatUI.ScrollWindow to move things
  5142. around without having to invalidate (and cause flicker). There
  5143. are still some drawing problems in the non-doublebuffered case, so
  5144. DOUBLEBUFFER is defined by default.
  5145. - Fix the way dropdowns are handled. now we explicitly watch for
  5146. the events which might cause the dropdown to close, and break out
  5147. of the nested event loop there. This gets rid of all Capture
  5148. code, at the expense of the Msg special casing. Seems to work,
  5149. though, and fixes bug #79743.
  5150. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  5151. * Control.cs: SetIsRecreating now recreates implicitly added
  5152. child controls as well. Finally fixes #79629. The flag passed to
  5153. SetIsRecreating has also been removed since it wasn't used.
  5154. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  5155. * PageSetupDialog.cs: Clean some code, fix some bits,
  5156. add some checks, and add a printer sub-dialog.
  5157. 2006-10-26 Chris Toshok <[email protected]>
  5158. * PropertyGrid.cs: make set_SelectedObject call
  5159. set_SelectedObjects, and move the duplicate logic to the
  5160. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  5161. * PropertyGridView.cs: hide the textbox when we get a
  5162. SelectedObjectsChanged event.
  5163. Fixes bug #79748.
  5164. 2006-10-26 Chris Toshok <[email protected]>
  5165. * PropertyGridView.cs: deal with the type converter not supporting
  5166. GetStandardValues() or GetStandardValues() returning null, which
  5167. is does in the default case. Fixes #79742.
  5168. 2006-10-25 Andreia Gaita <[email protected]>
  5169. * CheckedListBox.cs: nunit no longer crashes when selecting
  5170. Project/Edit menu option
  5171. 2006-10-25 Andreia Gaita <[email protected]>
  5172. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  5173. is no menu selected. fixes #79739
  5174. 2006-10-25 Chris Toshok <[email protected]>
  5175. * PropertyGridView.cs: factor out the splitter invalidation code
  5176. into the SplitterPercent setter, and for kicks implement the
  5177. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  5178. amount in either direction.
  5179. 2006-10-25 Chris Toshok <[email protected]>
  5180. * PropertyGridView.cs: do some cleanup of the brush used to draw
  5181. text - read only fields should be grayed out. not sure how to do
  5182. this with the textbox, though. but the textbox's should also be
  5183. readonly now at least. Also, hide/show the textbox when resizing
  5184. the control.
  5185. * CursorConverter.cs: use System.Reflection when getting the
  5186. properties of Cursors, as TypeDescriptor.GetProperties isn't
  5187. returning static properties.
  5188. 2006-10-25 Chris Toshok <[email protected]>
  5189. * PropertyGridView.cs: factor out the up/down handling, and reuse
  5190. it for page up/down. also add End/Home support.
  5191. 2006-10-25 Chris Toshok <[email protected]>
  5192. * PropertyGridView.cs:
  5193. - ensure the selected grid item is visible in the scrolled area,
  5194. fixes bug #79572.
  5195. - fix Keys.Down handling when you're on the last item in the
  5196. propertygrid.
  5197. 2006-10-25 Mike Kestner <[email protected]>
  5198. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  5199. clicks too. Fixes #79725.
  5200. 2006-10-24 Chris Toshok <[email protected]>
  5201. * PropertyGrid.cs: use property.Converter instead of
  5202. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  5203. TypeConverters declared on the property as well as on the
  5204. PropertyType. Fixes bug #79678.
  5205. 2006-10-24 Alexander Olk <[email protected]>
  5206. * MimeIcon.cs, Mime.cs:
  5207. Fallback to the default platform handler if no shared mime info
  5208. stuff exists (fixes #79693).
  5209. 2006-10-20 Andreia Gaita <[email protected]>
  5210. * ContainerControl.cs: Incorrect contains check in ActiveControl
  5211. from previous fix (duh).
  5212. 2006-10-20 Chris Toshok <[email protected]>
  5213. * PropertyGridView.cs: the dropdown should be MIN(number of items
  5214. in list, 15). Fixes #79551.
  5215. 2006-10-20 Andreia Gaita <[email protected]>
  5216. Fixes #79384, #79394, #79652, #79667
  5217. * Application.cs:
  5218. - Modal windows are now destroyed in the proper order for windows
  5219. * ContainerControl.cs:
  5220. - ActiveControl setter has more conditions on when to return:
  5221. - if we're reselecting the active control, but it actually
  5222. didn't have focus (window hidden or some such), it runs
  5223. - if the active control being selected doesn't actually
  5224. exist in the container, it returns
  5225. * Form.cs
  5226. - The ShowDialog now gets the current form as the owner when
  5227. invoking without parameters, and correctly activates the owner
  5228. when returning
  5229. * MessageBox.cs
  5230. - MessageBox now catches the Escape key to exit
  5231. 2006-10-20 Chris Toshok <[email protected]>
  5232. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  5233. most of bug #79676):
  5234. - you can navigate around the property grid with the arrow keys.
  5235. - the dropdown is sized properly when the pg has a vertical
  5236. scrollbar.
  5237. - fix the indentation for subentries, and properly select the
  5238. entire label rect.
  5239. - fix the gray bar's drawing (only draw it to the last element,
  5240. not for the height of the control. Also make sure we draw that
  5241. last horizontal grid line.
  5242. - use the same mechanism the datagrid uses wrt the editing textbox
  5243. when scrolling/resizing/etc. Namely, we hide it first, do the
  5244. operation, then show it again (if it's still visible).
  5245. - aggressively remove a lot of unnecessary refreshes (and also
  5246. calls to Invalidate(). call more limited variants, and only redraw
  5247. what we need.)
  5248. * PropertyGrid.cs:
  5249. - when we're populating the merged collection, fill in the UI
  5250. parent with either the passed in item, or the category item we
  5251. create.
  5252. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  5253. * GridItem.cs: drop some fully qualified names.
  5254. * GridEntry.cs: add a "UIParent", which is basically the parent
  5255. treenode.
  5256. * GridItemCollection.cs: add an IndexOf method.
  5257. 2006-10-20 Mike Kestner <[email protected]>
  5258. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  5259. a working win32 NC invalidation mechanism, we can't invalidate
  5260. menus. [Fixes #79705]
  5261. 2006-10-20 Mike Kestner <[email protected]>
  5262. * ListBox.cs : don't update the VScrollbar if the list is empty,
  5263. just hide it. [Fixes #79692]
  5264. 2006-10-20 Jackson Harper <[email protected]>
  5265. * RichTextBox.cs: Handle some special chars better, and don't skip
  5266. the entire group when we encounter a special char that we don't
  5267. handle correctly.
  5268. 2006-10-18 Chris Toshok <[email protected]>
  5269. * PropertyGridView.cs: address a number of issues from bug #79676,
  5270. mostly of the cosmetic variety.
  5271. - The highlight rectangle for indented items not extends all the
  5272. way to the left.
  5273. - Indented items aren't indented so much.
  5274. - the dropdown is properly sized width-wise if the pg has a
  5275. vertical scrollbar.
  5276. 2006-10-18 Chris Toshok <[email protected]>
  5277. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  5278. systray stuff is rather convoluted to begin with.
  5279. systray icons are a single window for some reason (that I haven't
  5280. figured out yet), and for them, client_window == whole_window.
  5281. Given the way the tests are structured elsewhere to determine
  5282. which paints are pending (client vs. nc), that situation will
  5283. always yield PAINT, not NCPAINT. So, if we have a pending
  5284. nc_expose and no pending expose, remove the hwnd from the paint
  5285. queue, and also set nc_expose_pending to false, to keep us from
  5286. blocking further expose's adding the hwnd to the paint queue.
  5287. phew. like i said, a rather convoluted change. Fixes the
  5288. notifyicon repaint issues in bug #79645.
  5289. 2006-10-18 Chris Toshok <[email protected]>
  5290. * Form.cs: when getting the backcolor of the form, don't get
  5291. base.BackColor, as this allows parents to influence the background
  5292. color. This breaks mdi forms. Instead, if the background_color
  5293. is empty, return the default.
  5294. 2006-10-18 Chris Toshok <[email protected]>
  5295. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  5296. to being private instead of internal static.
  5297. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  5298. crap, it wasn't working for more deeply nested controls anyway,
  5299. and we already have the is_recreating flag - use that instead.
  5300. Before calling DestroyHandle in RecreateHandle, recurse through
  5301. the control tree setting it to true. this returns the recreate
  5302. code to much of its original simplicity, while now guaranteeing we
  5303. actually recreate everything we're supposed to. This change gets
  5304. fyireporting actually showing mdi children.
  5305. 2006-10-17 Chris Toshok <[email protected]>
  5306. * Form.cs: remove some debug spew, and collapse some duplicate
  5307. code at the end of SetClientSizeCore.
  5308. * XplatUIX11.cs:
  5309. - add some more debug spew here too wrt Destroy handling.
  5310. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  5311. in Control's handling of WM_DESTROY.
  5312. - Remove the handling of zombie window DestroyNotifies from the
  5313. event loop - we don't need it. Now the only DestroyNotifies we
  5314. actually handle are ones generated by X.
  5315. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  5316. match gtk's (functioning) handling of this. This keep metacity
  5317. from leaving droppings in the form of wm borders with no window
  5318. contents all over the place.
  5319. * Control.cs:
  5320. - add a bunch of debug spew wrt control recreation.
  5321. - fix a bug where we weren't tracking Visible properly on
  5322. recreated hwnds.
  5323. - fixed the WM_PAINT double buffer handling to support re-entrant
  5324. calls (yes, i know it's gross, but it's happening to us).
  5325. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  5326. * ThemeWin32Classic.cs: changed drawing of selected days
  5327. to make them look better.
  5328. 2006-10-16 Chris Toshok <[email protected]>
  5329. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  5330. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  5331. * XplatUIX11.cs: move away from using hwnd.client_dc and
  5332. hwnd.non_client_dc and on to a stack of dc's (and in window's
  5333. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  5334. without puking or not disposing of Graphics objects.
  5335. * XplatUIOSX.cs: same.
  5336. * XplatUIWin32.cs: same.
  5337. 2006-10-03 Alexander Olk <[email protected]>
  5338. * FileDialog.cs: Don't call on_directory_changed inside
  5339. OnSelectedIndexChanged (it changes the SelectedIndex too).
  5340. Instead move it to OnSelectionChangeCommitted.
  5341. 2006-10-13 Chris Toshok <[email protected]>
  5342. * XplatUIX11.cs: more Destroy work. the current code does the
  5343. following things, in order:
  5344. 1. Enumerates all handles of all controls at or below the one
  5345. being destroyed, in pre-order. As it is doing this, it marks the
  5346. handles as zombie and clears all references to them.
  5347. 2. calls XDestroyWindow on the window passed in.
  5348. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  5349. list.
  5350. 2006-10-13 Chris Toshok <[email protected]>
  5351. * XplatUIX11.cs: set hwnd.zombie to true before calling
  5352. SendMessage (WM_DESTROY). this keeps us from marking the new
  5353. window a zombie, and also keeps us from calling sendmessage at
  5354. all.
  5355. 2006-10-13 Jackson Harper <[email protected]>
  5356. * TextControl.cs: Do not show the caret and selection at the same
  5357. time. Reduces ugliness by 35%.
  5358. 2006-10-13 Chris Toshok <[email protected]>
  5359. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  5360. zombie after we do the recursive call, so we actually do call
  5361. SendMessage on the children controls.
  5362. (GetMessage): if we find a pending paint event for a zombie hwnd,
  5363. remove the hwnd from the paint queue, or else it will always be
  5364. there (and we'll effectively loop infinitely)
  5365. 2006-10-13 Mike Kestner <[email protected]>
  5366. * MenuItem.cs : add Selected format under keynav too.
  5367. Fixes #79528.
  5368. 2006-10-13 Gert Driesen <[email protected]>
  5369. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  5370. implementation and that of MS.
  5371. 2006-10-13 Chris Toshok <[email protected]>
  5372. * Control.cs (OnInvalidated) only futz with the invalid_region if
  5373. the control is double buffered. this fixes the apparent hang in
  5374. the ListView unit tests. Someone needs to make the
  5375. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  5376. 2006-10-13 Chris Toshok <[email protected]>
  5377. * PropertyGridView.cs:
  5378. - do a little refactoring so that only one place calls
  5379. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  5380. else call that. Also make it Refresh, since there are redraw bugs
  5381. otherwise (we should take a look at that...)
  5382. - do a little more refactoring work to share the body of code
  5383. involved with the drop down. it was duplicated in the code
  5384. dealing with the listbox handling and in the code dealing with the
  5385. UITypeEditors.
  5386. - add a Capture to the dropdown form's control once it's
  5387. displayed, and add a MouseDown handler that checks to make sure
  5388. the position is inside the control. If it's not, close the
  5389. dropdown. This fixes #78190.
  5390. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  5391. if the value is different than the initial value.
  5392. 2006-10-13 Andreia Gaita <[email protected]>
  5393. * Control.cs: see #78650
  5394. - Fixed GetNextControl for several cases:
  5395. - Changed FindFlatForward to return
  5396. correct sibling control when more than one
  5397. control has same TabIndex as the currently
  5398. focused one.
  5399. - Changed FindFlatBackward to loop children
  5400. from last to first and apply same logic as in
  5401. FindFlatForward
  5402. - Changed FindControlForward to search for
  5403. children when control is not a container
  5404. but has children, or search for siblings if
  5405. control is a container...
  5406. - Changed FindControlBackward to continue
  5407. searching for child controls when hitting
  5408. Panel-like parents
  5409. - Fixed Focus method to update ActiveControl
  5410. (FocusTest.FocusSetsActive failure)
  5411. * TabControl.cs:
  5412. - Focus rectangle now refreshes when gaining
  5413. or losing focus
  5414. - Removed grab for Tab key on IsInputKey that
  5415. was keeping tab navigation from working (#78650)
  5416. 2006-10-13 Chris Toshok <[email protected]>
  5417. * PropertyGridView.cs:
  5418. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  5419. SelectedObjects.
  5420. - Deal with GridItem.Value == null a few places.
  5421. * PropertyGrid.cs:
  5422. - replace the PopulateGridItemCollection with a pair of methods
  5423. which compute the intersection of all the properties in the
  5424. SelectedObjects array. Fixes #79615.
  5425. - Throw ArgumentException from set_SelectedObjects if there's a
  5426. null in the array.
  5427. - Add GetTarget method which can be used to traverse up the
  5428. GridItem.Parent chain. It depends on the assumption that
  5429. selected_objects for different GridEntries are always in the same
  5430. order (a safe assumption). Use this method and loop over all the
  5431. selected objects in the entry when calling RemoveValueChanged and
  5432. AddValueChanged.
  5433. * GridEntry.cs: Make this handle multiple selected objects.
  5434. .Value returns null if not all the selected objects share the same
  5435. value.
  5436. 2006-10-12 Jonathan Pobst <[email protected]>
  5437. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  5438. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  5439. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  5440. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  5441. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  5442. add additional functionality.
  5443. 2006-10-12 Mike Kestner <[email protected]>
  5444. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  5445. * HelpProvider.cs : new ToolTipWindow ctor sig.
  5446. * ToolTip.cs : remove ToolTip param from Window sig since it is
  5447. not used.
  5448. * ToolBar.cs : add tooltip support. Fixes #79565.
  5449. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  5450. * ComboBox.cs: move the events in set_SelectedIndex to
  5451. after the call to HighlightIndex in order to avoid
  5452. possible recursion and subsequent problems with the call
  5453. to HighlightIndex and include a range check in
  5454. set_HighlightIndex. Fixes #79588
  5455. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  5456. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  5457. to ui thread's settings instead of sunday.
  5458. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  5459. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  5460. * DateTimePicker.cs
  5461. * MonthCalendar.cs
  5462. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  5463. and implement missing functionality (selecting different parts
  5464. of the date and edit them individually with the keyboard).
  5465. 2006-10-11 Chris Toshok <[email protected]>
  5466. * Control.cs (OnInvalidated): fix NRE relating to last change.
  5467. 2006-10-11 Chris Toshok <[email protected]>
  5468. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  5469. atoms in _NET_WM_STATE here if the window is maximized. We need
  5470. to do this because we're *replacing* the existing _NET_WM_STATE
  5471. property, so those atoms will be lost otherwise, and any further
  5472. call to GetWindowState will return Normal for a window which is
  5473. actually maximized. Fixes #79338.
  5474. 2006-10-11 Jackson Harper <[email protected]>
  5475. * TextControl.cs: Special case for setting selection end to
  5476. selection start, we basically kill the anchor.
  5477. - some todo comments.
  5478. 2006-10-11 Chris Toshok <[email protected]>
  5479. * Control.cs: switch to using an "invalid_region" to track which
  5480. parts of the image buffer need updating. This is more code than
  5481. the simple fix from r66532. That version just attempted to always
  5482. fill the entire buffer on redraw, which turns out to be
  5483. inefficient when invalidating small rectangles. This version
  5484. simply adds the invalid rectangle to the invalid region. When we
  5485. get any WM_PAINT message we see if it can be filled using the
  5486. image buffer, and if it can't (if the paint event's clip rectangle
  5487. is visible in the invalid region) we first fill the image buffer.
  5488. So, the image buffer is still a cache, we just fill it lazily.
  5489. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  5490. need it any longer.
  5491. 2006-10-11 Chris Toshok <[email protected]>
  5492. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  5493. well as size after calling XMoveResizeWindow. This keeps us from
  5494. ignoring future SetWindowPos calls. Fixes the disappearing
  5495. DateTimePicker in the ToolBarDockExample from bug #72499.
  5496. 2006-10-11 Chris Toshok <[email protected]>
  5497. * TextBoxBase.cs: reorder things a bit when it comes to
  5498. resizing-causing-recalculation. we were recalculating the
  5499. document when our position was changed, which shouldn't happen.
  5500. We only care about size changes. Clear up some more redundant
  5501. recalculation calls while I'm at it. This makes the toolbar dock
  5502. example snappy when you're just dragging toolbars around (since it
  5503. causes a relayout whenever you move one.)
  5504. 2006-10-11 Chris Toshok <[email protected]>
  5505. * ToolBarButton.cs (get_Rectangle): this only returns
  5506. Rectangle.Empty if Visible == false, or Parent == null.
  5507. Parent.Visible doesn't matter.
  5508. 2006-10-10 Chris Toshok <[email protected]>
  5509. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  5510. by .net 1.1, so switch to an internal method instead.
  5511. 2006-10-10 Chris Toshok <[email protected]>
  5512. * Control.cs (WM_PAINT): when a control is double buffered we draw
  5513. initially to the ImageBuffer and then copy from there. But when a
  5514. parent control which has child controls is double buffered, the
  5515. initial drawing doesn't encompass the entire ClientRectangle of
  5516. the parent control, so we end up with uninitialized bits (this is
  5517. easily seen by dragging the top toolbar in
  5518. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  5519. manually set the ClipRectangle of the paint_event (only the one we
  5520. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  5521. of the nastiness in bug #72499.
  5522. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  5523. which we use in Control.cs's WM_PAINT handling.
  5524. 2006-10-10 Jackson Harper <[email protected]>
  5525. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  5526. 2006-10-10 Chris Toshok <[email protected]>
  5527. * Cursor.cs: Apply a slightly different patch to the one suggested
  5528. in #79609.
  5529. 2006-10-10 Jackson Harper <[email protected]>
  5530. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  5531. not the parent form.
  5532. * TextControl.cs: use difference in old line count vs new count to
  5533. calculate how many lines were added, this takes into account soft
  5534. line breaks properly.
  5535. 2006-10-10 Chris Toshok <[email protected]>
  5536. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  5537. rectangle located at 0,0 and the size of the text. Use
  5538. ClientRectangle instead. This fixes rendering of non-left aligned
  5539. link labels.
  5540. 2006-10-10 Jackson Harper <[email protected]>
  5541. * TextBoxBase.cs: When we set the selection start position the
  5542. caret.
  5543. * TextControl.cs: Need to update the caret when we decrement it to
  5544. zero.
  5545. - Make sure that the selection_visible flag gets reset to false if
  5546. the selection isn't visible. Before this you could get it set to
  5547. visible by changing the selection start, then changing the end to
  5548. equal the start.
  5549. 2006-10-09 Jackson Harper <[email protected]>
  5550. * TreeView.cs: Don't update scrollbars when we aren't visible.
  5551. * TreeNodeCollection.cs: Only need to update scrollbars if being
  5552. added to an expanded visible node or the root node.
  5553. 2006-10-09 Chris Toshok <[email protected]>
  5554. * XplatUIX11.cs (SendMessage): fix NRE.
  5555. 2006-10-09 Jackson Harper <[email protected]>
  5556. * TextBoxBase.cs: Implement horizontal autoscrolling.
  5557. * TextControl.cs: Add a movement types that allows moving forward
  5558. and backwards without wrapping.
  5559. 2006-10-09 Mike Kestner <[email protected]>
  5560. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  5561. with focus "expansion" of labels. Fixes #79532 and then some.
  5562. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  5563. when wrapping.
  5564. 2006-10-09 Jackson Harper <[email protected]>
  5565. * TextBoxBase.cs: Set the default max values to MaxValue since
  5566. we use the scrollbar for autoscrolling and the default value is
  5567. 100. If we don't do this the caret won't keep up with typing
  5568. after about 18 characters.
  5569. * TextControl.cs: Make sure the selection is offset by the
  5570. viewport x. This fixes selection when using auto scrolling.
  5571. 2006-10-07 Andreia Gaita <[email protected]>
  5572. * Form.cs: The active control should be selected after the
  5573. OnLoad so that any child control initialization that affects
  5574. the selection is done. Fixes #79406
  5575. 2006-10-06 Chris Toshok <[email protected]>
  5576. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  5577. to have no evil effects.
  5578. - Stop selecting StructureNotifyMask on non-toplevel windows.
  5579. The only way children should be resized is by using the SWF api,
  5580. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  5581. Toplevel windows can be interacted with via the window manager,
  5582. and so we keep the input mask there.
  5583. The other event StructureNotifyMask gives us (that we care
  5584. about) is DestroyNotify. The code is already structured such
  5585. that it assumes we won't be getting a DestroyNotify event for
  5586. the window we pass to XDestroyWindow (which is what
  5587. StructureNotifyMask is supposed to guarantee.) So, that code
  5588. shouldn't be affected by this either.
  5589. - Stop selecting VisibilityChangeMask altogether.
  5590. We weren't doing anything with the resulting events anyway.
  5591. This vastly reduces the number of X requests and events we see
  5592. when resizing/laying out a large ui.
  5593. 2006-10-06 Chris Toshok <[email protected]>
  5594. * ScrollableControl.cs (DisplayRectangle): we need to take into
  5595. account the DockPadding regardless of whether or not auto_scroll
  5596. == true. rework this slightly to this effect, and fix bug #79606,
  5597. and part of #72499 (you can now see the drag handles and drag
  5598. toolbars around).
  5599. 2006-10-06 Gert Driesen <[email protected]>
  5600. * ListViewItem.cs: Collections of selected and checked items are now
  5601. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  5602. we mark the collection "dirty".
  5603. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  5604. to only clear SelectedItems when a new item is selected and MultiSelect
  5605. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  5606. event of ListViewItemCollection, and mark its list dirty whenever
  5607. that event is fire. This allows us to return selected/checked items
  5608. in the same order as they are in the Items collection. This matches
  5609. the MS behavior.
  5610. 2006-10-06 Chris Toshok <[email protected]>
  5611. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  5612. right mouse clicks. Fixes bug #79593.
  5613. 2006-10-06 Chris Toshok <[email protected]>
  5614. * Splitter.cs: doh, fix splitters that don't want to cancel the
  5615. movement when you drag them. Also, impose the limits on the
  5616. values we send to the SplitterMovingEvent. Fixes #79598.
  5617. 2006-10-06 Jackson Harper <[email protected]>
  5618. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  5619. since we use this for auto scrolling also.
  5620. 2006-10-05 Chris Toshok <[email protected]>
  5621. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  5622. beginning to think that most datagrid column types don't need this
  5623. method. Fixes bug #79392.
  5624. 2006-10-05 Chris Toshok <[email protected]>
  5625. * DataGrid.cs: move back to a more lazy scheme for creating the
  5626. CurrencyManager, so we aren't updating it every time you set
  5627. either DataSource or DataMember. Also, don't call
  5628. RecreateDataGridRows if the currency manager hasn't changed.
  5629. 2006-10-05 Chris Toshok <[email protected]>
  5630. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  5631. emitted, SelectedIndex should already be updated. Fixes bug
  5632. #78929.
  5633. 2006-10-05 Jonathan Pobst <[email protected]>
  5634. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  5635. ToolStripTextBox.cs: Initial commit.
  5636. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  5637. 2006-10-05 Jackson Harper <[email protected]>
  5638. * TabControl.cs: We need to invalidate the tab control area when
  5639. new ones are added (duh).
  5640. 2006-10-03 Chris Toshok <[email protected]>
  5641. * Form.cs (ProcessDialogKey): if the focused control is in this
  5642. form and is a button, call its PerformClick method here. Fixes
  5643. #79534.
  5644. 2006-10-04 Jackson Harper <[email protected]>
  5645. * TabPage.cs: Ignore setting of Visible, and add an internal
  5646. method for setting the controls visibility. TabPage's Visible
  5647. property is a little strange on MS, this seems to make us
  5648. compatible, and fixes cases where people set all the tab pages to
  5649. visible.
  5650. * TabControl.cs: Use the new internal setting on tab pages
  5651. visibility.
  5652. 2006-10-03 Mike Kestner <[email protected]>
  5653. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  5654. 2006-10-03 Mike Kestner <[email protected]>
  5655. * ListView.cs : use is_visible instead of Visible to check if
  5656. scrollbars should be placed/sized. Also some max_wrap_width
  5657. love for LargeIcon view. [Fixes #79533]
  5658. 2006-10-03 Atsushi Enomoto <[email protected]>
  5659. * TextControl.cs :
  5660. Make set_TextAlign() do actually update the align. Fixed #78403.
  5661. 2006-10-03 Chris Toshok <[email protected]>
  5662. * DataGrid.cs: fix a crash when switching datasources if the
  5663. vertical scrollbar is at someplace other than Value = 0. Also,
  5664. reduce the number of recalculation passes we do in SetDataSource
  5665. from 2 to 1.
  5666. 2006-10-03 Jackson Harper <[email protected]>
  5667. * TextBoxBase.cs: Move the if value the same bail check up, we
  5668. don't want to empty the document if it is already empty, this
  5669. seems to severly mess up the caret. TODO: I should probably fix
  5670. the empty statement to update teh caret somehow.
  5671. 2006-10-03 Chris Toshok <[email protected]>
  5672. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  5673. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  5674. reflection, an internal row type, properties on said type, etc.)
  5675. will work with our datagrid. Fixes #79531.
  5676. 2006-10-03 Alexander Olk <[email protected]>
  5677. * FileDialog.cs: Don't crash if a path is not accessible
  5678. (System.UnauthorizedAccessException). Fixes #79569.
  5679. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  5680. a ':' too. Return unknown icon for those paths/files.
  5681. 2006-10-03 Sebastien Pouliot <[email protected]>
  5682. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  5683. GetContainerControl returns null.
  5684. 2006-10-02 Chris Toshok <[email protected]>
  5685. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  5686. call to XGetWindowAttributes instead of "handle". fixes an X
  5687. error using notifyicon after the NotifyIconWindow to Form base
  5688. class switch.
  5689. 2006-10-02 Chris Toshok <[email protected]>
  5690. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  5691. server grab and looping we need to do to get down to the most
  5692. deeply nested child window.
  5693. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  5694. QueryPointer again after the WarpPointer so we can generate a
  5695. proper (fake) MotionNotify event to be enqueued in the destination
  5696. window's queue.
  5697. (GetCursorPos): call QueryPointer.
  5698. Fixes #79556.
  5699. 2006-10-02 Jackson Harper <[email protected]>
  5700. * NotifyIcon.cs: Derive the notify icon from a form, so things
  5701. like FindForm work on it.
  5702. - Swallow the WM_CONTEXTMENU message, since that is generated on
  5703. mouse down, and context menu is a mouse up kinda guy. I believe
  5704. the correct fix here is probably to make the notify icon entirely
  5705. NC area, but this seems to work fine for anyone not manipulating
  5706. WndProc.
  5707. 2006-10-02 Jonathan Pobst <[email protected]>
  5708. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  5709. ToolStripItemCollection.cs, ToolStripLabel.cs,
  5710. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  5711. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  5712. Initial implementation.
  5713. * TextRenderer.cs: Provide padding to MeasureText.
  5714. 2006-10-02 Sebastien Pouliot <[email protected]>
  5715. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  5716. of ButtonBaseAccessibleObject. Fix bug #79552.
  5717. 2006-10-02 Jackson Harper <[email protected]>
  5718. * MdiWindowManager.cs: When maximizing use the containers client
  5719. rect, not it's bounds, so nc area is accounted correctly.
  5720. - Use the parent form's size for the menu position, since the
  5721. client isn't always the full form size.
  5722. 2006-10-01 Chris Toshok <[email protected]>
  5723. * ScrollableControl.cs: make sure neither right_edge or
  5724. bottom_edge are < 0, since they're used as LargeChange for the
  5725. horiz/vert scrollbars respectively. Fixes #79539.
  5726. 2006-10-01 Chris Toshok <[email protected]>
  5727. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  5728. the xplatuix11 code can cause us to destroy/recreate our handle.
  5729. * XplatUIX11.cs
  5730. (SystrayAdd):
  5731. - this code can be invoked many times for the same Hwnd. Make
  5732. sure we only destroy the client window once (the first time this
  5733. method is called). This fixes bug #79544.
  5734. - Remove the call to the improperly bound XSync. why we had two
  5735. bindings to this, I will never know, but this call resulted in
  5736. events being discarded from the queue(!).
  5737. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  5738. not our current state but the state we wish to be in. So, 0 if
  5739. we don't want to be mapped. Change it to 1.
  5740. (SystrayRemove): The XEMBED spec makes mention of the fact that
  5741. gtk doesn't support the reparent of client windows away from the
  5742. embedder. Looking at gtksocket-x11.c seems to agree with this.
  5743. The only avenue we have for removing systray icons is to destroy
  5744. them. We don't want the handle to go away for good, though, so
  5745. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  5746. #79545.
  5747. 2006-10-01 Chris Toshok <[email protected]>
  5748. * Form.cs (WndProc): inline the native_enabled variable usage into
  5749. the cases in which it's used. Fixes #79536.
  5750. 2006-09-29 Mike Kestner <[email protected]>
  5751. * ListView.cs : toggle the selection state for ctrl clicks in
  5752. multiselect mode. [Fixes #79417]
  5753. 2006-09-29 Mike Kestner <[email protected]>
  5754. * ListView.cs : kill CanMultiSelect and refactor the selection
  5755. code to support multiselection in the absence of mod keys. Steal
  5756. arrow/home/end keys by overriding InternalPreProcessMessage to
  5757. restore regressed keynav behavior.
  5758. [Fixes #79416]
  5759. 2006-09-29 Jackson Harper <[email protected]>
  5760. * MdiClient.cs: Repaint the titlebars when the active window is
  5761. changed.
  5762. 2006-09-29 Chris Toshok <[email protected]>
  5763. * Application.cs: when entering a runloop with a modal, make sure
  5764. the hwnd is enabled. Fixes #79480.
  5765. 2006-09-29 Chris Toshok <[email protected]>
  5766. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  5767. when ListManager.CanAddRows == false, bump us back one.
  5768. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  5769. listmanager.CanAddRows check. This makes ArrayLists uneditable
  5770. using a datagrid, which is not right.
  5771. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  5772. is an IEditable, but call property_descriptor.SetValue regardless.
  5773. fixes #79435.
  5774. 2006-09-29 Chris Toshok <[email protected]>
  5775. * DataGridBoolColumn.cs: we need to test equality in the face of
  5776. possible null values (as is the case with the default NullValue).
  5777. This patch keeps us from crashing in that case.
  5778. 2006-09-29 Jackson Harper <[email protected]>
  5779. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  5780. here, since it will get called for every node collection in the
  5781. tree. This is now done in the treeview once the sorting is
  5782. finished.
  5783. * TreeView.cs: Recalculate the visible order, and update the
  5784. scrollbars after sorting, set the top nope to the root so that the
  5785. recalc actually works.
  5786. 2006-09-29 Chris Toshok <[email protected]>
  5787. * LinkLabel.cs: more handling of the default link collection in
  5788. the face of LinkArea manipulation. The default link collection
  5789. contains 1 element (start=0,length=-1). If the user sets LinkArea
  5790. to anything and the links collection is the default, clear it.
  5791. Then only add the link if its nonempty. Fixes #79518.
  5792. 2006-09-29 Chris Toshok <[email protected]>
  5793. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  5794. piece correctly when we hit a '\n'. Fixes #79517.
  5795. 2006-09-29 Chris Toshok <[email protected]>
  5796. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  5797. change the binding of gdk_init_check to take two IntPtr's, and
  5798. pass IntPtr.Zero for both of them. Fixes #79520.
  5799. 2006-09-29 Mike Kestner <[email protected]>
  5800. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  5801. [Fixes #78779]
  5802. 2006-09-28 Jackson Harper <[email protected]>
  5803. * XplatUIX11.cs: When translating NC messages make sure we go from
  5804. whole window to screen, not client window to screen.
  5805. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  5806. method doesn't exist
  5807. - Skip over controls that aren't forms when arranging.
  5808. 2006-09-28 Jackson Harper <[email protected]>
  5809. * XplatUIWin32.cs: Clip the rect to the parent window.
  5810. * XplatUIStructs.cs: Add clipping modes struct.
  5811. * InternalWindowManager.cs: New private method that factors title
  5812. bar heights in when calculating the pos of an NC mouse message.
  5813. - Use SendMessage to force a paint when the form's size is changed
  5814. instead of painting the decorations immediately.
  5815. - Don't let the NC button click messages get to DefWndProc,
  5816. because they will attempt to handle windowing themself, and this
  5817. messes up z-order (it will put them in front of the scrollbars).
  5818. * XplatUIX11.cs: Make sure that we don't reset window managers if
  5819. we already have one (ie the window is an MDI window).
  5820. 2006-09-28 Chris Toshok <[email protected]>
  5821. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  5822. menu code really needs going over.
  5823. 2006-09-27 Chris Toshok <[email protected]>
  5824. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  5825. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  5826. window is maximizable. So, we need to make sure that even if we
  5827. clear the border/wm frame of those functions, they're still
  5828. available (basically, we remove the decoration without removing
  5829. the function). Half the fix for #79338.
  5830. 2006-09-27 Chris Toshok <[email protected]>
  5831. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  5832. Fixes bug #79515.
  5833. 2006-09-27 Chris Toshok <[email protected]>
  5834. * Splitter.cs: reorder things a bit so that we don't actually
  5835. draw/move the splitter until after calling OnSplitterMoving. This
  5836. lets users cancel/disallow the movement by explicitly setting
  5837. event.SplitX/SplitY. Fixes #79372.
  5838. 2006-09-27 Jackson Harper <[email protected]>
  5839. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  5840. because it is most likely on a window being destroyed, and that
  5841. will give us an X11 error.
  5842. 2006-09-27 Chris Toshok <[email protected]>
  5843. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  5844. the dropdown button now toggles between showing and hiding the
  5845. dropdown. Also, get rid of dropdown_form_showing and just use
  5846. dropdown_form.Visible. We still don't do a grab, but I'll leave
  5847. that part to someone who has handled Capture-fu before.
  5848. 2006-09-27 Chris Toshok <[email protected]>
  5849. * DataGrid.cs: return false if alt isn't pressed when '0' is
  5850. pressed. this keeps the '0' key from being swallowed, and fixes
  5851. bug #79350.
  5852. 2006-09-27 Chris Toshok <[email protected]>
  5853. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  5854. Calling Refresh (in response to a scrollbar event) screws up the
  5855. scrollbar painting. Fixes bug #78923.
  5856. 2006-09-27 Chris Toshok <[email protected]>
  5857. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  5858. then insert into hashtable" blocks threadsafe.
  5859. 2006-09-27 Chris Toshok <[email protected]>
  5860. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  5861. baseclass's, since otherwise the
  5862. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  5863. effect. This gets the close button back in messageboxes.
  5864. 2006-09-27 Chris Toshok <[email protected]>
  5865. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  5866. flag, not just != 0. this makes flags that are actually multiple
  5867. bits (like WS_CAPTION) work. fixes bug #79508.
  5868. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  5869. * PageSetupDialog.cs: add support for getting and settings the
  5870. paper size, source and orientation.
  5871. 2006-09-26 Chris Toshok <[email protected]>
  5872. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  5873. and caption == "", we need to remove the resize handles as well as
  5874. the title bar.
  5875. * Control.cs (set_Text): turns out that setting Text on a form
  5876. should change the WM styles on the window, since if ControlBox ==
  5877. false, the only way to get a window border is to have a non-""
  5878. Text property. check winforms/forms/text.cs for an example. so,
  5879. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  5880. update both window styles and title. This fixes a lot of dialogs
  5881. (including the preferences dialog in MonoCalendar.)
  5882. 2006-09-26 Chris Toshok <[email protected]>
  5883. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  5884. control isn't a Form), call Win32ShowWindow to hide the window,
  5885. but don't update the control Visible property. When we reparent
  5886. back to a parent control, call SetVisible in order for the
  5887. window's visibility to be reinstated.
  5888. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  5889. the FosterParent.
  5890. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  5891. call for good, since it breaks MonoCalendar (and other things I'm
  5892. sure.) Also, set all_controls to null *after* the owner calls,
  5893. which end up regenerating it.
  5894. (ChangeParent): allow new_parent to be == null, passing
  5895. IntPtr.Zero down to XplatUI.
  5896. this fixes #79294 the right way.
  5897. 2006-09-26 Mike Kestner <[email protected]>
  5898. * GridEntry.cs : internal SetParent method.
  5899. * PropertyGrid.cs : attach to property changed on the proper
  5900. target if we have a hierarchical grid with subobjects. Setup
  5901. GridItem.Parent for hierarchical items.
  5902. * PropertyGridView.cs : Set value on the correct target for
  5903. hierarchical grids. [Fixes #78903]
  5904. 2006-09-26 Chris Toshok <[email protected]>
  5905. * Control.cs (ChildNeedsRecreating): this should return true if
  5906. either we're being recreated and the child is in our list, or our
  5907. parent is waiting for our recreation.
  5908. 2006-09-26 Chris Toshok <[email protected]>
  5909. * Control.cs (ControlCollection.Remove): reinstate the
  5910. value.Hide() call as suggested in bug #79294.
  5911. 2006-09-26 Sebastien Pouliot <[email protected]>
  5912. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  5913. coordinates (versus a relative move).
  5914. 2006-09-26 Chris Toshok <[email protected]>
  5915. * Control.cs: rework child recreation a little bit. It turns out
  5916. that we race between the DestroyNotify the WM_DESTROY message. If
  5917. the parent gets its DestroyNotify before the child gets the
  5918. WM_DESTROY message, the child ends up not recreating (since the
  5919. parent finishes its recreation on DestroyNotify, and the child
  5920. checks ParentIsRecreating.)
  5921. So, instead we store off a list of all the child controls which
  5922. need to be recreated when the parent control starts to recreate
  5923. itself. Then, when child controls get their WM_DESTROY message we
  5924. check to see if they're in the parent's pending recreation list,
  5925. and if so, we recreate. This removes all dependency on ordering
  5926. from the code and fixes the initial MonoCalendar upgrade dialog.
  5927. 2006-09-26 Jackson Harper <[email protected]>
  5928. * TextControl.cs: Use the Line to get the length of the line,
  5929. since soft line breaks can change the end line.
  5930. 2006-09-26 Chris Toshok <[email protected]>
  5931. * Control.cs (ControlCollection.AddImplicit): don't add the
  5932. control again if it's already in one of our lists. This keeps us
  5933. from adding controls over and over again for comboboxes when their
  5934. handle gets recreated (as the combobox adds implicit controls in
  5935. OnHandleCreated). Fixes the X11 errors in bug #79480.
  5936. 2006-09-26 Jackson Harper <[email protected]>
  5937. * TextControl.cs: When deleting characters make sure that any
  5938. orphaned zero lengthed tags get deleted.
  5939. - Fix ToString for zero lengthed tags.
  5940. 2006-09-25 Jackson Harper <[email protected]>
  5941. * TextControl.cs: When getting a tag at the location there can be
  5942. multiple tags at the same spot, these are 0-lengthed tags that
  5943. appear when extra formatting has been stuck in a location. We
  5944. need to pull out the last of these 0 lengthed tags.
  5945. 2006-09-25 Jackson Harper <[email protected]>
  5946. * TextControl.cs: Fix print out in debug method.
  5947. * TextBoxBase.cs: When text is set bail if we are setting to the
  5948. previous value.
  5949. 2006-09-24 Alexander Olk <[email protected]>
  5950. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  5951. It is now possible to change the selected index in a FontXXXListBox
  5952. with the up and down arrow keys from the FontXXXTextBoxes.
  5953. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  5954. FontXXXListBoxes to match ms.
  5955. 2006-09-22 Sebastien Pouliot <[email protected]>
  5956. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  5957. anyone can dispose it, anytime. All other properties returns enums,
  5958. structs or basic types so they don't need such tricks.
  5959. 2006-09-22 Jackson Harper <[email protected]>
  5960. * XplatUI.cs:
  5961. * XplatUIWin32.cs:
  5962. * Clipboard.cs:
  5963. * DataFormats.cs:
  5964. * XplatUIOSX.cs:
  5965. * XplatUIDriver.cs: Update interface to add a primary selection
  5966. flag, so the driver can use the primary selection buffer if
  5967. needed.
  5968. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  5969. * RichTextBox.cs: We need to supply the data object to paste now
  5970. (so we can choose to supply CLIPBOARD or PRIMARY).
  5971. * TextBoxBase.cs: Supply data object to paste (see above).
  5972. - Middle click uses the primary selection data object.
  5973. 2006-09-21 Chris Toshok <[email protected]>
  5974. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  5975. of SetWMStyles. It's still a rat's nest and is largely
  5976. order-dependent which I dislike immensely. This also fixes the X
  5977. button disappearing from toplevel forms.
  5978. 2006-09-21 Mike Kestner <[email protected]>
  5979. * ListBox.cs: move Jordi's click/dblclick raising code to the
  5980. mouse up handler.
  5981. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  5982. * ListBox.cs: Fixes 79450
  5983. 2006-09-21 Mike Kestner <[email protected]>
  5984. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  5985. to deal with people updating the TreeNodeCollection after the tree
  5986. is disposed. "Fixes" 79330.
  5987. 2006-09-20 Jackson Harper <[email protected]>
  5988. * TextControl.cs: Push the cursor record onto the undo stack
  5989. before the delete action. This fixes 78651.
  5990. 2006-09-20 Jonathan Chambers <[email protected]>
  5991. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  5992. CreateParams. Fixes 79329.
  5993. 2006-09-19 Chris Toshok <[email protected]>
  5994. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  5995. things up a bit. First, get rid of the NetAtoms array (and the NA
  5996. enum), and just embed the atoms as static fields. Also, add a
  5997. couple of functions (StyleSet and ExStyleSet) to clean up all the
  5998. bitmask testing of styles.
  5999. * X11Structs.cs: remove the NA enum, not needed anymore.
  6000. 2006-09-19 Chris Toshok <[email protected]>
  6001. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  6002. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  6003. added cleanup to get MessageBox titles appearing again, which were
  6004. broken by my earlier fix for caption-less/ControlBox-less windows.
  6005. 2006-09-18 Jonathan Pobst <[email protected]>
  6006. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  6007. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  6008. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  6009. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  6010. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  6011. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  6012. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  6013. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  6014. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  6015. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  6016. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  6017. Inital import.
  6018. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  6019. ToolStripButton.cs: Stubs needed for above.
  6020. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  6021. 2006-09-15 Chris Toshok <[email protected]>
  6022. * XplatUIX11.cs:
  6023. - make the MessageQueues hashtable Synchronized.
  6024. - SendMessage: if the Hwnd is owned by a different thread, use the
  6025. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  6026. thread. Fixes bug #79201.
  6027. 2006-09-15 Chris Toshok <[email protected]>
  6028. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  6029. ControlBox == false, we disallow maximize/minimize/close. If the
  6030. form Caption is "" we also disallow move (and get rid of the Title
  6031. decoration). Unfortunately, regardless of how things are set,
  6032. we're stuck with the Title and WM menu.
  6033. 2006-09-15 Chris Toshok <[email protected]>
  6034. * Application.cs: add locking around the static message_filters
  6035. ArrayList, part of #79196.
  6036. 2006-09-15 Chris Toshok <[email protected]>
  6037. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  6038. Form.ControlBox == false, the window has no titlebar nor resize
  6039. handles. fixes bug #79368.
  6040. 2006-09-15 Chris Toshok <[email protected]>
  6041. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  6042. >= 0. Fixes bug #79370.
  6043. 2006-09-15 Jonathan Pobst <[email protected]>
  6044. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  6045. * Control.cs:
  6046. Add properties: LayoutEngine, Margin, DefaultMargin.
  6047. Add method: GetPreferredSize.
  6048. Move layout logic from PerformLayout to layout engines.
  6049. 2006-09-13 Chris Toshok <[email protected]>
  6050. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  6051. fix for #79326 broke #78718, so this change addresses that.
  6052. - in SendWMDestroyMessages remove the call to
  6053. CleanupCachedWindows, since we might be recreating the control and
  6054. need to maintain the references to right Hwnd handles. Also, set
  6055. the zombie flag to true for each of the children in the hierarchy
  6056. instead of calling hwnd.Dispose. This will cause GetMessage to
  6057. ignore all events for the window except for DestroyNotify.
  6058. - In GetMessage, ignore messages except for DestroyNotify for
  6059. zombie hwnds.
  6060. * Control.cs: revert the is_recreating fix from the last
  6061. ChangeLog. It's definitely "right", but it breaks switching from
  6062. an MDI form to a non-MDI form. Will need to revisit that.
  6063. * Hwnd.cs: add a zombie flag, which means "the
  6064. client_window/whole_window handles are invalid, but we're waiting
  6065. for the DestroyNotify event to come in for them". Set the flag to
  6066. false explicitly if setting WholeWindow/ClientWindow, and also
  6067. when Disposing.
  6068. 2006-09-13 Chris Toshok <[email protected]>
  6069. * XplatUIX11.cs: rework window destruction slightly.
  6070. - when destroying the windows associated with a control, we don't
  6071. need 2 separate XDestroyWindow calls. Just the one for the
  6072. whole_window (or for client_window if whole_window is somehow
  6073. IntPtr.Zero -- can this happen?) is enough.
  6074. - reworked SendWMDestroyMessages slightly, so we always dispose
  6075. the child control hwnd's after sending the messages.
  6076. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  6077. the two places it was used (one was even using hwnd.Handle and the
  6078. other hwnd.client_window. ugh), adding another call in
  6079. SendWMDestroyMessages. We need this new call because now the
  6080. DestroyNotify events in the queue will be ignored for the child
  6081. controls (as their hwnd's were disposed, and the window id's
  6082. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  6083. - this fixes bug #79326.
  6084. 2006-09-13 Chris Toshok <[email protected]>
  6085. * Control.cs: don't always set is_recreating to false at the end
  6086. of RecreateHandle, since sometimes we're not done (and won't be
  6087. until WndProc handles the WM_DESTROY message). Also, set
  6088. is_recreating to false in the WM_DESTROY handling code. Part of
  6089. the fix for bug #79326.
  6090. 2006-09-13 Miguel de Icaza <[email protected]>
  6091. * X11DesktopColors.cs: Start the droppage of debugging messages.
  6092. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  6093. 2006-09-13 Jonathan Pobst <[email protected]>
  6094. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  6095. 2006-09-12 Chris Toshok <[email protected]>
  6096. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  6097. to create it using SetDataSource. Fixes bug #79151.
  6098. 2006-09-11 Chris Toshok <[email protected]>
  6099. * XEventQueue.cs: add a DispatchIdle property.
  6100. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  6101. either the queue is null, or the queue has DispatchIdle set to
  6102. true.
  6103. (DoEvents): set queue.DispatchIdle to false around the
  6104. peek/translate/dispatch message loop in this method. This keeps
  6105. Application.Doevents from emitting idle events. Part of the fix
  6106. for #78823.
  6107. 2006-09-11 Chris Toshok <[email protected]>
  6108. * DataGrid.cs (set_DataSource): make this work for both the
  6109. winforms/datagrid test and ReportBuilder. It seems as though when
  6110. we've created a ListManager (or maybe it's if we have a
  6111. BindingContext?), when we set the DataSource it clears the
  6112. DataMember to "". otherwise we reuse the datamember. Fixes bug
  6113. #79333.
  6114. 2006-09-11 Chris Toshok <[email protected]>
  6115. * XplatUIX11.cs: deal with queue being null, which happens in all
  6116. the Clipboard functions. Fixes one of the two problems mentioned
  6117. in #78612.
  6118. 2006-09-11 Chris Toshok <[email protected]>
  6119. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  6120. button on various spots (including outside the menu) works closer
  6121. to MS, and doesn't crash. Fixes #79343.
  6122. 2006-09-11 Gert Driesen <[email protected]>
  6123. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  6124. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  6125. and the internal comparer is set. When a new ListViewItemSorter is set,
  6126. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  6127. was specified. No further processing is necessary if SortOrder is set
  6128. to it's current value. If Sorting is modified to None, and View is
  6129. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  6130. (either custom or our internal ItemComparer) to null, on 1.0 profile
  6131. only set item_sorter to null if its our internal IComparer. If Sorting
  6132. is modified to Ascending or Descending, then use our internal IComparer
  6133. if none is set, and if the current IComparer is our internal one then:
  6134. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  6135. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  6136. Enum.IsDefined to verify whether a valid View value is specified in
  6137. its setter. Automatically sort listview items when listview is
  6138. created. In Sort, do nothing if ListView is not yet created, or if
  6139. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  6140. to None or ListViewItemSorter was set to null). Added Sort overload
  6141. taking a bool to indicate whether the ListView should be redrawn when
  6142. items are sorted (we use this in ListViewItemCollection to avoid double
  6143. redraws). Modified our internal IComparer to take the sort order into
  6144. account. In Add and AddRange methods of ListViewItemCollection, also
  6145. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  6146. view), but use overload with noredraw option to avoid double redraw.
  6147. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  6148. true when View is Tile, and do the same when attempting to set View to
  6149. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  6150. for selected/checked indices, as it involves overhead when sorting is
  6151. done while these collections are not used all that often. Instead
  6152. we'll build the indices on demand. Modified IList implementation of
  6153. CheckedIndexCollection to use public methods if object is int.
  6154. Modified CheckedListViewItemCollection to hide checked items if
  6155. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  6156. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  6157. IList implementation in SelectedIndexCollection to use public methods
  6158. if object is int. Modified SelectedListViewItemCollection to hide
  6159. selected items if listview is not yet created.
  6160. * ListViewItem.cs: CheckedIndices list no longer needs to be
  6161. maintained separately (see ListView changes). Also clone font, fixes
  6162. test failure.
  6163. 2006-09-11 Mike Kestner <[email protected]>
  6164. * ComboBox.cs: if we are updating the contents of the currently
  6165. selected index, refresh the control or the textbox selection.
  6166. [Fixes #79066]
  6167. 2006-09-11 Mike Kestner <[email protected]>
  6168. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  6169. the 'specified' logic has been moved there. This seems like a bug
  6170. in Control.cs, since our current SetBoundsCore completely ignores
  6171. the specified parameter. Peter's commit seems to indicate that is
  6172. the way the MS control implementation works. [Fixes #79325]
  6173. 2006-09-10 Jonathan Chambers <[email protected]>
  6174. * XplatUI.cs: Set default_class_name to be composed
  6175. of current domain id. This allows MWF to be loaded in multiple
  6176. domains on Win32.
  6177. 2006-09-09 Miguel de Icaza <[email protected]>
  6178. * X11Keyboard.cs: If we are unable to obtain the input method, do
  6179. not call CreateXic to create the input context. Should fix
  6180. #78944/79276.
  6181. 2006-09-08 Alexander Olk <[email protected]>
  6182. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  6183. Simplified gnome support by adding more pinvokes to get the
  6184. icon for a file or mime type.
  6185. 2006-09-08 Jackson Harper <[email protected]>
  6186. * MenuAPI.cs: Deslect popup context menu items before closing the
  6187. window, so that you don't see the previously selected item
  6188. selected when you reopen the menu.
  6189. * TextControl.cs: Update the cursor position even if we don't have
  6190. focus. This fixes typing in things like the ComboBox. I'm not
  6191. totally sure we should always set the visibility if we don't have
  6192. focus, but couldn't find any corner cases where the cursor showed
  6193. up when it shouldn't.
  6194. 2006-09-08 Chris Toshok <[email protected]>
  6195. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  6196. our arrays are length 256. & 0xff before indexing. Fixes the
  6197. crash in bug #78077.
  6198. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  6199. * ThemeWin32Classic.cs:
  6200. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  6201. is true. Handle that check box too.
  6202. 2006-09-07 Chris Toshok <[email protected]>
  6203. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  6204. 79244.
  6205. 2006-09-07 Chris Toshok <[email protected]>
  6206. * Control.cs: in set_BackColor only do the work if
  6207. background_color != value.
  6208. * XplatUIX11.cs: move the clearing of invalid areas (both client
  6209. and nc) to the same block of code where we set (nc_)expose_pending
  6210. to false. That is, move it from PaintEventEnd to PaintEventStart,
  6211. so things that cause invalidates from within OnPaint will trigger
  6212. another call to OnPaint. Fixes bug #79262.
  6213. 2006-09-07 Alexander Olk <[email protected]>
  6214. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  6215. * FileDialog.cs: Fix typo
  6216. 2006-09-07 Jackson Harper <[email protected]>
  6217. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  6218. for tab pages if they have any.
  6219. 2006-09-06 Mike Kestner <[email protected]>
  6220. * Splitter.cs: use the "current" rect when finishing drag handle
  6221. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  6222. 2006-09-06 Mike Kestner <[email protected]>
  6223. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  6224. support offset splitters. [Fixes #79298]
  6225. 2006-09-06 Alexander Olk <[email protected]>
  6226. * Mime.cs: Fixed a bug that could override the global mime type
  6227. result.
  6228. 2006-09-05 Jackson Harper <[email protected]>
  6229. * TabControl.cs: Better calculation method for setting the slider
  6230. pos. Prevents crashes on really wide tabs.
  6231. - Draw Image on tab pages if an image list is used.
  6232. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  6233. * MonthCalendar.cs: When Font changes, the Size should be
  6234. updated to fit the new font's space requirements.
  6235. 2006-09-02 Alexander Olk <[email protected]>
  6236. * ListBox.cs: If the items are cleared with Items.Clear set
  6237. top_index to 0.
  6238. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  6239. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  6240. fire DateChanged event instead of DateSelected event when
  6241. the date was changed by keyboard interaction.
  6242. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  6243. * DateTimePicker.cs: Handle DateChanged for the associated
  6244. month_calendar control, and set month_calendar.Font from
  6245. OnFontChanged method, as well as resize the height of the
  6246. control when needed. Make PreferredHeight proportional.
  6247. 2006-09-01 Chris Toshok <[email protected]>
  6248. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  6249. properties.
  6250. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  6251. 2006-09-01 Peter Dennis Bartok <[email protected]>
  6252. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  6253. for decorations (Fixes #79219)
  6254. 2006-09-01 Mike Kestner <[email protected]>
  6255. * ComboBox.cs: first stab at sorting plus some selection handling
  6256. fixes to bring us more in line with MS behavior. Also switches back
  6257. to index based selection. Alternative patches for index-based
  6258. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  6259. and [email protected] on bug 78848. I assume they were similar to this
  6260. code I've had simmering in my tree forever.
  6261. [Fixes #78848]
  6262. 2006-09-01 Chris Toshok <[email protected]>
  6263. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  6264. when setting list position guard against ending up with a -1 index
  6265. (the other part of the fix for #78812). Should probably make sure
  6266. we don't need the analogous fix in the ItemDeleted case.
  6267. * DataGrid.cs:
  6268. - in SetDataSource, work around the fact that the way
  6269. OnBindingContextChanged is invoked will cause us to re-enter this
  6270. method. I'll remove the hack once I investigate
  6271. OnBindingContextChanged.
  6272. - fix the logic in set_DataSource and set_DataMember (basically
  6273. what to do if the other of the two is null.)
  6274. - in OnListManagerItemChanged, we need to take into account the
  6275. edit row when deciding whether or not to call RecreateDataGridRows
  6276. (part of the fix for #78812).
  6277. 2006-09-01 Jackson Harper <[email protected]>
  6278. * Splitter.cs: Don't do anything if there is no control to affect
  6279. (prevents us from crashing in weird tet cases).
  6280. * TreeView.cs: Bounding box for the mouse movement reverting
  6281. focus/selection back to previously selected node. This matches
  6282. MS, and makes the tree a lot more useable.
  6283. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  6284. use clipping so they are not drawn. This fixes when the control
  6285. is set to have a transparent background, or if it was over an
  6286. image.
  6287. 2006-09-01 Alexander Olk <[email protected]>
  6288. * MimeIcon.cs: Improved handling for reading default icons when
  6289. using gnome (2.16 made it necessary). Check and read svg icons
  6290. first, then 48x48 and then 32x32 icons.
  6291. 2006-08-31 Chris Toshok <[email protected]>
  6292. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  6293. visible.
  6294. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  6295. ProcessKeyPreview. Fixes part of #77806.
  6296. * DataGrid.cs: big patch.
  6297. - revert the queueing up of DataSource/DataMember if inside
  6298. BeginInit/EndInit calls. That's not the way the datagrid achieves
  6299. its delayed databinding. Instead, call SetDataSource in
  6300. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  6301. #78811.
  6302. - Also, it wasn't mentioned in #78811, but the test case exhibits
  6303. behavior that was lacking in our datagrid implementation - Columns
  6304. that have mapping names that don't exist in the datasource's
  6305. properties aren't shown. Yuck. To fix this I added the bound
  6306. field to the column style, and basically any calculation to figure
  6307. out anything about columns uses a loop to find the bound columns.
  6308. still need to investigate if I can cache an array of the bound
  6309. columns or if the indices must be the same.
  6310. - When setting CurrentCell, we no longer abort if the cell being
  6311. edited was in the add row. This fixes the other part of #77806.
  6312. - The new code also fixes #78807.
  6313. * ThemeWin32Classic.cs: perpetrate the same disgusting
  6314. column.bound field hack, and only render bound fields.
  6315. 2006-08-31 Chris Toshok <[email protected]>
  6316. * DataGridColumnStyle.cs: add bound field. this field is true if
  6317. the datasource has a property corresponding to the mapping name.
  6318. * DataGridTableStyle.cs: set the bound field on the column styles
  6319. depending on whether or not we have a column for that property.
  6320. 2006-08-31 Peter Dennis Bartok <[email protected]>
  6321. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  6322. splitter control (fixes #79228)
  6323. 2006-08-31 Chris Toshok <[email protected]>
  6324. * DataGridColumnStyle.cs: we need to delay the assignment of
  6325. property descriptor until the last possible moment due to the lazy
  6326. databinding stuff in the datagrid. Also, fix the exceptions
  6327. thrown by CheckValidDataSource to match MS.
  6328. 2006-08-31 Jackson Harper <[email protected]>
  6329. * Form.cs: When activated select the active control, if there is
  6330. no active control, we select the first control.
  6331. * XplatUIX11.cs: If there is no focus control when we get a
  6332. FocusIn event, find the toplevel form and activate it. This
  6333. occurs when you popup a window, it becomes the focus window, then
  6334. you close that window, giving focus back to the main window.
  6335. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  6336. * MonthCalendar.cs:
  6337. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  6338. as StringFormat with Center alignments in MonthCalendar,
  6339. instead of creating new ones when drawing the control.
  6340. Also, draw the month name in bold style.
  6341. 2006-08-30 Peter Dennis Bartok <[email protected]>
  6342. * Control.cs:
  6343. - PerformLayout(): It would seem MS performs the fill even if the
  6344. control is not visible (part of #79218 fix)
  6345. - ResetBackColor(): Use the setter to reset the color, to allow
  6346. overriders to catch the change.
  6347. * Form.cs:
  6348. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  6349. - CreateHandle(): dito (part of $79218 fix)
  6350. - Don't set an icon if we have a dialog
  6351. * ScrollableControl.cs:
  6352. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  6353. - ScrollIntoView(): No need to scroll if control is already visible
  6354. (resolves fixme and fixes #79218)
  6355. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  6356. * MonthCalendar.cs: Change proportions in SingleMonthSize
  6357. to match the aspect of the original control.
  6358. 2006-08-29 Alexander Olk <[email protected]>
  6359. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  6360. get updated when they get maximized.
  6361. 2006-08-29 Peter Dennis Bartok <[email protected]>
  6362. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  6363. 2006-08-29 Chris Toshok <[email protected]>
  6364. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  6365. 2006-08-29 Jackson Harper <[email protected]>
  6366. * TreeView.cs: Need to track selected node and highlighted node,
  6367. they aren't always the same thing, when the mouse is down on a
  6368. node it is hilighted, but not selected yet.
  6369. - Do the HideSelection stuff right
  6370. - Need to focus on rbutton mouse down. And redraw selection when
  6371. right click is mouse upped.
  6372. 2006-08-29 Mike Kestner <[email protected]>
  6373. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  6374. when SubItems.Count < Columns.Count. [Fixes #79167]
  6375. 2006-08-28 Peter Dennis Bartok <[email protected]>
  6376. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  6377. 2006-08-28 Peter Dennis Bartok <[email protected]>
  6378. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  6379. from X. Only send based on ConfigureNotify if we don't have the
  6380. correct location in hwnd (if the window manager moved us)
  6381. 2006-08-28 Mike Kestner <[email protected]>
  6382. * ListView.cs: remove a TODO.
  6383. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  6384. [Fixes ListView part of #79166]
  6385. 2006-08-28 Mike Kestner <[email protected]>
  6386. * ListView.cs: move wheel handler to parent since it is focused
  6387. instead of the item_control now. [Fixes #79177]
  6388. 2006-08-28 Mike Kestner <[email protected]>
  6389. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  6390. when the control is focused. [Fixes #79171]
  6391. 2006-08-28 Mike Kestner <[email protected]>
  6392. * ListView.cs: size the item and header controls for empty and
  6393. unscrollable views.
  6394. * ThemeWin32Classic.cs: draw disabled backgrounds.
  6395. [Fixes #79187]
  6396. 2006-08-28 Chris Toshok <[email protected]>
  6397. * Form.cs: remove unused "active_form" static field.
  6398. * Hwnd.cs: lock around accesses to static windows collection.
  6399. * Application.cs: lock threads in Exit ().
  6400. 2006-08-28 Chris Toshok <[email protected]>
  6401. * NativeWindow.cs: lock around accesses to window_collection.
  6402. 2006-08-28 Chris Toshok <[email protected]>
  6403. * Control.cs: err, fix this the right way, by locking on controls
  6404. when using it. not by making it synchronized.
  6405. 2006-08-28 Chris Toshok <[email protected]>
  6406. * Control.cs: make the static "controls" field synchronized, as it
  6407. gets updated from multiple threads.
  6408. 2006-08-27 Peter Dennis Bartok <[email protected]>
  6409. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  6410. Prevent other threads from exiting when calling thread sets quit state.
  6411. * XEventQueue.cs: Added PostQuitState property
  6412. 2006-08-27 Chris Toshok <[email protected]>
  6413. * AsyncMethodData.cs: add a slot for the window handle.
  6414. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  6415. window (the destination control's window, not the foster window).
  6416. * Control.cs (BeginInvokeInternal): store the window's handle in
  6417. the AsyncMethodData.
  6418. 2006-08-27 Peter Dennis Bartok <[email protected]>
  6419. * XplatUIX11.cs:
  6420. - PostQuitMessage: Removed resetting S.D display handle, we might have
  6421. another loop started after calling PostQuitMessage (Fixes #79119)
  6422. - Created destructor to reset S.D handle
  6423. 2006-08-27 Peter Dennis Bartok <[email protected]>
  6424. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  6425. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6426. * TextControl.cs (Insert): Update the caret position even if we don't
  6427. have a handle yet, just don't call the driver in that case.
  6428. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  6429. to the end of the new selection text (Fixes #79184)
  6430. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6431. * Form.cs (Activate): Only activate if the handle is created)
  6432. * Control.c:
  6433. - Mark window as invisible when it's disposed
  6434. - Check if window handle is created when setting window visible,
  6435. instead of relying just on the is_created variable
  6436. - Check if object is disposed when creating the control (Fixes #79155)
  6437. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6438. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  6439. when allowing layout again. Otherwise we re-generate the anchoring
  6440. distance to the border again and actually alter what the user wanted
  6441. This is ugly, it'd be better if we used DisplayRectangle instead of
  6442. ClientRectangle for Control.UpdateDistances, but that causes us to
  6443. have other problems (initial anchoring positons would be wrong)
  6444. (Fixes #78835)
  6445. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6446. * Control.cs:
  6447. - The size and location setters shouldn't go directly to
  6448. SetBoundsCore, but to SetBounds, which triggers layout on the
  6449. parent, then calls SetBoundsCore. (Related to fix for #78835)
  6450. - SetBounds: Moved actual location update code into this function
  6451. from SetBoundsCore, to match MS. Added call to PerformLayout if
  6452. we have a parent (to trigger resizing of anchored parents if the
  6453. child size has changed (see testcase for #78835)
  6454. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  6455. new control code
  6456. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  6457. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6458. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  6459. System.Drawing when a toplevel window gets closed; there might
  6460. be other toplevel windows belonging to the same app (Fixes #78052)
  6461. 2006-08-26 Alexander Olk <[email protected]>
  6462. * FileDialog.cs: After reading FileDialog settings from mwf_config
  6463. use Desktop prefix only if a real folder doesn't exist anymore.
  6464. * FontDialog.cs: Added char sets.
  6465. It is now possible to select the font, size or style with the
  6466. textboxes.
  6467. 2006-08-25 Kornél Pál <[email protected]>
  6468. * PrintPreviewDialog.cs: Use assembly name constants.
  6469. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6470. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  6471. scrollbar from whacking it's buttons)
  6472. 2006-08-24 Chris Toshok <[email protected]>
  6473. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  6474. in this patch (aggregating setting Left/Top/Width/Height to
  6475. setting Bounds on the scrollbars), but the crux of the fix is in
  6476. Recalculate, where we scroll by the remaining scroll_position if
  6477. we're hiding a scrollbar. The 2*$5 reward in the comment is
  6478. serious.
  6479. 2006-08-24 Jackson Harper <[email protected]>
  6480. * MdiClient.cs:
  6481. * MdiWindowManager.cs: If the form is made a non-mdi window we
  6482. need to remove the form closed event so that closing forms works
  6483. correctly.
  6484. 2006-08-24 Jackson Harper <[email protected]>
  6485. * Control.cs: Make IsRecreating internal so that the driver can
  6486. check it
  6487. - Temporarily remove the Hide when controls are removed, its
  6488. making a whole bunch of things not work because visibility isn't
  6489. getting reset elsewhere correctly
  6490. * Form.cs: Need to do a full handle recreation when the mdi parent
  6491. is set.
  6492. * XplatUIX11.cs: If we are recreating handles don't dispose the
  6493. HWNDs. What was happening is the handles were being recreated in
  6494. SendWMDestroyMessages, but then flow continued on in that method
  6495. and destroyed the new handles.
  6496. 2006-08-23 Jackson Harper <[email protected]>
  6497. * Form.cs: MdiClient is always at the back of the bus
  6498. * Control.cs: When the order of items in the collection is changed
  6499. we need to reset the all_controls array
  6500. - do the same sorta setup thats done when adding a control when a
  6501. control is set on the collection.
  6502. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6503. * TextBoxBase.cs (get_Text): Return an empty array if our document
  6504. is empty (fixes #79052)
  6505. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6506. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  6507. on WM_SYSCHAR messages (fixes #79053)
  6508. 2006-08-23 Chris Toshok <[email protected]>
  6509. * DataGrid.cs: fix flickering when scrolling vertically.
  6510. 2006-08-23 Chris Toshok <[email protected]>
  6511. * DataGrid.cs (EndEdit): only invalidate the row header when we
  6512. need to.
  6513. 2006-08-23 Chris Toshok <[email protected]>
  6514. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  6515. methods. fixes the flicker when scrolling around.
  6516. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6517. * FileDialog.cs: Making sure the control is created before we get a
  6518. chance to use it with BeginInvoke (Fixes #79096)
  6519. 2006-08-23 Chris Toshok <[email protected]>
  6520. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  6521. width to use when painting the rows.
  6522. 2006-08-23 Peter Dennis Bartok <[email protected]>
  6523. * TextBoxBase.cs:
  6524. - Throw ArgumentException if a negative value is passed to SelectionLength
  6525. - Update the selection end if start is moved. end needs to be always
  6526. after start. (Fixes #79095)
  6527. - Track selection length; MS keeps the selection length even if start
  6528. is changed; reset on all other operations affection selection
  6529. 2006-08-22 Jackson Harper <[email protected]>
  6530. * TreeView.cs: Make sure both scrollbars get displayed and sized
  6531. correctly when the other bar is visible.
  6532. - Use the original clip rectangle for checking if the area between
  6533. the two scrollbars is visible, not the viewport adjusted clipping
  6534. rectangle.
  6535. 2006-08-22 Jackson Harper <[email protected]>
  6536. * Binding.cs: We don't use IsBinding because it requires the
  6537. control to be created, which really shouldn't be necessary just to
  6538. set a property on the control.
  6539. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  6540. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  6541. ArgumentNullReferenceException when the argument is null.
  6542. 2006-08-21 Jackson Harper <[email protected]>
  6543. * Timer.cs: Track the thread that the timer is started in (NOT
  6544. CREATED), this way messages for it will only be triggered on its
  6545. queue.
  6546. * XEventQueue.cs: Track the timers here, this makes timers per
  6547. thread, like MS.
  6548. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  6549. 2006-08-19 Chris Toshok <[email protected]>
  6550. * XplatUIX11.cs: after further communication with pdb, we get the
  6551. best of both worlds. SetZOrder working for un-Mapped windows, and
  6552. no X errors for un-mapped windows.
  6553. 2006-08-19 Chris Toshok <[email protected]>
  6554. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  6555. as it was causing pdn toolbars to not have the correct stacking.
  6556. 2006-08-18 Mike Kestner <[email protected]>
  6557. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  6558. calculation. Not sure why control should ever be setting a negative
  6559. width though. Fixes #78931.
  6560. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  6561. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  6562. null items in ObjectCollection class.
  6563. * ListBox.cs.: Likewise.
  6564. 2006-08-18 Atsushi Enomoto <[email protected]>
  6565. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  6566. as the base method in ThemeWin32Classic should work fine.
  6567. Fixed bug #78607.
  6568. 2006-08-18 Jackson Harper <[email protected]>
  6569. * Binding.cs: When validating if the value entered doesn't convert
  6570. properly reset to the old value.
  6571. * RadioButton.cs: Don't fire click when we get focus.
  6572. 2006-08-18 Jackson Harper <[email protected]>
  6573. * FileDialog.cs: Paint the selection on the directory combobox the
  6574. same way as on MS.
  6575. 2006-08-17 Jackson Harper <[email protected]>
  6576. * ErrorProvider.cs: Don't allow the error control to be selected.
  6577. * Control.cs: Don't send the SetFocus messages, the control
  6578. activation will do this, and if we do it blindly here validation
  6579. does not work.
  6580. 2006-08-17 Jackson Harper <[email protected]>
  6581. * Control.cs:
  6582. * ContainerControl.cs: Make validation events fire in the correct
  6583. order. TODO: For some reason the first validation event is not
  6584. getting fired.
  6585. 2006-08-17 Mike Kestner <[email protected]>
  6586. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  6587. 2006-08-17 Mike Kestner <[email protected]>
  6588. * ComboBox.cs : implement scroll wheel support for popped-down
  6589. state. Fixes #78945.
  6590. 2006-08-17 Jackson Harper <[email protected]>
  6591. * TreeView.cs: Specify treeview actions (old patch that didn't get
  6592. committed for some reason).
  6593. - Don't let the mouse wheel scroll us too far. Just want to make
  6594. the bottom node visible, not scroll it all the ways to the top.
  6595. 2006-08-17 Jackson Harper <[email protected]>
  6596. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  6597. 2006-08-17 Mike Kestner <[email protected]>
  6598. * ComboBox.cs : don't do mouseover selection in simple mode.
  6599. 2006-08-16 Jackson Harper <[email protected]>
  6600. * Form.cs: Fire the closing events for all the mdi child windows
  6601. when a window is closed. If the cancel args are set to true, the
  6602. main window still gets the event fired, but it doesn't not close.
  6603. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  6604. handler, instead of when the button is clicked, so cancelling the
  6605. close works correctly.
  6606. * ComboBox.cs: Send the mouse down to the scrollbar.
  6607. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  6608. * ListBox.cs: When passing 'null' to SelectedItem,
  6609. set SelectedIndex to -1, to unselect items. This is the
  6610. observed behaviour in .Net.
  6611. 2006-08-16 Peter Dennis Bartok <[email protected]>
  6612. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  6613. MS flags saying there won't be any. (fixes #78800)
  6614. * Control.cs (HandleClick): Made virtual
  6615. 2006-08-16 Atsushi Enomoto <[email protected]>
  6616. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  6617. cultures. Fixed bug #78399.
  6618. 2006-08-16 Jackson Harper <[email protected]>
  6619. * Form.cs: Use the MdiClients MdiChildren property to access
  6620. MdiChildren instead of creating the array from the child controls.
  6621. * MdiClient.cs: Maintain a separate array of the mdi children, so
  6622. that insertion order is maintained when the Z-order is changed.
  6623. 2006-08-16 Mike Kestner <[email protected]>
  6624. * ListView.cs : add an ItemComparer and default to it for sorting.
  6625. Fixes #79076, but sorting needs a complete overhaul to be compat with
  6626. MS.
  6627. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6628. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  6629. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6630. * Hwnd.cs (Mapped): Properly traverse the tree
  6631. 2006-08-15 Chris Toshok <[email protected]>
  6632. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  6633. pass manager.Current.GetType() to ParseData. It has to be the
  6634. property type. So, hold off doing the ParseData until we're in
  6635. SetPropertyValue where we know the type. This fixes the crash in
  6636. #78821 but the textbox is still empty.
  6637. 2006-08-15 Chris Toshok <[email protected]>
  6638. * DataGrid.cs:
  6639. - when we're scrolling, only call Edit() again if the
  6640. current cell is still unobscured. Fixes bug #78927.
  6641. - when handling mousedown on a cell, ensure the cell is visible
  6642. before calling Edit.
  6643. - remove the properties from DataGridRow, and remove the
  6644. DataGridParentRow class altogether.
  6645. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6646. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  6647. fire OnTextChanged by ourselves. There's no point calling base,
  6648. we don't set the base value anywhere else. Fixes #78773.
  6649. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  6650. * ListBox.cs: Call CollectionChanged when modifying
  6651. an item from Items indexer, to update the actual items
  6652. in the list box.
  6653. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  6654. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  6655. to match .Net behaviour.
  6656. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6657. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  6658. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6659. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  6660. 2006-08-15 Peter Dennis Bartok <[email protected]>
  6661. * MessageBox.cs: Prevent potential NRE exception.
  6662. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  6663. 2006-08-14 Peter Dennis Bartok <[email protected]>
  6664. * MessageBox.cs: Calculate the owner of a messagebox, also make
  6665. it topmost. Fixes #78753
  6666. 2006-08-14 Chris Toshok <[email protected]>
  6667. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  6668. programmatically move windows. first, set the PPosition hint as
  6669. well as the USPosition hint. Second include some code from pdb
  6670. that sets the window type to NORMAL when we set the transient for
  6671. hint. This is because, in the absence of a window type, metacity
  6672. thinks any window with TransientFor set is a dialog, and refuses
  6673. to let us move it programmatically. fascists.
  6674. 2006-08-14 Peter Dennis Bartok <[email protected]>
  6675. * XplatUIX11.cs: When setting normal hints, take into consideration
  6676. an different hints previously set so we don't delete them (fixes #78866)
  6677. 2006-08-12 Chris Toshok <[email protected]>
  6678. * ToolBarButton.cs: make Layout return a boolean, if something to
  6679. do with the button's layout changed.
  6680. * ToolBar.cs:
  6681. - add another parameter to Redraw, @force, which all existing
  6682. calls set to true.
  6683. - make the Layout function return a boolean which is true if the
  6684. layout has actually changed. Redraw now uses this (and @force)
  6685. to determine when to invalidate. At present the only place
  6686. where @force can be false is the call from OnResize, when
  6687. background_image == null. So, resizing a toolbar when the
  6688. layout doesn't change results in no drawing.
  6689. 2006-08-12 Chris Toshok <[email protected]>
  6690. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  6691. the VScrollBar and HScrollbar reversed. oops.
  6692. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  6693. scrollbars. we were assigning them twice (once in
  6694. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  6695. therefore causing two scrollbar resizes (and redraws?) to happen
  6696. per grid resize.
  6697. 2006-08-12 Chris Toshok <[email protected]>
  6698. * ToolBarButton.cs: redraw the entire button if the theme tells us
  6699. to.
  6700. * Theme.cs: add ToolBarInvalidateEntireButton.
  6701. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  6702. buttons, just the border.
  6703. * ThemeNice.cs: redraw the entire toolbar button since we need to
  6704. draw the highlight image.
  6705. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  6706. we need to redraw the entire button (not just the border).
  6707. 2006-08-11 Peter Dennis Bartok <[email protected]>
  6708. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  6709. for vertical bars. Fixes the mismatches shown by #78513
  6710. 2006-08-11 Alexander Olk <[email protected]>
  6711. * FileDialog.cs: If a saved/remembered path doesn't exist
  6712. anymore, fall back to "Desktop".
  6713. 2006-08-11 Peter Dennis Bartok <[email protected]>
  6714. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  6715. parent. It's apparently legal to not have one
  6716. * XplatUIX11.cs:
  6717. - SetZOrder: Don't try to set Z-Order on an unmapped window
  6718. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  6719. it unless the coordinates are negative
  6720. 2006-08-10 Mike Kestner <[email protected]>
  6721. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  6722. when setting to null per msdn docs. Fixes #78854.
  6723. 2006-08-10 Chris Toshok <[email protected]>
  6724. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  6725. flickering by setting a clip rectangle on the Graphics when we
  6726. need to redraw just a particular menuitem. Also, rename "OnClick"
  6727. to "OnMouseDown" to reflect what it actually is.
  6728. * Form.cs: track the OnMouseDown change.
  6729. 2006-08-10 Peter Dennis Bartok <[email protected]>
  6730. * CommonDialog.cs: Properly inherit the CreateParams from the form
  6731. and only change what we need. Fixes #78865
  6732. 2006-08-10 Chris Toshok <[email protected]>
  6733. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  6734. flickering in flat mode (and most of the flickering in general) by
  6735. only invalidating the button border (and not the entire rectangle)
  6736. when the state changes. A couple of cases still flicker:
  6737. ToggleButtons, and the dropdown arrow case when the user mouse
  6738. ups.
  6739. 2006-08-10 Alexander Olk <[email protected]>
  6740. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  6741. for german keyboards. Numlock state shouldn't affect the behaviour
  6742. of the Del key. Fixes bug #78291.
  6743. 2006-08-10 Chris Toshok <[email protected]>
  6744. * ListControl.cs: remove the items.Clear line from BindDataItems,
  6745. as this is the first thing done by both subclasses in their
  6746. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  6747. passed -1, refresh the list. This gets databinding working when
  6748. the datasource is set on the list before the datasource is
  6749. populated (as in wf-apps/ReportBuilder.)
  6750. * ComboBox.cs: remove the argument to BindDataItems. This call
  6751. should really go away, and be initiated by the ListControl code.
  6752. * ListBox.cs: same.
  6753. 2006-08-09 Peter Dennis Bartok <[email protected]>
  6754. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  6755. if no data is in the document when the control is displayed
  6756. 2006-08-09 Peter Dennis Bartok <[email protected]>
  6757. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  6758. yes (fixes #78806)
  6759. * TextControl.cs:
  6760. - PositionCaret: Allow positioning of caret but don't call methods
  6761. requiring a handle if the window isn't created yet
  6762. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  6763. - owner_HandleCreated: Don't position the caret, just update it's
  6764. location. User might have already set a different position
  6765. 2006-08-09 Peter Dennis Bartok <[email protected]>
  6766. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  6767. windows. Screws up the returned coordinates for child windows.
  6768. Fixes #78825. I'm hoping this doesn't break something, since the
  6769. code was explicitly put in 8 months ago, but no bug was attached.
  6770. Menus still seem to work properly.
  6771. 2006-08-08 Chris Toshok <[email protected]>
  6772. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  6773. supposed to do - delay data binding until the EndInit call. Also,
  6774. make the table style collection's CollectionChangeAction.Refresh
  6775. work properly.
  6776. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  6777. (with action = Refresh) when a consituent table's MappingName is
  6778. changed.
  6779. 2006-08-08 Chris Toshok <[email protected]>
  6780. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  6781. Invalidate, since changing the text can change the size of the all
  6782. toolbar buttons.
  6783. 2006-08-08 Peter Dennis Bartok <[email protected]>
  6784. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  6785. we don't have it yet
  6786. 2006-08-08 Chris Toshok <[email protected]>
  6787. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  6788. dialog, as this causes X errors later on, since we actually
  6789. destroy the window. Instead, .Hide() it.
  6790. 2006-08-08 Peter Dennis Bartok <[email protected]>
  6791. * ComboBox.cs: Added focus reflection for popup window
  6792. * XplatUIX11.cs:
  6793. - Removed transient setting for non-app windows for now, not sure it
  6794. was needed
  6795. - Fixed logic checking if we have captions when deciding
  6796. override_redirect, WS_CAPTION is two bits and a 0 check was not
  6797. sufficient
  6798. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  6799. complicated
  6800. * Form.cs:
  6801. - AddOwnedForm: Don't just add the form to the list, call the property
  6802. to ensure the driver is informed about the ownership as well
  6803. - CreateHandle: Set the TopMost status in the driver if we have an owner
  6804. * XplatUI.cs: Fixed debug statement
  6805. 2006-08-08 Jonathan Pobst <[email protected]>
  6806. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  6807. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  6808. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  6809. TrackBarRenderer.cs: Make constructor private.
  6810. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  6811. * ProfessionalColorTable.cs: Make properties virtual.
  6812. 2006-08-06 Duncan Mak <[email protected]>
  6813. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  6814. is not changing.
  6815. 2006-08-04 Jonathan Pobst <[email protected]>
  6816. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  6817. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  6818. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  6819. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  6820. Initial import of new 2.0 classes.
  6821. 2006-08-04 Jonathan Pobst <[email protected]>
  6822. * Application.cs: Add 2.0 VisualStyles properties.
  6823. 2006-08-04 Jonathan Pobst <[email protected]>
  6824. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  6825. XplatUIX11.cs: Create property to allow access to existing private
  6826. variable "themes_enabled"
  6827. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  6828. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  6829. file size, as otherwise our class libraries fail using windows. Fixes
  6830. bug #78759.
  6831. 2006-08-04 Jackson Harper <[email protected]>
  6832. * Form.cs:
  6833. * XplatUIX11.cs: Move the toolwindow window manager creation into
  6834. the X11 driver, this way on win32 we can let windows create/handle
  6835. the toolwindows.
  6836. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  6837. * PrintDialog.cs: Remove some redundant checks, add some others,
  6838. clean some code, and move the focus to the text boxes when the
  6839. values are incorrect.
  6840. 2006-08-04 Alexander Olk <[email protected]>
  6841. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  6842. 2006-08-03 Alexander Olk <[email protected]>
  6843. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  6844. handled correctly. Fixes bug #79001.
  6845. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  6846. * PrintDialog.cs: The "Copies" numeric up down must have
  6847. set the Minimum property to 1; only if the value is bigger
  6848. than 1, activate "Collate" check box. This is the behaviour of .Net.
  6849. Also modify the Document elements only if it is not null.
  6850. 2006-08-03 Jackson Harper <[email protected]>
  6851. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  6852. length. (We have a larger array then actual node count).
  6853. 2006-08-03 Jackson Harper <[email protected]>
  6854. * ComboBox.cs: Don't show selection by default.
  6855. - The SelectAll isn't needed here, since the focus code should do
  6856. that
  6857. - DDL style lists to manual selection drawing, so when they
  6858. get/lose focus they have to invalidate.
  6859. 2006-08-03 Peter Dennis Bartok <[email protected]>
  6860. * TextBoxBase.cs: Don't always show all selections by default.
  6861. 2006-08-03 Jonathan Pobst <[email protected]>
  6862. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  6863. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  6864. Fixed various typos.
  6865. 2006-08-03 Alexander Olk <[email protected]>
  6866. * Control.cs: Removing the controls in a ControlCollection with
  6867. Clear now hides the controls as expected. Fixes bug #78804.
  6868. 2006-08-03 Jackson Harper <[email protected]>
  6869. * Control.cs: Revert previous focus patch, it breaks reflector.
  6870. 2006-08-03 Jackson Harper <[email protected]>
  6871. * ComboBox.cs: Cleanup selection and focus with the combobox.
  6872. This also eliminates some duplicated keyboard code, since now
  6873. everything is handled by the main class.
  6874. - Make list selection work on mouse up instead of down, to match
  6875. MS.
  6876. 2006-08-02 Jackson Harper <[email protected]>
  6877. * Control.cs: Setting focus needs to go through the whole
  6878. selection mechanism.
  6879. 2006-08-02 Chris Toshok <[email protected]>
  6880. * PrintPreviewDialog.cs: change MinimumSize to use
  6881. base.MinimumSize so it works.
  6882. 2006-08-02 Peter Dennis Bartok <[email protected]>
  6883. * TextControl.cs:
  6884. - UpdateCaret: Added sanity check in case caret isn't defined yet
  6885. - Line.Delete: Now updating selection and caret markers if we're
  6886. transfering a node (Properly fixes #78323)
  6887. - SetSelectionEnd: Added sanity check
  6888. * TextBoxBase.cs: Removed broken attempt to fix #78323
  6889. 2006-08-01 Chris Toshok <[email protected]>
  6890. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  6891. Close() call is handled in Form, not here.
  6892. 2006-08-01 Chris Toshok <[email protected]>
  6893. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  6894. layout/rendering.
  6895. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  6896. for sizes < 100% zoom. The code now aggressively attempts to keep
  6897. from calling document.Print (), and tries not to use the scaling
  6898. g.DrawImage whenever possible (it still does if you scale to >
  6899. 100%, since usually that involves huge images).
  6900. * PrintPreviewControl.cs: hook up the close button.
  6901. 2006-08-01 Jonathan Pobst <[email protected]>
  6902. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  6903. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  6904. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  6905. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  6906. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  6907. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  6908. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  6909. Removed [Serializable] for 2.0 Event Handlers.
  6910. 2006-07-31 Jackson Harper <[email protected]>
  6911. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  6912. * TextControl.cs: Uncomment out the body of this method.
  6913. 2006-07-31 Alexander Olk <[email protected]>
  6914. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  6915. standard cursors.
  6916. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6917. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  6918. that embed TextBox and need selections visible even if textbox is not
  6919. focused to enforce that behaviour.
  6920. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  6921. selection drawing
  6922. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6923. * TextControl.cs:
  6924. - Added new SetSelectionStart/SetSelectionEnd overloads
  6925. - Fixed viewport width assignment to be accurate
  6926. - Adjusted alignment line shift calculations to allow cursor on right
  6927. aligned lines to be always visible at the right border (like MS)
  6928. * TextBoxBase.cs:
  6929. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  6930. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  6931. - CalculateScrollBars: Use ViewPort size instead of window size, to
  6932. properly consider space occupied by the border and scrollbars
  6933. (Fixes #78661)
  6934. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  6935. calculations; no longer leaves artifacts
  6936. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  6937. calculation bugs (Still missing right/center align calculations)
  6938. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6939. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  6940. use of both scroll rect and clip rect, as they do the same.
  6941. 2006-07-31 Peter Dennis Bartok <[email protected]>
  6942. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  6943. in the event handler (fixes #78912)
  6944. 2006-07-31 Chris Toshok <[email protected]>
  6945. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  6946. grid.ListManager.Count, since grid.ListManager might be null.
  6947. This of course begs the question "why are we drawing rows for a
  6948. grid with no list manager (and therefor no rows)?" Fixes the
  6949. crash in bug #78929.
  6950. 2006-07-31 Chris Toshok <[email protected]>
  6951. * RelatedPropertyManager.cs: Don't always chain up to the parent
  6952. ctor. instead, call SetDataSource if the parent's position is !=
  6953. -1. Fixes the crash in #78822.
  6954. 2006-07-31 Chris Toshok <[email protected]>
  6955. * DataGrid.cs (get_ListManager): use field instead of property
  6956. accessors for datasource and datamember.
  6957. (RowsCount): make internal again.
  6958. (OnMouseDown): end edits before resizing columns/rows.
  6959. (OnMouseUp): restart edits after resizing columns/rows.
  6960. 2006-07-30 Peter Dennis Bartok <[email protected]>
  6961. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  6962. This fixes the situation where the last set cursor is displayed
  6963. whenever the mouse is over scrollbars.
  6964. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  6965. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  6966. Document properties, as well as initial values.
  6967. 2006-07-29 Peter Dennis Bartok <[email protected]>
  6968. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  6969. and ClientEdge results in a 3-pixel border, which is
  6970. wrong.
  6971. 2006-07-28 Jackson Harper <[email protected]>
  6972. * TreeNodeCollection.cs: Fix the clear method.
  6973. - Fix the Shrink also
  6974. 2006-07-27 Jackson Harper <[email protected]>
  6975. * TreeView.cs: Make sure the visible order is computed when we
  6976. attempt to size the scrollbars (for trees that mess with the
  6977. scrolling when they shouldn't.
  6978. - Make sure to give the scrollbars valid values.
  6979. 2006-07-26 Peter Dennis Bartok <[email protected]>
  6980. * XplatUIX11.cs: Move motion compression code to where it
  6981. has less performance impact
  6982. 2006-07-26 Jackson Harper <[email protected]>
  6983. * UpDownBase.cs: When the control is selected make the child
  6984. controls non selectable, so that a click on them won't do a
  6985. focus/unfocus cycle.
  6986. - Don't give focus to the text box when the spinner is selected.
  6987. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  6988. 2006-07-26 Chris Toshok <[email protected]>
  6989. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  6990. satisfied with this solution. If the bitmaps are small, we should
  6991. just cache them in the PrintPreviewDialog and draw them here.
  6992. Also, the layout is broken for the 2-up and 3-up cases.
  6993. * Theme.cs: add PrintPReviewControlPaint.
  6994. * PrintPreviewDialog.cs: first pass implementation.
  6995. * PrintPreviewControl.cs: first pass implementation. No
  6996. scrollbars yet.
  6997. * PrintDialog.cs: only validate fields if that particular portion
  6998. of the UI is enabled. Also, set the document's controller to a
  6999. PrintControllerWithStatusDialog wrapping the document's print
  7000. controller.
  7001. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  7002. bring up a SaveFileDialog (i hope we don't want to match the
  7003. behavior of the crappy windows file entry) and set the
  7004. PrinterSettings.PrintFileName accordingly.
  7005. 2006-07-26 Jackson Harper <[email protected]>
  7006. * ContainerControl.cs: Add a field that disables auto selecting
  7007. the next control in a container when the container is activated.
  7008. * UpDownBase.cs: Don't select the text box when the up down is
  7009. selected.
  7010. 2006-07-26 Peter Dennis Bartok <[email protected]>
  7011. * XEventQueue.cs: Added methods for peeking (used for compression
  7012. of successive events)
  7013. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  7014. mouse move events (fixes #78732)
  7015. 2006-07-25 Jackson Harper <[email protected]>
  7016. * UpDownBase.cs: Use an internal class for the textbox so that we
  7017. can control focus. the updown control should always have focus,
  7018. if either the text area or the buttons are clicked.
  7019. - Send the key messages to the textbox, since it never actually
  7020. has focus
  7021. - Activate and decativate the textbox caret.
  7022. 2006-07-24 Jackson Harper <[email protected]>
  7023. * Control.cs: Use the directed select when selecting a control,
  7024. this way the container controls override will get called and the
  7025. whole ActiveControl chain will get triggered. TODO: probably need
  7026. to make sure this gets done everywhere instead of the old
  7027. Select(Control).
  7028. * ContainerControl.cs: Implement the directed Select method to
  7029. find and activate the correct child control.
  7030. 2006-07-22 Mike Kestner <[email protected]>
  7031. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  7032. menu handling code so that clicks without a grab work too.
  7033. [Fixes #78914]
  7034. 2006-07-22 Alexander Olk <[email protected]>
  7035. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  7036. Added some small optimizations.
  7037. 2006-07-21 Matt Hargett <[email protected]>
  7038. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  7039. 2006-07-21 Peter Dennis Bartok <[email protected]>
  7040. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  7041. tests pass and match MS in some strange border cases.
  7042. 2006-07-21 Chris Toshok <[email protected]>
  7043. * ThemeWin32Classic.cs: handle drawing of the relation links and
  7044. parent row buttons.
  7045. * Theme.cs: change args to DataGridPaintParentRow.
  7046. * DataGrid.cs: Don't use controls for the relation links and
  7047. parent buttons, so we have to handle all their interactions in
  7048. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  7049. when we're navigating through child tables, so we can reinstate
  7050. selection, expanded state, current cell, etc.
  7051. 2006-07-20 Chris Toshok <[email protected]>
  7052. * ToolBar.cs: When we redraw a button, for whatever reason,
  7053. there's no reason to redraw the entire toolbar. Also, don't call
  7054. Control.Refresh from within Redraw, as it's much heavier than
  7055. Invalidate (which is really what we want).
  7056. 2006-07-20 Chris Toshok <[email protected]>
  7057. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  7058. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  7059. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  7060. traces from within a debug IBindingList datasource
  7061. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  7062. to work in a similar fashion.
  7063. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  7064. * ListBox.cs: Don't call Sort () when setting
  7065. the Sorted property to false (avoid an unnecessary sort).
  7066. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  7067. * ListControl.cs: DataSource should throw an ArgumentException
  7068. instead of a normal exception when the argument is not of the
  7069. correct type.
  7070. 2006-07-20 Mike Kestner <[email protected]>
  7071. * Control.cs: add InternalPreProcessMessage to allow us to steal
  7072. key events before MWF gets its paws on them. Adapted from a
  7073. suggestion by eno.
  7074. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  7075. up/down/left/right navigation. Override the new internal control
  7076. method to steal the events since they never make it to WndProc.
  7077. * ToolBarButton.cs: don't worry about pushed when setting hilight
  7078. since the drawing code prefers pushed to hilight. Invalidate on
  7079. Hilight changes. Fixes #78547 and #78525.
  7080. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7081. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  7082. the canvas size. Fixes #78868
  7083. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7084. * Splitter.cs: Track requested split position until first layout
  7085. is performed. Fixes #78871
  7086. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7087. * Application.cs: Removed code that forces 1.x for the version
  7088. number if the version started with 0. Not sure why that code was
  7089. there and I couldn't find any bugs that indicated we needed it.
  7090. Fixes #78869
  7091. 2006-07-20 Alexander Olk <[email protected]>
  7092. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  7093. ResetDefaults(), just write some output to the console until it's
  7094. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  7095. 2006-07-19 Jonathan Chambers <[email protected]>
  7096. * PropertyGridView.cs: set StartPosition of drop down forms
  7097. so they appear in correct initial spot. Fixes #78190.
  7098. 2006-07-19 Mike Kestner <[email protected]>
  7099. * ThemeWin32Classic.cs: use parent background color when drawing
  7100. flat toolbars. Restructure the conditionals to make sure non-flat
  7101. non-Divider toolbars are filled too. Fixes #78837.
  7102. 2006-07-19 Mike Kestner <[email protected]>
  7103. * ListBox.cs: Sort on collection changes even if the handle
  7104. isn't created yet. Fixes #78813.
  7105. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  7106. * ListControl.cs: DisplayMember should never be null,
  7107. and now we assign String.Empty when null is passed to it (this
  7108. is the .Net way).
  7109. 2006-07-17 Mike Kestner <[email protected]>
  7110. * ListViewItem.cs: restructure Font and subitem Font handling
  7111. to hold a specific font and refer back to owner on null.
  7112. Fixes #78761.
  7113. 2006-07-17 Mike Kestner <[email protected]>
  7114. * ToolBar.cs: bandaid for side-effect of previous patch which was
  7115. discarding explicit heights for non-AutoSize toolbars. Need to
  7116. extend my format tester to deal with AutoSize=false. Fixes #78864.
  7117. 2006-07-15 Jackson Harper <[email protected]>
  7118. * LabelEditTextBox.cs:
  7119. * TreeView.cs: Use a new LabelEdit class for node editing, this
  7120. class automatically 'closes' itself when it gets the enter key or
  7121. loses focus.
  7122. - Use the client rectangle when setting the trees scrollbars, so
  7123. border style is taken into account.
  7124. 2006-07-14 Jackson Harper <[email protected]>
  7125. * TreeNode.cs:
  7126. * TreeView.cs: Make the editing work similar to MSs, firing the
  7127. events correctly and ending edits correctly.
  7128. 2006-07-14 Mike Kestner <[email protected]>
  7129. * ToolBarButton.cs:
  7130. * ToolBar.cs: layout restructuring and redraw enhancements to support
  7131. formatting changes gracefully, like setting TextAlign, ImageList,
  7132. ButtonSize, and Appearance. Handles explicit button sizing quirks
  7133. of the MS controls. Things like flat toolbars ignoring button size
  7134. but becoming constant sized at the largest button's size. Normal
  7135. toolbars with an image set cannot be shrunk smaller than the image,
  7136. but text can be clipped/ignored.
  7137. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  7138. is zero. Seems like DrawString should be smart enough to not put
  7139. anything on screen though. Also trim labels and ellipsize at the char
  7140. boundary, not word.
  7141. Fixes #78711 and #78483.
  7142. 2006-07-14 Alexander Olk <[email protected]>
  7143. * FolderBrowserDialog.cs: Disable "New Folder" button and
  7144. "New Folder" contextmenu menuitem if a folder like "My Computer"
  7145. is selected.
  7146. 2006-07-14 Alexander Olk <[email protected]>
  7147. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  7148. * FolderBrowserDialog.cs:
  7149. - Use MWFConfig to store and read size and position settings
  7150. - Added code to create a new folder (button or context menu).
  7151. Use TreeView labeledit to change the name of the new folder.
  7152. 2006-07-14 Jackson Harper <[email protected]>
  7153. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  7154. when the tree is scrolled we end editing.
  7155. 2006-07-14 Alexander Olk <[email protected]>
  7156. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  7157. Down arrows
  7158. 2006-07-14 Jonathan Pobst <[email protected]>
  7159. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  7160. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  7161. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  7162. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  7163. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  7164. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  7165. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  7166. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  7167. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  7168. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  7169. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  7170. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  7171. ListViewItemSelectionChangedEventHandler.cs,
  7172. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  7173. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  7174. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  7175. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  7176. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  7177. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  7178. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  7179. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  7180. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  7181. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  7182. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  7183. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  7184. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  7185. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  7186. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  7187. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  7188. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  7189. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  7190. WebBrowserNavigatingEventHandler.cs,
  7191. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  7192. 2006-07-14 Jonathan Pobst <[email protected]>
  7193. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  7194. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  7195. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  7196. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  7197. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  7198. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  7199. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  7200. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  7201. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  7202. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  7203. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  7204. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  7205. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  7206. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  7207. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  7208. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  7209. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  7210. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  7211. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  7212. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  7213. ListViewItemStates.cs, MaskFormat.cs: Added
  7214. 2006-07-13 Jonathan Chambers <[email protected]>
  7215. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  7216. Patch from eno for bug 78558.
  7217. 2006-07-13 Jackson Harper <[email protected]>
  7218. * TreeView.cs: When an edit is finished make sure that the
  7219. selected node is visible.
  7220. - When setting the top/bottom use the scrollbars is_visible, so
  7221. everything will be set correctly even if the tree isn't visible
  7222. yet.
  7223. 2006-07-13 Jackson Harper <[email protected]>
  7224. * ComboBox.cs: Revert the item->index part of my previous patch.
  7225. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  7226. the edit box has lost focus (duh).
  7227. - Just make the edit box not visible when we get return, that will
  7228. take the focus, which will call EndEdit
  7229. * TreeNode.cs When we start editing, notify the treeview.
  7230. 2006-07-12 Jackson Harper <[email protected]>
  7231. * ComboBox.cs: Clear out old items before setting the item list.
  7232. This prevents databound controls from having their items added
  7233. twice.
  7234. - Switch the combobox to use indices whereever possible instead of
  7235. using Item's. This allows usto navigate through lists that have
  7236. more then one item with the same string value (ie a, b, b, a).
  7237. - Scroll the listboxes scrollbar when a non visible item is
  7238. highlighted
  7239. - Allow keypress to cycle through all the possible values. For
  7240. example if you have b1, b2, b3 and hold down the B key all the
  7241. values will be cycled through.
  7242. 2006-07-12 Jackson Harper <[email protected]>
  7243. * TextBoxBase.cs:
  7244. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  7245. this using the internal methods.
  7246. * Control.cs: Add OnGotFocusInternal. A new method that allows
  7247. controls to "override" OnGotFocus and change focus behavior if
  7248. needed.
  7249. - Same thing for LostFocus
  7250. * ComboBox.cs: Pass off focus to the text control properly.
  7251. 2006-07-12 Alexander Olk <[email protected]>
  7252. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  7253. * FolderBrowserDialog.cs: Almost a complete rewrite.
  7254. - Better support for Environment.Specialfolders
  7255. - Added support for MWFVFS
  7256. - Made setting SelectedPath work
  7257. 2006-07-12 Jackson Harper <[email protected]>
  7258. * Control.cs: Optimze getting all the controls.
  7259. 2006-07-11 Jackson Harper <[email protected]>
  7260. * ContainerControl.cs: Override SETFOCUS in the container control,
  7261. so that it is not selected on mouse click.
  7262. 2006-07-11 Peter Dennis Bartok <[email protected]>
  7263. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  7264. Hopefully we will have a better way once all of focus is complete.
  7265. 2006-07-11 Peter Dennis Bartok <[email protected]>
  7266. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  7267. a compile error with csc.
  7268. 2006-07-11 Jackson Harper <[email protected]>
  7269. * Control.cs: When hiding a control only select the next control
  7270. if the current control was focused.
  7271. - Don't handle enter/leave when setting/killing focus, this is
  7272. done by the container control.
  7273. - Remove is_selected, it's not needed anymore.
  7274. - Add utility methods for selecting a child control, and for
  7275. firing the Enter/Leave events.
  7276. * ContainerControl.cs: When a control is activated fire the
  7277. enter/leave events.
  7278. - Don't wrap when processing the tab key, so that focus can be
  7279. moved outside of the container.
  7280. - Use the correct active control
  7281. 2006-07-11 Jackson Harper <[email protected]>
  7282. * ComboBox.cs: Remove some debug code that was blinding me.
  7283. * UpDownBase.cs: These controls actually aren't implicit, they are
  7284. visible to the user.
  7285. 2006-07-10 Chris Toshok <[email protected]>
  7286. * DataGrid.cs: move back to the is_adding boolean field. god i
  7287. hate this is_editing/is_adding/is_changing stuff.
  7288. 2006-07-10 Chris Toshok <[email protected]>
  7289. * DataGridTableStyle.cs: just check if the property type is bool.
  7290. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  7291. Don't use CanRenderType.
  7292. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  7293. if our text == NullText. Remove CanRenderType.
  7294. * DataGridBoolColumn.cs: nuke CanRenderType.
  7295. * DataGrid.cs: reenable some code to end the current edit inside
  7296. of set_CurrentCell. This fixes the other 1.1.16 regression.
  7297. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  7298. Also, remove the visible_row_count arg from CalcRowHeaders, since
  7299. we don't need to worry about the actual height of the area.
  7300. 2006-07-10 Chris Toshok <[email protected]>
  7301. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  7302. mode, just return.
  7303. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  7304. the real sense of the IsInEditOrNavigateMode property (true =
  7305. navigate, false = edit). Also, update OnKeyPress to reflect this.
  7306. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  7307. column style exists, we still need to set its property descriptor
  7308. to match up with our list manager.
  7309. 2006-07-10 Chris Toshok <[email protected]>
  7310. * ThemeWin32Classic.cs: implement the new row/header painting
  7311. approach. The parent row painting will likely go away and
  7312. replaced with label controls, but the rest seems to work ok (and
  7313. efficiently).
  7314. * Theme.cs: change the way we draw datagrid rows. we don't draw
  7315. the row headers as a block now. Instead we draw them in the
  7316. normal draw-row loop. Add some calls for drawing parent rows and
  7317. relation rows.
  7318. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  7319. a default table style. Set the defaults from ThemeEngine.Current,
  7320. not SystemColors. Fix lots of misc issues with property setters.
  7321. * DataGrid.cs: move loads of style information out of this class
  7322. as it's being duplicated with DataGridTableStyle. keep track of a
  7323. special DataGridTableStyle for the properties we used to mirror
  7324. here. Switch all the style properties to access this table style
  7325. instead of instance fields of this class. Also add a internal
  7326. class to represent parent rows (more needs to be stored here, like
  7327. the selection state from the parent table, as well as the
  7328. expansion state.) Also, for datasources with relations, do the
  7329. right thing for collapse/expand, and add support for the
  7330. navigation/parent row buttons.
  7331. Lastly, fix the crash in the 1.1.16 build.
  7332. * GridTableStylesCollection.cs: make the explicit interface
  7333. implementations call the class's methods as opposed to duplicating
  7334. them.
  7335. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  7336. 0 so the text doesn't jump around when we move the cursor.
  7337. 2006-07-10 Jackson Harper <[email protected]>
  7338. * TextBoxBase.cs:
  7339. * ListBox.cs: Match MS's ToString (this makes debugging focus
  7340. stuff infinitely easier).
  7341. 2006-07-10 Jackson Harper <[email protected]>
  7342. * Control.cs (SelectNextControl): When checking the control's
  7343. parent use this instead of ctrl.parent so that null can be passed
  7344. to SelectNextControl. (I have unit tests for this).
  7345. - Remove unused var.
  7346. 2006-07-10 Chris Toshok <[email protected]>
  7347. * CurrencyManager.cs: correct one regression, the removal of the
  7348. finalType field. Also, add a MonoTODO on CanAddRows, implement
  7349. Refresh() correctly, and fix some event emission in
  7350. ListChangedHandler.
  7351. 2006-07-07 Alexander Olk <[email protected]>
  7352. * FileDialog.cs: Don't use brackets for new folders if they exist
  7353. under *nix. Instead use -(number of existing folders +1).
  7354. 2006-07-07 Alexander Olk <[email protected]>
  7355. * FileDialog.cs:
  7356. - Fixed really nasty bug #78771
  7357. - Don't block the whole GUI when reading directories with a lot of
  7358. entries. Use an other thread instead and call BeginInvoke to
  7359. update the ListView in MWFFileView
  7360. 2006-07-07 Chris Toshok <[email protected]>
  7361. * Control.cs (Dispose): release any Capture when disposing.
  7362. 2006-07-07 Chris Toshok <[email protected]>
  7363. * LinkLabel.cs (Select): if we chain up to the parent, set
  7364. focused_index to -1 so we'll search for the first available link
  7365. the next time the user tabs into us. Also, if the direction is
  7366. backward and focused_index == -1, start the search from the last
  7367. element.
  7368. 2006-07-07 Chris Toshok <[email protected]>
  7369. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  7370. is beyond the end of the text, don't do anything.
  7371. (CreateLinkPieces): set our ControlStyles.Selectable based on
  7372. whether or not we have any links.
  7373. (Link.Invalidate): use a loop instead of foreach.
  7374. (Link.set_Start): null out owner.sorted_links so it'll be
  7375. recreated by CreateLinkPieces.
  7376. 2006-07-06 Chris Toshok <[email protected]>
  7377. * LinkLabel.cs: revert the SetStyle change.
  7378. 2006-07-06 Chris Toshok <[email protected]>
  7379. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  7380. (OnEnableChanged): s/Refresh/Invalidate
  7381. (OnGotFocus): if we have a focused index already, refocus it (so
  7382. if we mouse out/in to the window it'll focus the right link).
  7383. (OnKeyDown): move the tab handling out of here.
  7384. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  7385. when we lose focus.
  7386. (OnMouseDown): don't Capture here - Control handles it. Also,
  7387. focus the active link.
  7388. (OnMouseUp): don't deal with Capture.
  7389. (OnPaintBackgroundInternal): remove.
  7390. (OnTextAlignChanged): CreateLinkPieces before calling the
  7391. superclass's method.
  7392. (OnTextChanged): call CreateLinkPieces before calling superclass's
  7393. method.
  7394. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  7395. move around.
  7396. (Select): implement this, moving the selection between different
  7397. links, and call parent.SelectNextControl if we don't have another
  7398. link to focus in the given direction.
  7399. (CreateLinkPieces): call Invalidate instead of Refresh.
  7400. 2006-07-06 Chris Toshok <[email protected]>
  7401. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  7402. new LinkLabel internals.
  7403. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  7404. over pieces looking for active/focused/etc links. also, deal with
  7405. runs of text (and links) with embedded \n's in them, and use
  7406. MeasureCharacterRanges instead of MeasureString to figure out the
  7407. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  7408. two-step.
  7409. 2006-07-04 Jackson Harper <[email protected]>
  7410. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  7411. XKB or key auto repeat, do it manually. Without key auto repeat,
  7412. when a key is held down we get key press, key release, key press,
  7413. key release, ... with auto repeat we get key press, key press, key
  7414. press ..., and then a release when the key is actually released.
  7415. 2006-07-03 Jackson Harper <[email protected]>
  7416. * TabControl.cs:
  7417. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  7418. rules, they are always control color regardless of the background
  7419. color.
  7420. 2006-07-02 Alexander Olk <[email protected]>
  7421. * FileDialog.cs: Added internal class MWFConfig.
  7422. Removed Registry support and replaced it with support for the new
  7423. MWFConfig class. See MWFConfig comments for more information.
  7424. 2006-06-30 Alexander Olk <[email protected]>
  7425. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  7426. rectangle. Added some patches from eno from bug #78490 and fixed
  7427. the arrow position for small up and down CPDrawScrollButtons.
  7428. 2006-06-30 Jackson Harper <[email protected]>
  7429. * InternalWindowManager.cs: Remove some debug code.
  7430. * Form.cs: When an MdiParent is set to null, the window is
  7431. "detatched" and becomes a normal window.
  7432. * MdiClient.cs: Don't bring the new child form to the front until
  7433. it is activated (setting it as active does this), this makes the
  7434. previously active forms titlebar get redrawn as inactive.
  7435. 2006-06-29 Peter Dennis Bartok <[email protected]>
  7436. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  7437. with later controls
  7438. 2006-06-29 Mike Kestner <[email protected]>
  7439. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  7440. arrow in keynav state. Fixes #78682.
  7441. 2006-06-28 Atsushi Enomoto <[email protected]>
  7442. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  7443. order (fixes #78393)
  7444. 2006-06-28 Jonathan Pobst <[email protected]>
  7445. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  7446. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  7447. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  7448. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  7449. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  7450. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  7451. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  7452. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  7453. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  7454. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  7455. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  7456. values)
  7457. 2006-06-28 Mike Kestner <[email protected]>
  7458. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  7459. 2006-06-28 Atsushi Enomoto <[email protected]>
  7460. * PropertyGrid.cs,
  7461. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  7462. item lines from other area (It also makes BackColor consistent and
  7463. compatible with .NET). Fixed bug #78564.
  7464. 2006-06-28 Jonathan Chambers <[email protected]>
  7465. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  7466. Patch from Eno for #78555.
  7467. 2006-06-27 Chris Toshok <[email protected]>
  7468. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  7469. * DataGridColumnStyle.cs: same.
  7470. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  7471. * DataGridDrawingLogic.cs: nuke.
  7472. 2006-06-27 Chris Toshok <[email protected]>
  7473. * DataGridTableStyle.cs: clean up the constructors, and build the
  7474. list of child relations for this table. I have no idea if this is
  7475. where we should be doing it (it probably isn't), but since we're
  7476. already iterating over the properties..
  7477. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  7478. struct and array for keeping track of row information, similar to
  7479. what's shown in a hack on
  7480. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  7481. * Theme.cs: be consistent about the naming of DataGrid methods,
  7482. prefering ColumnWidths and RowHeights over columnsWidths and
  7483. RowsHeights.
  7484. * ThemeWin32Classic.cs: same, and also add support for variable
  7485. sized rows (and the +/- expansion icons for related rows).
  7486. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7487. * TextBoxBase.cs: Applied Eno's patch from #78660
  7488. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7489. * Form.cs (ScaleCore): We don't want to scale our form if it's
  7490. state is minimized or maximized, but we still need to scale our
  7491. child windows. Also, added try/finally block to ensure layout
  7492. gets reset (Fixes #78697)
  7493. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7494. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  7495. 2006-06-27 Peter Dennis Bartok <[email protected]>
  7496. * Form.cs: Fixed c+p error and added check to resize form if minimum
  7497. size is bigger than current size (Fixes #78709)
  7498. 2006-06-26 Peter Dennis Bartok <[email protected]>
  7499. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  7500. 2006-06-26 Mike Kestner <[email protected]>
  7501. * ComboBox.cs: only do Keypress handling in the combo when there
  7502. are items in the collection. Fixes #78710.
  7503. 2006-06-26 Chris Toshok <[email protected]>
  7504. * Binding.cs: make this work bi-directionally. also, clear up
  7505. other mixups between Push/Pull Data (e.g. we're supposed to pull
  7506. data when validating).
  7507. * BindingManagerBase.cs: trim some fully qualified collection
  7508. types.
  7509. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  7510. 2006-06-23 Chris Toshok <[email protected]>
  7511. * PropertyManager.cs: It appears (according to the unit tests)
  7512. that PropertyManager doesn't use
  7513. PropertyDescriptor.AddValueChanged to track propery value changes
  7514. in its datasource, but uses the same scheme as Binding, where it
  7515. looks for a <Property>Changed event and binds to it.
  7516. Also, according to the docs, IsSuspended always returns false for
  7517. a property manager with a non-null datasource.
  7518. 2006-06-22 Peter Dennis Bartok <[email protected]>
  7519. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  7520. need to update the actual DialogResult. (Fixes #78613)
  7521. 2006-06-22 Peter Dennis Bartok <[email protected]>
  7522. * Form.cs (ShowDialog): Release any captures before running the
  7523. new message pump (fixes #78680)
  7524. 2006-06-22 Mike Kestner <[email protected]>
  7525. * ListView.cs: Layout column widths properly in details mode even
  7526. if HeaderStyle.None is set. Fixes #78691.
  7527. 2006-06-21 Peter Dennis Bartok <[email protected]>
  7528. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  7529. 2006-06-21 Peter Dennis Bartok <[email protected]>
  7530. * Control.cs (ContainsFocus): Using new driver method to get focused
  7531. window, instead of trying to use internal tracking var, which can
  7532. recursion issues (Fixes #78685)
  7533. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7534. XplatUIWin32.cs: Added GetFocus method to return focused window
  7535. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  7536. * ColorDialog.cs: when the mouse button is pressed inside the color
  7537. matrix, don't let the cursor move out of it until the button is
  7538. released, which is the behavior on windows. Changed 'colours' by
  7539. 'colors' to use the same word consistently.
  7540. 2006-06-21 Chris Toshok <[email protected]>
  7541. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  7542. child relation and back, using a stack). Also, remove
  7543. GetDataSource and the code that calls it - it's not needed. Also,
  7544. track CurrencyManager.ListName's removal.
  7545. 2006-06-21 Chris Toshok <[email protected]>
  7546. * CurrencyManager.cs: push some of the original type checking from
  7547. BindingContext.CreateBindingManager to here, and remove some of
  7548. the finalType stuff. Need more tests to make sure I've got the
  7549. ListName part right, and we might need more in SetDataSource.
  7550. * PropertyManager.cs: add a ctor that takes just the datasource,
  7551. and no property name. Make SetDataSource work with a null
  7552. property_name, and make Current return the data_source if the
  7553. property descriptor is null. this makes 'string foo = "hi";
  7554. BindingContext[foo].Current' return "hi" as it should.
  7555. * RelatedCurrencyManager.cs: make this code more generic - there's
  7556. no reason the parent manager has to be CurrencyManager, and
  7557. there's no reason to pass the DataRelation. It suffices to use a
  7558. BindingManagerBase and PropetyDescriptor.
  7559. * RelatedPropertyManager.cs: make a similar change here.
  7560. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  7561. flower I knew it could be.
  7562. 2006-06-20 Chris Toshok <[email protected]>
  7563. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  7564. data in the source has changed and we need to update the control,
  7565. so s/PullData/PushData.
  7566. * CurrencyManager.cs: Refresh is meant to update the control from
  7567. data in the datasource. So, s/PullData/PushData.
  7568. * BindingContext.cs: add more ugliness (we weren't handling the
  7569. case where data_source = DataTable and data_member = column_name).
  7570. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  7571. from the perspective of the datasource. PullData pulls from the
  7572. control, PushData pushes to the control.
  7573. 2006-06-20 Chris Toshok <[email protected]>
  7574. * BindingContext.cs: rewrite the CreateBindingManager code to
  7575. handle navigation paths more or less properly. This could
  7576. definitely stand some more work, in particular to push the
  7577. recursion up to the toplevel. But that relies on fixes in other
  7578. places (System.Data comes to mind).
  7579. Also, move to a flat hashtable (and encode the twolevel nature of
  7580. the dictionary into the hash key). This lets us implement the
  7581. IEnumerable.GetEnumerator method.
  7582. * RelatedCurrencyManager.cs: new class. Update our view based on
  7583. our relation and our parent CurrencyManager's position.
  7584. * CurrencyManager.cs: split out some logic from the ctor into
  7585. SetView, so it can be called from the new RelatedCurrencyManager
  7586. subclass.
  7587. * RelatedPropertyManager.cs: new class. Update our datasource
  7588. based on the position of our parent CurrencyManager.
  7589. * PropertyManager.cs: split out some logic from the ctor into
  7590. SetDataSource, so it can be called from the new RelatedDataSource
  7591. subclass. Also, make the Current getter return the value
  7592. of the PropertyDescriptor, not the data_source.
  7593. * Binding.cs: no need to duplicate the string splitting code here.
  7594. 2006-06-19 Peter Dennis Bartok <[email protected]>
  7595. * Control.cs:
  7596. - set_Enabled: OnEnabledChanged is not called if the inherited state
  7597. of the control is not altered, even though we might be changing the
  7598. internal state of the control (#78458)
  7599. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  7600. OnEnabledChanged, to allow easy altering of any child window state
  7601. - OnEnabledChanged: Added code to enable/disable driver window state
  7602. - OnParentEnabledChanged: Instead of firing the event, call
  7603. OnEnabledChanged, which will fire the event and also a) set driver
  7604. window state and pass the enabled state to any grandchildren (#78458)
  7605. 2006-06-19 Jackson Harper <[email protected]>
  7606. * InternalWindowManager.cs: We don't set the cursor explicitly
  7607. thats done via the response to NCHITTESTs.
  7608. - Don't need to adjust for titlebar heights anymore, the
  7609. coordinates are coming in the correct coordinates now (see peters
  7610. last patch).
  7611. 2006-06-19 Peter Dennis Bartok <[email protected]>
  7612. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  7613. being translated relative to whole window, instead of client window.
  7614. That caused broken offsets on mouseclick (and caused gas for our
  7615. InternalWindowManager)
  7616. 2006-06-15 Peter Dennis Bartok <[email protected]>
  7617. * TextControl.cs:
  7618. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  7619. - Undo(): Added replay of cursor move on DeleteChars action; added
  7620. calling Undo() again if a recorded cursor move is invalid (to
  7621. ensure that some action is performed on Undo)
  7622. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  7623. 2006-06-16 Jackson Harper <[email protected]>
  7624. * MdiClient.cs: Instead of just sizing maximized windows when
  7625. there is a resize we also have to adjust the Y of minimized
  7626. windows, so they stay pinned to the bottom of the mdi container.
  7627. - Eliminate separate tracking of the active control, we can just
  7628. get this from the controls collection.
  7629. - Paint the decorations for the newly activated titlebar so we get
  7630. a pretty blue bar.
  7631. * InternalWindowManager.cs:
  7632. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  7633. even if they are a tool window.
  7634. 2006-06-15 Peter Dennis Bartok <[email protected]>
  7635. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  7636. undo buffer, these can happen when text was deleted and the cursor
  7637. was recorded first. Since we will also have a recorded cursor
  7638. after the delete this is not an issue. (Fixes #78651)
  7639. 2006-06-14 Peter Dennis Bartok <[email protected]>
  7640. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  7641. instead properly track control states internally (allows us to
  7642. remove is_selected from Control)
  7643. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  7644. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  7645. whose width is not a multiple of 8.
  7646. 2006-06-13 Jackson Harper <[email protected]>
  7647. * MdiClient.cs: Only maximize the next child if the current one
  7648. is maximized.
  7649. 2006-06-13 Chris Toshok <[email protected]>
  7650. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  7651. modified. Also, guard against grid or grid_drawing being null in
  7652. Invalidate.
  7653. * DataGrid.cs: Reformat tons of getters/setters. In the
  7654. DataMember setter, just call SetNewDataSource instead of
  7655. duplicating some of its functionality. In SetNewDataSource, don't
  7656. check ListManager for null, since the property getter creates the
  7657. object if needed.
  7658. * DataGridTableStyle.cs: don't set TableStyle or call
  7659. SetDataGridInternal on the column here, it's done in
  7660. GridColumnStylesCollection.Add.
  7661. * GridColumnStylesCollection.cs: fix all the explicit interface
  7662. implementations to just call our methods. Nuke AddInternal() and
  7663. move the body of it to Add(). Also, add a call to
  7664. column.SetDataGridInternal to Add().
  7665. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  7666. base()+duplicate code. Also, use the Format property instead of
  7667. format to generate an Invalidate ala MS. Lastly, create the
  7668. textbox here, unconditionally.
  7669. (set_Format): call Invalidate.
  7670. (get_TextBox): no need to call EnsureTextBox.
  7671. (Commit): remove the message box.
  7672. (Edit) remove the call to EnsureTextBox.
  7673. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  7674. (EnterNullValue): no need to check textbox for null.
  7675. (HideEditBox): no need to check textbox for null.
  7676. (SetDataGridInColumn): add the textbox to the grid's controls.
  7677. (EnsureTextBox): nuke.
  7678. 2006-06-13 Jackson Harper <[email protected]>
  7679. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  7680. and redraw the buttons when needed. Unhook when the window is
  7681. unmaximized.
  7682. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  7683. needs this so that it can redraw its buttons when the menu is
  7684. repainted.
  7685. * InternalWindowManager.cs:
  7686. * Form.cs: The method order has changed for DrawMaximizedButtons,
  7687. so that it can be a PaintEventHandler.
  7688. 2006-06-13 Jackson Harper <[email protected]>
  7689. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  7690. window is activated and maximized, even if it wasn't before.
  7691. - When a new window is activated repaint the decorations of the
  7692. old one, so that it no longer has the Active "look" (the blue
  7693. titlebar).
  7694. * InternalWindowManager.cs: Open up CreateButtons to base classes
  7695. so they can recreate the buttons on state changes.
  7696. - If a window is maximized give it all three buttons
  7697. * MdiWindowManager.cs: Create the titlebar buttons when the state
  7698. is changed, this is needed because a toolwindow will not have all
  7699. three buttons until it is maximized.
  7700. 2006-06-13 Atsushi Enomoto <[email protected]>
  7701. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  7702. Fixed bug #78609.
  7703. 2006-06-12 Jackson Harper <[email protected]>
  7704. * KeysConverter.cs: Make sure we handle the Ctrl special case
  7705. if its the only key.
  7706. 2006-06-12 Jackson Harper <[email protected]>
  7707. * Theme.cs: Add a method to get the size of a managed window
  7708. toolbar button.
  7709. * InternalWindowManager.cs: Remove the ButtonSize property, this
  7710. should be retrieved from the theme.
  7711. * MdiWindowManager.cs: Get the button size from the theme
  7712. * ThemeWin32Classic.cs: Make the method to get the managed window
  7713. titlebar button size public.
  7714. - Handle the different button sizes of maximized toolwindows
  7715. (should match any maximized window).
  7716. - Get the titlebar height from the theme, not the WM (which gets
  7717. it from the theme).
  7718. 2006-06-12 Jackson Harper <[email protected]>
  7719. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  7720. event down to the mdi window manager.
  7721. - Expose some extra stuff to base classes
  7722. - Make sure to end the Capture on an NC Mouse up, so that we can
  7723. get double clicks properly, and the sizing doens't stick.
  7724. - When doing PointToClient contain it in the workable desktop
  7725. area, this prevents windows from changing size when the cursor is
  7726. pulled outside of the working area while sizing.
  7727. * MdiWindowManager.cs: When we get a double click maximize the
  7728. window.
  7729. - Reset the cursor after handling mode changes.
  7730. 2006-06-12 Peter Dennis Bartok <[email protected]>
  7731. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  7732. current desktop, instead of just assuming a 0, 0 origin. This
  7733. is needed for our internal window manager, to know the top
  7734. margin of the desktop
  7735. 2006-06-12 Chris Toshok <[email protected]>
  7736. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  7737. we need this to get rid of the selected background in the bool
  7738. column.
  7739. (CancelEditing): move the ConcedeFocus call to above the Abort
  7740. call. Also, set is_changing to false and invalidate the row
  7741. header if we were changing before.
  7742. (ProcessKeyPreviewInternal): remove, since noone outside this
  7743. class calls it anymore. Roll the code into ProcessKeyPreview.
  7744. (EndEdit): remove the internal version.
  7745. (InvalidateCurrentRowHeader): make private.
  7746. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  7747. Keys.Escape handling (and with it the last call to
  7748. DataGrid.EndEdit from outside the class.)
  7749. 2006-06-12 Chris Toshok <[email protected]>
  7750. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  7751. (OnKeyPress): set isedit to true.
  7752. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  7753. already handled by the grid.
  7754. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  7755. right. ugh.
  7756. (set_DataSource): SetDataSource always returns true, so stop
  7757. putting it in an if statement.
  7758. (EndEdit): get rid of some {}'s
  7759. (ProcessGridKey): return true in case Keys.Escape.
  7760. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  7761. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  7762. PositionChanged, stopped connecting to CurrentChanged.
  7763. (GetDataSource): simplify this a bunch.
  7764. (SetDataSource): change return type from bool to void.
  7765. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  7766. to this, and make sure we don't set ListManager.Position inside
  7767. set_CurrentCell.
  7768. (OnListManagerItemChanged): if we're passed an actual index,
  7769. redraw that row.
  7770. * CurrencyManager.cs (set_Position): don't call PullData here.
  7771. 2006-06-09 Jackson Harper <[email protected]>
  7772. * TreeNode.cs: Recalculate the visible order before doing the
  7773. Expand/Collapse Below calls, because those calls generate an
  7774. expose.
  7775. - Reduce calls to the TreeView property, which is mildly expensive
  7776. by using a local var.
  7777. * Form.cs: Layout the MDI child windows when creating the parent
  7778. form.
  7779. - Don't use the internal constructor anymore
  7780. * MdiClient.cs: use the parent form width/height (if available)
  7781. when laying out the child windows, we do this because the
  7782. mdiclient isn't docked yet when the initial layout is done.
  7783. - Don't need an internal constructor anymore.
  7784. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  7785. * FileDialog.cs: handle access errors when trying to create a folder
  7786. or changing to a directory. No need to initialize out parameters.
  7787. 2006-06-08 Alexander Olk <[email protected]>
  7788. * FileDialog.cs: Append a number when creating a new folder if the
  7789. folder already exists (use parenthesis instead of square brackets)
  7790. 2006-06-08 Alexander Olk <[email protected]>
  7791. * FileDialog.cs:
  7792. - Disabled registry support for windows and added better registry
  7793. error checking for other systems (need to investigate why it
  7794. works perfectly on my system)
  7795. - If a folder already exist show an error MessageBox instead of
  7796. trying to create an indexed name.
  7797. - Fixed a non intentional typo.
  7798. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  7799. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  7800. 2006-06-08 Alexander Olk <[email protected]>
  7801. * FileDialog.cs: When creating a new folder don't crash if the
  7802. folder already exists.
  7803. 2006-06-08 Alexander Olk <[email protected]>
  7804. * FileDialog.cs: Allmost a complete rewrite.
  7805. - added a "virtual" file system that handles the differences
  7806. between unix and windows file systems (especially the directory
  7807. structure). Moved most of the directory and file handling code
  7808. into the vfs.
  7809. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  7810. UnixFileSystem and FSEntry.
  7811. - Recently used folder/directory, size, location and used file names
  7812. (file name ComboBox) are now stored in the registry and get read
  7813. before the dialog shows up (fixes part 6 of bug #78446).
  7814. - Creation of new folders/directories is now possible (context menu
  7815. or ToolBar). Added TextEntryDialog for this that fills in the gap
  7816. until ListView.LabelEdit works.
  7817. - Fixed cursor handling (bug #78527) and focus handling for
  7818. PopupButtonPanel
  7819. - Various "Search in" ComboBox enhancements. The content of the
  7820. dropdown listbox now almost matches ms.
  7821. - Changed the behaviour when the user switches to SpecialFolder
  7822. Recent to show the ListView in View.Details.
  7823. - Beside using the ToolBar to change the View property of the
  7824. file ListView it is now possible to use the context menu too.
  7825. 2006-06-08 Alexander Olk <[email protected]>
  7826. * ComboBox.cs: Don't create a new ObjectCollection when an item
  7827. gets inserted. Just insert the item in the existing object_items
  7828. ArrayList.
  7829. 2006-06-08 Jackson Harper <[email protected]>
  7830. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  7831. that the treeview and root node checks are done also, this fixes a
  7832. regression i caused in the unit tests.
  7833. 2006-06-07 Wade Berrier <[email protected]>
  7834. * RichTextBox.cs: More ISO8859-1 -> unicode
  7835. 2006-06-07 Mike Kestner <[email protected]>
  7836. * ComboBox.cs : use items to hold highlight/selection so that
  7837. collection insertions don't require synchronization.
  7838. 2006-06-07 Jackson Harper <[email protected]>
  7839. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  7840. routine. We now always keep the sized edge at the cursor instead
  7841. of computing movement and adjusting rects. There is one buglet
  7842. with this method though when the cursor is moved over area that
  7843. the window can not expand too (such as the toolbars on the desktop).
  7844. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  7845. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  7846. here. Fixes crash on startup in AlbumSurfer.
  7847. 2006-06-07 Peter Dennis Bartok <[email protected]>
  7848. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  7849. values
  7850. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  7851. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  7852. statement to avoid calling XNextEvent which will block if another thread
  7853. took the event that we were expecting. Fixes bug #78605.
  7854. 2006-06-07 Mike Kestner <[email protected]>
  7855. * ListView.cs : isolated checkbox clicking from the selection logic.
  7856. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  7857. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  7858. * Form.cs: Check that the value passed to Form.DialogResult
  7859. is a valid enum value.
  7860. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  7861. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  7862. Computer'. Clicking it in the network view goes to 'My Computer'.
  7863. Added CIFS filesystem type. Display the mount point of filesystems.
  7864. Avoid duplicate mount points (happens for me with CIFS);
  7865. 2006-06-06 Jackson Harper <[email protected]>
  7866. * InternalWindowManager.cs: Draw the maximized windows buttons
  7867. when resizing.
  7868. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  7869. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  7870. all other dialogs. Fixes bug #78585.
  7871. 2006-06-06 Mike Kestner <[email protected]>
  7872. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  7873. Only invalidate checkbox on checkstate changes to avoid flicker.
  7874. * ListBox.cs : avoid unselect/select when clicking selected item.
  7875. avoid reselection flicker for already multiselected items.
  7876. Fixes #78382.
  7877. 2006-06-06 Jackson Harper <[email protected]>
  7878. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  7879. the parent form so that the menu is removed if needed.
  7880. 2006-06-06 Mike Kestner <[email protected]>
  7881. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  7882. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  7883. 2006-06-06 Mike Kestner <[email protected]>
  7884. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  7885. 2006-06-06 Jackson Harper <[email protected]>
  7886. * Control.cs: Use the property (instead of the field) to get the
  7887. default cursor so it is instantiated correctly.
  7888. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  7889. resizes so we need to manually repaint the window decorations here.
  7890. - Set the titlebar button locations as soon as they are created,
  7891. otherwise they are not set correctly on win32.
  7892. 2006-06-06 Chris Toshok <[email protected]>
  7893. * CurrencyManager.cs (set_Position): call PullData before
  7894. OnCurrentChanged.
  7895. (AddNew): after calling IBindingList.AddNew, update our
  7896. listposition, and call OnCurrentChanged/OnPositionChanged (without
  7897. calling PullData).
  7898. (OnCurrentChanged): remove the call to PullData from here.
  7899. (OnItemChanged): remove the call to PushData from here.
  7900. (OnPositionChanged): change the test from == null to != null to
  7901. match the other methods.
  7902. (ListChangedHandler): the grossest part of the patch. Implement
  7903. this such that it passes the unit tests in CurrencyManagerTest and
  7904. the output more or less matches that of MS's implementation.
  7905. 2006-06-06 Mike Kestner <[email protected]>
  7906. * ListView.cs : only update check state on single click.
  7907. * ThemeWin32Classic.cs : fix focus drawing for details view without
  7908. fullrowselect. Fixes #78454.
  7909. * XplatUIX11.cs : fix for double click emission.
  7910. 2006-06-05 Jonathan Chambers <[email protected]>
  7911. * PropertyGridView.cs : Applied Atsushi's patch to fix
  7912. font dialog bug (#78197).
  7913. 2006-06-05 Jackson Harper <[email protected]>
  7914. * TreeNode.cs: Compute the next node for expanding/collapsing
  7915. correctly. We now factor in nodes without a NextNode
  7916. correctly. (Fixes somes cases in nunit-gui).
  7917. * InternalWindowManager.cs: Set the bounds when updating the
  7918. virtual position of a tool window.
  7919. 2006-06-05 Chris Toshok <[email protected]>
  7920. * DataGrid.cs: rename cached_currencymgr to list_manager.
  7921. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  7922. some.
  7923. (CurrentRow, CurrentColumn): single accessors so we can make the
  7924. cursor movement code a lot easier to understand.
  7925. (CurrentRowIndex): implement this in terms of CurrentRow.
  7926. (BeginEdit): clean this up a bit.
  7927. (CancelEditing): sort out the is_editing/is_changing/is_adding
  7928. stuff a little.
  7929. (EndEdit): minor changes.
  7930. (OnKeyDown): add a comment about a (most likely) unnecessary
  7931. check.
  7932. (OnMouseDown): cancel editing when we click on a row header. And
  7933. use the CurrentRow setter, not CurrentCell.
  7934. (ProcessDialogKey): directly call ProcessGridKey.
  7935. (UpdateSelectionAfterCursorMove): factor out this common block of
  7936. code (it's used everywhere that we move the cursor by updating row
  7937. or column).
  7938. (ProcessGridKey): pretty substantial overhaul. Use the
  7939. CurrentRow/CurrentColumn properties to make the code a lot more
  7940. readable. Only use the CurrentCell property when we have to
  7941. modify both row and column at once. Tab behavior is still broken,
  7942. and Delete is untested.
  7943. (Select): if we have no selected rows, set selection_start to
  7944. @row.
  7945. (EditCurrentCell): rename EditCell this. It was only ever invoked
  7946. with CurrentCell as the arg, so drop the arg and rename it.
  7947. * DataGridColumnStyle.cs: clean up the constructors a little, and
  7948. drop CommonConstructor().
  7949. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  7950. actually get notified when the user hits it.
  7951. (ProcessKeyMessage): *substantially* simplify this method.
  7952. There's no reason (that I can see) for the textbox to be making
  7953. calls into the datagrid at all. Remove all of them but the ones
  7954. for Enter handling. those will take some more work.
  7955. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  7956. calling HideEditBox.
  7957. (HideEditBox): if we have an active textbox, render it invisible
  7958. without causing a re-layout of the datagrid.
  7959. 2006-06-05 Mike Kestner <[email protected]>
  7960. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  7961. collection changes by resetting it to Items[0]. Fixes #78587.
  7962. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  7963. * MessageBox.cs: if the height of the text is larger than the icon_size,
  7964. use that. Fixes bug #78575.
  7965. 2006-06-05 Jackson Harper <[email protected]>
  7966. * TreeView.cs: Fix line drawing when scrolling. To do this each
  7967. node is basically responsible for drawing its entire horizontal
  7968. area. When drawing a node it draws its parent node lines if
  7969. needed.
  7970. - Adjust the clip area to the viewport rectangle
  7971. - Fix Left/Right key handling to match MS. (It expand/collapses
  7972. and moves to parents/first child but does not move selection to
  7973. sibling nodes).
  7974. - Fix SetTop to work with new bound calculation code
  7975. - When scrollbars are no longer needed we need to reset scrolling
  7976. vars and recalculate the visible order so the redraw is correct
  7977. * TreeNode.cs: We can't expand/collapse nodes with no children.
  7978. 2006-06-03 John Luke <[email protected]>
  7979. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  7980. so the colors work without dev packages
  7981. 2006-06-02 Peter Dennis Bartok <[email protected]>
  7982. * Control.cs
  7983. - Select: Implemented to just use activate. Seems to match MS
  7984. behaviour closest. Documented to only do actual control walking
  7985. based on it's parameters if in a container control so I moved
  7986. the code there.
  7987. - Removed selection check logic from our internal Select() method
  7988. * ContainerControl.cs:
  7989. - Select: Moved selection logic from Control here, since MS documents
  7990. that containers obey the bool arguments. No longer calling base
  7991. 2006-06-02 Jackson Harper <[email protected]>
  7992. * TreeView.cs: If the selected node isn't changed when we get
  7993. focus update the previously selected node so that we see the
  7994. selection box.
  7995. 2006-06-02 Mike Kestner <[email protected]>
  7996. * ComboBox.cs: restructure grab and general mouse event handling.
  7997. Make the composite control raise mouse events like it was a single
  7998. control for leaves/enters/motion/up/down events. fix dropdown list
  7999. coordinate mangling and refactor it into the scrollbar subclass to
  8000. reduce code duplication. Fixes #78282 #78361 and #78457.
  8001. 2006-06-02 Mike Kestner <[email protected]>
  8002. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  8003. automatically in the Control.WndProc.
  8004. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  8005. * FileDialog.cs: fix crash when running SharpChess, which sets the
  8006. FilterIndex to 2 with only one Filter.
  8007. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  8008. * ToolBar.cs: add SizeSpecified property.
  8009. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  8010. try to figure out our real size, otherwise fallback to what the
  8011. container says.
  8012. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8013. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  8014. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  8015. up the event
  8016. 2006-06-01 Mike Kestner <[email protected]>
  8017. * ListView.cs: revamp the focus management in ListView. It still
  8018. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  8019. better than not handling focus at all. Will revisit when pdb feels
  8020. the general focus handling is solid. Fixes #78526.
  8021. 2006-06-01 Jackson Harper <[email protected]>
  8022. * TreeView.cs: Set the default border style in the constructor.
  8023. - Move painting to use OnPaintInternal instead of capturing
  8024. WM_PAINT, this is the correct way of doing things
  8025. - UpdateBelow shouldn't invalidate the scrollbar area
  8026. - Cap the top on update below in case the node was above the top
  8027. of the viewport rectangle.
  8028. - ExpandBelow and Collapse below need to obey Begin/End Update.
  8029. * TreeNode.cs: Make is_expanded internal so the treenode
  8030. collection can change it without firing the whole event chain.
  8031. * TreeNodeCollection.cs: When clearing all the child nodes make
  8032. sure to recalc the visible order.
  8033. - Improve algo for remove the top node
  8034. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8035. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  8036. SendMessage directly calling window procedures, which in turn might
  8037. call SetFocus()
  8038. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8039. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  8040. has focus (works around X11 sending a FocusIn after our SetFocus)
  8041. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  8042. 2006-06-01 Alexander Olk <[email protected]>
  8043. * Mime.cs: Fix for the NET_2_0 build.
  8044. NameValueCollection needs StringComparer now.
  8045. 2006-05-31 Chris Toshok <[email protected]>
  8046. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  8047. return (via an out parameter) the starting X of the column.
  8048. (UpdateVisibleColumn): track change to FromPixelToColumn.
  8049. (HitTest): add a ColumnResize case here.
  8050. (DrawResizeLine): new function, probably poorly named.
  8051. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  8052. only need to keep one reference.
  8053. (set_ListManager): same.
  8054. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  8055. Also, add support for HitTestType.ColumnResize.
  8056. (OnMouseMove): add column resize behavior here, and change the
  8057. cursor to the correct one as we move around the datagrid.
  8058. (OnMouseUp): terminate the column resize if we're resizing.
  8059. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  8060. for the current cell.
  8061. (ConnectListManagerEvents): use cached_currencymgr.
  8062. (DisconnectListManagerEvents): fill this in, using
  8063. cached_currencymgr.
  8064. (SetCurrentCell): remove cached_currencymgr_events handling.
  8065. (SetDataMember): only call DisconnectListManagerEvents if
  8066. cached_currencymgr is != null.
  8067. (SetDataSource): same.
  8068. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  8069. cached_currencymgr.
  8070. 2006-05-31 Jackson Harper <[email protected]>
  8071. * BindingManagerBase.cs: Remove somedebug code that creeped into
  8072. SVN.
  8073. * TreeNode.cs: We get the indent level dynamically right now, so
  8074. don't track it as a member.
  8075. * TreeNodeCollection.cs: Make sure all nodes added to the list
  8076. have parents, treeviews/topnodes setup properly.
  8077. - Don't attempt to track indent level.
  8078. 2006-05-30 Jackson Harper <[email protected]>
  8079. * BindingContext.cs: Create the currency manager tables here.
  8080. This allows us to more easily create null tables (when bad data
  8081. members are used), and more easily create related currency
  8082. managers.
  8083. * CurrencyManager.cs: All the table creation stuff is done by the
  8084. binding context now.
  8085. - Current should throw an exception if listposition is -1.
  8086. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  8087. been bound yet.
  8088. 2006-05-30 Mike Kestner <[email protected]>
  8089. * ListView.cs: allow reexpansion of zero-width column headers.
  8090. Fixes #78528.
  8091. 2006-05-28 Chris Toshok <[email protected]>
  8092. * CurrencyManager.cs (get_Current): after the late binding
  8093. listposition = -1 fix, we need to guard against it here and return
  8094. null, otherwise we raise an exception (which is swallowed
  8095. elsewhere, and breaks datagrid databinding.)
  8096. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8097. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  8098. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  8099. 2006-05-26 Jackson Harper <[email protected]>
  8100. * ControlPaint.cs:
  8101. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  8102. values, it's faster and it's all we care about (we don't care if
  8103. the names aren't equal).
  8104. * KeyboardLayouts.cs: Eliminate some dead code.
  8105. - Lazy init things
  8106. * X11Keyboard.cs: Lazy init keyboard detection.
  8107. - Cleanup access modifiers a little.
  8108. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8109. * XplatUIX11.cs: Once again, attempting to get layout just right.
  8110. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8111. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  8112. the sizes of each link section, that will result in sizes that
  8113. match DrawString's layout (Fixes #78391)
  8114. 2006-05-27 Alexander Olk <[email protected]>
  8115. * FileDialog.cs: If AddExtension property is true autocomplete the
  8116. extensions in SaveFileDialog correctly. Fixes bug #78453.
  8117. Set MyNetwork and MyComputer to "C:\" for windows. This should
  8118. fix part 8 of bug #78446 for now.
  8119. 2006-05-26 Chris Toshok <[email protected]>
  8120. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  8121. invalidate the current row header if we need to, but presumably
  8122. we'll invalidate the row corrsponding to the bounds or
  8123. editingControl.
  8124. (GridHScrolled): switch back to this method, as it's part of the
  8125. public api. *sigh*.
  8126. (GridVScrolled): same.
  8127. (OnMouseWheel): hack up something that more or less works. Call
  8128. GridHScrolled/GridVScrolled directly, instead of duplicating much
  8129. of their code here.
  8130. (EnsureCellVisibility): reinstate a bunch of this code, since we
  8131. can't just set the scrollbar Value and expect to do all the work
  8132. in the ValueChanged handler. Also, Call Update() after scrolling
  8133. in one direction so the other XplatX11.ScrollWindow call has the
  8134. proper stuff in the proper places.
  8135. (EditCell): set is_editing to true before calling .Edit.
  8136. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  8137. don't bother comparing first.
  8138. (OnKeyPress): call grid.ColumnStartedEditing before calling
  8139. base.OnKeyPress. this will set is_changing and invalidate the row
  8140. header if necessary.
  8141. (ProcessKeyMessage): for WM_CHAR messages, call
  8142. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  8143. and WM_KEYDOWN.
  8144. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  8145. it's done in the DataGrid.
  8146. (NextState): call grid.ColumnStartedEditing, which takes care of
  8147. invalidating the row header (and setting is_changing).
  8148. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  8149. here. it's done in the DataGrid.
  8150. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  8151. * Control.cs: allow changing the cursor when the mouse position is
  8152. out of bounds but Capture is set.
  8153. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  8154. linklabel but released somewhere else.
  8155. 2006-05-25 Jackson Harper <[email protected]>
  8156. * TreeView.cs: When we get focus if there is no selected node make
  8157. it the top node
  8158. - Remove some uneeded setup code from Draw.
  8159. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  8160. a new node is inserted make the new node the top.
  8161. * XplatUIX11.cs:
  8162. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  8163. be used (should be faster).
  8164. 2006-05-25 Chris Toshok <[email protected]>
  8165. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  8166. problem with the last commit.
  8167. 2006-05-25 Chris Toshok <[email protected]>
  8168. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  8169. need the invalidate call here, while scrolling right-to-left via
  8170. the left arrow key (i.e. moving the editing cell while scrolling).
  8171. * DataGrid.cs (.ctor): remove the initialization of
  8172. ctrl_pressed/shift_pressed. We no longer track them using key
  8173. up/down handlers, but by using Control.ModifierKeys. Also, switch
  8174. to using ValueChanged handlers on the scrollbars instead of
  8175. Scrolled event handlers. This simplifies a bunch of the scrolling
  8176. code.
  8177. (GridHValueChanged): rename from GridHScrolled, and change it to
  8178. work with the new event args.
  8179. (GridVValueChanged): same.
  8180. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  8181. (OnMouseWheel): actually scroll the datagrid. Don't change the
  8182. selected cell.
  8183. (ProcessGridKey): correct all the keyboard navigation stuff I
  8184. could find. Ctrl up/down/left/right/home/end work now.
  8185. (EnsureCellVisibility): correct method name spelling. Also,
  8186. simplify this a touch by not explicitly calling the
  8187. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  8188. scrollbar value.
  8189. (OnKeyUpDG): no need for this method now.
  8190. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  8191. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  8192. Fixes bug #78392.
  8193. 2006-05-25 Chris Toshok <[email protected]>
  8194. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  8195. r61019.
  8196. 2006-05-25 Peter Dennis Bartok <[email protected]>
  8197. * Application.cs: Moved setting of is_modal and closing to before
  8198. we create the control, to allow the event handlers called as a
  8199. result of creation affect closing. Also removed Gonzalo's previous
  8200. change to setting DialogResult, the behaviour has been moved to
  8201. Form.ShowDialog()
  8202. * Form.cs:
  8203. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  8204. handle it instead
  8205. - ShowDialog(): If no dialog result is set, we need to return Cancel
  8206. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  8207. the close is cancelled
  8208. 2006-05-25 Jackson Harper <[email protected]>
  8209. * StatusBar.cs: We only need to update the sizes of the other
  8210. panels when we have auto size contents. Also we are only updating
  8211. the contents of the panel, not the borders, so compensate for the
  8212. border width (TODO: get this width from the theme somehow).
  8213. * TreeView.cs: Scrollable is true by default
  8214. - Use invalidate instead of refresh where needed
  8215. - Factor the scrollable value into scrollbar updating
  8216. - Update the scrollbars if the Scrollable property is altered
  8217. - Update the selected node if its ImageIndex is changed
  8218. - Handle null nodes in UpdateNode (mainly so we don't have to
  8219. check if selected is null when updating it
  8220. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  8221. are factored into the visible count
  8222. - Use VisibleCount for clarity in the code
  8223. - When the font is changed we need to recurse through all the
  8224. nodes and invalidate their sizes
  8225. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  8226. * Application.cs: set the DialogResult to fixed when the main form is
  8227. hidden or destroyed while being modal.
  8228. 2006-05-25 Miguel de Icaza <[email protected]>
  8229. * Theme.cs: Use Tangoified messagebox icons.
  8230. (GetSizedResourceImage): Also cope with width = 0 and do not
  8231. trigger a warning in that case (0 means "give me your icon from
  8232. the resouce, no special size needed).
  8233. 2006-05-25 Peter Dennis Bartok <[email protected]>
  8234. * Application.cs: Leave runloop if the the main modal form is
  8235. hidden (fixes #78484)
  8236. 2006-05-25 Atsushi Enomoto <[email protected]>
  8237. * BindingContext.cs : reject null datasource in Contains() and
  8238. Item[].
  8239. * CurrencyManager.cs : check data_member validity when data_source
  8240. is dataset. When it is late binding, the initial position is -1.
  8241. 2006-05-24 Jackson Harper <[email protected]>
  8242. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  8243. inserted nodes that aren't visible. This changes the
  8244. max_visible_order which confuses scrollbar settings.
  8245. - Use the enumerator to get the prev node instead of duplicating
  8246. code.
  8247. * TreeView.cs: Use new method for setting scrollbar values
  8248. - Don't set the bounds every time the scrollbar is updated
  8249. - When updating below the root node use an invalidate instead of a
  8250. refresh to prevent the child controls (scrollbars) from being
  8251. refreshed. (UpdateBelow still needs to be reworked anyways).
  8252. - Reenable SetBottom now that visible orders are set correctly,
  8253. added some debug code incase we ever get bad values there again.
  8254. - Set the scrollbar max to 2 less then the max value, this
  8255. compensates for the max value being one above the node count, and
  8256. for scrollbars adding one extra "notch".
  8257. - When drawing image nodes if there is an imagelist we draw the
  8258. first image in the list if the supplied image index is out of the
  8259. image list's bounds.
  8260. 2006-05-24 Peter Dennis Bartok <[email protected]>
  8261. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  8262. we receive a size change from the WM (Fixes #78503)
  8263. 2006-05-24 Peter Dennis Bartok <[email protected]>
  8264. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  8265. rectangle (Fixes #78501)
  8266. 2006-05-24 Peter Dennis Bartok <[email protected]>
  8267. * ButtonBase.cs:
  8268. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  8269. as a bitfield.
  8270. - Fixed MouseMove to no longer switch pressed state unless the left
  8271. mouse button is pressed. Atsushi provided the original patch (#78485)
  8272. 2006-05-24 Jackson Harper <[email protected]>
  8273. * ScrollBar.cs: New internal methods that allow us to change a
  8274. couple values on the scrollbar (the most common case is maximum
  8275. and large change) without getting multiple invalidates.
  8276. 2006-05-24 Chris Toshok <[email protected]>
  8277. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  8278. (Edit): save off the original state in oldState, and set
  8279. grid.is_editing to true.
  8280. (OnKeyDown): abort editing if escape is pressed. also, call
  8281. NextState if space is pressed.
  8282. (OnMouseDown): call NextState.
  8283. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  8284. here. Also, only invalidate the row header once (on the initial
  8285. is_changing switch) to save on redraws.
  8286. 2006-05-24 Chris Toshok <[email protected]>
  8287. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  8288. if the value in the cell is different than it was before. This
  8289. keeps us from triggering a layout when we move around a datarid
  8290. with a highlighted cell.
  8291. (Edit): suspend layout when creating/positining the text box, and
  8292. resume passing false so we don't ever actually re-layout.
  8293. (ReleaseHostedControl): same.
  8294. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  8295. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  8296. control-key sequences should go to the datagrid - remove that
  8297. lock. Also, modify the conditions under which we move between
  8298. cells when moving the cursor within a cell, and remove the "this"
  8299. and "base" from field accesses. We weren't even consistent, given
  8300. they all were in the base class.
  8301. 2006-05-24 Atsushi Enomoto <[email protected]>
  8302. * Binding.cs : (.ctor)
  8303. An obvious NRE fix for BindingTest.CtorNullTest().
  8304. 2006-05-23 Chris Toshok <[email protected]>
  8305. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  8306. them between lines. This fixes some quirks editing cells in the
  8307. datagrid.
  8308. 2006-05-23 Jackson Harper <[email protected]>
  8309. * TreeView.cs: Use begin/end update when doing expand/collapse all
  8310. so that we don't get flicker on the scrollbar.
  8311. 2006-05-23 Jackson Harper <[email protected]>
  8312. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  8313. treenode calculations to be independant of the painting code. To
  8314. do this nodes track a visible order which is calculated by the
  8315. treeview.
  8316. - Call new methods for expanding/collapsing nodes. These methods
  8317. use scrollwindow so we don't have to update everything below the
  8318. node.
  8319. * TreeView.cs: Refactored drawing and scrolling code. We don't
  8320. need to update nodes when drawing anymore or calculate scrollbar
  8321. stuff.
  8322. - Added new methods for expanding/collapsing nodes. These methods
  8323. use ScrollWindow so as to not have to redraw all the nodes below.
  8324. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  8325. we add/remove nodes or sort.
  8326. - Handle removing the selected and the top node properly.
  8327. 2006-05-23 Chris Toshok <[email protected]>
  8328. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  8329. maybe this should actually happen in the datagrid code?
  8330. (EndEdit): no need to invalidate anything, given that
  8331. ReleaseHostedControl causes the datagrid to relayout, which
  8332. invalidates everything anyway.
  8333. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  8334. in SetCurrentCell).
  8335. (set_SelectionBackColor): call InvalidateSelection instead of
  8336. Refresh.
  8337. (set_SelectionForeColor): same.
  8338. (BeginEdit): Flesh this out a bit.
  8339. (CancelEditing): only do any of this if we're editing/adding.
  8340. (EndEdit): same.
  8341. (OnMouseDown): there's no need to cancel editing here, it's done
  8342. in SetCurrentCell.
  8343. (SetCurrentCell): only invalidate the current row header if it's a
  8344. different row than the new one.
  8345. (ShiftSelection): fix this to work like MS does.
  8346. (ResetSelection): factor out the invalidation of selected_rows to
  8347. InvalidateSelection.
  8348. (SetDataSource): cancel any editing that's going on.
  8349. * DataGridColumnStyle.cs
  8350. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  8351. call the non-interface version.
  8352. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  8353. header rectangle with the clip rectangle so we don't redraw the
  8354. entire header for just a small area. Gets rid of the last flicker
  8355. when horizontally scrolling.
  8356. (DataGridPaintRow): same.
  8357. 2006-05-23 Mike Kestner <[email protected]>
  8358. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  8359. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  8360. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  8361. Critical bug report.
  8362. 2006-05-23 Peter Dennis Bartok <[email protected]>
  8363. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  8364. and this fixes #78493
  8365. 2006-05-23 Miguel de Icaza <[email protected]>
  8366. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  8367. size is not found.
  8368. * FileDialog.cs: Do not change the background for the side bar as
  8369. it wont work nicely with the theme, and also reduces the artifacts
  8370. in rendering the icons (which I want to fix too).
  8371. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  8372. resources, not resgen resources.
  8373. (PlatformDefaultHandler): Pull images using the new API.
  8374. 2006-05-23 Peter Dennis Bartok <[email protected]>
  8375. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  8376. a reference to the hwnd and will not remove it unless there are
  8377. no pending exposures (fixes #78341)
  8378. * XplatUI.cs: Improved debug
  8379. 2006-05-23 Atsushi Enomoto <[email protected]>
  8380. * MenuAPI.cs : don't handle OnClick event when it was not the left
  8381. button. Fixed bug #78487.
  8382. 2006-05-23 Mike Kestner <[email protected]>
  8383. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  8384. prefer submenus to the top menu for item lookup, to avoid popping down
  8385. top-row items.
  8386. 2006-05-23 Alexander Olk <[email protected]>
  8387. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  8388. Graphics.FillRectangle as the visual results are really bad (even
  8389. on win). We now draw perfect arrows (and perfect shadows when the
  8390. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  8391. Pen.DashPattern to draw the dots of each line.
  8392. 2006-05-22 Alexander Olk <[email protected]>
  8393. * FileDialog.cs: Update the filename combobox when navigating through
  8394. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  8395. 2006-05-22 Mike Kestner <[email protected]>
  8396. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  8397. Fixes #78463.
  8398. 2006-05-22 Mike Kestner <[email protected]>
  8399. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  8400. requests. Fix a misspelled parameter and a copy paste exception error
  8401. in Select.
  8402. 2006-05-22 Peter Dennis Bartok <[email protected]>
  8403. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  8404. to get the same width/height (5/13) on X11 as the default font has on
  8405. win32. This means that our DefaultFont emSize is smaller than the
  8406. the MS SWF equivalent (even thought the width/height stays the same)
  8407. 2006-05-20 Jackson Harper <[email protected]>
  8408. * MdiClient.cs:
  8409. * MdiWindowManager.cs:
  8410. * InternalWindowManager.cs: Make sure to use the border width from
  8411. the theme.
  8412. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  8413. * PrintDialog.cs: Implements printer details
  8414. 2006-05-19 Alexander Olk <[email protected]>
  8415. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  8416. Fixes part 1 and 2 of bug #78446
  8417. 2006-05-19 Peter Dennis Bartok <[email protected]>
  8418. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  8419. instead of sticking to the first ever calculated value
  8420. 2006-05-19 Mike Kestner <[email protected]>
  8421. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  8422. PointToClient, since Capture is set. Fixes #78344.
  8423. 2006-05-19 Mike Kestner <[email protected]>
  8424. * ListView.cs: match MS behavior in Details view where items are not
  8425. drawn if Columns.Count == 0.
  8426. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  8427. Use a separate pen to draw the check, since changing the width affects
  8428. the box as well. Fixes #78454.
  8429. 2006-05-18 Miguel de Icaza <[email protected]>
  8430. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  8431. exception should throw the name of the invalid argument.
  8432. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  8433. there are no files listed.
  8434. 2006-05-18 Jackson Harper <[email protected]>
  8435. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  8436. up.
  8437. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8438. * Control.cs: Brought back our old UpdateZOrder method as a private
  8439. function and switched our calls from UpdateZOrder to the new one.
  8440. This fixes the Paint.Net canvas disappearing bug.
  8441. 2006-05-18 Jackson Harper <[email protected]>
  8442. * Theme.cs:
  8443. * ThemeWin32Classic.cs:
  8444. * InternalWindowManager.cs: Move the drawing into the theme,
  8445. expose everything the theme should need from the window manager.
  8446. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8447. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  8448. from the call to NativeWindow to avoid walking up the parent chain
  8449. further than needed (speeds up setting cursors and avoids setting
  8450. the wrong cursor if a parent has another cursor defined)
  8451. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  8452. the icon as hotspot, not what's contained as hotspot in the icon
  8453. file. This fixes the perceived drawing offset seen with Paint.Net
  8454. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8455. * XplatUIX11.cs:
  8456. - Store the calculated rectangle in Hwnd object and use it when
  8457. setting the client size
  8458. - Force Toolwindows to always be type Dock, to ensure they're on top
  8459. 2006-05-18 Mike Kestner <[email protected]>
  8460. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  8461. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  8462. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  8463. Substantial refactoring to remove confusing nested classes. Coding
  8464. standard and Get+Set->property refactorings. Shift to index based
  8465. highlighting in ComboListBox instead of constantly using IndexOf and
  8466. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  8467. in FileDialog growth. Draw borders manually since Simple mode needs
  8468. to look like two independent controls. Make listbox border
  8469. conditional to DropDownStyle. Improved OwnerDraw support.
  8470. 2006-05-18 Sebastien Pouliot <[email protected]>
  8471. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  8472. Don't set the disposed graphics to null, so we can throw the "right"
  8473. exception if the graphics is reused later (added a flag to avoid
  8474. double disposing). Some behaviours are different under 2.0 and are
  8475. filled under bug #78448.
  8476. 2006-05-18 Peter Dennis Bartok <[email protected]>
  8477. * Control.cs: When double-buffering is enabled, we need to reset
  8478. our graphics context between paint calls. Otherwise, any
  8479. transformations and other alterations on the context will
  8480. become cumulative (#77734)
  8481. 2006-05-18 Mike Kestner <[email protected]>
  8482. * ListView.cs: do focused item selection like MS on clicks.
  8483. Rework focus handling for ItemControl so LostFocus invalidates as
  8484. well.
  8485. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  8486. the ListView ItemControl has focus.
  8487. 2006-05-17 Peter Dennis Bartok <[email protected]>
  8488. * XplatUIX11.cs: If client_window ends up being width or height zero
  8489. due to border settings, move it off window inside whole_window (#78433)
  8490. 2006-05-17 Alexander Olk <[email protected]>
  8491. * Mime.cs: Shrink the mime file cache correctly.
  8492. 2006-05-17 Alexander Olk <[email protected]>
  8493. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  8494. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8495. * XplatUIX11.cs (AddExpose): More sanity checks
  8496. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8497. * XplatUIX11.cs:
  8498. - AddExpose: Don't add expose ranges outside the size of our
  8499. window
  8500. - Cast opacity values to Int32 to avoid crashes with certain
  8501. values
  8502. - Added disabled code paths that protect against illegal cross-
  8503. thread painting (Developers.exe)
  8504. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8505. * ProgressBar.cs: Invalidate the control when it's resized
  8506. since block size is based on control size. (#78388)
  8507. 2006-05-16 Miguel de Icaza <[email protected]>
  8508. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  8509. of setting the incoming argument to the "reset" value, we set the
  8510. this.datamember to string.empty (before we were invalidating the
  8511. incoming data).
  8512. Fixes 78420
  8513. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8514. * Form.cs: Only apply transparency settings after the form
  8515. is created. (Fixes #77800)
  8516. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8517. * ApplicationContext.cs: Grab the HandleDestroyed event so
  8518. we know when to fire OnMainFormClosed
  8519. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8520. * Application.cs: Introduced sub-class to allow tracking of
  8521. threads and centralized triggering of the event mess for
  8522. ThreadExit, AppExit, etc.. (#76156)
  8523. 2006-05-16 Alexander Olk <[email protected]>
  8524. * MimeIcon.cs:
  8525. - Do not return a null icon index value for a mime subclass.
  8526. Instead try the main mime type class too.
  8527. - Seems that some newer distributions don't have a link to some
  8528. gnome default icons anymore. So check the default gnome dir too.
  8529. 2006-05-16 Jackson Harper <[email protected]>
  8530. * MdiClient.cs: Don't paint the parent background image if we have
  8531. our own background image.
  8532. 2006-05-16 Peter Dennis Bartok <[email protected]>
  8533. * Control.cs:
  8534. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  8535. controls, all filled controls are supposed to overlap (#78080)
  8536. - UpdateZOrder is supposed to update the control's z-order in the
  8537. parent's z-order chain. Fixed to behave like that
  8538. - BringToFront: Removed obsolete code
  8539. - SendToBack: Simplyfied
  8540. - SetChildIndex: Trigger layout calculations when Z-order changes
  8541. since layout is done by z-order
  8542. 2006-05-16 Chris Toshok <[email protected]>
  8543. [ fixes bug #78410 ]
  8544. * DataGrid.cs (set_AlternatingBackColor): use
  8545. grid_drawing.InvalidateCells instead of Refresh().
  8546. (set_BackColor): call grid_drawing.InvalidateCells.
  8547. (set_BackgroundColor): use Invalidate instead of Refresh.
  8548. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  8549. invalidate the cell area.
  8550. 2006-05-15 Chris Toshok <[email protected]>
  8551. [ fixes bug #78011 ]
  8552. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  8553. on to DataGridPaintRow.
  8554. (DataGridPaintRow): take a clip argument, and only draw the cells
  8555. which intersect it. same with the not_usedarea.
  8556. * Theme.cs (DataGridPaintRow) add @clip parameter.
  8557. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  8558. XplatUI.ScrollWindow.
  8559. (ScrollToRow): same.
  8560. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  8561. with last column which was causing a gray swath to appear with the
  8562. XplatUI.ScrollWindow code.
  8563. 2006-05-15 Chris Toshok <[email protected]>
  8564. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  8565. use XplatUI.ScrollWindow.
  8566. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  8567. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8568. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  8569. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8570. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  8571. file since there are no equivalent X11 cursors
  8572. 2006-05-15 Atsushi Enomoto <[email protected]>
  8573. * MonthCalendar.cs : DateTimePicker should reflect selected date
  8574. on mouse*up*, not mouse*down*. Fixed originally reported part of
  8575. bug #76474.
  8576. 2006-05-15 Atsushi Enomoto <[email protected]>
  8577. * TabControl.cs : When argument index is equal or more than tab
  8578. count, just ignore. Fixed bug #78395.
  8579. 2006-05-15 Peter Dennis Bartok <[email protected]>
  8580. * Control.cs: Dispose all child controls when control is diposed (#78394)
  8581. 2006-05-14 Alexander Olk <[email protected]>
  8582. * ColorDialog.cs: Finally it is possible to select the color with
  8583. the text boxes
  8584. 2006-05-14 Alexander Olk <[email protected]>
  8585. * PrintDialog.cs: Fix typo
  8586. 2006-05-14 Alexander Olk <[email protected]>
  8587. * PrintDialog.cs: PrintDialog is not resizable
  8588. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  8589. color. Made some ToolBar drawing methods protected virtual.
  8590. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  8591. * PrintDialog.cs: Implementation of the PrintDialog
  8592. 2006-05-12 Chris Toshok <[email protected]>
  8593. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  8594. thumb, instead use MoveThumb. This has the side effect of making
  8595. most of the other thumb moving machinery use MoveThumb as well.
  8596. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  8597. need to actually invalidate the rectangle where the new thumb will
  8598. go.
  8599. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  8600. We force an Update() after, so it's not as fast as it could be,
  8601. but at least there's zero flicker and no droppings.
  8602. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  8603. (UpdateThumbPos): add another argument (dirty), which says whether
  8604. or not to calculate/add dirty regions which we later invalidate.
  8605. For cases where we know we're going to use MoveThumb, we pass
  8606. false for this. Otherwise, pass true.
  8607. 2006-05-12 Jackson Harper <[email protected]>
  8608. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  8609. the status bar.
  8610. 2006-05-12 Peter Dennis Bartok <[email protected]>
  8611. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  8612. and GetClipRegion methods and UserClipWontExposeParent property.
  8613. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  8614. overriding UserClipWontExposeParent property, setting to false, since
  8615. Win32 handles the required expose messages to draw our clipped parent
  8616. areas internally
  8617. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  8618. PaintEventStart to set the user clip region if set.
  8619. * Control.cs:
  8620. - Now internally tracking the Region for the control since we need to
  8621. store it if the handle is not yet created and only set it when it
  8622. becomes created. Before setting the region forced handle creation
  8623. - Added code to draw the parents underneath a user-clipped region
  8624. * Hwnd.cs: Added UserClip property
  8625. 2006-05-12 Chris Toshok <[email protected]>
  8626. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  8627. (set_Maximum): same.
  8628. (set_Minimum): same.
  8629. (set_SmallChange): same.
  8630. (OnMouseUpSB): remove the call to refresh when releasing the
  8631. thumb. We shouldn't need it.
  8632. 2006-05-12 Miguel de Icaza <[email protected]>
  8633. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  8634. AutoSize set to None, we do not need to relayout everything, we
  8635. just need to invalidate the current region.
  8636. (Draw): Do not draw the entire ClientArea, just redraw the
  8637. clip area being passed.
  8638. * MdiClient.cs: Make MdiClient constructor with the Form argument
  8639. internal.
  8640. 2006-05-12 Jackson Harper <[email protected]>
  8641. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  8642. parents background image, but strangely not their own.
  8643. - (DrawStatusBarPanel): Take into account horizontal alignment
  8644. when drawing the strings and icons.
  8645. 2006-05-12 Mike Kestner <[email protected]>
  8646. * ListBox.cs: avoid invalidations for focus when the collection is
  8647. empty.
  8648. 2006-05-12 Chris Toshok <[email protected]>
  8649. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  8650. invalidate the entire thumb area. Call InvalidateDirty which
  8651. limits the redraw to the thumb itself and surrounding pixels.
  8652. * XplatUIX11.cs (ScrollWindow): optimize copying.
  8653. 2006-05-12 Chris Toshok <[email protected]>
  8654. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  8655. Figure out the positioning/layout in a single pass instead of
  8656. multiple recursive invocations. Speeds up the initial display of
  8657. the data grid. Also, make many things private that were
  8658. originally public but unused outside this class.
  8659. 2006-05-11 Jackson Harper <[email protected]>
  8660. * MdiClient.cs: Improved layout code.
  8661. 2006-05-11 Jonathan Chambers <[email protected]>
  8662. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  8663. not SelectedObject.
  8664. 2006-05-11 Chris Toshok <[email protected]>
  8665. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  8666. union of that will always be {0,0,width,height}.
  8667. 2006-05-11 Jackson Harper <[email protected]>
  8668. * Form.cs: Match MS's DefaultSize for forms (they must have
  8669. changed the size in sp2).
  8670. 2006-05-11 Atsushi Enomoto <[email protected]>
  8671. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  8672. 2006-05-11 Atsushi Enomoto <[email protected]>
  8673. * TextControl.cs : Fixed bug #78109. This incorrect position
  8674. comparison caused crash on automatic line split.
  8675. * TextBoxBase.cs : reduce duplicate code.
  8676. 2006-05-10 Jackson Harper <[email protected]>
  8677. * MdiClient.cs: Active form is only sent to the back when using
  8678. the Next form functionality, when a form is clicked the current
  8679. active shouldn't be sent to the back.
  8680. - Layout the mdi windows when the container is first made visible.
  8681. * Form.cs: Give the MdiClient a ref to the containing form when we
  8682. create it.
  8683. 2006-05-10 Atsushi Enomoto <[email protected]>
  8684. * LinkLabel.cs : link_font could be uninitialized, so populate one
  8685. before actual use. Fixed bug #78340.
  8686. 2006-05-10 Atsushi Enomoto <[email protected]>
  8687. * XplatUIX11.cs : clipboard format native value is IntPtr.
  8688. Fixed bug #78283.
  8689. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8690. * Control.cs:
  8691. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  8692. which is passed up the parent chain by DefWndProc
  8693. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  8694. to DefWndProc (#77956)
  8695. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  8696. 2006-05-10 Jackson Harper <[email protected]>
  8697. * MdiClient.cs: We need to remove the controls from the mdi
  8698. collection, when we close the window.
  8699. * MdiWindowManager.cs: Special handling of closing mdi windows.
  8700. * InternalWindowManager.cs: Make the close method virtual so the
  8701. mdi window manager can handle it specially.
  8702. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  8703. * DataGrid.cs:
  8704. - Recalculate grid when the data source has changed
  8705. - Matches styles provided by user from all data sources types
  8706. * DataGridTableStyle.cs: For columns that provided by the user set the
  8707. with the preferred value is there was unassigned.
  8708. * CurrencyManager.cs: throw OnItemChanged event
  8709. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8710. * PictureBox.cs: Don't animate until handle is created. Start animation
  8711. when handle is created.
  8712. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8713. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  8714. current codebase.
  8715. * XEventQueue.cs: We don't need to provide the extra info
  8716. 2006-05-10 Jackson Harper <[email protected]>
  8717. * MdiClient.cs: If the mdi clients parent form has a background
  8718. image set, we draw that background image for the mdi area's
  8719. background.
  8720. 2006-05-10 Peter Dennis Bartok <[email protected]>
  8721. * TextBoxBase.cs: Set IBeam cursor (#78347)
  8722. 2006-05-10 Mike Kestner <[email protected]>
  8723. * ToolBar.cs: fix some text padding issues with ButtonSize
  8724. calculation. Update the default size to match MS documentation.
  8725. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  8726. button size. Fixes #78296.
  8727. 2006-05-10 Mike Kestner <[email protected]>
  8728. * ListBox.cs: use is_visible for scrollbar positioning in case the
  8729. control isn't on screen yet. Fix off by one with Right vs Width
  8730. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  8731. 2006-05-10 Jackson Harper <[email protected]>
  8732. * X11Dnd.cs: Drop to a control with another control on top of it.
  8733. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  8734. be modified in click handlers. TODO: Look for similar problems in
  8735. other controls.
  8736. 2006-05-09 Jackson Harper <[email protected]>
  8737. * Form.cs: Window managers need the old window state when setting
  8738. window state now.
  8739. * InternalWindowManager.cs: Allow the base mdi window manager to
  8740. handle more of the MDI only stuff (like maximize buttons).
  8741. * MdiWindowManager.cs: Fix some snafus in changing the window
  8742. state. Add all the menu functionality, for both popup and
  8743. maximized menus.
  8744. * MdiClient.cs: When a new form is selected the currently
  8745. activated form is sent to the back, this matches MS.
  8746. - Implement a new method to activate the next mdi child window.
  8747. 2006-05-08 Peter Dennis Bartok <[email protected]>
  8748. * Control.cs:
  8749. - Added new InternalCapture method to allow controls to prevent
  8750. the capture behaviour on the click handlers
  8751. - Switched to use InternalCapture
  8752. * ComboBox.cs:
  8753. - Using InternalCapture to prevent mouse captures from being released
  8754. on mouse button release (Fixes #78100)
  8755. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  8756. returns Form borders if a caption is present. (Fixes #78310)
  8757. 2006-05-08 Peter Dennis Bartok <[email protected]>
  8758. * TreeNode.cs: Changed serialization .ctor to not require every field
  8759. to be present. (#78265)
  8760. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  8761. 2006-05-05 Alexander Olk <[email protected]>
  8762. * MimeIcon.cs: for is faster than foreach for strings.
  8763. 2006-05-05 Mike Kestner <[email protected]>
  8764. * CheckedListBox.cs: update check handling code to not use selected.
  8765. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  8766. behavior for visual feedback, motion response, shift/ctrl handling,
  8767. and properly deal with all 4 selection modes. Updates to bounds
  8768. handling logic. Add scroll wheel support. [Fixes #77842]
  8769. 2006-05-05 Peter Dennis Bartok <[email protected]>
  8770. * ListView.cs:
  8771. - Moved adding of Implicit controls into .ctor. That way, subsequent
  8772. creation of the controls will not cause them to think they are
  8773. toplevel windows (fixes #78200 header problem)
  8774. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  8775. - Switched visibility setting of header control to use internal field
  8776. to avoid triggering handle creation
  8777. - Now checking if handle is created before causing a refresh when items
  8778. are added (This makes us now match handle creation time with MS)
  8779. * Splitter.cs: Removed loading of private splitter cursor, switched to
  8780. Cursors version now that that is loading the right ones
  8781. * Cursors.cs: Load proper splitter cursors from resources
  8782. * Cursor.cs: Added second method of loading resource cursors for the
  8783. VS.Net users amongst us
  8784. 2006-05-05 Mike Kestner <[email protected]>
  8785. * ListView.cs: give header_control a minimum size based on the
  8786. ListView size.
  8787. 2006-05-05 Peter Dennis Bartok <[email protected]>
  8788. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  8789. window seems to do that with metacity, so set that type. (#78120)
  8790. 2006-05-05 Mike Kestner <[email protected]>
  8791. * ListViewItem.cs: fix Details mode checkbox layout bug.
  8792. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  8793. at the end of the header, if it exists. [Fixes for #78200]
  8794. 2006-05-04 Jackson Harper <[email protected]>
  8795. * MdiClient.cs: Add a helper property to get the container form.
  8796. * MdiWindowManager.cs: We have to make sure to use the menu origin
  8797. when drawing the icons and buttons, this fixes maximized window
  8798. icons/buttons on win32.
  8799. * InternalWindowManager.cs: Reset the restore captions when a
  8800. window goes from Maximized to Minimized and vice versa. Move the
  8801. DrawMaximizedButtons into the MdiWindowManager source, tool
  8802. windows can't be maximized. NOTE: This could use a little
  8803. refactoring if time ever permits.
  8804. 2006-05-03 Jonathan Chambers <[email protected]>
  8805. * TextBox.cs: Add MWFCategoryAttributes
  8806. * TextBoxBase.cs: Add MWFCategoryAttributes
  8807. * Form.cs: Add MWFCategoryAttributes
  8808. 2006-05-03 Jonathan Chambers <[email protected]>
  8809. * Control.cs: Add MWFCategoryAttributes
  8810. * ScrollableControl.cs: Add MWFCategoryAttributes
  8811. 2006-05-03 Alexander Olk <[email protected]>
  8812. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  8813. Divider is true. Fix a little glitch in PropertyToolBar
  8814. drawing code
  8815. 2006-05-02 Peter Dennis Bartok <[email protected]>
  8816. * Control.cs:
  8817. - Dispose: Call base.Dispose, this causes the disposed event
  8818. to be fired (and probably other, more important stuff)
  8819. - SetVisibleCore: Set is_visible to true after creating the
  8820. window so that the window still gets created invisible (if
  8821. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  8822. to generate a WM_ACTIVE message
  8823. * Form.cs: Call Dispose when we want to destroy the window, instead of
  8824. just destroying the handle (Dispose will do that for us)
  8825. * XplatUIX11.cs:
  8826. - RootWindow also needs a queue, so we can properly process the
  8827. property change events from RootWindow (like Activate)
  8828. - Generatic synthetic WM_ACTIVE message when the active window is
  8829. being destroyed
  8830. 2006-05-01 Peter Dennis Bartok <[email protected]>
  8831. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  8832. bounds are changed
  8833. 2006-05-01 Peter Dennis Bartok <[email protected]>
  8834. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  8835. for determining width and height (image might not be assigned if
  8836. we're drawing an imagelist)
  8837. 2006-05-01 Peter Dennis Bartok <[email protected]>
  8838. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  8839. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  8840. height from system
  8841. * Theme.cs: No longer returns hardcoded menu height, instead calls
  8842. new driver method
  8843. * Form.cs (OnLoad): Scaling happens before triggering Load events
  8844. on MS (# 78257)
  8845. 2006-05-01 Mike Kestner <[email protected]>
  8846. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  8847. 2006-04-30 Peter Dennis Bartok <[email protected]>
  8848. * TextBoxBase.cs: Removed Fixme
  8849. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  8850. 2006-04-30 Peter Dennis Bartok <[email protected]>
  8851. * XplatUIX11.cs:
  8852. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  8853. the rectangle relative to the parent, considering borders. We
  8854. don't really want that.
  8855. - ScrollWindow: Fixed warning to be more understandable
  8856. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  8857. scrollbars and scroll only the visible area
  8858. * RichTextBox.cs: Removed debug output
  8859. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8860. * NumericUpDown.cs (Text): Just use base
  8861. * UpDownBase.cs: Ensure txtView is created before using it
  8862. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8863. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  8864. casting to IntPtr to avoid 64bit overflow errors
  8865. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8866. * Control.cs:
  8867. - AllowDrop: Don't force handle creation.
  8868. - CreateHandle: Added call to tell driver if we're allowed to drop
  8869. 2006-04-27 Alexander Olk <[email protected]>
  8870. * FileDialog.cs: Remember the last directory not only for the
  8871. current instance but also for new FileDialog instances.
  8872. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8873. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  8874. broke sending async messages
  8875. 2006-04-29 Peter Dennis Bartok <[email protected]>
  8876. * XplatUIX11.cs:
  8877. - ScrollWindow: Fixed method. We finally generate expose events again
  8878. for scrolled areas. This was causing 'garbage' when scrolling
  8879. textbox and other controls that used ScrollWindow
  8880. - Switched from using the regular queue for paint events to the MS
  8881. model of 'generating' paint events when the queue is empty.
  8882. We use the new XQueueEvent.Paint subclass to store which windows
  8883. need painting.
  8884. - AddExpose now takes the x/y/width/height of the exposed area
  8885. and inserts the window into the paint queue if not already there
  8886. - InvalidateWholeWindow: Switched to use new AddExpose method
  8887. - UpdateMessageQueue: Added which queue to monitor for paint events
  8888. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  8889. the unlikely case nothing above handles it. We reset the expose
  8890. pending states to get them off the queue.
  8891. - GetMessage: Now pulls a paint event if no other events are in the
  8892. queue
  8893. - Invalidate: Switched to new AddExpose method
  8894. - PeekMessage: Updated to understand pending paint events
  8895. - UpdateWindow: Fixed logic bug. We were only updating if the window
  8896. didn't need updating. Also switched to sending WM_PAINT directly,
  8897. like MS does.
  8898. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  8899. and random access Remove(). The random access is needed to handle
  8900. UpdateWindow() where a WM_PAINT is sent directly without accessing
  8901. the queue.
  8902. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  8903. allow for better feedback when scrolling. Scrollbars are small and
  8904. the immediate update should make it 'feel' more responsive without
  8905. slowing things down. ScrollBar still needs it's invaliate logic
  8906. updated to not always invalidate the whole bar on certain changes.
  8907. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  8908. * Control.cs:
  8909. (BackColor): if the control does not support a transparent background,
  8910. return the default backcolor when the parent backcolor is transparent.
  8911. 2006-04-28 Peter Dennis Bartok <[email protected]>
  8912. * Application.cs: Updated to new StartLoop/GetMessage API
  8913. * RichTextBox.cs: Provide some output on RTF parsing errors
  8914. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  8915. new queue_id argument to GetMessage and PeekMessage to allow faster
  8916. handling of per-thread queues in drivers.
  8917. * Hwnd.cs: Added Queue tracking and property
  8918. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  8919. * XEventQueue.cs: Added thread trackingA
  8920. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  8921. * XplatUIX11.cs:
  8922. - Implemented new per-thread queue
  8923. - GetMessage: Fixed return/break behaviour on several cases. We were
  8924. returning stale messages in some cases, instead of just processing
  8925. the next message
  8926. 2006-04-27 Jonathan Chambers <[email protected]>
  8927. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  8928. 2006-04-27 Peter Dennis Bartok <[email protected]>
  8929. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  8930. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  8931. 2006-04-27 Jonathan Chambers <[email protected]>
  8932. * PropertyGridView.cs: Fix drop down width.
  8933. 2006-04-27 Alexander Olk <[email protected]>
  8934. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  8935. a mess in DrawToolBar, so I removed one of them.
  8936. 2006-04-27 Alexander Olk <[email protected]>
  8937. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  8938. needed (clip). Otherwise we get artifacts.
  8939. 2006-04-26 Peter Dennis Bartok <[email protected]>
  8940. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  8941. dimension is fixed
  8942. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  8943. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  8944. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  8945. if it matches the scale base font (avoids unneeded scaling)
  8946. 2006-04-26 Alexander Olk <[email protected]>
  8947. * X11DesktopColors.cs: One gtk_init_check should be enough
  8948. 2006-04-26 Peter Dennis Bartok <[email protected]>
  8949. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  8950. match MS behaviour
  8951. 2006-04-26 Peter Dennis Bartok <[email protected]>
  8952. * TextBoxBase.cs:
  8953. - Generate OnTextChanged for Backspace even if we're only deleting
  8954. the current selection
  8955. - When setting the Text property, only select all text if the
  8956. control does not have focus when it is being set. Otherwise
  8957. just place the cursor at the beginning of the control
  8958. 2006-04-26 Alexander Olk <[email protected]>
  8959. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  8960. Added a little helper to draw PropertyGrid ToolBar with a different
  8961. border and a different BackColor.
  8962. * PropertyGrid.cs: Some background parts didn't get painted with the
  8963. correct background color. Added a class that helps us to draw the
  8964. correct border for PropertyGridView and a class that helps us to
  8965. draw ToolBars with a different backcolor
  8966. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  8967. 2006-04-25 Jonathan Chambers <[email protected]>
  8968. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  8969. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  8970. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8971. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  8972. into the palette entries. Also, since we're working on a copy
  8973. we needed to copy the palette back onto the bitmap.
  8974. * Cursor.cs: Same fix as XplatUIWin32.cs.
  8975. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8976. * ImageListStreamer.cs: Need to read the var (or we're off)
  8977. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8978. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  8979. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  8980. TextBoxBase.cs: Unused var fixes
  8981. * AxHost.cs: Small 2.0 fix
  8982. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  8983. as it seems that is what at least Metacity expects. This will make
  8984. icons show up on 64bit platforms. We still have some 64bit size
  8985. issues, though, since the startup app window size still won't match.
  8986. 2006-04-25 Mike Kestner <[email protected]>
  8987. * *.cs: cleanup newly reported exception var unused warnings.
  8988. 2006-04-25 Alexander Olk <[email protected]>
  8989. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  8990. ms
  8991. 2006-04-25 Alexander Olk <[email protected]>
  8992. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  8993. image. The image position is always the same, no matter if the
  8994. button is pressed or not.
  8995. 2006-04-25 Alexander Olk <[email protected]>
  8996. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  8997. selection and set the correct filename for SaveFileDialog.
  8998. Patch by Emery Conrad.
  8999. 2006-04-24 Mike Kestner <[email protected]>
  9000. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  9001. check for item.X outside the ClientRect instead of item.Y. Fixes
  9002. #78151.
  9003. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  9004. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  9005. trust that value blindly and do some sanity check. Fixes bug #77814.
  9006. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  9007. * ImageListStreamer.cs: save the mask as a 1bpp image.
  9008. 2006-04-21 Mike Kestner <[email protected]>
  9009. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  9010. pass Checked and Indeterminate to the Theme Engine. Improve
  9011. encapsulation with ListBox.
  9012. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  9013. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  9014. nested types. Move all CheckState functionality to CheckedListBox.
  9015. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  9016. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  9017. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  9018. single base list. Fix scrollbar sizing and placement to mirror MS.
  9019. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  9020. used.
  9021. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  9022. for CheckedListBox by using new DrawItemState info. Center the
  9023. checkboxes on the items. Use new StringFormat property.
  9024. 2006-04-18 Jackson Harper <[email protected]>
  9025. * Form.cs: MdiChildren don't do default locations the same way as
  9026. regular forms. This prevents a crash when trying to position the
  9027. mdi windows.
  9028. 2006-04-17 Jonathan Chambers <[email protected]>
  9029. * PropertyGridTextBox.cs: Formatting, copyright
  9030. * PropertiesTab.cs: Formatting
  9031. * PropertyGrid.cs: Formatting
  9032. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  9033. click toggling of values
  9034. 2006-04-17 Peter Dennis Bartok <[email protected]>
  9035. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  9036. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  9037. every time a control is created
  9038. * Application.cs: Removed obsolete EnableRTLMirroring method
  9039. 2006-04-18 Gert Driesen <[email protected]>
  9040. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  9041. SelectedIndex to -1. Fixes bug #78121.
  9042. 2006-04-17 Jackson Harper <[email protected]>
  9043. * Binding.cs: Handle null values for Current and BindingContext.
  9044. This occurs when binding is a little delayed.
  9045. * CurrencyManager.cs: return null for Current when there are no
  9046. items in the list.
  9047. - Hookup to the listchanged event on the DataView and update
  9048. bindings when the list is changed. This fixes late binding of
  9049. controls.
  9050. 2006-04-17 Jackson Harper <[email protected]>
  9051. * X11Dnd.cs:
  9052. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  9053. Ringenbach.
  9054. 2006-04-15 Alexander Olk <[email protected]>
  9055. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  9056. place
  9057. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  9058. with the correct ButtonState
  9059. 2006-04-14 Peter Dennis Bartok <[email protected]>
  9060. * XplatUIX11.cs: Improved distinguishing between window types to
  9061. tell the WM a type closer to what the app wants (Fixes #78107)
  9062. 2006-04-14 Alexander Olk <[email protected]>
  9063. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  9064. GrabHandle
  9065. 2006-04-14 Alexander Olk <[email protected]>
  9066. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  9067. drawing code to reflect the size grip changes
  9068. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  9069. * ImageListStreamer.cs: fix handling of the mask that follows the main
  9070. bitmap when deserializing and serialize it properly. The generated mask
  9071. should better be a 1bpp image, but I'll do that later.
  9072. 2006-04-13 Alexander Olk <[email protected]>
  9073. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  9074. path doesn't fit into some of our Current.Places
  9075. 2006-04-13 Jackson Harper <[email protected]>
  9076. * ComboBox.cs: Use borders instead of drawing our own decorations,
  9077. try to obey correct rules for heights.
  9078. * Theme.cs:
  9079. * ThemeNice.cs:
  9080. * ThemeClearLooks.cs:
  9081. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  9082. this is now handled by borders.
  9083. - Remove unused DrawListBoxDecorationSize method.
  9084. 2006-04-13 Mike Kestner <[email protected]>
  9085. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  9086. reported by Alex.
  9087. 2006-04-13 Alexander Olk <[email protected]>
  9088. * ThemeWin32Classic.cs:
  9089. - Fixed CPDrawStringDisabled
  9090. - Corrected drawing of disabled menu items
  9091. - Fixed drawing of disabled radio buttons (bug #78095)
  9092. - Draw check in a disabled CheckBox with color ControlDark
  9093. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9094. * Form.cs: Use the provided width when calculating the menu size;
  9095. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  9096. and ClientSize.Width won't be updated yet
  9097. * Application.cs: Use Visible instead of Show() to make form visible,
  9098. this way we create the handle later and menusize is considered
  9099. 2006-04-12 Mike Kestner <[email protected]>
  9100. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  9101. reporting.
  9102. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9103. * TextBox.cs: Implemented context menu
  9104. 2006-04-12 Mike Kestner <[email protected]>
  9105. * ListView.cs: implement box selection. fixes #77838.
  9106. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  9107. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9108. * XplatUIX11.cs: Added setting of window type when transient window
  9109. is created (metacity would move it otherwise)
  9110. * X11Structs.cs: Added WINDOW_TYPE atoms
  9111. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  9112. background (the control is Opaque but still wants transparent
  9113. backgrounds)
  9114. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9115. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  9116. that set Opaque but don't mean it (like all ButtonBase-derived
  9117. controls) to still draw their background
  9118. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  9119. the background
  9120. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9121. * Control.cs (PaintControlBackground): Set the graphics object
  9122. on our PaintEvent to null to prevent it from being disposed
  9123. when the PaintEvent gets disposed
  9124. 2006-04-12 Alexander Olk <[email protected]>
  9125. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  9126. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  9127. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9128. * Control.cs:
  9129. - Added transparency check to BackColor property. Transparent
  9130. backgrounds are only allowed if the control styles permit it
  9131. - Added recursive painting of parent control background and
  9132. foreground if a control with a transparent backcolor is drawn
  9133. (Thanks to Tim Ringenback for providing his 'hack' as a base
  9134. for this patch) Fixes #77985 and #78026.
  9135. - Added Opaque style check before calling OnPaintBackground, no
  9136. need to draw the background if the control is opaque
  9137. - Removed ControlAccessibleObject owner variable (inherited from
  9138. base, no need to define again)
  9139. - Added some documentation links explaining the drawing events
  9140. and styles
  9141. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9142. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  9143. that the affected control is the located at the left border of our
  9144. parent (Fixes #77936)
  9145. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9146. * TextBoxBase.cs: When rendering disabled or readonly controls,
  9147. draw the background with 'Control' instead of 'Window' color as
  9148. long as the user hasn't specifically set a color
  9149. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9150. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  9151. since that won't be updated if the user types text (only if it's
  9152. programatically set)
  9153. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9154. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  9155. layout changes do to app-triggered resizes will have the proper
  9156. display rectangle for layout
  9157. 2006-04-11 Alexander Olk <[email protected]>
  9158. * ThemeWin32Classic.cs:
  9159. - Make use of the SystemBrushes and SystemPens wherever possible
  9160. - Corrected some highlight colors
  9161. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  9162. drawing
  9163. * Theme.cs: Added Empty field to CPColor struct
  9164. 2006-04-11 Peter Dennis Bartok <[email protected]>
  9165. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  9166. is displayed when calculating the display rectangle. Thanks to Mike
  9167. for teaching me the err of my ways.
  9168. 2006-04-10 Peter Dennis Bartok <[email protected]>
  9169. * ScrollableControl.cs:
  9170. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  9171. (instead of 0,0) and we now return the real width/height instead of
  9172. just the clientrectangle, adjusted for padding. The rectangle is
  9173. now cached and created by the new CalculateDisplayRectangle method.
  9174. - Created new CalculateDisplayRectange method, which basically does
  9175. what get_DisplayRectangle() did originally, but now using the
  9176. right edge instead of DisplayRectangle to determine the size of
  9177. our scrollbars
  9178. - get_Canvas(): Fixed it to properly calculate canvas for
  9179. right/bottom controls which seem to be placed to the right/bottom
  9180. of any controls that have a fixed location
  9181. - Removed TODO that's taken care of
  9182. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  9183. and SetDisplayRectLocation according to new MSDN2 docs
  9184. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  9185. event when that is called, this is added for compatibility
  9186. - ScrollControlIntoView(): Implemented.
  9187. - Switched scrollbars to be implicit, they shouldn't be selectable
  9188. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  9189. call it when the active control is set/changed
  9190. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  9191. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  9192. implicit_control variable (used for native Win32 message generation)
  9193. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  9194. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  9195. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  9196. * XplatUIStructs.cs: Added ScrollBarCommands enum
  9197. 2006-04-10 Jackson Harper <[email protected]>
  9198. * ButtonBase.cs:
  9199. * CheckedListBox.cs:
  9200. * ComboBox.cs:
  9201. * DataGrid.cs:
  9202. * DataGridView.cs:
  9203. * Form.cs:
  9204. * GroupBox.cs:
  9205. * ListBox.cs:
  9206. * PrintPreviewControl.cs:
  9207. * ProgressBar.cs:
  9208. * PropertyGrid.cs:
  9209. * Splitter.cs:
  9210. * StatusBar.cs:
  9211. * TrackBar.cs:
  9212. * UpDownBase.cs: Fixup base event overrides.
  9213. 2006-04-06 Mike Kestner <[email protected]>
  9214. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  9215. all user-initiated value changes to min <= value <= max-thumbsz+1.
  9216. (set_Value): check for vert/horiz when calculating new thumb position.
  9217. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  9218. like MS does.
  9219. (OnMouseMoveSB): refactor the thumb dragging code and refine
  9220. invalidation logic to reduce flicker.
  9221. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  9222. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  9223. (UpdateThumbPosition): small code readability cleanup
  9224. 2006-04-10 Alexander Olk <[email protected]>
  9225. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  9226. different
  9227. 2006-04-08 Alexander Olk <[email protected]>
  9228. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  9229. 2006-04-08 Alexander Olk <[email protected]>
  9230. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  9231. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  9232. This dramatically reduces the number of Pen.Dispose calls.
  9233. Where possible call ResPool methods only once instead of calling it
  9234. over and over again (for example for the same color).
  9235. 2006-04-06 Mike Kestner <[email protected]>
  9236. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  9237. Also remove an unused private field on the collection. Fixes #77972.
  9238. 2006-04-06 Alexander Olk <[email protected]>
  9239. * ThemeNice.cs: Added ToolBar drawing code
  9240. 2006-04-06 Mike Kestner <[email protected]>
  9241. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  9242. I'm assuming that means we need to look up the toplevel for the
  9243. provided control. Fixes the crash trace in #77911 but exposes another
  9244. crash in some strange reflection usage in NDocGui.
  9245. 2006-04-06 Alexander Olk <[email protected]>
  9246. * ThemeNice.cs: Gave it a little silver touch and added Images
  9247. method
  9248. * FontDialog.cs: FontDialog is not resizable
  9249. * FileDialg.cs: Added SizeGripStyle.Show
  9250. 2006-04-05 Jackson Harper <[email protected]>
  9251. * KeyboardLayouts.cs: Remove warning.
  9252. 2006-04-05 Jackson Harper <[email protected]>
  9253. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  9254. all of our controls instead of Paint +=.
  9255. * ListBox.cs:
  9256. * ListView.cs:
  9257. * MenuAPI.cs:
  9258. * MessageBox.cs:
  9259. * NotifyIcon.cs:
  9260. * ProgressBar.cs:
  9261. * ScrollBar.cs:
  9262. * Splitter.cs:
  9263. * StatusBar.cs:
  9264. * TabControl.cs:
  9265. * TextBoxBase.cs:
  9266. * ToolBar.cs:
  9267. * TrackBar.cs:
  9268. * UpDownBase.cs:
  9269. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  9270. use OnPaintInternal. Remove Width/Height and Visible checks in
  9271. paint handler, this is done at a higher level now.
  9272. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  9273. * PaintEventArgs.cs: Add a handled flag so controls that don't
  9274. want anymore painting after OnPaintInternal can make sure OnPaint
  9275. isn't called.
  9276. 2006-04-05 Mike Kestner <[email protected]>
  9277. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  9278. state of the form, so that we don't process events when Modal dialogs
  9279. are up. Fixes #77922.
  9280. 2006-04-05 Alexander Olk <[email protected]>
  9281. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  9282. checking is done.
  9283. 2006-04-05 Mike Kestner <[email protected]>
  9284. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  9285. 2006-04-05 Mike Kestner <[email protected]>
  9286. * ListView.cs (HeaderMouseMove): null guarding for the over column
  9287. when setting up the drag_to_index. Fixes #78015.
  9288. 2006-04-04 Peter Dennis Bartok <[email protected]>
  9289. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  9290. in the taskbar. Transient windows seem to accomplish that.
  9291. 2006-04-04 Peter Dennis Bartok <[email protected]>
  9292. * Form.cs:
  9293. - Re-enabled CreateParams.X/Y code for FormStartPosition
  9294. - Added code for manual placement when creating the Control
  9295. - Incomplete patch to treat MDI forms differently when
  9296. setting the ClientSizeCore. (Still need to figure out handling
  9297. x/y coords there)
  9298. * XplatUIX11.cs:
  9299. - When we're explicitly setting the X/Y position of a non-Child
  9300. window, let the WM know. Metacity really wants this.
  9301. 2006-04-04 Alexander Olk <[email protected]>
  9302. * ThemeNice.cs: Added CPDrawButton
  9303. 2006-04-04 Alexander Olk <[email protected]>
  9304. * ThemeNice.cs: Changed the color for focused buttons and activated
  9305. the arrows for small scroll buttons.
  9306. 2006-04-04 Alexander Olk <[email protected]>
  9307. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  9308. anymore. Changed some method modifiers to protected (virtual)
  9309. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  9310. changes
  9311. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  9312. Updated drawing of menus, buttons and progressbars; added
  9313. CPDrawBorder3D
  9314. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  9315. * ImageListStreamer.cs: implemented serialization/deserialization
  9316. of the images.
  9317. 2006-04-03 Alexander Olk <[email protected]>
  9318. * ThemeWin32Classic.cs:
  9319. - Removed all the DrawFrameControl stuff; CPDrawButton,
  9320. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  9321. inside the methods
  9322. - Updated and corrected the drawing code of CPDrawButton,
  9323. CPDrawCheckBox and CPDrawRadioButton to better match ms
  9324. - Updated theme checkbox and radiobutton code to use the CP*
  9325. methods
  9326. 2006-03-31 Peter Dennis Bartok <[email protected]>
  9327. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  9328. bug is fixed
  9329. 2006-03-31 Jackson Harper <[email protected]>
  9330. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  9331. sometimes.
  9332. * UpDownBase.cs: Don't CreateGraphics manually, use a
  9333. Refresh. Ideally we would invalidate the correct areas here.
  9334. 2006-03-31 Peter Dennis Bartok <[email protected]>
  9335. * XplatUIX11.cs:
  9336. - We now track the mapping state of windows. If a window (or
  9337. one of it's parents) is not mapped we no longer permit
  9338. WM_PAINT messages to be generated since we'd otherwise get
  9339. lots of BadMatch X errors. Jackson did all the work figuring
  9340. out the problem.
  9341. - Destroying the caret if the window it's contained in is
  9342. destroyed. Can't use regular DestroyCaret method since it
  9343. might fall into a drawing function (trying to remove the
  9344. caret) and with that generate new BadMatch errors. Again,
  9345. Jackson tracked this down.
  9346. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  9347. make sure we send the messages to all windows. (The old code
  9348. would send the WM_DESTROY to the window, and then all child
  9349. windows would be 'gone' because the WM_DESTROY handle lookup
  9350. would no longer find the destroyed window)
  9351. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  9352. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  9353. 2006-03-31 Jackson Harper <[email protected]>
  9354. * ScrollableControl.cs: Dont recalc if we are not visible.
  9355. 2006-03-31 Mike Kestner <[email protected]>
  9356. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  9357. the visibility branch.
  9358. 2006-03-31 Jackson Harper <[email protected]>
  9359. * ScrollBar.cs: Cap values when incrementing/decrementing.
  9360. 2006-03-31 Mike Kestner <[email protected]>
  9361. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  9362. * ToolTip.cs: guard against timer expirations with no active control.
  9363. Not sure why it happened.
  9364. 2006-03-31 Mike Kestner <[email protected]>
  9365. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  9366. text.
  9367. * ToolTip.cs: Position the tooltip based on where the cursor is at
  9368. popup time, not at MouseEnter time. Add a Down state so that we don't
  9369. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  9370. positioning offset. Lookup DisplaySize at positioning time, since it
  9371. can theoretically change during invocation.
  9372. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  9373. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  9374. 2006-03-31 Alexander Olk <[email protected]>
  9375. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  9376. Fixes behaviour when the Text property of the box is String.Empty
  9377. 2006-03-31 Peter Dennis Bartok <[email protected]>
  9378. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  9379. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  9380. a window)
  9381. 2006-03-31 Alexander Olk <[email protected]>
  9382. * FileDialog.cs: Visual enhancement for the popup buttons in
  9383. PopupButtonPanel
  9384. 2006-03-31 Alexander Olk <[email protected]>
  9385. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  9386. code
  9387. 2006-03-30 Alexander Olk <[email protected]>
  9388. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  9389. highlighted menu items to match ms
  9390. 2006-03-30 Peter Dennis Bartok <[email protected]>
  9391. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  9392. 2006-03-30 Mike Kestner <[email protected]>
  9393. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  9394. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  9395. go active to account for HotLight to Selected transition.
  9396. * MenuItem.cs: add internal Selected prop. Fill out the Status
  9397. property by calculating it from item info. Add HotLight,
  9398. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  9399. 2006-03-30 Mike Kestner <[email protected]>
  9400. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  9401. 2006-03-29 Jackson Harper <[email protected]>
  9402. * Form.cs: Implement TODO.
  9403. 2006-03-29 Peter Dennis Bartok <[email protected]>
  9404. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  9405. missing proper dialog setup in the constructor
  9406. 2006-03-29 Peter Dennis Bartok <[email protected]>
  9407. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  9408. * Control.cs:
  9409. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  9410. - Fixed ResetBindings and removed TODO
  9411. - Added check for cross-thread calls to get_Handle()
  9412. - Added Marshaller attribute for set_Font to satisfy class status
  9413. * FontDialog.cs: Removed TODOs that seemed implemented
  9414. * UpDownBase.cs: Removed unneeded TODO and Fixme
  9415. * MessageBox.cs: Implemented support for Default button and removed TODO
  9416. * FileDialog.cs: Removed obsolete TODO
  9417. * DomainUpDown.cs: Removed obsolete TODO
  9418. * ButtonBase.cs: Removed obsolete TODO
  9419. * XplatUIWin32.cs: Removed obsolete TODO
  9420. * Form.cs:
  9421. - Removed obsolete TODO
  9422. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  9423. internal status updates
  9424. - Making sure the active control is selected when the control is created
  9425. * CurrencyManager.cs: Removed obsolete TODO
  9426. 2006-03-29 Mike Kestner <[email protected]>
  9427. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  9428. of PrintPreviewDialog and RichTextBox.
  9429. 2006-03-29 Alexander Olk <[email protected]>
  9430. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  9431. DarkDark, Light and LightLight colors for a specific color
  9432. * ThemeWin32Classic.cs:
  9433. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  9434. Appearance = Button
  9435. - Make use of the new ResPool helper CPColor
  9436. - Draw ProgressBar and StatusBar with correct 3D borders
  9437. 2006-03-29 Alexander Olk <[email protected]>
  9438. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  9439. 2006-03-28 Mike Kestner <[email protected]>
  9440. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  9441. calculating col/row counts.
  9442. 2006-03-28 Mike Kestner <[email protected]>
  9443. * ColumnHeader.cs:
  9444. * ListView.cs:
  9445. * ListViewItem.cs:
  9446. * Menu.cs:
  9447. switch to explicit interface method implementation for some methods
  9448. corcompare identifies as inconsistent with MS.
  9449. 2006-03-28 Mike Kestner <[email protected]>
  9450. * MainMenu.cs:
  9451. * Menu.cs:
  9452. add a few missing methods from the class status output.
  9453. 2006-03-28 Alexander Olk <[email protected]>
  9454. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  9455. correct.
  9456. 2006-03-28 Mike Kestner <[email protected]>
  9457. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  9458. 2006-03-27 Mike Kestner <[email protected]>
  9459. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  9460. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  9461. 2006-03-27 Alexander Olk <[email protected]>
  9462. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  9463. 2006-03-25 Alexander Olk <[email protected]>
  9464. * ThemeWin32Classic.cs:
  9465. - GroupBox: Inserted a little gap between the text and the lines
  9466. on the right side
  9467. - Made the code in CPDrawBorder3D more readable
  9468. - Corrected the drawing location of the up and down arrows in
  9469. CPDrawScrollButton
  9470. 2006-03-25 Alexander Olk <[email protected]>
  9471. * ControlPaint.cs: Corrected line widths in DrawBorder for
  9472. ButtonBorderStyle Inset and Outset
  9473. 2006-03-25 Alexander Olk <[email protected]>
  9474. * ThemeWin32Classic.cs:
  9475. - Rewrote the totally broken CPDrawBorder3D method. That was
  9476. one of the main problems for the terrific ThemeWin32Classic
  9477. look
  9478. - Updated and corrected Button drawing
  9479. - Correct the dimensions of the SizeGrip to match ms ones
  9480. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  9481. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  9482. Border3DStyle.Sunken to match ms.
  9483. 2006-03-25 Alexander Olk <[email protected]>
  9484. * ThemeWin32Classic.cs: First small part of the "de-uglify
  9485. ThemeWin32Classic" effort, SizeGrip
  9486. 2006-03-24 Jackson Harper <[email protected]>
  9487. * XplatUIX11.cs: Give a max idle time of one second, this matches
  9488. MS and forces an Idle event every second when there are no other
  9489. events in the queue.
  9490. 2006-03-24 Mike Kestner <[email protected]>
  9491. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  9492. * ListView.Item.cs: fix layout issues with null image lists and images
  9493. smaller than checkbox size.
  9494. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  9495. mode like MS does. It's weird, but consistent. ;-)
  9496. Fixes #77890.
  9497. 2006-03-24 Mike Kestner <[email protected]>
  9498. * ListView.cs: Scroll wheel support for the item control. Fixes
  9499. #77839.
  9500. 2006-03-23 Jackson Harper <[email protected]>
  9501. * ScrollableControl.cs: Special case negative sized areas, not
  9502. zero.
  9503. * MonthCalendar.cs: Save the rect of the clicked date so we can
  9504. use it for invalidation.
  9505. - Try to cut down on the number of invalidates
  9506. - Invalidate the rect the mouse is over and was over when moving
  9507. the mouse, so we get the focus box following the cursor.
  9508. 2006-03-23 Mike Kestner <[email protected]>
  9509. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  9510. focus rectangle drawing. Fixes #77835.
  9511. 2006-03-23 Mike Kestner <[email protected]>
  9512. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  9513. the if and else if and reverting back to the original == check on the
  9514. None conditional.
  9515. 2006-03-23 Alexander Olk <[email protected]>
  9516. * FontDialog.cs: Update the example panel if the selected index of
  9517. the fontListBox changes.
  9518. 2006-03-23 Alexander Olk <[email protected]>
  9519. * FileDialog.cs: Make FileDialog remember which directory it was in
  9520. last in the same execution.
  9521. 2006-03-22 Mike Kestner <[email protected]>
  9522. * FileDialog.cs: make the DropDownMenu on the toolbar display
  9523. RadioChecks since they are mutually exclusive and that's what MS does.
  9524. 2006-03-22 Mike Kestner <[email protected]>
  9525. * Theme.cs: add Color param to CPDrawMenuGlyph.
  9526. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  9527. checks and radio marks and arrows are visible on highlighted items.
  9528. * ControlPaint.cs: update to use new Theme signature.
  9529. 2006-03-22 Mike Kestner <[email protected]>
  9530. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  9531. is active. Fixes #77870.
  9532. 2006-03-22 Alexander Olk <[email protected]>
  9533. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  9534. to be focused/selected after startup
  9535. 2006-03-22 Alexander Olk <[email protected]>
  9536. * ColorDialog.cs:
  9537. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  9538. CustomColors and ShowHelp properties
  9539. - Some internal rewrites to get better results when using the
  9540. ColorMatrix
  9541. 2006-03-22 Mike Kestner <[email protected]>
  9542. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  9543. HoverSelection. Fixes #77836.
  9544. 2006-03-22 Mike Kestner <[email protected]>
  9545. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  9546. ToggleButtons. (De)Sensitize the Back button around a stack count of
  9547. 1, not 0. Update ButtonSize based on a pixel count of the win32
  9548. control. Adjust the toolbar size/location for new button size.
  9549. 2006-03-22 Jackson Harper <[email protected]>
  9550. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  9551. true.
  9552. * ScrollBar.cs: When doing increments and decrements we need to
  9553. set the Value property so that ValueChanged gets raised. A
  9554. possible optimization here would be to make an internal SetValue
  9555. that doesn't invalidate immediately.
  9556. * ToolTip.cs: Tooltips get added to their container (when
  9557. supplied) so they get disposed when the container is disposed.
  9558. - Don't create tooltips for String.Empty. This prevents all these
  9559. little 2-3 pixel windows from showing up when running nunit-gui
  9560. and driving me mad.
  9561. * Form.cs: Don't set topmost when setting the owner if the handles
  9562. haven't been created yet. The topmost set will happen when the
  9563. handles are created.
  9564. 2006-03-22 Peter Dennis Bartok <[email protected]>
  9565. * XplatUIX11.cs:
  9566. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  9567. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  9568. visible (to allow them to recalculate their sizes)
  9569. 2006-03-21 Mike Kestner <[email protected]>
  9570. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  9571. methods. Removed a ton of redundant code. Still not really happy with
  9572. the border rendering, but I think that's mainly because of the
  9573. ControlDarkDark being black instead of a dark grey. Depending on how
  9574. close we want to be, we might want to revisit those color choices.
  9575. Among the new features added during the refactor were DropDownArrow
  9576. pressed rendering, Disabled image rendering. Proper flat appearance
  9577. boundary rendering. Removed the Divider and Wrapping dividers since I
  9578. can't figure out any combination of themes and conditions to make the
  9579. MS control draw a horizontal line on a toolbar despite what the
  9580. Divider property docs indicate.
  9581. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  9582. conditions and incorrect layout. Updated to coding standard.
  9583. * ToolBarButton.cs: refactored layout and positioning code from
  9584. ToolBar to here. Invalidate wherever possible instead of forcing
  9585. redraws of the whole toolbar.
  9586. (Known remaining issues: explicit ButtonSize smaller than provided
  9587. images.)
  9588. 2006-03-21 Mike Kestner <[email protected]>
  9589. * ContextMenu.cs (Show): use the position parameter instead of just
  9590. showing at the MousePosition.
  9591. 2006-03-21 Jackson Harper <[email protected]>
  9592. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  9593. control handle this.
  9594. * TreeNodeCollection.cs: If we are clearing the root node we need
  9595. to reset top_node so calcs can still happen.
  9596. * ThemeWin32Classic.cs: This is a Flags so we need to check
  9597. properly.
  9598. 2006-03-21 Jackson Harper <[email protected]>
  9599. * DataGrid.cs: Create columns when the binding context has been
  9600. changed.
  9601. * X11Structs.cs: Keysyms are uints.
  9602. - Add size to fix build.
  9603. 2006-03-21 Peter Dennis Bartok <[email protected]>
  9604. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9605. XplatUIOSX.cs:
  9606. - Added ResetMouseHover method to allow controls to retrigger
  9607. hovering if they need it more than once
  9608. - Implemented MouseHoverTime and MouseHoverSize properties
  9609. * Timer.cs: Start() must reset the interval
  9610. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  9611. properties
  9612. 2006-03-21 Jackson Harper <[email protected]>
  9613. * X11Keyboard.cs: improved layout detection. Move the nonchar
  9614. tables into this file.
  9615. * KeyboardLayouts.cs: Move the tables into resource files.
  9616. 2006-03-21 Mike Kestner <[email protected]>
  9617. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  9618. 2006-03-21 Alexander Olk <[email protected]>
  9619. * Mime.cs: Various speed optimizations. Looking up mime types
  9620. is now 2 times faster than before
  9621. 2006-03-17 Peter Dennis Bartok <[email protected]>
  9622. * CreateParams.cs: Added internal menu field
  9623. * Control.cs:
  9624. - Switched call order for UpdateBounds; now we always call
  9625. the one that also takes ClientSize, and we're calculating the
  9626. client size via driver method in the others. The previous
  9627. method of tracking client size by difference wasn't working
  9628. for forms where even the starting client size wouldn't match
  9629. the overall form size (due to borders) (Part of fix for #77729)
  9630. - CreateParams(): Do not use parent.Handle unless the handle is
  9631. already created. Causes havoc with Nexxia and throws off our
  9632. creation of controls
  9633. * XplatUIX11.cs:
  9634. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  9635. - Switched handling of ConfigureNotify over to new PerformNCCalc
  9636. method (consolidates code)
  9637. - Changed RequestNCRecalc to use new PerformNCCalc method
  9638. - Added calls to RequestNCRecalc when menus and borders are changed
  9639. to allow app to set NC size. (Part of fix for #77729) This matches
  9640. when MS send a WM_NCRECALC on Win32 windows.
  9641. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  9642. (Part of fix for #77729). This matches what MS does, they also
  9643. send that message when the form is made visible.
  9644. - XException.GetMessage: Improved usability of X errors by including
  9645. a translation of the window into Hwnd and Control class
  9646. - Improved debug info for window creation, reparenting and destruction
  9647. - Created helper method WindowIsMapped() [Currently not used]
  9648. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  9649. * Form.cs:
  9650. - CreateParams: Now setting our menu on the new internal menu field
  9651. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  9652. avoid calculating the same property twice
  9653. * Hwnd.cs:
  9654. - Improved usability of ToString() for debugging purposes
  9655. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  9656. determine the height of the menu, instead of just the font. This
  9657. required to also create a graphics context and to keep a bmp
  9658. around (for performance reasons)
  9659. 2006-03-17 Peter Dennis Bartok <[email protected]>
  9660. * MenuAPI.cs: Added OnMouseUp method
  9661. * Form.cs:
  9662. - Now remembering the requested client size, avoids size errors
  9663. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  9664. instead of base if the menu is active. This is required due to
  9665. control now capturing and releasing on down/up and it would
  9666. prematurely release our menu capture
  9667. 2006-03-17 Jackson Harper <[email protected]>
  9668. * KeyboardLayouts.cs: Add the czech layouts.
  9669. 2006-03-16 Jackson Harper <[email protected]>
  9670. * Control.cs: Use the viewport space when sizing not the controls
  9671. client size, so things like ScrollableControl that effect the
  9672. viewport size (when scrollbars are added) are computed correctly.
  9673. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  9674. of ManagerEntrys.
  9675. - Handle creating BindingManagers for null data sources.
  9676. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  9677. source, otherwise when rows are added they are added to the 'fake'
  9678. datasource and we will crash when trying to set the position in
  9679. those rows.
  9680. - Use Implicit scrollbars on the datagrid so they arent
  9681. selectable.
  9682. 2006-03-16 Jackson Harper <[email protected]>
  9683. * Binding.cs:
  9684. * InternalWindowManager.cs:
  9685. * MdiWindowManager.cs:
  9686. * X11Keyboard.cs: I really want Mike to love me again (fix
  9687. compiler warnings).
  9688. 2006-03-16 Peter Dennis Bartok <[email protected]>
  9689. * DataGrid.cs:
  9690. - OnMouseDown: Switch to editing mode when clicking on the cell
  9691. even if we're clicking on the cell that's currently
  9692. selected
  9693. - ProcessGridKey: Left/Right now wrap like MS.Net does
  9694. - ProcessGridKey: Tab now knows to add a new row when tab is
  9695. pressed in the cell of the last column of the
  9696. last row
  9697. - ProcessGridKey: Enter now adds another row if pressed in the last
  9698. row and selectes the new row, same column cell
  9699. - ProcessGridKey: Home/End navigate columns, not rows, like
  9700. originally implemented
  9701. - Broke ProcessKeyPreview code out into an extra Internal method
  9702. so it can be called from the edit code
  9703. * DataGridTextBox.cs (ProcessKeyMessage):
  9704. - Switched to accept Tab keypresses
  9705. - Added F2 handling to allow jumping to the end of the edited cell
  9706. - Added logic to allow moving caret left/right inside edited cell
  9707. and making the edited cell jump when the caret hits cell borders
  9708. - Tab and Enter are now passed to the datagrid after being handled
  9709. * TextBoxBase.cs:
  9710. - Removed capture code now that Control handles it
  9711. - set_SelectionStart now ensures caret is visible
  9712. 2006-03-16 Jackson Harper <[email protected]>
  9713. * TrackBar.cs: Debackwards the increment/decrement for handling
  9714. mouse clicks on the bar with vertical trackbars.
  9715. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  9716. bottom to match MS.
  9717. 2006-03-16 Mike Kestner <[email protected]>
  9718. * ListView.cs: make shift/ctrl keyboard and mouse selection
  9719. consistent with the MS control. Fix a bug in
  9720. SelectedListViewItemCollection.Clear that was pissing me off for the
  9721. better part of a day because the collection was being altered
  9722. underneath us as we walked the list.
  9723. 2006-03-16 Peter Dennis Bartok <[email protected]>
  9724. * Control.cs: Not sure how we could miss this so long, but it seems
  9725. that MS.Net has Capture set all the way from before calling
  9726. OnMouseDown through sending the mouse events until after
  9727. OnMouseUp. This will fix DataGrid's selection being set to end
  9728. at the location of the MouseUp.
  9729. 2006-03-15 Jackson Harper <[email protected]>
  9730. * BindingContext.cs: Check the binding after its added so that it
  9731. can initialize the binding managers and hookup to events.
  9732. * Binding.cs: Data members seem to sometimes include rows/cols in
  9733. the format Row.Column we now take this into account.
  9734. - Hookup to the position changed event so we can update the
  9735. control when the position has changed in the data set.
  9736. * CurrencyManager.cs: Take into account the row/col naming
  9737. convention when creating dataset tables.
  9738. * BindingContext.cs: Using a newer better way of storing
  9739. datasource/datamember pairs. Hopefully this better matches MS for
  9740. looking up binding managers.
  9741. 2006-03-15 Jackson Harper <[email protected]>
  9742. * BindingContext.cs: The currency manager needs the data member
  9743. name, if the member is a data set we use the name to find the
  9744. correct table.
  9745. * CurrencyManager.cs: When creating the list prefer an IList over
  9746. an IListSource.
  9747. - Attempt to create a DataTable from a DataSet (TODO: might need
  9748. some better error checking here, although MS doesn't seem to have much)
  9749. - If we have a DataTable create a view and use it as our list.
  9750. 2006-03-15 Mike Kestner <[email protected]>
  9751. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  9752. keyboard navigation. Support Up/Down/Left/Right selection correctly
  9753. for all 4 View modes.
  9754. * ListViewItem.cs: add internal row/col fields for icon layouts.
  9755. 2006-03-15 Jackson Harper <[email protected]>
  9756. * TabControl.cs: Redraw the tabs when we resize so their newly
  9757. calculated sizes are drawn on screen.
  9758. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  9759. composite characters.
  9760. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  9761. - filter events so that composite characters can be created
  9762. patches by peter
  9763. * X11Structs.cs: Add XIMProperties enum.
  9764. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9765. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  9766. unless it's created
  9767. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9768. * Control.cs (PerformLayout): We don't need to consider visiblity
  9769. for anchoring, only for docking. This fixes 'whacky' alignment
  9770. in listbox and other controls that use implicit scrollbars after
  9771. the previous PerformLayout patch
  9772. * ListBox.cs: Switched to use implicit scrollbars
  9773. 2006-03-14 Mike Kestner <[email protected]>
  9774. * ToolBar.cs:
  9775. * VScrollBar.cs:
  9776. - chain up the "new event" overrides to base and use
  9777. OnEvent to raise them. Part of fix for bug #76509.
  9778. 2006-03-14 Alexander Olk <[email protected]>
  9779. * FileDialog.cs: Do not select an item in the parent directory
  9780. on backspace
  9781. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9782. * Control.cs (PerformLayout): It would seem that we considered
  9783. invisible windows for our layout. Not quite the right thing
  9784. to do. Now we don't any longer, thereby fixing bug #76889.
  9785. 2006-03-14 Peter Dennis Bartok <[email protected]>
  9786. * Control.cs (CanFocus): I goofed. A control can have focus
  9787. even though it's not selectable. Made it match MS docs.
  9788. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9789. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  9790. center by default (fixes #76895)
  9791. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  9792. all uses of Border3DSides.All with the explicit ORd together
  9793. Left|Right|Top|Bottom because I assume that nobody was aware
  9794. that All also implies a center fill. Most places I checked had
  9795. a fill right above.
  9796. * ProgressBarStyle.cs: Added
  9797. 2006-03-13 Mike Kestner <[email protected]>
  9798. * ListView.cs: fix breakage in drag shadow header positioning
  9799. from Peter's csc compilation fix.
  9800. 2006-03-13 Mike Kestner <[email protected]>
  9801. * ListView.cs: fix NRE produced by backspacing twice in a focused
  9802. FileDialog.
  9803. 2006-03-13 Mike Kestner <[email protected]>
  9804. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  9805. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9806. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  9807. be changed
  9808. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  9809. the allowed size before making programmatic size changes
  9810. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9811. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  9812. set, metacity is broken and will still use the emty sizes in
  9813. the struct. (Fix for #77089)
  9814. 2006-03-13 Peter Dennis Bartok <[email protected]>
  9815. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  9816. WindowExStyles and marked both enums as Flags
  9817. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  9818. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  9819. to match WindowStyles split
  9820. * XplatUIX11.cs:
  9821. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  9822. - Updated to match WindowStyles split
  9823. * XplatUIWin32.cs:
  9824. - Fixed FosterParent creation, was using ExStyle on the Style field
  9825. (This should help with Popup focus issues)
  9826. - Updated to match WindowStyles split
  9827. 2006-03-13 Jackson Harper <[email protected]>
  9828. * MdiWindowManager.cs: Use the system menu height. Fixes some
  9829. strange sizing issues.
  9830. 2006-03-12 Peter Dennis Bartok <[email protected]>
  9831. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  9832. * TextBoxBase.cs:
  9833. - Scroll to caret after inserting text (#77672)
  9834. - Make scroll range one pixel higher, fixes off-by-one error (and
  9835. makes underlines visible on the last line)
  9836. 2006-03-12 Peter Dennis Bartok <[email protected]>
  9837. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  9838. the keyboard state from being stuck with keys in 'pressed' state when
  9839. focus is switched away via keyboard
  9840. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  9841. reset the keyboard if no X11 KeyUp events are expected to come
  9842. * X11Structs.cs: Switched type of Visible to bool to match driver
  9843. 2006-03-12 Peter Dennis Bartok <[email protected]>
  9844. * TextControl.cs:
  9845. - Switched caret to be just 1 pixel wide, matches MS and looks less
  9846. clunky
  9847. - Moved caret display 1 pixel down from the top of the control
  9848. to improve view
  9849. - InsertCharAtCharet: Update the selection start if moving the caret
  9850. (fixes bug #77696; based on patch suggested by [email protected])
  9851. - No longer always creating the caret when the caret methods are
  9852. called. Only the actual ShowCaret/HideCaret will do that now
  9853. - Only setting caret visible if the owner control has focus
  9854. - UpdateView: Added invalidation-shortcut logic for center and right
  9855. aligned text. Previously we'd update all according to the left
  9856. logic which caused drawing errors. Also fixed height of invalidated
  9857. areas, now properly invalidating the whole area (was off-by-one)
  9858. - owner_HandleCreated: Always generate the document when the
  9859. handle is created; this ensures that
  9860. * TextBoxBase.cs:
  9861. - Fixed situation where caret would disappear under the right
  9862. window border, also improved scrolling behaviour on left-
  9863. aligned textboxes
  9864. - Fixed right-aligned textboxes to have a border to the
  9865. right instead of the caret being under the right border
  9866. * XplatUIX11.cs:
  9867. - Switched from 'nested' to simple visible/not visible tracking
  9868. for caret (part of fix for #77671)
  9869. - No longer passing through translated FocusIn/FocusOut messages
  9870. since we were notifying too often and the wrong windows. Instead
  9871. we just notify our focussed window of receiving or loosing focus
  9872. * XplatUIWin32.cs: Switched from 'nested' show/hide
  9873. counting for caret to simple visible yes/no behaviour (part of
  9874. fix for #77671)
  9875. 2006-03-11 Alexander Olk <[email protected]>
  9876. * Mime.cs: Remove debug code...
  9877. 2006-03-11 Alexander Olk <[email protected]>
  9878. * MimeGenerated.cs: Removed
  9879. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  9880. and subclasses) from /usr/(local/)share/mime and
  9881. $HOME/.local/share/mime.
  9882. 2006-03-10 Jackson Harper <[email protected]>
  9883. * MdiWindowManager.cs: Recalc the NC area when a window is
  9884. maximized/restored so that the menu area is drawn on forms that
  9885. don't have a menu.
  9886. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9887. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9888. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  9889. us to force a WM_NCCALCRESIZE message being sent. This is needed
  9890. for MDI maximizing.
  9891. 2006-03-10 Jackson Harper <[email protected]>
  9892. * Form.cs: We need to use the ActiveMenu when calculating menu
  9893. height.
  9894. - Fix nullref when the window manager hasn't been created yet.
  9895. * Control.cs: Fix nullref when we try to bring a control to the
  9896. front that has no parent.
  9897. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  9898. height.
  9899. - Add a dummy item to the maximized menu so it always has the
  9900. correct height. Otherwise when there are no menus we don't get our
  9901. icon and buttons.
  9902. 2006-03-10 Jackson Harper <[email protected]>
  9903. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  9904. stuff.
  9905. * Form.cs: Make the window_state internal so the window managers
  9906. can track it.
  9907. - When an MDI child is maximized let its window manager create the
  9908. main menu (so it can add its icon).
  9909. - Notify the window managers of state changes
  9910. - Let the window manager paint its buttons and handle button
  9911. clicks on the menu when it is maximized.
  9912. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  9913. window manager, since tool windows don't use it, only mdi windows.
  9914. - Tell the main form that we don't want it to handle NCPAINT
  9915. itself to avoid extra painting.
  9916. - Handle clicks on a maximized windows menu.
  9917. - Handle window state changes
  9918. - Handle minimize/maximize clicks correctly by setting the window state.
  9919. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  9920. when clicking on the forms icon).
  9921. - New method to create a forms maximized menu. This is its normal
  9922. menu + an icon.
  9923. - Handle window state changes.
  9924. - Handle sizing of maximized windows. Maximized windows are just
  9925. drawn bigger then the parent visible area. All controls are still
  9926. there, they are just outside the visible area (this matches windows).
  9927. * MdiClient.cs: No scrollbars when a child window is maximized.
  9928. - Let the children windows figure out how big they should be when
  9929. sizing maximized windows.
  9930. - Implement a version of ArrangeIconicWindows somewhat similar to
  9931. Windows version. There are some little differences, but I don't
  9932. think any app will rely on the layout of minimized mdi windows.
  9933. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9934. * Padding.cs: Several fixes to allow compiling with csc 2.0
  9935. 2006-03-09 Jackson Harper <[email protected]>
  9936. * Menu.cs:
  9937. * MenuItem.cs: Cheap hack so we can add items to the list without
  9938. the events being raised. This allows adding mdi items during
  9939. drawing. TODO: Should probably find a better time to add the items.
  9940. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9941. * ThemeWin32Classic.cs:
  9942. - CheckBox_DrawText: Added logic to not wrap if not enough space
  9943. is available (Fix for bug #77727)
  9944. - RadioButton_DrawText: Added logic not to wrap if not enough
  9945. space is available (Fix for bug #77727). Also removed some
  9946. duplicate code, DrawString always drawing the regular text
  9947. before hitting the if statement.
  9948. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9949. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  9950. 2006-03-10 Peter Dennis Bartok <[email protected]>
  9951. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  9952. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  9953. methods. Moved the new 2.0 properties into alphabetical order with
  9954. other properties and added MonoTODO tags
  9955. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9956. * AutoScaleMode.cs: Added. Fix build.
  9957. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9958. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9959. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  9960. and was requiring premature handle creation for calls from above
  9961. * Form.cs, Control.cs: Removed handle arguments from calls to
  9962. CalculateClientRect()
  9963. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9964. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  9965. drag_column.column_rect is MarshalByRef and can't be used that way
  9966. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9967. * AxHost.cs: Added deserialization constructor for
  9968. AxHost+State (fixes 77743)
  9969. 2006-03-09 Mike Kestner <[email protected]>
  9970. * ListView.cs:
  9971. - Added column drag reordering for details view.
  9972. - fixed behavior when mouse is dragged off column and
  9973. AllowColumnReorder is false.
  9974. * ColumnHeader.cs: clone the format too in Clone.
  9975. * Theme.cs: add DrawListViewHeaderDragDetails method.
  9976. * ThemeWin32Classic.cs:
  9977. - impl new method for drawing drag column shadows and targets.
  9978. - support column offset for details mode in DrawListViewItem.
  9979. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9980. * TextControl.cs: Reset the char_count when the document is cleared
  9981. (Fixes bug reported on mono-winforms mailing list)
  9982. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9983. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  9984. of calling base we simply process the key ourselves, since both
  9985. DefWindowProc and the handled method would set m.Result.
  9986. (Fixes #77732)
  9987. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9988. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  9989. method also moves the window; instead implemented a copy of
  9990. Control.ScaleCore (Part of fix for #77456)
  9991. * TextBoxBase.cs:
  9992. - Created new CreateGraphicsInternal method to allow providing
  9993. a graphics context when no handle is created without triggering
  9994. handle creation. (Part of fix for #77456)
  9995. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  9996. * TextControl.cs:
  9997. - Switched Constructor to require TextBoxBase instead of Control (to
  9998. allow uncast access to CreateGraphicsInternal)
  9999. - Safeguarded use of owner.Handle property. No longer accessing it
  10000. unless the handle is already created.
  10001. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  10002. - Now triggering a recalc when owning control becomes visible
  10003. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  10004. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  10005. premature handle creation (Part of fix for #77456)
  10006. * Control.cs:
  10007. - We now only destroy our double-buffering buffers when the
  10008. control is resized or disposed, but not when visibility
  10009. changes. (The code even re-created them twice every time)
  10010. - Now requiring a redraw of the buffer on visibility changes
  10011. (fixes bug 77654 part 2)
  10012. - Not passing OnParentVisibleChanged up unless the control
  10013. is visible
  10014. - CanFocus: Fixed to match MS documentation
  10015. - Focus: Fixed to return actual focus state and to check if
  10016. setting focus is legal before setting it
  10017. 2006-03-08 Peter Dennis Bartok <[email protected]>
  10018. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  10019. when to draw focus rectangle by looking at parent focus and
  10020. selected state instead. This fixes TabPages on Linux sometimes
  10021. having none or multiple focus rectangles.
  10022. * XplatUIX11.cs (SetFocus):
  10023. - Don't set the focus if the same window already has focus
  10024. - Use SendMessage instead of PostMessage (like it's Win32
  10025. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  10026. to match MS behaviour
  10027. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  10028. are not selectable.
  10029. 2006-03-07 Jackson Harper <[email protected]>
  10030. * PictureBox.cs: Revert line I accidently committed last week.
  10031. 2006-03-07 Peter Dennis Bartok <[email protected]>
  10032. * Control.cs:
  10033. - Added new IsRecreating and ParentIsRecreating properties to
  10034. allow testing if RecreateHandle has been called on ourselves
  10035. or one of our parents
  10036. - WndProc(WM_DESTROY): If our control handle is being recreated
  10037. we immediately need to create the handle when receiving the
  10038. destroy, that way our child windows find a valid parent handle
  10039. when they themselves are being recreated upon WM_DESTROY receipt
  10040. (fix for bug #77654 part 1)
  10041. * XplatUIX11.cs:
  10042. - DestroyWindow: WM_DESTROY must be sent to our own window before
  10043. notifying any child windows. MS documents that child windows
  10044. are still valid when WM_DESTROY is received. (Control now relies on
  10045. this behaviour)
  10046. - Added some fine-grain debug options
  10047. 2006-03-06 Jackson Harper <[email protected]>
  10048. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  10049. box and base calculations off this.
  10050. * MdiChildContext.cs:
  10051. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  10052. anymore.
  10053. 2006-03-06 Peter Dennis Bartok <[email protected]>
  10054. * Splitter.cs: In situations where the affected control is added
  10055. to the parent's control list after the splitter, we would not
  10056. populate affected. Now we try populating it on mousedown, if
  10057. it's not already set, and force it to be re-set whenever our
  10058. parent changes.
  10059. 2006-03-03 Matt Hargett <[email protected]>
  10060. * Control.cs: implement Control.Padding
  10061. * Padding.cs: -Padding.All returns -1 when constructing with the
  10062. implicit default ctor
  10063. -Padding.ToString() matches MS.NET
  10064. * ContainerControl.cs: implement
  10065. ContainerControl.AutoScaleDimensions
  10066. * ListControl.cs: implement ListControl.FormattingEnabled
  10067. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  10068. * ButtonBase.cs:
  10069. * TabPage.cs: Implement UseVisualStyleBackColor.
  10070. * PictureBox.cs: Implement PictureBox.InitialImage.
  10071. 2006-03-03 Mike Kestner <[email protected]>
  10072. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  10073. event declarations to proxy to base event.
  10074. * ListViewItem.cs: update to use ItemControl.
  10075. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  10076. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  10077. column header label rendering for 0 width columns.
  10078. 2006-03-03 Peter Dennis Bartok <[email protected]>
  10079. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  10080. that causes the control to be created. Fixes #77476.
  10081. 2006-03-02 Jackson Harper <[email protected]>
  10082. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  10083. expose_pending.
  10084. 2006-03-02 Peter Dennis Bartok <[email protected]>
  10085. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  10086. passed in for the EventArgs (fixes #77690)
  10087. 2006-03-01 Jackson Harper <[email protected]>
  10088. * ScrollBar.cs: Refresh afterbeing resized.
  10089. 2006-02-28 Mike Kestner <[email protected]>
  10090. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  10091. Clean up a tracker compile warning.
  10092. * MenuItem.cs: add internal PerformPopup method.
  10093. [Fixes #77457]
  10094. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10095. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  10096. implicit expose) when the text is set to null
  10097. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10098. * RichTextBox.cs (FlushText): When newline is true, we always
  10099. need to split the line, even if no text is on it and we may
  10100. never eat newlines. (Fixes #77669)
  10101. 2006-02-28 Mike Kestner <[email protected]>
  10102. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  10103. and set Selected instead.
  10104. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  10105. collections.
  10106. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10107. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  10108. 2006-02-28 Alexander Olk <[email protected]>
  10109. * FontDialog.cs:
  10110. - Got rid of the panel. All controls are now directly added to
  10111. the dialog form
  10112. - It is now possible to set a font with the Font property
  10113. - MinSize and MaxSize property do now what they should
  10114. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  10115. - Searching and selecting a font with the font textbox works now,
  10116. the same applies to the style and size textbox
  10117. - Draw the correct 3D border in the example panel
  10118. - Fixed a little mem leak (unused fonts didn't get disposed)
  10119. - Many other internal updates/rewrites...
  10120. - Fix typo
  10121. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10122. * TextControl.cs:
  10123. - InsertRTFFromStream: Added 'number of characters inserted' argument
  10124. - set_SelectedRTF: Now using the number of characters to calculate
  10125. the new location for the selection and cursor (x/y cannot be used
  10126. due to potentially already wrapped text)
  10127. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10128. * TextControl.cs: Added property and implemented means to allow
  10129. disabling recalculation of a document (can be used to speed up
  10130. multiple inserts and is needed to make RTF inserts predictable, see
  10131. bug #77659)
  10132. * RichTextBox.cs: Using the new NoRecalc property of Document to
  10133. keep x/y insert locations predictable. Also makes it faster inserting
  10134. large chunks of RTF
  10135. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10136. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  10137. it's easier for a child control to handle the other messages without
  10138. having to duplicate the special functionality
  10139. * TextBoxBase.cs
  10140. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  10141. code to handle processing the key ourselves, in order to get
  10142. access to the result of KeyEventArgs.Handled. We now only call
  10143. ProcessKey if they key hasn't been handled already. Fixes #77526.
  10144. - set_Text: If null or empty string is given, just clear the
  10145. document. Fixes part of #77526
  10146. 2006-02-27 Jackson Harper <[email protected]>
  10147. * SizeGrip.cs: Paint the background color before painting the grip
  10148. so things look right.
  10149. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  10150. 2006-02-27 Mike Kestner <[email protected]>
  10151. * ListView.cs:
  10152. - Restructure layout and invalidation model to remove a ton of
  10153. flicker from the control and speed up performance in general.
  10154. - Add manual column resize, flickers like crazy, but I already have
  10155. some ideas on how I'll fix that. (#76822)
  10156. - Merge the three Icon-based views into a single layout method.
  10157. - Move item selection interaction logic from the item since
  10158. interaction with the collections is more appropriate to the view.
  10159. - Deselection on non-item clicks.
  10160. * ListViewItem.cs:
  10161. - Encapsulate most of the layout. Add some internal props to trigger
  10162. layout. Move to a model where Items invalidate themselves instead
  10163. of just invalidating the whole control every time something changes.
  10164. - Invalidate on Text/Caption changes.
  10165. - switch to an offset based layout model to avoid having to absolute
  10166. position every element on item moves.
  10167. - correct checkbox layout to conform to MS layout.
  10168. * ThemeWin32Classic.cs:
  10169. - refactor some column header drawing code.
  10170. - fix string justification for column headers (#76821)
  10171. - make SmallIcon labels top justified for compat with MS impl.
  10172. * ThemeClearlooks.cs:
  10173. - adjust to new ListViewItem internal checkbox bounds api.
  10174. 2006-02-27 Jackson Harper <[email protected]>
  10175. * Control.cs: Change where implicit controls fall in the zorder.
  10176. They are now on top of all children.
  10177. - Synced AddImplicit code with Add
  10178. - Removed unused enumerator.
  10179. * SizeGrip.cs: Remove the TODO as its been TODONE.
  10180. 2006-02-26 Peter Dennis Bartok <[email protected]>
  10181. * TextControl.cs(Insert): Combine the last lines unless the insertion
  10182. string ends with \n\n, otherwise we leave one line too many (Fixes
  10183. something I noticed with the testapp for #77526; the bug itself was
  10184. already fixed in the previous checkin)
  10185. 2006-02-26 Peter Dennis Bartok <[email protected]>
  10186. * RichTextBox.cs:
  10187. - SelectionColor and SelectionFont methods no longer set absolute
  10188. styles. Instead, the keep font or color respectively (This
  10189. resolves a long-standing FIXME in the code)
  10190. - When flushing RTF text, the insert code now considers text trailing
  10191. behind the insertion point (Fixes the bug where when replacing
  10192. the selected text via SelectedRTF the remainder of the line behind
  10193. the selection would stay on the first insertion line)
  10194. * TextBoxBase.cs:
  10195. - AppendText now updates the selection points after inserting text
  10196. - AppendText now ensures that the last tag (sometimes 0-length) of
  10197. the document is used for the style information (Fixes part of
  10198. bug #77220)
  10199. * TextControl.cs:
  10200. - Created new FontDefiniton class to allow describing partial style
  10201. changes
  10202. - StreamLine() now takes a lines argument, to allow it to decide
  10203. whether an encountered zero-length tag is the last in the document
  10204. (which must be kept to not loose the font/color contained in it,
  10205. for later appends)
  10206. - Created Combine() and Split() methods for Marker structs, to
  10207. support marker updates due to reformatted documents (soft line
  10208. wraps)
  10209. - Implemented Document.CaretTag setter
  10210. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  10211. of the last line (Not the cause, but also exposed by bug #77220)
  10212. - Added LineTag argument to InsertString method, to allow callers
  10213. to force a certain tag to be used (required to force use of the
  10214. trailing zero-length tag of a document)
  10215. - Now updating markers in Combine(), to avoid stale tag markers
  10216. - Added some method descriptions to aid maintenance
  10217. - Implemented new FormatText concept, allowing additive/subtractive
  10218. formatting by only specifying the components that are to be
  10219. changed. This was needed for resolving the RTB.SelectedColor/
  10220. RTB.SelectedFont fixmes
  10221. - Added Break() support method to allow breaking up linetags (used
  10222. for partial formatting)
  10223. - Added GenerateTextFormat() method. It is used for partial
  10224. formatting and allows to generate a full font/color from given
  10225. attributes and an existing tag.
  10226. 2006-02-26 Jackson Harper <[email protected]>
  10227. * XplatUIX11.cs: Use the correct caption height.
  10228. - Translate hittest coordinates to screen coords to match MS.
  10229. * XplatUIWin32.cs: When we create MDI windows we need to reset
  10230. some of the style flags, so we get a nice blank window, and can
  10231. draw all the decorations ourselves.
  10232. - Set a clipping rectangle on the non client paint event, the
  10233. window manager drawing code needs one.
  10234. * Form.cs: The window manager needs to know when the window state
  10235. has been updated.
  10236. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  10237. don't need to factor in border and title sizes in these
  10238. methods. TODO: Remove the args and fix the call points.
  10239. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  10240. properly.
  10241. - Let the driver set the cursors.
  10242. - Improve active window handling
  10243. - Correct sizes for title bars and buttons.
  10244. - Match MS drawing better
  10245. * MdiWindowManager.cs: We don't need to handle border style
  10246. updates specially anymore.
  10247. - Check for scrollbars when windows are done moving
  10248. - Handle Active properly.
  10249. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  10250. correctly. I am spewing the exception though, so we don't hide the
  10251. bugs.
  10252. 2006-02-26 Pedro Martinez Julia <[email protected]>
  10253. * DataGridViewRowPostPaintEventArgs.cs,
  10254. DataGridViewCellPaintingEventArgs.cs,
  10255. DataGridViewRowCollection.cs,
  10256. DataGridViewRowPrePaintEventArgs.cs,
  10257. DataGridViewCell.cs: Clear a few warnings and implement a few
  10258. exceptions that should be thrown.
  10259. 2006-02-22 Peter Dennis Bartok <[email protected]>
  10260. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  10261. 'inheriting' our parent's (non-default) cursor. (Part of
  10262. the fix for #77479)
  10263. 2006-02-22 Peter Dennis Bartok <[email protected]>
  10264. * XplatUIX11.cs: Fixed cast to make csc happy
  10265. 2006-02-22 Peter Dennis Bartok <[email protected]>
  10266. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  10267. it's for the client area (part of fix for #77479 and needed
  10268. for MDI window cursor handling)
  10269. * XplatUIX11.cs
  10270. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  10271. the appropriate default cursors and also passing the message
  10272. up the parent chain
  10273. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  10274. for non-client areas
  10275. 2006-02-15 Jackson Harper <[email protected]>
  10276. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  10277. is a real MDI window
  10278. 2006-02-14 Alexander Olk <[email protected]>
  10279. * X11DesktopColors.cs: Instead of checking the desktop session
  10280. string for "KDE" check if it starts with "KDE"
  10281. 2006-02-10 Jackson Harper <[email protected]>
  10282. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  10283. systems).
  10284. 2006-02-10 Alexander Olk <[email protected]>
  10285. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  10286. errors
  10287. * ColorDialog.cs:
  10288. - Got rid of the panel. All controls are now directly added to
  10289. the dialog form
  10290. - Changed to mono coding style
  10291. 2006-02-10 Jackson Harper <[email protected]>
  10292. * InternalWindowManager.cs: We don't need the set visibility to
  10293. false hack anymore now that peter has written beautiful shutdown
  10294. code.
  10295. 2006-02-10 Peter Dennis Bartok <[email protected]>
  10296. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  10297. where already explicitly destroyed
  10298. 2006-02-10 Jackson Harper <[email protected]>
  10299. * MdiClient.cs: Handle the case where windows are too high or to
  10300. the left and we need scrollbars.
  10301. 2006-02-10 Alexander Olk <[email protected]>
  10302. * MimeIcon.cs: Added some icons
  10303. * FileDialog.cs:
  10304. - Fixed bug #77477
  10305. - Got rid of the panel. All controls are now directly added to
  10306. the dialog form
  10307. - Changed to mono coding style
  10308. - On Linux "My Computer" and "My Network" will now show some
  10309. more usefull information. A new class, MasterMount, gathers
  10310. this information from /proc/mount. Updated MWFFileView to make
  10311. use of this information
  10312. - Fixed a bug that caused FileDialog to crash when
  10313. ".recently_used" file had a zero size
  10314. - FilterIndex does now what it should
  10315. - Some Refactoring
  10316. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  10317. FileDialog changes
  10318. 2006-02-09 Jackson Harper <[email protected]>
  10319. * ComboBox.cs: Don't touch if null.
  10320. 2006-02-09 Peter Dennis Bartok <[email protected]>
  10321. * Cursor.cs: 64bit safeness fix
  10322. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  10323. 2006-02-09 Jackson Harper <[email protected]>
  10324. * Form.cs: If a form is made into an MDI form update the styles so
  10325. all the props can get set correctly.
  10326. - Kill the mdi_container when we dont need it anymore.
  10327. * InternalWindowManager.cs: Add missing NOT
  10328. 2006-02-08 Jackson Harper <[email protected]>
  10329. * InternalWindowManager.cs: Respek clipping when drawing MDi
  10330. decorations.
  10331. 2006-02-08 Jackson Harper <[email protected]>
  10332. * Hwnd.cs: Add bits to track non client expose events.
  10333. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  10334. gives us a proper invalid rect and will allow for some nice
  10335. optimizations with NC client drawing
  10336. - MDI windows are children windows, so move their style handling
  10337. into the child window block.
  10338. * InternalWindowManager.cs: Remove a state reset that was
  10339. getting invoked at the wrong time. Fixes managed windows getting
  10340. into a 'stuck' captured state.
  10341. 2006-02-07 Peter Dennis Bartok <[email protected]>
  10342. * TextControl.cs (Document.ctor): Now initializing
  10343. selection_anchor. Fixes #77493
  10344. 2006-02-07 Jackson Harper <[email protected]>
  10345. * TrackBar.cs: The increment/decrements were backwards.
  10346. 2006-02-07 Mike Kestner <[email protected]>
  10347. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  10348. to the instance itself.
  10349. 2006-02-07 Peter Dennis Bartok <[email protected]>
  10350. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  10351. on ulongs and pointers, the size differs between 32bit and 64bit
  10352. systems.
  10353. 2006-02-07 Mike Kestner <[email protected]>
  10354. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  10355. for 64 bit platforms to work around a metacity bug.
  10356. 2006-02-07 Jackson Harper <[email protected]>
  10357. * TrackBar.cs: Process the input keys we need, and hookup to
  10358. KeyDown instead of using WndProc, so we get key messages.
  10359. 2006-02-06 Peter Dennis Bartok <[email protected]>
  10360. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  10361. machine we're on.
  10362. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  10363. we need to translate the XdndVersion atoms array before sending it
  10364. 2006-02-06 Peter Dennis Bartok <[email protected]>
  10365. * XplatUIX11.cs:
  10366. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  10367. number of bits for the property, not the number of bytes. The
  10368. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  10369. but would not crash since it specified 8 bits instead of 4 bits)
  10370. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  10371. defined as XID -> long in the C headers)
  10372. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  10373. references since those are now IntPtr to begin with
  10374. - Switched all Atom.XXX 'int' casts to IntPtr casts
  10375. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  10376. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  10377. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  10378. * X11Structs.cs:
  10379. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  10380. - Changed atom in HoverStruct to be IntPtr
  10381. * X11DnD.cs:
  10382. - Removed local DllImports, switched code to use those from XplatUIX11
  10383. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  10384. 2006-02-06 Mike Kestner <[email protected]>
  10385. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  10386. method signatures in the import region. There may still be some
  10387. lingering struct marshaling issues, as I didn't drill down into those.
  10388. Yet.
  10389. 2006-02-06 Jackson Harper <[email protected]>
  10390. * ComboBox.cs: Dont manually set the top_item, this is computed
  10391. when the scrollbar position is set.
  10392. 2006-02-06 Mike Kestner <[email protected]>
  10393. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  10394. startup crashes on amd64. There's other fixes needed. All pinvoke
  10395. usage of Atom needs to be mapped to IntPtr for example. And there are
  10396. likely other int/long issues to be addressed.
  10397. 2006-02-04 Alexander Olk <[email protected]>
  10398. * FileDialog.cs: One more...
  10399. 2006-02-03 Alexander Olk <[email protected]>
  10400. * FileDialog.cs: Next try
  10401. 2006-02-03 Alexander Olk <[email protected]>
  10402. * FileDialog.cs: First part of fix for #77464
  10403. 2006-02-03 Alexander Olk <[email protected]>
  10404. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  10405. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  10406. AcceptButton border drawing.
  10407. 2006-02-03 Peter Dennis Bartok <[email protected]>
  10408. * Form.cs: Moved positioning of form after auto scaling is applied,
  10409. otherwise it would possibly use wrong form size.
  10410. 2006-02-03 Peter Dennis Bartok <[email protected]>
  10411. * Control.cs (RecreateHandle): No need to re-create any child
  10412. controls, the child windows will get destroyed automatically by
  10413. the windowing system or driver, and re-created when the handle
  10414. is being accessed the first time. Fixes #77456
  10415. * Form.cs: No longer setting the form to closing if the handle is
  10416. being recreated. This seems like the right thing to do, don't
  10417. have a bug or testcase for this, though.
  10418. 2006-02-02 Peter Dennis Bartok <[email protected]>
  10419. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  10420. controls to avoid unwanted side effects
  10421. 2006-02-02 Peter Dennis Bartok <[email protected]>
  10422. * Control.cs:
  10423. - ScaleCore needs to scale the bounds, not the ClientSize of the
  10424. control. Fixes #77416.
  10425. - DefaultSize is 0,0 for control
  10426. * TextBoxBase.cs:
  10427. - DefaultSize is 100, 20
  10428. - SetBoundsCore: Now enforcing the height, no matter if the provided
  10429. height is more or less than the preferred one, as long as AutoSize
  10430. is on
  10431. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  10432. 2006-02-02 Peter Dennis Bartok <[email protected]>
  10433. * Control.cs:
  10434. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  10435. call unless both performLayout is true *and* we have a pending
  10436. layout change
  10437. - ResumeLayout: MS does not completely nest Suspend and Resume,
  10438. they bottom out at 0, fixed our code to match that.
  10439. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  10440. SetBoundsCore, we were updating even when we shouldn't. This fixes
  10441. swf-anchors mis-anchoring when resizing the app fast and lots.
  10442. - UpdateDistances: Now only setting the left and top distance if
  10443. we have a parent and are not suspended, this is based on
  10444. a suggestion by Don Edvaldson in bug #77355.
  10445. - OnVisibleChanged: Fixed logic when to create the control. We may
  10446. not create the control if we have no parent or if it's not visible;
  10447. switched to using Visible property instead of is_visible field
  10448. since the property also considers parent states. This fixes a bug
  10449. when starting Paint.Net
  10450. 2006-02-02 Jackson Harper <[email protected]>
  10451. * Form.cs: If the forms handle hasn't been created yet don't call
  10452. into xplatui to make it top most, just set the topmost flag on the
  10453. form in CreateParams
  10454. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  10455. 2006-02-01 Jackson Harper <[email protected]>
  10456. * ScrollableControl.cs: Refactored the Recalculate method a
  10457. little, this wasn't handling all the variants of bottom and right
  10458. bars needed to be added and added/removed based on their
  10459. counterparts being added/removed (which changes the drawable
  10460. size). Also we special case client widths and heights of 0 and
  10461. don't add the scrollbar for those.
  10462. 2006-02-01 Peter Dennis Bartok <[email protected]>
  10463. * XplatUIX11.cs:
  10464. - Added method to get AbsoluteGeometry(); currently unused, but might
  10465. be used in the future, if we try again to figure out toplevel
  10466. coordinates with some more crappy window managers
  10467. - Added FrameExtents() method to retrieve the WM set decoration size
  10468. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  10469. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  10470. * Hwnd.cs:
  10471. - Added whacky_wm tracking var for metacity
  10472. - Added logic to have default menu height if the actual menu height
  10473. has not yet been calculated (part of fix for #77426)
  10474. * Form.cs: Keep track whether client size has been set and re-set
  10475. it if a menu is added/removed afterwards (Fixes #77426)
  10476. 2006-01-31 Jackson Harper <[email protected]>
  10477. * Control.cs: When a new Site is set on the component attempt to
  10478. pull the AmbientProperties from it.
  10479. 2006-01-31 Peter Dennis Bartok <[email protected]>
  10480. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  10481. in the background of the owning form. Fixes #77332
  10482. 2006-01-31 Alexander Olk <[email protected]>
  10483. * MimeIcon.cs: Fix for #77409
  10484. 2006-01-31 Alexander Olk <[email protected]>
  10485. * XplatUIX11GTK.cs: Initial import
  10486. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  10487. * FixedSizeTextBox: fixes class signature
  10488. 2006-01-30 Jackson Harper <[email protected]>
  10489. * FixedSizeTextBox.cs: New internal class that represents a
  10490. textBox that will not be scaled.
  10491. * TreeView.cs:
  10492. * ComboBox.cs:
  10493. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  10494. standard TextBox.
  10495. 2006-01-30 Peter Dennis Bartok <[email protected]>
  10496. * XplatUIX11.cs: Retrieve default screen number instead of
  10497. assuming 0. Attempted fix for #77318
  10498. 2006-01-30 Peter Dennis Bartok <[email protected]>
  10499. * XplatUIWin32.cs:
  10500. - GetWindowPos: When a window is parented by FosterParent, use
  10501. the desktop instead of FosterParent as the base to get coordinates
  10502. - CreateWindow: Don't make FosterParent the parent window for Popups
  10503. if we don't want a taskbar entry, Popups automatically don't get one
  10504. * Hwnd.cs: Need to call remove to actually remove the key from the
  10505. hash table
  10506. 2006-01-30 Mike Kestner <[email protected]>
  10507. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  10508. 2006-01-30 Jackson Harper <[email protected]>
  10509. * TreeView.cs:
  10510. * TreeNode.cs: Raise events no matter how the treenode is
  10511. checked. Patch by Don Edvalson.
  10512. 2006-01-30 Jackson Harper <[email protected]>
  10513. * TreeNode.cs: Signature fix.
  10514. 2006-01-29 Alexander Olk <[email protected]>
  10515. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  10516. 2006-01-20 Mike Kestner <[email protected]>
  10517. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  10518. event forwarding when menus are active.
  10519. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  10520. Most of the patch is pdb's with a little rework.
  10521. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10522. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  10523. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  10524. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  10525. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  10526. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  10527. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  10528. the PaintWindowDecorations method
  10529. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  10530. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  10531. * MenuAPI.cs: Made tracker window invisible
  10532. * XplatUIWin32.cs:
  10533. - Removed GetMenuDC and ReleaseMenuDC methods
  10534. - Implemented the client=false path for PaintEventStart and
  10535. PaintEventEnd
  10536. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10537. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  10538. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  10539. styles
  10540. * Form.cs:
  10541. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  10542. the style
  10543. - CreateParams: Reworked the styles to match MS look'n'feel,
  10544. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  10545. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  10546. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10547. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  10548. window is not mapped, since otherwise every form that's being
  10549. created is considered minimized, which is wrong.
  10550. * Form.cs: Catching the exception and returning our internal value
  10551. instead
  10552. 2006-01-26 Peter Dennis Bartok <[email protected]>
  10553. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  10554. SetWindowMinMax() to have means to tell the driver about the minimum,
  10555. maximum and maximized state window sizes. (Part of the fix for #76485)
  10556. * Form.cs:
  10557. - Implemented tracking of minimum and maximum window size, now calling
  10558. new SetWindowMinMax() driver method to tell the driver (Part of the
  10559. fix for #76485)
  10560. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  10561. (Completes fix for #76485)
  10562. - Calling new SetWindowMinMax driver method when the handle for a
  10563. form is created, to make sure the driver knows about it even if
  10564. the values have been set before the window was created
  10565. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  10566. to avoid messing up our anchoring calculations (partial fix
  10567. for #77355)
  10568. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  10569. * XplatUIX11.cs:
  10570. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  10571. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  10572. (and presumably other freedesktop.org compliant WMs). Left the
  10573. assumption unmapped=minimized, needed for SetVisible to work.
  10574. - Now setting the window state when creating windows
  10575. - Fixed SetVisible to consider/set the window state when mapping
  10576. a Form. We cannot set the state before it's mapped, and we cannot
  10577. use Form.WindowState once it's mapped (since it would ask the
  10578. driver and get 'normal'. Therefore, we grab the state before
  10579. mapping, map, and then set state.
  10580. - Implmemented SetWindowMinMax method; Metacity does not seem to
  10581. honor the ZoomHints, though.
  10582. * XplatUIWin32.cs:
  10583. - Removed MINMAXINFO (moved to XplatUIStructs)
  10584. - Added SetWindowMinMax stub (on Win32 the only way to set that
  10585. information is in response to the WM_GETMINMAXINFO message, which
  10586. is handled in Form.cs)
  10587. - Added logic to SetVisible to set the proper window state when a
  10588. form is made visible (fixes #75720)
  10589. 2006-01-26 Jackson Harper <[email protected]>
  10590. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  10591. same way we handle them with Invoke.
  10592. 2006-01-25 Peter Dennis Bartok <[email protected]>
  10593. * Form.cs:
  10594. - Added tracking of window state so CreateParams can return
  10595. the appropriate style
  10596. - Moved setting of WS_CAPTION style in CreateParams to allow
  10597. styles without caption
  10598. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  10599. control if the TextBox property is accessed. Fixes #77345
  10600. * Control.cs:
  10601. - get_Created: now uses is_disposed and is_created to determine
  10602. return value (suggested by Jackson)
  10603. - CreateHandle: No longer exits if the handle is being recreated
  10604. - RecreateHandle: If the handle is not yet created call the
  10605. appropriate method to create either control or handle. If the
  10606. control is already created CreateHandle will simply exit instead
  10607. of just creating the handle
  10608. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  10609. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  10610. is called.
  10611. * XplatUIX11.cs:
  10612. - When DestroyWindow is called, instead of waiting for the
  10613. DestroyNotification from X11, we directly post it to the WndProc
  10614. and immediately dispose the hwnd object.
  10615. Same applies to DestroyChildWindows, and this obsoletes the
  10616. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  10617. child windows before our own, to avoid X11 errors.
  10618. - Removed the direct sending of WM_PAINT on UpdateWindow
  10619. * XplatUIWin32.cs:
  10620. - Reworked DoEvents and GetMessage to allow access to internal queue
  10621. even when trying non-blocking access to the queue. Fixes #77335.
  10622. Based on a patch suggestion by Don Edvalson. The new private
  10623. GetMessage can now also be used as a backend for a PeekMessage
  10624. frontend version.
  10625. * XplatUI.cs: Improved debug output for CreateWindow
  10626. 2006-01-25 Jackson Harper <[email protected]>
  10627. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  10628. 2006-01-24 Jackson Harper <[email protected]>
  10629. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  10630. when we have a MaxDropItems lower then the selected index.
  10631. 2006-01-24 Jackson Harper <[email protected]>
  10632. * Control.cs: Don't allow selection of non visible controls, allow
  10633. selection of controls without parents.
  10634. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  10635. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  10636. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  10637. 2006-01-23 Jackson Harper <[email protected]>
  10638. * UpDownBase.cs: Make the textbox handle all the selection and
  10639. tabbing. This fixes tabing to updown controls.
  10640. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  10641. * TextBoxBase.cs: fixes exception thown the object was null
  10642. 2006-01-23 Jackson Harper <[email protected]>
  10643. * ButtonBase.cs: Just use the base CreateParams. They set
  10644. visibility and enabled correctly.
  10645. * ComboBox.cs:
  10646. * TrackBar.cs:
  10647. * MonthCalendar.cs: Lets let the base set as much of the
  10648. createparams as possible so we don't have duplicate code all over
  10649. the place.
  10650. 2006-01-22 Alexander Olk <[email protected]>
  10651. * ThemeGtk.cs: Added TrackBar and some experimental code to
  10652. get double buffering back
  10653. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  10654. * DataGrid.cs: Allows row number set internally higher than the last
  10655. when creating a new row. Restores the editing functionality.
  10656. 2006-01-20 Mike Kestner <[email protected]>
  10657. * MimeIcon.cs: delay Image creation until the icons are accessed
  10658. instead of creating 190 scaled images on GnomeHandler startup.
  10659. 2006-01-19 Peter Dennis Bartok <[email protected]>
  10660. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  10661. first call base before processing the event. Fixes #77279
  10662. 2006-01-19 Peter Dennis Bartok <[email protected]>
  10663. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  10664. that the stride for the GDI bitmap would match the stride of
  10665. a DIB or a Cursor.
  10666. 2006-01-19 Alexander Olk <[email protected]>
  10667. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  10668. 2006-01-19 Jackson Harper <[email protected]>
  10669. * ComboBox.cs: Hookup the text controls keydown event so we get
  10670. those when the text control has the focus.
  10671. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10672. * Label.cs: Now using the base events instead of defining new ones;
  10673. this allows us to just call the base properties without having to
  10674. duplicate all base property logic
  10675. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10676. * Label.cs: A label by default is not a tabstop (Fixes one of our
  10677. failing nunit tests)
  10678. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10679. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  10680. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  10681. 2006-01-18 Peter Dennis Bartok <[email protected]>
  10682. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  10683. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  10684. This fixes #77218
  10685. * XplatUIWin32.cs:
  10686. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  10687. constructor creates images that can't be saved. Part of the fix
  10688. for #76103
  10689. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  10690. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  10691. bug fix for handling window state in forms properly)
  10692. 2006-01-18 Alexander Olk <[email protected]>
  10693. * ThemeGtk.cs: Simplify ScrollBar drawing
  10694. 2006-01-18 Jackson Harper <[email protected]>
  10695. * Splitter.cs: Set the default dock style for the splitter control
  10696. in the constructor.
  10697. 2006-01-18 Alexander Olk <[email protected]>
  10698. * ThemeGtk.cs: Corrected StateType and ShadowType for
  10699. gtk_paint_box
  10700. 2006-01-18 Alexander Olk <[email protected]>
  10701. * Control.cs: Make use of Theme.DoubleBufferingSupported
  10702. * ThemeGtk.cs:
  10703. - Added drawing for flat style buttons
  10704. - Added ScrollBar drawing
  10705. 2006-01-18 Alexander Olk <[email protected]>
  10706. * ThemeClearlooks.cs: Removed some unneeded code.
  10707. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  10708. 2006-01-17 Peter Dennis Bartok <[email protected]>
  10709. * LinkLabel.cs: We need to update the hover drawing when
  10710. leaving the control as well.
  10711. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  10712. * DataGrid.cs: Clicking on non empty areas in the columns
  10713. area was giving an exception
  10714. 2006-01-17 Jackson Harper <[email protected]>
  10715. * ThemeWin32Classic.cs:
  10716. * ListView.cs: Do not draw/clip the headers when the header style
  10717. is None.
  10718. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  10719. * DataGrid.cs: Fixes 77260
  10720. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  10721. * DataGrid.cs: Clicking on a column on a empty grid was giving
  10722. an exception
  10723. 2006-01-17 Peter Dennis Bartok <[email protected]>
  10724. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  10725. or any keypress will crash the grid.
  10726. 2006-01-17 Mike Kestner <[email protected]>
  10727. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  10728. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  10729. invisible/previously-visible items.
  10730. [Fixes #76909]
  10731. 2006-01-17 Alexander Olk <[email protected]>
  10732. * ThemeClearlooks.cs:
  10733. - Added CL_Draw_Button method; now other theme controls that are
  10734. not derived from button or do not have a button can draw buttons
  10735. too
  10736. - Updated ComboBox drawing
  10737. - Beautified RadioButton drawing
  10738. - Corrected drawing of bottom and left tabs
  10739. - Beautified DateTimePicker and MonthCalendar
  10740. - Added CPDrawButton and CPDrawRadioButton
  10741. 2006-01-16 Jackson Harper <[email protected]>
  10742. * ComboBox.cs: Set the initial value of the scrollbar to the
  10743. current index. Reduce the numbers of refreshs and IndexOfs called.
  10744. 2006-01-14 Alexander Olk <[email protected]>
  10745. * FileDialog.cs: When the file listview is focused hitting the
  10746. backspace key moves the fileview to the parent directory
  10747. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10748. * Form.cs:
  10749. - Added RecreateHandle call when changing taskbar visibility to
  10750. trigger reparenting in Win32 driver (Fixes #75719)
  10751. - If a window has minimize or maximize buttons, it cannot have
  10752. a help button
  10753. * XplatUIWin32.cs:
  10754. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  10755. the toplevel form with FosterParent (A toolwindow not on the
  10756. taskbar) (Fixes #75719)
  10757. - Made FosterParent a toolwindow
  10758. 2006-01-13 Alexander Olk <[email protected]>
  10759. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  10760. 2006-01-13 Alexander Olk <[email protected]>
  10761. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  10762. is currently over that control, make sure that tooltip_window.Text
  10763. gets updated
  10764. 2006-01-13 Mike Kestner <[email protected]>
  10765. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  10766. 2006-01-13 Jackson Harper <[email protected]>
  10767. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  10768. value passed. Also redraw the selected node when we recieve
  10769. focus, so tabbing between trees works correctly.
  10770. 2006-01-13 Alexander Olk <[email protected]>
  10771. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  10772. ~/.gconf/%gconf-tree.xml, so use
  10773. .gconf/desktop/gnome/interface/%gconf.xml
  10774. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10775. * TextControl.cs: Draw text in gray if control is disabled
  10776. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10777. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  10778. make sure it's always visible. Fixes #76680.
  10779. 2006-01-13 Peter Dennis Bartok <[email protected]>
  10780. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  10781. 2006-01-13 Jonathan Chambers <[email protected]>
  10782. * PageSetupDialog.cs: Added.
  10783. * PrintDialog.cs: Attributes.
  10784. * PrintPreviewControl.cs: Updates.
  10785. * PrintPreviewDialog.cs: Updates.
  10786. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10787. * Control.cs: Undid my selection check fix, since it's not needed
  10788. * TextBoxBase.cs:
  10789. - Now considering the presence of hscroll/vscroll when sizing
  10790. vscroll/hscroll respectively. Fixed bug #77077
  10791. - Added Left/Up/Down/Right to IsInputKey list to prevent
  10792. ContainerControl from stealing them. This fixes what I broke
  10793. with my last checkin.
  10794. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10795. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  10796. I finally understand how the property can be set without a setter :-)
  10797. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10798. * Application.cs:
  10799. - Switched RunLoop to use static Message.Create to create a
  10800. Message object
  10801. - Added PreProcessMessage call in runloop for keyboard events; this
  10802. is part of the fix for #77219, I overlooked this originally in the
  10803. MSDN doc for PreProcessMessage
  10804. * Control.cs:
  10805. - Removed call to PreProcessMessage from handling of keyboard
  10806. messages; it's supposed to be done in the message pump
  10807. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  10808. per MSDN documentation.
  10809. - IsInputChar: All chars are input chars by default; removed the
  10810. parent calling chain, MS does not document that
  10811. - PreProcessMessage: If IsInputChar is true, we want to return false
  10812. to allow dispatching of the message
  10813. - When selecting the next control, now also check that we're not
  10814. selecting ourselves again and therefore return a false positive.
  10815. * TextBoxBase.cs:
  10816. - Tried to match return values for IsInputKey and ProcessDialogKey
  10817. to what MS returns; moved processing of our special keys outside
  10818. ProcessDialogKey since MS does not seem to return true on those.
  10819. - Moved code that previously was in ProcessDialogKey into new private
  10820. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  10821. - Reworked handling of WM_CHAR to not have to duplicate code from
  10822. Control.cs anymore, instead we simply call down to base.
  10823. 2006-01-12 Jackson Harper <[email protected]>
  10824. * ComboBox.cs: We always need to refresh the text area when
  10825. EndUpdate is called. Fixes the combobox in the file dialog.
  10826. * Control.cs: Don't create the creator_thread until the controls
  10827. handle is created. Also in InvokeRequired we check if the
  10828. creator_thread is null. This gives the effect of InvokeRequired
  10829. returning true if the controls handle is not created yet, and
  10830. matches MS.
  10831. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10832. * XplatUI.cs:
  10833. - Added StartLoop() driver method. This is used to allow drivers to
  10834. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  10835. loop for a particular thread
  10836. - Added EndLoop() driver method. This is called once the message
  10837. pump for the thread is shut down
  10838. - Added SupportsTransparency method to allow the driver to indicate
  10839. opacity support for windows
  10840. * Form.cs:
  10841. - Removed TODO attribute, completed AllowTransparency property
  10842. - Added documented logic to Opacity
  10843. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  10844. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  10845. versions of CompatibleTextRendering
  10846. * X11Structs.cs: Added opacity atom to our atom enumeration
  10847. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  10848. of a form might be set before it's reparented by the WM, and we need
  10849. the opacity value without calling up to Form)
  10850. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  10851. SupportsTransparency() driver methods
  10852. * Application.cs: Now calling StartLoop and EndLoop driver methods
  10853. * XplatUIX11.cs:
  10854. - Added opacity atom registration
  10855. - Added StartLoop()/EndLoop() methods. They're empty right now but
  10856. will need to get implemented when we switch to a per-thread queue
  10857. - Implemented SupportsTransparency() method
  10858. - Implemented SetWindowTransparency() method
  10859. - Added support for setting the opacity value when a window is
  10860. reparented (since the opacity needs to be set on the WM frame)
  10861. * XplatUIOSX.cs, XplatUIWin32.cs:
  10862. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  10863. 2006-01-12 Alexander Olk <[email protected]>
  10864. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  10865. 2006-01-12 Alexander Olk <[email protected]>
  10866. * FileDialog.cs: Added ToolTip for MWFFileView
  10867. * MimeIcon.cs: Rewrote GnomeHandler.
  10868. - Get currently used gnome icon theme from
  10869. ($HOME)/.gconf/%gconf-tree.xml
  10870. - Make use of inherited icon themes
  10871. - Support SVG icon themes like Tango via librsvg
  10872. 2006-01-12 Miguel de Icaza <[email protected]>
  10873. Revert's Jackson's revert which broke 2.0 builds. Fix both
  10874. builds.
  10875. * Application.cs: Move the use_compatible_text_rendering outside
  10876. the NET_2_0 define. If we ever need to use the
  10877. use_compatible_text_rendering on the individual controls they will
  10878. access the variable from the common shared code paths.
  10879. 2006-01-12 Peter Dennis Bartok <[email protected]>
  10880. * XplatUI.cs:
  10881. - Added more granular debug options
  10882. - Added method to print both window text and id
  10883. - Switched debug output to use new Window() debug method
  10884. - Added IsEnabled() driver method
  10885. - Added EnableWindow() driver method
  10886. * Form.cs:
  10887. - Removed end_modal; no longer needed, new loop handles termination
  10888. via 'closing' variable
  10889. - If form is modal, setting DialogResult will now initiate loop
  10890. termination via 'closing' variable
  10891. - Added support for is_enabled/WS_DISABLED to CreateParams
  10892. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  10893. does all the work
  10894. - Removed code that's now in RunLoop from ShowDialog()
  10895. - Added various documented sanity checks to ShowDialog()
  10896. - Added handling of WM_DESTROY message; we set 'closing' on getting
  10897. the message to indicate the message pump to terminate
  10898. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  10899. send by the Application.ExitThread method. (We send the message
  10900. to destroy the window after all other events have been
  10901. processed through the queue, instead of destroying the handle
  10902. directly)
  10903. - Moved code from Close() method to WM_CLOSE handler; added logic
  10904. to only send close-related events if the form is not displayed
  10905. modal
  10906. * Splitter.cs (..ctor): Fixed typo in resource name
  10907. * Control.cs:
  10908. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  10909. brush now
  10910. - set_Cursor: Now only setting calling into XplatUI if the handle for
  10911. the control is already created; this avoids implict handle creation
  10912. or crashes if it's not created
  10913. - set_Enabled: Now setting the enabled state via the new driver method
  10914. instead of just tracking it
  10915. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  10916. - CreateControl: Reordered event firing and method calls to more
  10917. closely fire events in the order MS does. Now setting the
  10918. enabled state in the driver when creating the control.
  10919. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  10920. match MS order
  10921. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  10922. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  10923. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  10924. * Hwnd.cs:
  10925. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  10926. - Added EnabledHwnd property to easily allow a driver to find the
  10927. handle of the first enabled window in the parent chain (this is
  10928. used by drivers to pass up input events of disabled windows)
  10929. * XplatUIDriver.cs: Added IsEnabled() method
  10930. * Application.cs:
  10931. - Removed crude and obsolete exiting tracking variable
  10932. - Removed internal ModalRun(); replaced by RunLoop()
  10933. - Implemented private CloseForms() method to allow closing all
  10934. windows owned by a particular (or all) threads
  10935. - Exit() now properly closes all windows without forcing the message
  10936. pump to quit
  10937. - Removed obsolete InternalExit() method
  10938. - Changed Run() methods to use new RunLoop() message pump
  10939. - Implemented new RunLoop() method for both modal and non-modal forms
  10940. * CommonDialog.cs:
  10941. - get_CreateParams: Added setting of WS_DISABLED
  10942. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  10943. invoked via Form.ShowDialog()
  10944. * NativeWindow.cs: We don't remove the window from the collection when
  10945. the handle is destroyed; there might still be messages for it in the
  10946. queue (mainly the resulting WM_DESTROY); instead it will be removed
  10947. when Control calls InvalidateHandle in the WM_DESTROY handler
  10948. * XplatUIX11.cs:
  10949. - CreateWindow: Added logic to handle the WS_DISABLED window style
  10950. - EnableWindow: Implemented based on Hwnd.Enabled
  10951. - GetMessage: Reset PostQuitState so the method can be called again
  10952. - Implemented support for disabled windows (passing messages to the
  10953. first enabled parent) in handling all input messages
  10954. - Added optimizations for handling Expose events
  10955. - Implemeted new driver method IsEnabled()
  10956. - Now always resetting paint pending tracking vars when we start paint
  10957. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  10958. * XplatUIOSX.cs: Added IsEnabled method stub
  10959. * XplatUIWin32.cs: Implemented new IsEnabled() method
  10960. 2006-01-11 Jackson Harper <[email protected]>
  10961. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  10962. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  10963. variables a little.
  10964. * ColorDialog.cs: Clear out the old form before adding the new
  10965. panel.
  10966. 2006-01-11 Jackson Harper <[email protected]>
  10967. * X11Dnd.cs: Make sure to add all the text formats when adding
  10968. strings to the data object.
  10969. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  10970. do some redrawing too. Also change the UpdateNode to an
  10971. UpdateBelow so the newly added node gets painted.
  10972. 2006-01-11 Miguel de Icaza <[email protected]>
  10973. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  10974. LinkLabel.cs, PropertyGrid.cs: Implement the
  10975. UseCompatibleTextRendering property for 2.x
  10976. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  10977. 2006-01-11 Jackson Harper <[email protected]>
  10978. * TreeView.cs: Use the property for setting the selected node so
  10979. the correct events get raised.
  10980. * TreeNode.cs: Update the tree when the fore/back colours of a
  10981. node are set.
  10982. 2006-01-10 Jackson Harper <[email protected]>
  10983. * TreeView.cs: Allow setting SelectedNode to null.
  10984. 2006-01-9 Jonathan Chambers <[email protected]>
  10985. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  10986. 2006-01-9 Jonathan Chambers <[email protected]>
  10987. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  10988. 2006-01-9 Jonathan Chambers <[email protected]>
  10989. * PrintDialog.cs: Added attributes and set default property values.
  10990. 2006-01-9 Jonathan Chambers <[email protected]>
  10991. * PrintControllerWithStatusDialog.cs:
  10992. Added PrintControllerWithStatusDialog.
  10993. 2006-01-9 Jonathan Chambers <[email protected]>
  10994. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  10995. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  10996. 2006-01-9 Jonathan Chambers <[email protected]>
  10997. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  10998. 2006-01-09 Jonathan Chambers <[email protected]>
  10999. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  11000. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  11001. 2006-01-08 Alexander Olk <[email protected]>
  11002. * MimeIcon.cs: Added internal class SVGUtil.
  11003. 2006-01-08 Alexander Olk <[email protected]>
  11004. * FileDialog.cs: Don't crash if there are two files with the
  11005. same name but different locations.
  11006. 2006-01-08 John BouAntoun <[email protected]>
  11007. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  11008. dates across multiple month grids. Used to not highlight entire
  11009. month, but does now.
  11010. 2006-01-06 Jackson Harper <[email protected]>
  11011. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  11012. message loop. Change timer intervals to numbers that seem more
  11013. natural.
  11014. 2006-01-06 John BouAntoun <[email protected]>
  11015. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  11016. object for location info since screen object is now implemented.
  11017. 2006-01-05 Jackson Harper <[email protected]>
  11018. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  11019. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  11020. AsyncMethodResult, this is because we ALWAYS want the
  11021. ManualResetEvent to get set.
  11022. * Control.cs: When disposing use an async invoke to call shutdown
  11023. code, so that thigns don't block on the finalizer thread. Also
  11024. check if we even have a message loop before trying to send
  11025. messages, if we don't then don't bother sending messages.
  11026. - No more weak references for async methods
  11027. * XplatUIDriver.cs: No more weak references for async methods.
  11028. 2006-01-04 Alexander Olk <[email protected]>
  11029. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  11030. returns two FontFamily with the same name
  11031. 2006-01-04 Peter Dennis Bartok <[email protected]>
  11032. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  11033. drawing disabled text. Instead using the ColorGrayText color
  11034. 2006-01-04 Jackson Harper <[email protected]>
  11035. * TreeNode.cs: redraw the node when its image index is changed.
  11036. 2006-01-04 Peter Dennis Bartok <[email protected]>
  11037. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  11038. time I checked there are no others like it.
  11039. 2006-01-04 Jackson Harper <[email protected]>
  11040. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  11041. this gives the behavoir I was looking for.
  11042. * Control.cs: Special case Invoking EventHandlers, this matches MS
  11043. and fixes part of bug #76326.
  11044. 2006-01-04 Alexander Olk <[email protected]>
  11045. * ThemeClearlooks.cs, FileDialog.cs:
  11046. - Reflect the latest Theme class changes
  11047. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  11048. with DateTime
  11049. 2006-01-04 Alexander Olk <[email protected]>
  11050. * Theme.cs: Cache UI resource images and resize them if needed
  11051. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11052. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  11053. is called. This fixes the crash in Nexxia when setting the font
  11054. attributes in the chat. [However, RTF needs a look-over to make sure
  11055. that all SelectionXXX methods handle the special case that selection
  11056. is empty and therefore the change must be applied to all text starting
  11057. at the cursor/selection start]
  11058. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11059. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11060. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  11061. * X11Keyboard.cs: Switched to new way of calling PostMessage
  11062. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11063. * Theme.cs: Added theme interface for images to allow the theme to
  11064. control what images are used for things like FileDialog, MessageBox
  11065. icons, etc.
  11066. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  11067. 2006-01-03 Alexander Olk <[email protected]>
  11068. * FileDialog.cs:
  11069. - Removed some dead code
  11070. - Opening a recently used file does work now
  11071. - Small UI enhancements
  11072. - Refactoring
  11073. 2006-01-02 Alexander Olk <[email protected]>
  11074. * FileDialog.cs: Forgot too add __MonoCS__
  11075. 2006-01-02 Alexander Olk <[email protected]>
  11076. * FileDialog.cs: We are able to read recently used files now let's
  11077. go on and write them.
  11078. 2006-01-01 Alexander Olk <[email protected]>
  11079. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  11080. button
  11081. * MimeIcon.cs: Do a check for the top level media type also
  11082. 2005-12-31 Alexander Olk <[email protected]>
  11083. * ThemeClearlooks.cs:
  11084. - Added CPDrawStringDisabled
  11085. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  11086. some chars if the text doesn't fit into text_rect
  11087. - DrawListViewItem: If View = View.LargeIcon center the image;
  11088. rewrote the drawing of ListViewItem.Text if View =
  11089. View.LargeIcon
  11090. 2005-12-31 Alexander Olk <[email protected]>
  11091. * MimeIcon.cs: Use default KDE icon theme if there is no
  11092. "48x48" directory for the current icon theme, fixes #77114
  11093. * Mime.cs: Disable not working and actually not used code.
  11094. * ThemeWin32Classic.cs:
  11095. - Replace "new SolidBrush" in GetControlBackBrush and
  11096. GetControlForeBrush with ResPool.GetSolidBrush
  11097. - Changed DrawListViewItem from private to protected virtual
  11098. * FileDialog.cs:
  11099. - Added form.MaximizeBox = true
  11100. - Don't throw an exception if there is a broken symbolic link
  11101. 2005-12-23 Jackson Harper <[email protected]>
  11102. * TabControl.cs: Give the panels focus, keyboard navigation is
  11103. fixed so this works correctly now.
  11104. - We need these key events also.
  11105. * ToolBar.cs: Remove some of the poor mans double buffering.
  11106. 2005-12-24 Alexander Olk <[email protected]>
  11107. * ComboBox.cs: The internal TextBox now returns the focus.
  11108. 2005-12-23 Jackson Harper <[email protected]>
  11109. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  11110. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11111. * Control.cs: Removed debug code
  11112. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  11113. implicit children
  11114. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11115. * Control.cs: When creating the control, update the Z-order after
  11116. all it's children are created, too. (Fixes nexxia not showing
  11117. picturebox bug)
  11118. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11119. * Control.cs: Do not update the anchoring distances if layout is
  11120. suspended, instead do it once layout is resumed
  11121. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11122. * Control.cs:
  11123. - After many hours of debugging, for both Jackson and
  11124. myself, it turns out that it helps to set the parent of a control
  11125. if you want to actually see it onscreen. In the spirit of that
  11126. discovery, we're now setting the parent of the control and
  11127. it's children when the control's handle is created. This fix
  11128. will make Lutz Roeder's Reflector run happily.
  11129. - now just creating the handle instead of the whole control when
  11130. getting a graphics context for the control.
  11131. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11132. * ScrollableControl.cs: When calculating the canvas, don't consider
  11133. the scrollbar widths. Instead, predict if horizontal scrollbar
  11134. will affect canvas when deciding on vertical display and vice versa.
  11135. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11136. * RichTextBox.cs: Set default RTF font for documents that don't
  11137. have a font table (Fixes #77076)
  11138. 2005-12-22 Jackson Harper <[email protected]>
  11139. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  11140. clipboard. This prevents a NullRef in that case.
  11141. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  11142. clipboard. PRIMARY is for the currently selected text only. (We
  11143. should implement PRIMARY at some point.
  11144. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11145. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  11146. a Unicode function with a structure that was defined in Ansi way.
  11147. This fixes #76942.
  11148. 2005-12-21 Jackson Harper <[email protected]>
  11149. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  11150. on. Because thats how it rolls. (and this avoids it using ambient
  11151. colours).
  11152. * ThemeWin32Classic.cs: Use the proper back color for filling.
  11153. * Menu.cs: Use the system menu bar color for drawing menu
  11154. bars. Using the window back color will bring ambient colours into
  11155. the picture.
  11156. 2005-12-21 Alexander Olk <[email protected]>
  11157. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  11158. Bitmaps were created and not disposed.
  11159. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11160. * Control.cs (CreateControl): Don't do anything if the control is
  11161. already created, otherwise we'd fire the OnCreated event more than
  11162. once
  11163. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11164. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  11165. will always match. Instead return -1. Fixes #76464.
  11166. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11167. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  11168. neither the beginning nor the end of the line (Fixes bug #76479)
  11169. 2005-12-21 Peter Dennis Bartok <[email protected]>
  11170. * Control.cs:
  11171. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  11172. where handle is invalid
  11173. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  11174. instead of slower linear search
  11175. * NativeWindow.cs: Don't remove the window from the hashtable until
  11176. after the driver has destroyed it (since the driver might use
  11177. Control.FromHandle to lookup the control object
  11178. * Hwnd.cs: Added DestroyPending property to track if a window is
  11179. already destroyed as far as the driver is concerned and only hasn't
  11180. yet notified the control
  11181. * XplatUIX11.cs:
  11182. - Activate(): Check if the window is still valid before using the
  11183. handle
  11184. - Implemented DestroyChildWindow() method to mark child windows as
  11185. destroyed when a window is destroyed. This prevents situations
  11186. where we might call an X method based on queued events for a
  11187. window that already has been destroyed but we haven't yet pulled
  11188. the destroy method from the queue.
  11189. - Added a call to the new DestroyChildWindow() method to the drivers
  11190. DestroyWindow code. Also now marking the destroyed window itself
  11191. as pending
  11192. 2005-12-20 Jackson Harper <[email protected]>
  11193. * StatusBar.cs:
  11194. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  11195. anymore. Just do them when needed, also track the rects of panels
  11196. so that we can optimize refreshing more in the future.
  11197. 2005-12-20 Alexander Olk <[email protected]>
  11198. * ColorDialog.cs: Fixed focus drawing in small color controls
  11199. 2005-12-19 Jackson Harper <[email protected]>
  11200. * InternalWindowManager.cs:
  11201. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  11202. moving windows works properly.
  11203. 2005-12-19 Peter Dennis Bartok <[email protected]>
  11204. * Control.cs:
  11205. - Removed call to InitLayout() from SetBoundsCore(); doc says
  11206. it's only called when a control is added to a container
  11207. - Split InitLayout logic, moved to separate UpdateDistances() method
  11208. since we need to perform those calculations more often than just
  11209. when adding the control to a container. (Needed to fix #77022)
  11210. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  11211. - Reduced the OnBindingContextChanged events count, don't send them
  11212. unless the control is created, we still aren't totally matching
  11213. MS, but I can't quite figure out some of their rules
  11214. 2005-12-18 Alexander Olk <[email protected]>
  11215. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  11216. stripes
  11217. 2005-12-18 Alexander Olk <[email protected]>
  11218. * ThemeClearlooks.cs:
  11219. - Updated ProgressBar drawing
  11220. - Corrected drawing of ScrollBars and scroll buttons
  11221. - Some temporary fixes for minor pixel artefacts
  11222. 2005-12-18 Peter Dennis Bartok <[email protected]>
  11223. * Control.cs:
  11224. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  11225. cause events to be sent in the same order as MS does.
  11226. - Added ChangeParent() method to trigger various OnXXXChanged events
  11227. that need to be fired when a parent changes (This is a reworking
  11228. of the patch from r54254, with the X11 errors fixed)
  11229. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  11230. since on MS we get OnLayoutChanged events when calling Clear()
  11231. - Changed Enabled property to consider parent state as well, if a
  11232. parent is not enabled, the control will not be either
  11233. - Changed Parent property to simply call Controls.Add() since that
  11234. now does all the work required, this way we avoid code duplication
  11235. - Threw in a few OnBindingsContextChanged calls to try and match
  11236. when MS sends them. We seem to send a few too many, though.
  11237. - Added call to CreateControl when adding the control to a parent.
  11238. We were never calling CreateControl. Still needs some work, in
  11239. some places we treat HandleCreated and ControlCreated as equal,
  11240. which is wrong
  11241. - Removed obsolete commented out code from UpdateZOrder()
  11242. 2005-12-18 Alexander Olk <[email protected]>
  11243. * ThemeClearlooks.cs: Updated TrackBar drawing.
  11244. 2005-12-17 Alexander Olk <[email protected]>
  11245. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  11246. 2005-12-17 Alexander Olk <[email protected]>
  11247. * FileDialog.cs: Add the Help button and the open readonly
  11248. checkbox only if needed
  11249. 2005-12-16 Jackson Harper <[email protected]>
  11250. * Control.cs: Make sure we have an active menu before trying to
  11251. process commands on it. Prevents menu-less forms from crashing
  11252. when Alt is pressed.
  11253. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  11254. Dieter Bremes.
  11255. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  11256. 2.0 build.
  11257. 2005-12-16 Jackson Harper <[email protected]>
  11258. * InternalWindowManager.cs: Don't translate tool windows screen
  11259. coordinates. This fixes windows 'bouncing' around when being moved.
  11260. 2005-12-15 Peter Dennis Bartok <[email protected]>
  11261. * TextBoxBase.cs:
  11262. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  11263. not quite MS compatible, MS uses that number only for single line
  11264. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  11265. the limit at 2GB)
  11266. - Now enforcing the MaxLength limit when entering characters
  11267. - Added argument to internal Paste() method to track if it's called
  11268. from programatically or via keyboard, since keyboard driven pastes
  11269. need to enforce max-length
  11270. - Added logic to Paste to only paste as many chars as MaxLength
  11271. allows
  11272. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  11273. * TextControl.cs:
  11274. - Added Length property to return number of characters in document
  11275. - Added private CharCount property which only tracks actual chars
  11276. in the document (no linefeeds) and fires event when CharCount
  11277. changes
  11278. - Added tracking of character count to all methods that alter it
  11279. - Added LengthChanged event to allow applications to subscribe
  11280. to any changes to the document
  11281. 2005-12-15 Peter Dennis Bartok <[email protected]>
  11282. * TextBox.cs:
  11283. - Removed local password_char field (moved to TextBoxBase)
  11284. - Now setting the document's password var when password is
  11285. set
  11286. * TextBoxBase.cs:
  11287. - Added password_char field (needed here so MultiLine can
  11288. access it)
  11289. - Added logic to MultiLine property setter to set the document's
  11290. variable when password display is allowed
  11291. - Removed debug code and made some debug code conditional
  11292. * TextControl.cs:
  11293. - Added RecalculatePasswordLine() method to handle special password
  11294. char only lines
  11295. - Added PasswordChar property, also added related tracking vars
  11296. - Draw() method now uses local text var for grabbing text to draw,
  11297. this var is set to line.text unless we're doing password display,
  11298. then it is set to the pre-generated all-password-chars line
  11299. - Added calling RecalculatePasswordLine() method for password lines
  11300. 2005-12-14 Peter Dennis Bartok <[email protected]>
  11301. * Hwnd.cs:
  11302. - Added Reparented property to allow tracking of Window Manager
  11303. reparenting actions (which affect X/Y calculations of toplevel
  11304. windows)
  11305. - Made ToString() print window handles in hex
  11306. * XplatUIX11.cs:
  11307. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  11308. determine if X/Y needs offsetting
  11309. - AddConfigureNotify(): Fixed offset calculations
  11310. - Now adds ReparentNotify messages into the queue
  11311. - Now processes ReparentNotify messages and causes a
  11312. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  11313. is reparented (as most likely it's X/Y coordinates are changed
  11314. due to that)
  11315. 2005-12-14 Jackson Harper <[email protected]>
  11316. * XplatUIX11.cs: Tool windows still need to respek focus.
  11317. 2005-12-14 Peter Dennis Bartok <[email protected]>
  11318. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  11319. have a working release
  11320. 2005-12-13 Jackson Harper <[email protected]>
  11321. * Form.cs: Update styles after setting the border style regardless
  11322. of whether or not the window is using a window manager.
  11323. 2005-12-13 Jackson Harper <[email protected]>
  11324. * Form.cs: We now hook into an internal window manager instead of just an
  11325. MDI subsystem, this is so we can have properly behaving tool windows.
  11326. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  11327. * InternalWindowManager.cs: New internal class that acts as a
  11328. window manager for tool windows and as a base for mdi windows.
  11329. * MdiWindowManager.cs: New class that acts as a window manager for
  11330. mdi windows.
  11331. 2005-12-12 Jackson Harper <[email protected]>
  11332. * Control.cs: Updates so we match behavoir for for implicit
  11333. controls. Fixes explosions in MDI.
  11334. 2005-12-12 Jackson Harper <[email protected]>
  11335. * Control.cs: Implement Invalidate (Region).
  11336. 2005-12-12 Peter Dennis Bartok <[email protected]>
  11337. * Control.cs:
  11338. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  11339. the same events as MS does. MS fires events for each property
  11340. except, for unknown reasons, Cursor, when the control is reparented.
  11341. I can't seem to totally match add/remove since MS also fires some
  11342. VisibleChanged events, which makes no sense. Consolidated the
  11343. parenting code into a separate method so it can be called from
  11344. both Add and Remove. set_Parent no longer needs any special logic
  11345. as it calls the parent's add method which implicitly fires
  11346. all events
  11347. - Removed some obsolete code and debug output
  11348. - Enabled state is inherited from parents, if this is enabled
  11349. 2005-12-08 Peter Dennis Bartok <[email protected]>
  11350. * Form.cs: Removed commented out code
  11351. 2005-12-08 Peter Dennis Bartok <[email protected]>
  11352. * Control.cs:
  11353. - Added internal version of Invoke, with additional argument
  11354. indicating if we're calling it from a Dispose() handler. That
  11355. way we can avoid BeginInvoke throwing an exception if we're
  11356. calling for an already destroyed window.
  11357. - Added a dispose argument to BeginInvokeInternal, and made the
  11358. check if a valid window handle chain exists conditional on
  11359. it not being a dispose call
  11360. - Removed code in DestroyHandle to destroy our children. Since we
  11361. now handle the WM_DESTROY message we will catch all our children
  11362. being destroyed.
  11363. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  11364. * Form.cs:
  11365. - Added a field to track the application context of the form.
  11366. - No need to set closing variable as response to WM_CLOSE, instead
  11367. we destroy the window. We also call PostQuitMessage if the form
  11368. has an application context (which makes it the main app form,
  11369. which, when closed terminates the app)
  11370. * XplatUI.cs:
  11371. - Dropped Exit() method, it's naming was confusing
  11372. - Added PostQuitMessage() which causes GetMessage to return false
  11373. once the message queue is empty
  11374. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  11375. PostQuitMessage()
  11376. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  11377. no longer a valid XplatUI method, but left it in since it's used
  11378. internally. Added empty PostQuitMessage() method.
  11379. * MenuAPI.cs: Replaced call to Exit() with call to
  11380. PostQuitMessage, even though this is probably no longer needed.
  11381. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  11382. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  11383. * Application.cs:
  11384. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  11385. - Removed old debug code that would call XplatUI for exception
  11386. display, enabled standard exception handling (Still not enabled
  11387. though, until NativeWindow's ExternalExceptionHandler define
  11388. is removed
  11389. * NativeWindow.cs:
  11390. - Added internal method to allow control to update NativeWindow
  11391. after a window has been destroyed
  11392. - Added handling of already destroyed windows when calling i
  11393. DestroyWindow
  11394. - Added removal of handle from list on ReleaseHandle
  11395. * XplatUIX11.cs:
  11396. - Dropped GetMessageResult var and related code
  11397. - Added PostQuitState to field to track if PostQuitMessage has been
  11398. called
  11399. - Dropped Exit() method
  11400. - Added PostQuitMessage() method
  11401. - GetMessage now will return false if PostQuitState is set and no
  11402. more messages are in the queue.
  11403. - Expose handler will no longer generate WM_PAINT messages if we are
  11404. in PostQuitState since it's very likely any windows have already
  11405. been destroyed, and since Hwnd won't get updated until we have
  11406. processed the DestroyNotify we'd be causing X errors.
  11407. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11408. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  11409. Thanks to Mike for pointing out the err of my ways.
  11410. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11411. * Control.cs(PreProcessMessage): Moved menu handling back, but
  11412. after all other key handling, to match MS (who handles Menu in
  11413. DefWndProc)
  11414. * Menu.cs (WndProc): Removed my brainfart
  11415. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11416. * Control.cs(PreProcessMessage): Removed special menu handling
  11417. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  11418. 2005-12-07 Mike Kestner <[email protected]>
  11419. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  11420. state according in tracker.
  11421. * Menu.cs : promote tracker field to base class and provide a tracker
  11422. lookup capability. Add/Remove shortcuts dynamically if the top menu
  11423. has a tracker. Unparent items that are removed from the collection.
  11424. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  11425. * Theme*.cs: add always_show_hotkeys field to support configurability
  11426. of mnemonic display. win32 doesn't show mnemonics until Alt is
  11427. pressed.
  11428. 2005-12-07 Jackson Harper <[email protected]>
  11429. * MdiChildContext.cs: Use Control.ResetCursor.
  11430. * Control.cs: ResetCursor needs to set the property so that the
  11431. correct XplatUI call gets made.
  11432. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11433. * Control.cs: More fixes to make our key events match MS. We
  11434. were not setting the modifier state on KeyData, and we were
  11435. not generating any events when Alt was pressed with a key
  11436. since handling of WM_SYSxxx was missing for the OnKey methods.
  11437. 2005-12-07 Jackson Harper <[email protected]>
  11438. * MdiChildContext.cs: reenable the sizing code.
  11439. - When the mouse leaves a window reset its cursor.
  11440. 2005-12-07 Alexander Olk <[email protected]>
  11441. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  11442. 2005-12-07 Peter Dennis Bartok <[email protected]>
  11443. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  11444. widths of Fixed3D borders
  11445. 2005-12-07 Jackson Harper <[email protected]>
  11446. * MdiClient.cs: Fix warnings. Earn Mike's love.
  11447. 2005-12-07 Alexander Olk <[email protected]>
  11448. * ThemeClearlooks.cs:
  11449. - Adjusted mouse over button color
  11450. - Added first parts of CheckBox drawing
  11451. - Added correct color for selected text background
  11452. - Fixed ComboBox drawing
  11453. - Added CPDrawBorder3D and CPDrawBorder
  11454. 2005-12-06 Peter Dennis Bartok <[email protected]>
  11455. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  11456. 2005-12-06 Peter Dennis Bartok <[email protected]>
  11457. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11458. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  11459. alert users via sound. We could add an enum arg with different
  11460. types of alerts in the future
  11461. 2005-12-06 Peter Dennis Bartok <[email protected]>
  11462. * Control.cs: Fix behaviour problems pointed out by Mike
  11463. 2005-12-05 Mike Kestner <[email protected]>
  11464. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  11465. prop setters. Calls parent.Refresh for now, but could be maybe be
  11466. optimized with an internal method on StatusBar at some point.
  11467. [Fixes #76513]
  11468. 2005-12-05 Peter Dennis Bartok <[email protected]>
  11469. * RichTextBox.cs: Implemented get_SelectionColor
  11470. 2005-12-05 Alexander Olk <[email protected]>
  11471. * ThemeClearlooks.cs:
  11472. - Removed dead code
  11473. - Draw black button border only if button is Form.AcceptButton
  11474. - Draw correct button color for pressed RadioButton if the mouse
  11475. has entered the button
  11476. - Updated ProgressBar drawing!
  11477. - Updated CPDrawSizeGrip drawing
  11478. - Updated StatusBarPanel drawing
  11479. 2005-12-05 Mike Kestner <[email protected]>
  11480. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  11481. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  11482. 2005-12-04 Alexander Olk <[email protected]>
  11483. * ThemeClearlooks.cs: Initial check-in, activate with
  11484. export MONO_THEME=clearlooks
  11485. * ThemeEngine.cs: Added ThemeClearlooks
  11486. 2005-12-03 Mike Kestner <[email protected]>
  11487. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  11488. [Fixes #76897]
  11489. 2005-12-02 Jackson Harper <[email protected]>
  11490. * Form.cs: If the child form has no menu the default main menu is
  11491. used as the active menu.
  11492. 2005-12-02 Peter Dennis Bartok <[email protected]>
  11493. * ListBox.cs: Check if any items exist before trying to resolve
  11494. coordinates into items
  11495. 2005-12-02 Peter Dennis Bartok <[email protected]>
  11496. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  11497. as the second color for the background hatch
  11498. 2005-12-02 Peter Dennis Bartok <[email protected]>
  11499. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  11500. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  11501. sure that what we pass to FormatText is always 1-based. Fixes #76885
  11502. 2005-11-29 Miguel de Icaza <[email protected]>
  11503. * NumericUpDown.cs (EndInit): When we are done initializing,
  11504. reflect any updates on the UI.
  11505. 2005-12-02 Jackson Harper <[email protected]>
  11506. * ImplicitHScrollBar.cs:
  11507. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  11508. their container controls.
  11509. * TreeView.cs: Use the new implicit scrollbars.
  11510. 2005-12-02 Jackson Harper <[email protected]>
  11511. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  11512. can play with it.
  11513. * TreeNodeCollection.cs: If we remove the topnode we need to
  11514. update topnode to the next node in line.
  11515. - When clearing nodes go through the same process as removing
  11516. them, so they get depareneted and checked if they are top node.
  11517. 2005-12-01 Jackson Harper <[email protected]>
  11518. * TreeView.cs: When imagelists are used the image area is
  11519. selectable as well as the text.
  11520. - If there are no selected nodes select the first one.
  11521. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  11522. so don't do it more then we need to.
  11523. 2005-12-01 Jackson Harper <[email protected]>
  11524. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  11525. that arrows can be scaled.
  11526. 2005-12-01 Jackson Harper <[email protected]>
  11527. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  11528. fail. Patch by Dieter Bremes
  11529. 2005-11-30 Jackson Harper <[email protected]>
  11530. * Form.cs: Property is 2.0 only
  11531. * PrintDialog.cs: Signature fix.
  11532. 2005-11-30 Peter Dennis Bartok <[email protected]>
  11533. * TextControl.cs:
  11534. - No longer artificially moves text 2 pixels down (now that we have
  11535. borders this is no longer needed)
  11536. - Added calcs for left, hanging and right indent
  11537. 2005-11-23 Mike Kestner <[email protected]>
  11538. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  11539. 2005-11-30 Jackson Harper <[email protected]>
  11540. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  11541. get cloned as part of CloneMenu ().
  11542. * Menu.cs: Make sure the parent of the items get set correctly
  11543. when they are added. And the owners are notified of the changes.
  11544. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  11545. we can change the menu being displayed/handled by the form without
  11546. changing the menu assosciated with the form.
  11547. - Don't let Mdi children draw/handle menus.
  11548. 2005-11-30 Jackson Harper <[email protected]>
  11549. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  11550. a MenuChanged event. Just to make the API a little more
  11551. consistent.
  11552. * MainMenu.cs:
  11553. * MenuItem.cs: Use the new OnMenuChanged
  11554. * MdiChildContext.cs: Handle menu merging.
  11555. * Form.cs: Implement MergedMenu.
  11556. 2005-11-30 Jackson Harper <[email protected]>
  11557. * Menu.cs: We were misusing Add. Add goes behind the specified
  11558. index according to the docs, and does not replace the specified
  11559. index. So I added an Insert method.
  11560. 2005-11-30 Peter Dennis Bartok <[email protected]>
  11561. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  11562. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  11563. is for Jackson
  11564. * RichTextBox.cs: Added calls to base for DnD events
  11565. 2005-11-28 Peter Dennis Bartok <[email protected]>
  11566. * TextControl.cs:
  11567. - Fixed drag-selection related crash; style fixes
  11568. - Implemented undo class
  11569. o Implemented method to capture document state for specified
  11570. range in document tree
  11571. o Implemented method to restore captured document state
  11572. o Implemented cursor tracking
  11573. o Implemented basic undo stack
  11574. - Added undo cursor tracking to methods altering cursor location
  11575. - Added undo tracking to selection deletion (still missing
  11576. other text-altering hookups)
  11577. * RichTextBox.cs:
  11578. - Added SelectionLength property
  11579. - Implemented CanPaste()
  11580. - Implemented Paste()
  11581. - Added missing protected methods
  11582. - Fixed RTF->Document conversion; now uses font index 0 and color
  11583. index 0 as the default font for the parsed text
  11584. - Fixed RTF<->Document font size translation
  11585. - Fixed RTF generation, now properly handles cross-tag boundaries
  11586. for single line selection
  11587. - No longer always appends blank line to generated RTF
  11588. - Removed TODOs
  11589. - Added missing attributes
  11590. - Hooked up undo-related methods
  11591. * TextBoxBase.cs:
  11592. - Implemented Copy()
  11593. - Implemented Paste()
  11594. - Implemented Cut()
  11595. - Fixed caret mis-behaviour on backspace across line-boundaries
  11596. 2005-11-29 Jackson Harper <[email protected]>
  11597. * MdiClient.cs: Add a method for activating mdi children. Very
  11598. basic right now. I imagine someday it might need more girth.
  11599. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  11600. children windows names are added to the menu item.
  11601. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  11602. mdilist. This happens regardless of whether or not there are any
  11603. mdi windows to see in the list, and according to my tests happens
  11604. before the items are even added. Also happens if there isn't even
  11605. an mdi client to get windows from.
  11606. 2005-11-29 Alexander Olk <[email protected]>
  11607. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  11608. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  11609. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  11610. * DataGridTableStyle.cs:
  11611. - Create always the styles for the missing columns even if they are
  11612. provided by the user (not default table style)
  11613. * DataGrid.cs:
  11614. - Fixes bug 76770
  11615. - Fixes SetDataBinding (always re-attach source)
  11616. - Fixes SetNewDataSource (only clear styles if they are not for
  11617. this source)
  11618. - Expands OnTableStylesCollectionChanged to handle style refresh
  11619. and remove properly
  11620. 2005-11-29 Jackson Harper <[email protected]>
  11621. * FileDialog.cs: Implement missing bits, remove some dead
  11622. code.
  11623. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  11624. creation of the panel so that the options set on the dialog are
  11625. seen when the panel is created.
  11626. * TreeView.cs: raise a click when items are clicked.
  11627. 2005-11-29 Jackson Harper <[email protected]>
  11628. * MdiClient.cs: Pass some signature methods through to base.
  11629. 2005-11-28 Jackson Harper <[email protected]>
  11630. * ListView.cs: Raise the click event when items are clicked.
  11631. 2005-11-28 Jackson Harper <[email protected]>
  11632. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  11633. a nullref.
  11634. 2005-11-27 Alexander Olk <[email protected]>
  11635. * ThemeNice.cs: - Removed 1 pixel bitmaps
  11636. - Use SmoothingMode.AntiAlias where it makes sense
  11637. (ScrollButton arrow for example)
  11638. - Enhanced Button focus drawing
  11639. - Fixed ComboBox drawing (no artefacts anymore, focus
  11640. rectangle is back again, reduced size of ComboButton, etc.)
  11641. - Fixed RadioButton focus drawing for Appearence.Button
  11642. - Slight ScrollButton redesign
  11643. - Some LinearGradientBrush size fixes
  11644. - GroupBoxes have now rounded edges
  11645. - Fixed StatusBar drawing
  11646. 2005-11-25 Alexander Olk <[email protected]>
  11647. * ThemeNice.cs: - Remove dead code
  11648. - use correct background colors for menus, etc.
  11649. - Fake pixel drawing with 1 pixel bitmaps
  11650. 2005-11-24 Jackson Harper <[email protected]>
  11651. * MdiClient.cs: Size the scrollbars when resizing the window.
  11652. - Resize the maximized windows when the client is resized
  11653. * Form.cs: Make the child context available
  11654. 2005-11-23 Jackson Harper <[email protected]>
  11655. * MdiChildContext.cs: Don't size windows if they are maximized.
  11656. 2005-11-23 Mike Kestner <[email protected]>
  11657. * ContextMenu.cs: use MenuTracker.
  11658. * Control.cs: remove menu handle usage.
  11659. * Form.cs: remove menu handle usage.
  11660. * Hwnd.cs: remove menu handle usage.
  11661. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  11662. motion and clicks to the new Tracker handlers.
  11663. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  11664. and handle usage.
  11665. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  11666. Killed the MENU and MENUITEM data types and associated collections
  11667. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  11668. MenuTracker class that exposes the leftovers from the old MenuAPI
  11669. static methods. Restructured Capture handling so that only one grab is
  11670. done for the entire menu hierarchy instead of handing off grabs to
  11671. submenus. Tracker now has an invisible control to Capture when active.
  11672. * MenuItem.cs: add sizing accessors, kill Create
  11673. and handle usage.
  11674. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  11675. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  11676. MENU(ITEM). remove menu handle usage, use Menu directly.
  11677. * XplatUIDriver.cs: remove menu handle usage.
  11678. * XplatUIOSX.cs: remove menu handle usage.
  11679. * XplatUIWin32.cs: remove menu handle usage.
  11680. * XplatUIX11.cs: remove menu handle usage.
  11681. 2005-11-22 Jackson Harper <[email protected]>
  11682. * Hwnd.cs: Don't compute the menu size for
  11683. DefaultClientRectangle.
  11684. - Reenable menu sizes being computed for GetClienRectangle.
  11685. * Form.cs: Remove comment of trechery
  11686. 2005-11-22 Jackson Harper <[email protected]>
  11687. * Hwnd.cs: The adjustments for the menu bar are made when it is
  11688. attached to the form.
  11689. 2005-11-19 Jackson Harper <[email protected]>
  11690. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  11691. (just like on windows).
  11692. 2005-11-19 Jackson Harper <[email protected]>
  11693. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  11694. use real buttons anymore because they are in non client area. The
  11695. one TODO here is that I need to somehow invalidate a section of
  11696. the non client area.
  11697. 2005-11-18 Jackson Harper <[email protected]>
  11698. * Control.cs: Put the enum check back in now that MDI doesnt have
  11699. to use this to set border styles.
  11700. * Form.cs: Only set mdi child windows borders if the handle has
  11701. been created.
  11702. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  11703. this directly on to the driver.
  11704. - Get the move start position before adjusting for the titlebar
  11705. height, this fixes the windows "skipping" when they are first
  11706. moved.
  11707. 2005-11-18 Jackson Harper <[email protected]>
  11708. * XplatUIX11.cs: Just compute the mdi borders separately as they
  11709. don't totally match up with normal form borders.
  11710. 2005-11-18 Jackson Harper <[email protected]>
  11711. * Control.cs: Set WS_ styles for borders, so that the driver does
  11712. not have to retrieve the control instance to figure out what kind
  11713. of borders it should have.
  11714. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  11715. driver can know its an mdi child easily.
  11716. * XplatUIX11.cs: Get the border styles and whether the window is
  11717. MDI from the Styles and ExStyles params instead of having to get a
  11718. control. This prevents a chicken and egg problem.
  11719. 2005-11-18 Jackson Harper <[email protected]>
  11720. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  11721. 2005-11-18 Jackson Harper <[email protected]>
  11722. * MdiClient.cs: Calculate when to add and remove scrollbars
  11723. correctly.
  11724. * MdiChildContext.cs: Adjust the y position to take the titlebar
  11725. into account.
  11726. - No height for FormBorderStyle.None
  11727. 2005-11-18 Jackson Harper <[email protected]>
  11728. * Control.cs: Allow non enum values to be used for
  11729. InternalBorderStyle. MDI does this to set a special border style.
  11730. - New utility methods for converting points to/from client coords
  11731. - Add the newly created control to the Controls collection before
  11732. updating its style. This way UpdateStyle can walk the control
  11733. heirarchy to find the control if needed.
  11734. so I don't need to create a new Point object all the time.
  11735. * Form.cs: Let MDI windows handle their border styles.
  11736. - Set styles on MDI windows so the correct title style is derived.
  11737. * MdiChildContext.cs: Move all the painting and window handling
  11738. into the non client area.
  11739. - Use correct sizing and put correct buttons on frames based on
  11740. the FormBorderStyle.
  11741. - Notify the mdi client about scrolling
  11742. - Need to handle the buttons ourselves now, because they are all
  11743. in non client areas and we can't add controls there.
  11744. * MdiClient.cs: Halfway to scrolling, this implementation is
  11745. somewhat broken though, we need to check to make sure other
  11746. windows aren't causing scrolling before removing the bars. Also
  11747. the bars need to be drawn on top, maybe I can switch implicit
  11748. controls to be on top.
  11749. * Hwnd.cs: caption_height and tool_caption_height are now
  11750. properties of an hwnd, this way they can be set by the driver
  11751. based on the type of window they are. In X11 the window manager
  11752. handles the decorations so caption_height is zero unless its an
  11753. MDI window.
  11754. - Add 3 pixel borders for MDI windows (0xFFFF).
  11755. - Get rid of some code duplication, have DefaultClientRectanle
  11756. just call GetClientRectangle.
  11757. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  11758. Hwnd now.
  11759. - Set border styles differently for mdi windows.
  11760. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  11761. Hwnd now.
  11762. 2005-11-15 Mike Kestner <[email protected]>
  11763. * Menu.cs: when adding an item to the collection, if item is already
  11764. parented, remove it from the parent.
  11765. 2005-11-13 Alexander Olk <[email protected]>
  11766. * X11DesktopColors.cs: Added KDE support
  11767. 2005-11-11 Peter Dennis Bartok <[email protected]>
  11768. * XplatUIWin32.cs:
  11769. - Clipboard methods now can translate Rtf format
  11770. - No longer removes clipboard contents whenever a new format is added
  11771. to allow placing multiple formats on the clipboard
  11772. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  11773. will place all formats contained in it onto the clipboard. Also
  11774. now cleans the clipboard before placing a new object onto it
  11775. * RichTextBox.cs:
  11776. - Implemented set_Rtf
  11777. - Implemented set_SelectedRtf
  11778. - Created InsertRTFFromStream() method to allow single code base
  11779. for all properties and methods that insert RTF into document
  11780. - Removed debug output
  11781. * TextControl.cs:
  11782. - Fixed Delete(int) to fix up line numbers
  11783. - Fixed ReplaceSelection to combine start and end line
  11784. - Fixed serious DeleteChars bug that would leave the document tree
  11785. broken
  11786. - Improved DumpTree with several logic checks to detect broken
  11787. document trees
  11788. - Removed debug lines
  11789. - Fixed Caret.WordForward/WordBack moving code, now always also
  11790. updates caret.tag (fixes crash when word-selecting across tag
  11791. boundaries via keyboard)
  11792. - Added Insert() method for inserting multiline text into documents
  11793. - Fixed DeleteChars() calculation errors that would cause a broken
  11794. tag chain with multiple tag lines
  11795. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  11796. - Split() no longer moves caret if split is at caret location
  11797. - ReplaceSelection() now updates the cursor and re-displays it
  11798. - ReplaceSelection() now uses new Insert() method to avoid code
  11799. duplication
  11800. - FormatText() can now handle formatting partial lines
  11801. * TextBoxBase.cs:
  11802. - Append now uses new TextControl.Insert() method (this avoids
  11803. duplicate code)
  11804. - Implemented Ctrl-X (Cut) (
  11805. - Implemented Ctrl-C (Copy)
  11806. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  11807. regeneration when pasting text; roundtripping Copy&Paste within
  11808. edit control still fails due to some calculation bugs in GenerateRTF)
  11809. - The Delete key will now remove the current selection if it is visible
  11810. * TextBox.cs: Removed debug lines
  11811. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  11812. driver to be initialized and can't therefore be done via a static ctor)
  11813. 2005-11-10 Peter Dennis Bartok <[email protected]>
  11814. * TextControl.cs: Added backend code for finding char arrays and strings
  11815. * TextBoxBase.cs:
  11816. - Added mouse wheel scroll support
  11817. - Added support for VScroll and HScroll events
  11818. * RichTextBox.cs:
  11819. - Implemented all seven Find() variants
  11820. - Implemented GetCharFromPosition()
  11821. - Implemented GetCharIndexFromPosition()
  11822. - Implemented GetLineFromIndex()
  11823. - Implemented GetPositionFromCharIndex();
  11824. - Implemented SaveFile for PlainText and UnicodeText
  11825. - Fixed set_Font, now setting a new font applies that font to
  11826. the whole document
  11827. - Implemented generic Document to RTF converter
  11828. - Implemented SaveFile for RichText format (still missing unicode
  11829. conversion for non-ansi chars)
  11830. - Implemented get_Rtf
  11831. - Implemented get_SelectedRtf
  11832. 2005-11-09 Peter Dennis Bartok <[email protected]>
  11833. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  11834. to allow any captures to be released before triggering OnClick. This
  11835. way a click handler may capture the mouse without interference.
  11836. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  11837. This way we send them even though X may not allow a grab (if the window
  11838. isn't visible, for example)
  11839. 2005-11-08 Pedro Martinez Julia <[email protected]>
  11840. * DataGridViewRowEventArgs.cs: DataGridView implementation
  11841. * DataGridViewElement.cs: DataGridView implementation
  11842. * DataGridViewComboBoxCell.cs: DataGridView implementation
  11843. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  11844. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  11845. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  11846. * ImageLayout.cs: DataGridView implementation
  11847. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  11848. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  11849. * DataGridViewSelectionMode.cs: DataGridView implementation
  11850. * IDataGridViewEditingControl.cs: DataGridView implementation
  11851. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  11852. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  11853. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  11854. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  11855. * DataGridViewColumnSortMode.cs: DataGridView implementation
  11856. * DataGridView.cs: DataGridView implementation
  11857. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  11858. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  11859. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  11860. * Padding.cs: DataGridView implementation
  11861. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  11862. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  11863. * DataGridViewRowEventHandler.cs: DataGridView implementation
  11864. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  11865. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  11866. * DataGridViewButtonCell.cs: DataGridView implementation
  11867. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  11868. * DataGridViewEditMode.cs: DataGridView implementation
  11869. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  11870. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  11871. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  11872. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  11873. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  11874. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  11875. * DataGridViewCellEventHandler.cs: DataGridView implementation
  11876. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  11877. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  11878. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  11879. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  11880. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  11881. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  11882. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  11883. * QuestionEventArgs.cs: DataGridView implementation
  11884. * IDataGridViewEditingCell.cs: DataGridView implementation
  11885. * DataGridViewTriState.cs: DataGridView implementation
  11886. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  11887. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  11888. * DataGridViewColumnCollection.cs: DataGridView implementation
  11889. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  11890. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  11891. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  11892. * DataGridViewColumn.cs: DataGridView implementation
  11893. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  11894. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  11895. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  11896. * DataGridViewRow.cs: DataGridView implementation
  11897. * DataGridViewImageCellLayout.cs: DataGridView implementation
  11898. * DataGridViewImageCell.cs: DataGridView implementation
  11899. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  11900. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  11901. * DataGridViewHeaderCell.cs: DataGridView implementation
  11902. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  11903. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  11904. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  11905. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  11906. * QuestionEventHandler.cs: DataGridView implementation
  11907. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  11908. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  11909. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  11910. * DataGridViewCell.cs: DataGridView implementation
  11911. * DataGridViewCellEventArgs.cs: DataGridView implementation
  11912. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  11913. * DataGridViewCellStyle.cs: DataGridView implementation
  11914. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  11915. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  11916. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  11917. * TextFormatFlags.cs: DataGridView implementation
  11918. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  11919. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  11920. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  11921. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  11922. * DataGridViewButtonColumn.cs: DataGridView implementation
  11923. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  11924. * HandledMouseEventArgs.cs: DataGridView implementation
  11925. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  11926. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  11927. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  11928. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  11929. * DataGridViewRowCollection.cs: DataGridView implementation
  11930. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  11931. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  11932. * DataGridViewHitTestType.cs: DataGridView implementation
  11933. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  11934. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  11935. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  11936. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  11937. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  11938. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  11939. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  11940. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  11941. * DataGridViewContentAlignment.cs: DataGridView implementation
  11942. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  11943. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  11944. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  11945. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  11946. * DataGridViewPaintParts.cs: DataGridView implementation
  11947. * DataGridViewCellCollection.cs: DataGridView implementation
  11948. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  11949. * DataGridViewImageColumn.cs: DataGridView implementation
  11950. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  11951. * DataGridViewElementStates.cs: DataGridView implementation
  11952. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  11953. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  11954. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  11955. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  11956. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  11957. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  11958. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  11959. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  11960. * DataGridViewTextBoxCell.cs: DataGridView implementation
  11961. * DataGridViewBand.cs: DataGridView implementation
  11962. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  11963. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  11964. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  11965. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  11966. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  11967. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  11968. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  11969. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  11970. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  11971. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  11972. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  11973. 2005-11-08 Peter Dennis Bartok <[email protected]>
  11974. * ThemeWin32Classic.cs:
  11975. - Draw the outside focus rectangle around buttons
  11976. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  11977. doesn't use end caps for every dash of a line anymore. This
  11978. workaround ignores the forecolor.
  11979. 2005-11-08 Kornél Pál <[email protected]>
  11980. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  11981. endian safe.
  11982. 2005-11-07 Jackson Harper <[email protected]>
  11983. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  11984. 2005-11-07 Jackson Harper <[email protected]>
  11985. * ScrollableControl.cs: Calculate the maximum and change vars
  11986. (more) correctly so that scrollbars appear as a sensible size.
  11987. 2005-11-04 Jackson Harper <[email protected]>
  11988. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  11989. collection.
  11990. * TreeView.cs: When the tree is sorted null out the top_node so
  11991. that it is recalculated.
  11992. - Use dotted lines instead of dashed lines to match MS better.
  11993. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  11994. * ListView.cs:
  11995. - Implements key search for items. Useful when browsing files with FileDialog
  11996. - When changing view mode or when clear the items reset scrollbar positions
  11997. 2005-11-04 Jackson Harper <[email protected]>
  11998. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  11999. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  12000. as to what the method may do as there is no real way of creating a
  12001. derived CurrencyManager and calling the method.
  12002. 2005-11-03 Jackson Harper <[email protected]>
  12003. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  12004. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  12005. method which seems to just be used internally to refresh the tabs.
  12006. 2005-11-03 Jackson Harper <[email protected]>
  12007. * TabControl.cs: Implement the remove method. Fix some broken
  12008. comments.
  12009. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12010. * DateTimePicker.cs:
  12011. - Added missing DateTimePickerAccessibleObject class
  12012. - Added missing events
  12013. - Added OnFontChanged method
  12014. * Form.cs: Added missing attributes
  12015. * TreeView.cs: Added missing attributes
  12016. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12017. * GridItemCollection.cs: Fix signatures
  12018. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12019. * XplatUI.cs: Updated build rev/date
  12020. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  12021. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  12022. * Application.cs: Trigger context-specific ExitThread events
  12023. 2005-11-03 Jackson Harper <[email protected]>
  12024. * Menu.cs:
  12025. * MainMenu.cs:
  12026. * GridTableStylesCollection.cs:
  12027. * Timer.cs:
  12028. * TabPage.cs:
  12029. * HelpProvider.cs:
  12030. * StatusBar.cs:
  12031. * MonthCalendar.cs: Signature fixes
  12032. 2005-11-03 Jackson Harper <[email protected]>
  12033. * TreeNodeCollection.cs: Remove should not be virtual.
  12034. * TreeView.cs: Implement the last of the missing methods.
  12035. 2005-11-03 Jackson Harper <[email protected]>
  12036. * TreeNodeConverter.cs: Implement to get off my class-status back.
  12037. 2005-11-03 Jackson Harper <[email protected]>
  12038. * TreeView.cs: Hookup the bits for drag and drop.
  12039. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  12040. that nodes can be moved from tree to tree easily this just causes
  12041. all sorts of problems.
  12042. * TreeNodeCollection: Don't need to give treenodes an index and
  12043. treeview anymore when they are added, these are computed on the
  12044. fly. Also make sure to remove a node before its added.
  12045. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12046. * TextControl.cs:
  12047. - Added CaretSelection enum
  12048. - Added comparison methods to Marker struct, makes selection code
  12049. more readable
  12050. - Added SelectionStart and SelectionEnd as 'moveable' location for
  12051. the CaretDirection enum and handler
  12052. - Added selection_prev variable to track optimized invalidation for
  12053. word and line selection
  12054. - Added SelectionVisible property (returns true if there is a valid
  12055. selection)
  12056. - Switched CaretHasFocus to only display the caret if there is no
  12057. visible selection
  12058. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  12059. using the direct character index; should be much faster
  12060. - Added various conditional debug statements
  12061. - Fixed invalidation calculation for selection ranges
  12062. - Added ExpandSelection() method to support word and line selection
  12063. - Switched SetSelectionToCaret to use new Marker compare overloads
  12064. - Added central IsWordSeparator() method to determine word
  12065. separators/whitespace and FindWordSeparator() to streamline common
  12066. usage of IsWordSeparator()
  12067. * TextBoxBase.cs:
  12068. - Removed unneeded grabbed variable, it was just mirroring
  12069. Control.Capture
  12070. - No longer firing OnTextChanged event when Text setter is called,
  12071. since the base will fire the event for us
  12072. - Added handling of Ctrl-Up/Down selection
  12073. - Added handling of Shift-Cursorkey selection
  12074. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  12075. words
  12076. - Added handling of Shift and Ctrl-Shift-Home/End selection
  12077. - Removed some debug output
  12078. - Added handling for single/double/tripple-click to place caret/
  12079. select word/select line respectively (Fixes bug #76031)
  12080. - Added support for drag expansion of word/line selection
  12081. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  12082. current selection
  12083. 2005-11-02 Jackson Harper <[email protected]>
  12084. * X11Dnd.cs: If the drag is going to and from a MWF window just
  12085. copy the data instead of sending it out through the X Selection
  12086. mechanism.
  12087. 2005-11-02 Jackson Harper <[email protected]>
  12088. * X11Dnd.cs:
  12089. * XplatUIX11.cs: When in a drag we don't want motion notify
  12090. messages to get passed on to the other controls. This prevents
  12091. mouse move messages from showing up in the drag source.
  12092. 2005-11-02 Jackson Harper <[email protected]>
  12093. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  12094. the correct button is release to end a drag.
  12095. * XplatUIX11.cs: Make the button state internal so the drag system
  12096. can access it. Dragging needs to know about all button releases,
  12097. not just left button.
  12098. 2005-11-02 Miguel de Icaza <[email protected]>
  12099. * Form.cs (Icon): If the icon is null, reset the icon to the
  12100. default value.
  12101. * Cursor.cs: When writing the AND-mask bitmap do not include the
  12102. number of colors, but hardcode those to two (black and white),
  12103. fixes the loading of color cursors (Paint Dot Net).
  12104. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  12105. turn off autoscaling.
  12106. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  12107. 2005-11-02 Jackson Harper <[email protected]>
  12108. * X11Dnd.cs: Make sure to send a status message if the pointer
  12109. enters a control that can not accept a drop, otherwise the cursor
  12110. isn't updated correctly. Also tried to compress the lines of code
  12111. a bit.
  12112. 2005-11-02 Jackson Harper <[email protected]>
  12113. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  12114. set actions correctly. This isn't perfect as XDND and win32 have
  12115. some differences on how you allow actions. I'll clear this up by
  12116. adding a path for drag from MWF to MWF windows.
  12117. * XplatUIX11.cs: Hook into the dnd system.
  12118. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  12119. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  12120. previously shown but they are no longer need it. Very obvious when
  12121. browsing files with FileDialog.
  12122. 2005-11-01 Peter Dennis Bartok <[email protected]>
  12123. * Control.cs: We always need to call OnPaintBackground. We pretty much
  12124. ignore AllPaintingInWmPaint and always do the painting there, whether
  12125. it's set or not, since we always ignore the WM_ERASEBKGND message
  12126. (which we don't generate on X11). This fixes #76616.
  12127. * Panel.cs: Removed unneeded background painting. This happens properly
  12128. in Control.cs already
  12129. 2005-10-31 Mike Kestner <[email protected]>
  12130. * Menu.cs: Add items to collection before setting their index.
  12131. * MenuItem.cs : add range checking with ArgumentException like MS.
  12132. [Fixes #76510]
  12133. 2005-10-31 Jackson Harper <[email protected]>
  12134. * ListBox.cs: Invalidate if the area is visible at all not just
  12135. contained in the visible rect. Fixes unselection of semi visible
  12136. items.
  12137. 2005-10-31 Jackson Harper <[email protected]>
  12138. * Control.cs: Consistently name the dnd methods. Make them
  12139. internal so we can override them to match some MS behavoir
  12140. internally.
  12141. * Win32DnD.cs: Use the new consistent names.
  12142. 2005-10-31 Jackson Harper <[email protected]>
  12143. * TreeView.cs: Don't draw the selected node when we lose focus.
  12144. 2005-10-31 Jackson Harper <[email protected]>
  12145. * X11Dnd.cs: We still need to reset the state even though a full
  12146. reset isn't being done, otherwise status's still get sent all over
  12147. the place.
  12148. 2005-10-31 Jackson Harper <[email protected]>
  12149. * Control.cs: Make the dnd_aware flag internal so the dnd
  12150. subsystem can check it. Catch exceptions thrown in dnd handlers to
  12151. match MS behavoir.
  12152. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  12153. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  12154. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  12155. flags to reduce the number of dnd enters/status's sent.
  12156. 2005-10-31 Jackson Harper <[email protected]>
  12157. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  12158. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  12159. * PictureBox.cs: Fixes 76512
  12160. 2005-10-28 Jackson Harper <[email protected]>
  12161. * X11Dnd.cs: Early implementation to support winforms being a drag
  12162. source for data on X11. Also restructured the converters so they
  12163. can go both ways now.
  12164. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  12165. 2005-10-27 Peter Dennis Bartok <[email protected]>
  12166. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  12167. clipboard requests
  12168. 2005-10-27 Jackson Harper <[email protected]>
  12169. * TreeNode.cs: Implement serialization so my DnD examples will work.
  12170. 2005-10-24 Kornél Pál <[email protected]>
  12171. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  12172. TreeView.cs: Don't dispose objects that are not owned.
  12173. 2005-10-24 Peter Dennis Bartok <[email protected]>
  12174. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  12175. should retrieve the current cursor and report that, but XplatUI
  12176. doesn't (yet) have an interface for that (and I'm not sure I even
  12177. can, on X11)
  12178. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  12179. until any message loop processing is done (and the WM_SETCURSOR
  12180. replaces the cursor to the proper one)
  12181. * XplatUIX11.cs:
  12182. - Fixed override behaviour, we can't set the cursor globally on X11,
  12183. just for our windows.
  12184. - Invalidating the System.Drawing X11 display handle when we are
  12185. shutting down
  12186. * Control.cs: Fix to make csc happy
  12187. 2005-10-23 Peter Dennis Bartok <[email protected]>
  12188. * TextBoxBase.cs:
  12189. - get_Text: Add last line (without trailing newline) to returned
  12190. value (Fixes 76212)
  12191. - get_TextLength: Count last line in returned length
  12192. - ToString: Call Text property instead of duplicating code
  12193. 2005-10-23 Kornél Pál <[email protected]>
  12194. * ImageList.cs: Dispose ImageAttributes objects.
  12195. 2005-10-22 Kornél Pál <[email protected]>
  12196. * ImageList.cs: Use attribute constructors with less arguments where
  12197. possible.
  12198. 2005-10-22 Kornél Pál <[email protected]>
  12199. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  12200. Use typeof instead of strings when assembly is referenced. Added
  12201. some more comments.
  12202. 2005-10-21 Jackson Harper <[email protected]>
  12203. * ListView.cs: Raise a double click event. Also tried to somewhat
  12204. fix when the selectedindexchanged event is raised. Its still
  12205. broken though.
  12206. 2005-10-21 Jackson Harper <[email protected]>
  12207. * TreeView.cs: New method to invalidate the plus minus area of a
  12208. node without invalidating the whole node (maybe this can be used
  12209. in some more places).
  12210. * TreeNodeCollection.cs: When adding to an empty node we need to
  12211. invalidate its plus minus area so the little block shows up.
  12212. 2005-10-21 Jackson Harper <[email protected]>
  12213. * TreeView.cs: Make sure that when we invalidate a node the bounds
  12214. are big enough to cover the selected box and the focus
  12215. rectangle. Use a different colour for the lines connecting nodes
  12216. so they show up with all themes.
  12217. 2005-10-21 Peter Dennis Bartok <[email protected]>
  12218. * NativeWindow.cs: Don't call anything that could call into the driver,
  12219. we might be on a different thread.
  12220. 2005-10-21 Peter Dennis Bartok <[email protected]>
  12221. * Control.cs(Dispose): Since Dispose might run on a different thread,
  12222. make sure that we call methods that could call into the driver via
  12223. invoke, to avoid thread issues
  12224. 2005-10-21 Peter Dennis Bartok <[email protected]>
  12225. * XplatUI.cs: Removed finalizer
  12226. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  12227. not allowing to be called on the finalizer thread.
  12228. 2005-10-21 Kornél Pál <[email protected]>
  12229. * ImageList.cs:
  12230. - Reverted r51889 and r51891.
  12231. - Added ImageListItem class that stores unmodified image items and image
  12232. properties required to create list images until handle is created.
  12233. - Added AddItem and moved image creation logic to AddItemInternal.
  12234. - Added CreateHandle method that creates images based on unmodified items.
  12235. - Added DestroyHandle that changes state to store unmodified items.
  12236. - Add and AddStrip methods no more create handle.
  12237. - ReduceColorDepth has no return value.
  12238. - Dispose destroys handle.
  12239. - Modified other methods to reflect the above changes.
  12240. - Implemented key support.
  12241. - Added profile 2.0 members and attributes.
  12242. - Added private Reset and ShouldSerialize methods that provide the same
  12243. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  12244. them as they are private.
  12245. - Added some more comments about implementation details.
  12246. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  12247. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  12248. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  12249. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  12250. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  12251. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  12252. * DataGridColumnStyle.cs: Remove debug message
  12253. 2005-10-20 Jackson Harper <[email protected]>
  12254. * TreeView.cs: We can always get input keys regardless of whether
  12255. or not editing is enabled. They are used for navigation.
  12256. 2005-10-20 Jackson Harper <[email protected]>
  12257. * TreeNode.cs: Use the viewport rect for determining if a node
  12258. needs to be moved for visibility. Don't use Begin/End edit. This
  12259. calls a full refresh when its done.
  12260. * TreeView.cs: New SetBottom works correctly. Make the viewport
  12261. rect property internal so the treenodes can see it. When clicking
  12262. on a node we need to ensure that its visible because it might just
  12263. be partly visible when clicked.
  12264. 2005-10-20 Jackson Harper <[email protected]>
  12265. * TreeNodeCollection.cs: Remove debug code.
  12266. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  12267. * Datagrid.cs: Implements column sorting in Datagrid
  12268. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  12269. 2005-10-20 Jackson Harper <[email protected]>
  12270. * TreeNodeCollection.cs: Remove items properly. Update the correct
  12271. area after removing them.
  12272. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  12273. * Datagrid.cs: Should not call base.OnPaintBackground
  12274. 2005-10-20 Peter Dennis Bartok <[email protected]>
  12275. * XplatUIX11.cs (GetMessage):
  12276. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  12277. window instead of client window
  12278. - Now properly calculates NC_xBUTTONUP message coordinates
  12279. - ScreenToMenu now properly calculates it's coordinates of whole
  12280. window, since menus are in the whole window, not in the client
  12281. window
  12282. - Added WholeToScreen coordinate translation method
  12283. 2005-10-20 Peter Dennis Bartok <[email protected]>
  12284. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  12285. want to return a message, loop back to the beginning of the function
  12286. and grab the next real message to process instead.
  12287. 2005-10-20 Peter Dennis Bartok <[email protected]>
  12288. * Splitter.cs: Properly set limits if no filler control is used
  12289. 2005-10-19 Jackson Harper <[email protected]>
  12290. * ColorDialog.cs: Don't show the help button if it is not enabled
  12291. instead of disabling it (this is what MS does). Don't create the
  12292. panel until the dialog is run, otherwise the vars (such as
  12293. ShowHelp) are not set yet.
  12294. 2005-10-19 Jackson Harper <[email protected]>
  12295. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  12296. are reduced when adding nodes.
  12297. * TreeNode.cs:
  12298. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  12299. tree.
  12300. 2005-10-19 Jackson Harper <[email protected]>
  12301. * FolderBrowserDialog.cs: End editing our treeview so the window
  12302. actually gets refreshed.
  12303. 2005-10-18 Peter Dennis Bartok <[email protected]>
  12304. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  12305. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  12306. inside of WM_PAINT
  12307. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  12308. * MenuAPI.cs: Returns after Hidding window
  12309. * XplatUIX11.cs: Added TODO found while debugging menu issues
  12310. 2005-10-18 Peter Dennis Bartok <[email protected]>
  12311. * XplatUIX11.cs: Do not re-map the whole window when it's size
  12312. becomes non-zero unless it's supposed to be actually visible
  12313. 2005-10-18 Jackson Harper <[email protected]>
  12314. * TreeView.cs: We don't need to keep a count anymore.
  12315. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  12316. use the Grow method.
  12317. 2005-10-18 Jackson Harper <[email protected]>
  12318. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  12319. implement it manually here.
  12320. 2005-10-18 Jackson Harper <[email protected]>
  12321. * ImageList.cs: Dont kill the list when the colour depth is
  12322. changed, just change the colour depth of all the images.
  12323. - Same goes for setting the image size. Just resize them all
  12324. instead of killing the list softly.
  12325. 2005-10-18 Jackson Harper <[email protected]>
  12326. * Control.cs: Don't invalidate empty rectangles.
  12327. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  12328. * ListViewItem.cs:
  12329. - Adds checked item to the Checked/Item lists (where empty before)
  12330. - Do not add items to the Selected lists if they are already present
  12331. * ListView.cs:
  12332. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  12333. - When deleting items make sure that we delete them for the Selected
  12334. and Checked list also.
  12335. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  12336. * Label.cs: Dispose objects no longer used
  12337. * ThemeWin32Classic.cs: Dispose objects no longer used
  12338. 2005-10-18 Jackson Harper <[email protected]>
  12339. * TabControl.cs: Don't refresh the whole control when the tabs are
  12340. scrolled, we just need to refresh the tab area.
  12341. 2005-10-17 Jackson Harper <[email protected]>
  12342. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  12343. after handle when we need it.
  12344. 2005-10-17 Peter Dennis Bartok <[email protected]>
  12345. * Control.cs: When the parent size changes, recalculate anchor
  12346. positions. Partial fix for #76462
  12347. 2005-10-17 Peter Dennis Bartok <[email protected]>
  12348. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  12349. drawn. Fixes #76462
  12350. 2005-10-17 Jackson Harper <[email protected]>
  12351. * MonthCalendar.cs: Don't create the numeric up down until our
  12352. handle is created. Otherwise our handle is created in the
  12353. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  12354. yet.
  12355. 2005-10-17 Jackson Harper <[email protected]>
  12356. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  12357. correctly.
  12358. 2005-10-17 Rafael Teixeira <[email protected]>
  12359. * TreeNode.cs : small logical fix (was using local var instead of field)
  12360. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  12361. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  12362. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  12363. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  12364. 2005-10-16 Peter Dennis Bartok <[email protected]>
  12365. * Control.cs:
  12366. - Re-implemented anchoring code. My first version was really broken.
  12367. This fixes bug #76033. Unlike the previous implementation we will
  12368. no longer have round errors since all numbers are calculated from
  12369. scratch every time. Removed various anchor-related obsolete vars.
  12370. - InitLayout no longer causes layout event firing and layout to be
  12371. performed
  12372. 2005-10-16 Jackson Harper <[email protected]>
  12373. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  12374. which was broken).
  12375. 2005-10-16 Jackson Harper <[email protected]>
  12376. * TabControl.cs: Remove debug code.
  12377. 2005-10-16 Jackson Harper <[email protected]>
  12378. * XEventQueue.cs: Increase the default queue size (very simple
  12379. apps needed to grow the queue).
  12380. * Hwnd.cs: No finalizer so we don't need to suppress
  12381. finalization. Compute the invalid area manually so a new rectangle
  12382. does not newto be created.
  12383. * ScrollableControl.cs: Don't set any params (otherwise visibility
  12384. isn't set correctly).
  12385. * MdiChildContext.cs: New constructor takes the mdi parent so it
  12386. doesn't have to be computed and avoids a crash on windows. Draw
  12387. the window icon properly, and allow the text to be seen.
  12388. * Form.cs: Use new MdiChildContext constructor. Make sure the
  12389. child context isn't null in wndproc.
  12390. * TabControl.cs: Don't set focus, this is muddling keyboard
  12391. behavoir. Expand the tab rows when a window size increase will
  12392. allow extra tabs to be seen. Don't allow tabs smaller than the
  12393. width of a window to be scrolled out of view.
  12394. * TreeNode.cs:
  12395. * TreeView.cs: Use measure string to calculate a nodes width, the
  12396. width is cached and only updated when the text or the font is
  12397. changed. Don't check for expand/collapse clicks on the first level
  12398. nodes if root lines are disabled.
  12399. 2005-10-16 Ritvik Mayank <[email protected]>
  12400. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  12401. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  12402. * DataGridBoolColumn.cs: fixes warning
  12403. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  12404. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  12405. to match more to match more precisely the MS Net behavior
  12406. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12407. * Hwnd.cs: Added field to track if window is mapped
  12408. * XplatUIX11.cs:
  12409. - Unmap windows if they become 0-size, re-map when
  12410. they are >0 again; fixes #76035
  12411. - Re-set our error handler after initializing X11Desktop
  12412. to override any error handlers Gtk or whatever was called
  12413. may have set.
  12414. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12415. * CheckedListBox.cs: Removed unused vars
  12416. * ListView.cs: Fixed signatures
  12417. * RichTextBox.cs: Removed unused vars
  12418. * TextBoxBase.cs: Removed unused vars
  12419. * XplatUIWin32.cs: Removed unused vars
  12420. * XplatUIX11.cs: Removed unused vars
  12421. * XplatUI.cs: Updated version and date to latest published
  12422. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12423. * Cursor.cs: Added private .ctor to work around a bug in
  12424. resourceset (Thanks to Geoff Norton for the help on this)
  12425. * SplitterEventArgs.cs: Made fields accessible so we don't
  12426. waste boatloads of objects and can reuse the same one
  12427. in Splitter
  12428. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  12429. any captions and borders when generating screen coordinates
  12430. * Splitter.cs: Reimplemented control, now fully complete, uses
  12431. rubberband drawing, supports and obeys all properties, has
  12432. proper cursors
  12433. 2005-10-13 Miguel de Icaza <[email protected]>
  12434. * Form.cs (Form): Setup default values for autoscale and
  12435. autoscale_base_size; Make these instance variables, not static
  12436. variables.
  12437. (OnLoad): on the first load, adjust the size of the form.
  12438. 2005-10-13 Peter Dennis Bartok <[email protected]>
  12439. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  12440. width argument to DrawReversibleRectangle()
  12441. * XplatUIWin32.cs, XplatUIX11.cs:
  12442. - Implemented width for DrawReversibleRectangle()
  12443. - Added logic to DrawReversibleRectangle that recognizes a zero
  12444. width or height and only draws a line in that situation
  12445. 2005-10-12 Peter Dennis Bartok <[email protected]>
  12446. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  12447. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  12448. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  12449. method (it uses our FosterParent window to get a graphics context)
  12450. 2005-10-12 Peter Dennis Bartok <[email protected]>
  12451. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  12452. and SetWindowBackground methods
  12453. * Control.cs:
  12454. - Setting proper ControlStyles
  12455. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  12456. EraseWindowBackground, instead we draw the window background
  12457. ourselves in PaintControlBackground. This behaviour is
  12458. required to match MS, where, when OnPaintBackground is not
  12459. called, the background is not drawn.
  12460. - Removed unneeded Refresh() in set_Text
  12461. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  12462. * XplatUIX11.cs:
  12463. - Created DeriveStyles method to translate from CreateParams to
  12464. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  12465. matches FormBorderStyle enum values)
  12466. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  12467. style calculations into single DeriveStyles method
  12468. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  12469. from redrawing the whole window on any resize or expose.
  12470. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  12471. all styles were applied to our whole/client window appropriately
  12472. - Removed EraseWindowBackground() and SetWindowBackground() methods
  12473. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  12474. no longer clear/redraw the background through X
  12475. - Removed handling of erase_pending bit, we have no use for it (or
  12476. so it seems)
  12477. * XplatUIOSX.cs:
  12478. - Removed generation and handling of WM_ERASEBKGND message
  12479. - Removed EraseWindowBackground() and SetWindowBackground() methods
  12480. - Removed handling of hwnd.ErasePending flag
  12481. * XplatUIWin32.cs:
  12482. - Removed EraseWindowBackground() and SetWindowBackground() methods
  12483. - We no longer call EraseWindowBackground on PaintEventStart, we
  12484. ignore the fErase flag, erasing is handled in Control in the
  12485. background handler
  12486. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  12487. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  12488. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  12489. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  12490. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  12491. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  12492. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  12493. 2005-10-12 Jonathan Chambers <[email protected]>
  12494. * PropertyGrids.cs: Get sub properties
  12495. * PropertyGridView.cs: Fix drawing code
  12496. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12497. * ListBox.cs: Fixes 76383
  12498. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12499. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  12500. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  12501. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  12502. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12503. * ComboBox.cs: Fixes border drawing
  12504. 2005-10-10 Miguel de Icaza <[email protected]>
  12505. * MimeIcon.cs: Ignore errors if the file can not be read.
  12506. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  12507. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  12508. - Fixed border calculations
  12509. - Fixed horizontal scrolling in single column listboxes
  12510. - Fixed drawing issues
  12511. 2005-10-10 Peter Dennis Bartok <[email protected]>
  12512. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  12513. FormBorderStyle enum
  12514. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  12515. code to determine FormBorderStyles from CreateParams
  12516. * Form.cs:
  12517. - Fixed bug where we'd set the wrong window styles if we were
  12518. not creating an MDI window
  12519. - Added call to XplatUI.SetBorderStyle when form borders are set
  12520. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  12521. * Hwnd.cs:
  12522. - Removed obsolete edge style
  12523. - Switched from BorderStyle to FormBorderStyle
  12524. 2005-10-10 Jackson Harper <[email protected]>
  12525. * Form.cs: Use the property to get the window handle instead of
  12526. accessing it directly. Prevents a null reference exception.
  12527. 2005-10-10 Jackson Harper <[email protected]>
  12528. * TreeView.cs: Don't adjust the rect given to DrawString now that
  12529. our libgdiplus draws correctly.
  12530. 2005-10-08 Jackson Harper <[email protected]>
  12531. * TreeView.cs: Don't try to find the clicked on node if there are
  12532. no nodes in the tree.
  12533. 2005-10-08 Alexander Olk <[email protected]>
  12534. * RichTextBox.cs:
  12535. restore
  12536. 2005-10-08 Alexander Olk <[email protected]>
  12537. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  12538. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  12539. ErrorProvider.cs:
  12540. Use ResPool for brushes and dispose System.Drawing objects that
  12541. are not used anymore.
  12542. 2005-10-07 Jackson Harper <[email protected]>
  12543. * MdiChildContext.cs: Use the new borders instead of drawing them
  12544. ourselves.
  12545. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  12546. * Calling UpdateBounds after changing the window's BorderStyle
  12547. since the style can change the ClientSize
  12548. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12549. * Control.cs: Made PaintControlBackground virtual
  12550. * Panel.cs: Overriding PaintControlBackground instead of using paint
  12551. event; paint event method was interfering with 'real' users of the
  12552. event.
  12553. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  12554. * ThemeWin32Classic.cs: remove border drawing since it is handled
  12555. by the base control class now and was causing double border drawing.
  12556. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12557. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  12558. but it does seem to match MS behaviour. This fixes bug #75324
  12559. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12560. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  12561. somewhat hackish looking
  12562. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12563. * TextBoxBase.cs:
  12564. - We now accept Enter even if AcceptEnter is false, if the containing
  12565. form does not have an AcceptButton configured (fixes bug #76355)
  12566. - Calculations are now fixed to no longer use Width/Height, but
  12567. ClientSize.Width/Height, since we now support borders (this was
  12568. a result of fixing borders and therefore bug #76166)
  12569. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  12570. true (fixes bug #76354)
  12571. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12572. * Control.cs:
  12573. - Defaulting BorderStyle and setting it in XplatUI when our window
  12574. is created
  12575. - Added enum check to InternalBorderStyle setter
  12576. * XplatUIX11.cs:
  12577. - Added drawing of window borders
  12578. - Now properly calculates WM decorations offset for toplevel
  12579. windows (fixes bug #74763)
  12580. * XplatUIWin32.cs:
  12581. - Implemented BorderStyles for windows (we're letting win32 draw
  12582. the border for us)
  12583. - Fixed the signature for SetWindowLong
  12584. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  12585. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  12586. setting borders
  12587. * UpDownBase.cs: Remove drawing of borders, this is handled by
  12588. the driver, outside the client area
  12589. * ListView.cs: Removed bogus border calculations. The control should
  12590. be oblivious to borders, since those are not part of the client
  12591. area.
  12592. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  12593. * ThemeWin32Classic.cs: Removed border calculations from ListView
  12594. drawing code
  12595. 2005-10-06 Jackson Harper <[email protected]>
  12596. * MdiChildContext.cs: Clear out the old virtual position remove
  12597. all the unneeded calls to CreateGraphics.
  12598. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12599. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  12600. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12601. * Form.cs:
  12602. - Added loading and setting of our new default icon
  12603. - Only set icon if window is already created
  12604. 2005-10-06 Peter Dennis Bartok <[email protected]>
  12605. * Label.cs:
  12606. - Do not explicitly set the foreground and background colors, to
  12607. allow inheriting from parents (fixes #76302)
  12608. - Use Control's InternalBorderStyle property to deal with borders
  12609. 2005-10-06 Jackson Harper <[email protected]>
  12610. * MdiChildContext.cs: Use the new xplatui function to draw a
  12611. reversible rect.
  12612. 2005-10-06 Jackson Harper <[email protected]>
  12613. * Form.cs: Add the parent before creating the child context cause
  12614. we need the parent when setting up the child.
  12615. 2005-10-06 Jackson Harper <[email protected]>
  12616. * FolderBrowserDialog.cs: redo the tree population code so a
  12617. second thread isn't used. Should be a lot faster and more stable
  12618. now.
  12619. 2005-10-05 Jackson Harper <[email protected]>
  12620. * TreeView.cs: There are no expand/collapse boxes if the node has
  12621. no children.
  12622. 2005-10-05 Jackson Harper <[email protected]>
  12623. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  12624. 2005-10-05 Alexander Olk <[email protected]>
  12625. * FileDialog.cs: Fix InitialDirectory
  12626. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  12627. * ComboBox.cs:
  12628. - Fixes changing between styles
  12629. - Fixes simple mode
  12630. - Fixes last item crashing when navigating with keyboard
  12631. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  12632. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  12633. 2005-10-05 Jackson Harper <[email protected]>
  12634. * TreeView.cs: If updating the root node do a full refresh.
  12635. * TreeNode.cs: The root node should be expanded by default. Also
  12636. added a utility prop to tell if we are the root node.
  12637. * TreeNodeCollection.cs: Only refresh if the node we are being
  12638. added to is expanded. Also added a comment on a potential
  12639. optimization.
  12640. 2005-10-04 Peter Dennis Bartok <[email protected]>
  12641. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  12642. in dispose method. Fixes #76330
  12643. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  12644. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  12645. - Implements vertical and horizontal scrolling using XplatUI
  12646. - Fixes keyboard navagation
  12647. - Fixes EnsureVisible
  12648. - Drawing fixes
  12649. - Handles and draws focus properly
  12650. 2005-10-04 Kornél Pál <[email protected]>
  12651. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  12652. Create handle. NET_2_0: Destroy handle when value is null.
  12653. 2005-10-03 Jackson Harper <[email protected]>
  12654. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  12655. revert and a new patch to prevent the thumb from refreshing so
  12656. much.
  12657. 2005-10-02 Jackson Harper <[email protected]>
  12658. * ScrollBar.cs: Don't update position if it hasn't actually
  12659. changed. This occurs when you hold down the increment/decrement
  12660. buttons and the thumb gets to the max/min.
  12661. 2005-10-01 Jackson Harper <[email protected]>
  12662. * Form.cs:
  12663. * MdiChildContext.cs:
  12664. * MdiClient.cs: Implement ActiveMdiChild in Form.
  12665. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  12666. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  12667. 2005-10-01 Peter Dennis Bartok <[email protected]>
  12668. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  12669. be found
  12670. 2005-09-30 Jackson Harper <[email protected]>
  12671. * ListBox.cs: Don't do a full refresh unless some data has
  12672. actually changed.
  12673. 2005-09-30 Jackson Harper <[email protected]>
  12674. * TreeView.cs: Make sure that the checkboxes size is factored in
  12675. even when not visible.
  12676. 2005-09-30 Peter Dennis Bartok <[email protected]>
  12677. * FileDialog.cs: Fix Jordi's build break
  12678. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  12679. * FileDialog.cs:
  12680. - Use standard the Windows colours for the combobox as espected
  12681. - Dispose objects that use resouces when no longer need them
  12682. 2005-09-30 Peter Dennis Bartok <[email protected]>
  12683. * X11DesktopColors.cs: Initial incomplete implementation
  12684. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  12685. 2005-09-30 Peter Dennis Bartok <[email protected]>
  12686. * Theme.cs:
  12687. - Switched Theme color names to match the names defined in
  12688. System.Drawing.KnownColors. Life's hard enough, no need to make
  12689. it harder.
  12690. - Added setters to all theme color properties so themes can set
  12691. their color schemes. The setters also propagate the color changes
  12692. to System.Drawing.KnownColors via reflection
  12693. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  12694. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  12695. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  12696. use the new, more logical theme color names
  12697. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  12698. post-NT colors
  12699. * ThemeWin32Classic.cs:
  12700. - Removed code to set the old classic Windows colors. Instead it
  12701. now relies on the colors returned by System.Drawing.KnownColors
  12702. which will be either modern static colors (Unix) or colors
  12703. read from the user's configuration (Win32)
  12704. - Updated to use the new, more logical theme color names
  12705. - Switched DataGrid drawing code to use only Theme colors instead of
  12706. a mix of System.Drawing.KnownColors and Theme colors
  12707. - DrawFrameControl(): Removed code that fills the button area, the
  12708. fill would overwrite any previous fill done by a control. This
  12709. fixes bug #75338
  12710. - Added DrawReversibleRectangle() stub
  12711. * ScrollableControl.cs: Set visible state to false when scrollbars
  12712. are removed (pdn fix)
  12713. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  12714. DrawReversibleRectangle() method to allow drawing primitive
  12715. 'rubber bands'
  12716. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  12717. 2005-09-30 Kornél Pál <[email protected]>
  12718. * ImageList.cs: Add(Icon): Create handle.
  12719. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  12720. * ListView.cs:
  12721. * ThemeWin32Classic.cs:
  12722. - Fixes detail mode
  12723. - Sets clippings
  12724. - Issues with drawing
  12725. 2005-09-30 Kornél Pál <[email protected]>
  12726. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  12727. source has to be the ImageList.
  12728. 2005-09-30 Kornél Pál <[email protected]>
  12729. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  12730. 2005-09-30 Kornél Pál <[email protected]>
  12731. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  12732. 2005-09-30 Kornél Pál <[email protected]>
  12733. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  12734. 2005-09-29 Jonathan Chambers <[email protected]>
  12735. * GridItem.cs: Fixed TODOs
  12736. * GridItemCollection.cs: Added ICollection interface
  12737. 2005-09-30 Kornél Pál <[email protected]>
  12738. * ImageList.cs: Resize icons when needed.
  12739. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  12740. * ListViewItem.cs
  12741. - Fixes GetBounds and returns on screen rects
  12742. * ListView.cs:
  12743. - Fixes vertical and horzintal scrolling of items
  12744. * ThemeWin32Classic.cs:
  12745. - Fixes drawing
  12746. 2005-09-29 Raja R Harinath <[email protected]>
  12747. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  12748. 2005-09-29 Kornél Pál <[email protected]>
  12749. * ImageList.cs: Added comments about handle creation. Moved Handle,
  12750. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  12751. Handle is created in Add methods.
  12752. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  12753. * DataGridDrawingLogic.cs:
  12754. - Takes rows into account on Colum calculations
  12755. - Returns the column when clickig
  12756. * DataGrid.cs:
  12757. - Fixes default HitTestInfo values
  12758. - Fixes HitTestInfo.ToString
  12759. - Fixes ResetBackColor
  12760. 2005-09-28 Jackson Harper <[email protected]>
  12761. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  12762. sizing or cursor changes). Also added some temp code to draw the
  12763. titlebars text (Makes dev a little easier).
  12764. 2005-09-28 Kornél Pál <[email protected]>
  12765. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  12766. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  12767. * ListBox.cs: Fixes bug 76253
  12768. 2005-09-28 Kornél Pál <[email protected]>
  12769. * ImageList.cs: Added comments about the current implementation. Added
  12770. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  12771. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  12772. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  12773. with Bitmap.LockBits for better performance. Revised the whole file to
  12774. match MS.NET behaviour and provide better performance. Non-public
  12775. interface members are calling public members even when they throw
  12776. NotSupportedException for better maintainability. Moved ColorDepth,
  12777. ImageSize, ImageStream and TransparentColor implementations to
  12778. ImageCollection for better performance as these properties are not used
  12779. by ImageList.
  12780. * ImageListStreamer.cs: Added a new internal constructor that takes an
  12781. ImageList.ImageCollection and serializes Images based on
  12782. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  12783. match ImageList property name.
  12784. 2005-09-28 Kazuki Oikawa <[email protected]>
  12785. * ListBox.cs: Fixes IndexFromPoint for last item
  12786. 2005-09-27 Jackson Harper <[email protected]>
  12787. * Form.cs: Set the position of new mdi children correctly.
  12788. 2005-09-27 Jackson Harper <[email protected]>
  12789. * MdiClient.cs: New mdi children need to be added to the back of
  12790. the controls collection so the zorder is set correctly. Also add a
  12791. count of all the child windows that have been created.
  12792. 2005-09-27 Jackson Harper <[email protected]>
  12793. * Form.cs (CreateParams): Setup MDI forms correctly.
  12794. 2005-09-27 Jackson Harper <[email protected]>
  12795. * MdiChildContext.cs:
  12796. * MonthCalendar.cs:
  12797. * UpDownBase.cs:
  12798. * ListBox.cs:
  12799. * ListView.cs:
  12800. * TextBoxBase.cs:
  12801. * TreeView.cs:
  12802. * ScrollableControl.cs:
  12803. * ComboBox.cs: Add implicit controls using the new implict control
  12804. functionality in ControlCollection. Also try to block multiple
  12805. control add in a suspend/resume layout to save some cycles.
  12806. 2005-09-27 Jackson Harper <[email protected]>
  12807. * Control.cs: Add functionality to the controls collection to add
  12808. 'implicit controls' these are controls that are created by the
  12809. containing control but should not be exposed to the user. Such as
  12810. scrollbars in the treeview.
  12811. * Form.cs: The list var of the ControlsCollection is no longer
  12812. available because of the potential of implicit controls getting
  12813. ignored by someone accessing the list directly.
  12814. 2005-09-26 Peter Dennis Bartok <[email protected]>
  12815. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  12816. loose it's parent. (Fixed bug introduced in r49103 when we added
  12817. setting the child parent to null on Remove)
  12818. 2005-09-26 Gert Driesen <[email protected]>
  12819. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  12820. * Splitter.cs: Added missing attributes for BorderStyle property.
  12821. * TextBoxBase.cs: Marked Calculate* methods internal.
  12822. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  12823. MS.NET.
  12824. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  12825. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  12826. 2005-09-25 Jackson Harper <[email protected]>
  12827. * TreeView.cs: Update the node bounds correctly regardless of
  12828. whether the node is visible.
  12829. 2005-09-25 Jackson Harper <[email protected]>
  12830. * ImageList.cs: Don't dispose the image after it is added to the
  12831. image list. Only reformat images that need to be resized.
  12832. 2005-09-25 Jackson Harper <[email protected]>
  12833. * ImageList.cs: Don't set the format when changing the image.
  12834. 2005-09-25 Jackson Harper <[email protected]>
  12835. * TreeView.cs: We can't just assume the node has a font. Use the
  12836. treeviews font if no node font is available.
  12837. 2005-09-25 Jackson Harper <[email protected]>
  12838. * TreeView.cs: Allow the scrollbars to be reset with negative
  12839. values.
  12840. - Don't add scrollbars to negative sized windows.
  12841. 2005-09-23 Jackson Harper <[email protected]>
  12842. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  12843. old Mono.Posix. Also remove some stray code that shouldn't have
  12844. been committed.
  12845. 2005-09-23 Jackson Harper <[email protected]>
  12846. * TreeView.cs: Attempt at proper sizing of the horizontal
  12847. scrollbar. Also don't resize the scrollbars unless they are
  12848. visible.
  12849. 2005-09-23 Jackson Harper <[email protected]>
  12850. * TreeView.cs: We don't need to expand the invalid area when the
  12851. selection changes, as this is all drawn in the node's bounding
  12852. box. The area needs to be expanded (previous typo was contracting
  12853. it) when the focus rect moves.
  12854. 2005-09-23 Jackson Harper <[email protected]>
  12855. * TreeView.cs: Display the selection box under the correct
  12856. circumstances. We were rendering white text with no selection box
  12857. before.
  12858. 2005-09-23 Peter Dennis Bartok <[email protected]>
  12859. * TextControl.cs(Split): Now updates selection start/end if it points
  12860. into a line that's being split. Fixes a FIXME and bug #75258
  12861. 2005-09-23 Jackson Harper <[email protected]>
  12862. * Binding.cs:
  12863. * ListControl.cs: Don't use the path when retrieving binding
  12864. managers from the binding context. My bat sense tells me that the
  12865. path is only used on insertion.
  12866. 2005-09-22 Jackson Harper <[email protected]>
  12867. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  12868. 2005-09-22 Jackson Harper <[email protected]>
  12869. * Splitter.cs: There are special cursors used for splitting.
  12870. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  12871. 2005-09-22 Jackson Harper <[email protected]>
  12872. * Splitter.cs: Change the cursor appropriately when the splitter
  12873. is moused over, so the user actually knows there is a splitter
  12874. there.
  12875. 2005-09-22 Hisham Mardam Bey <[email protected]>
  12876. * Label.cs : Fix ToString method to give same output as MS.NET
  12877. 2005-09-22 Jackson Harper <[email protected]>
  12878. * TreeView.cs: Create the scrollbars when the handle is created
  12879. and add them right away, just make them invisble. Also account for
  12880. the window being shrunk vertically to the point that the vert
  12881. scrollbar needs to be added.
  12882. - Remove some 0.5 adjustments to get around anti aliasing issues.
  12883. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  12884. * MainMenu.cs: Fixes default value
  12885. * MenuItem.cs: Fixes default value
  12886. 2005-09-22 Kazuki Oikawa <[email protected]>
  12887. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  12888. 2005-09-21 Jackson Harper <[email protected]>
  12889. * Control.cs: Don't try to set the border style on the window if
  12890. it hasn't been created. When the window is created the border
  12891. style will be used.
  12892. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12893. * Control.cs (Update): Don't call XplatUI if we don't have a
  12894. window handle yet
  12895. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12896. * ContainerControl.cs: Instead of throwing an exception, print
  12897. a one-time warning about Validate not being implemented
  12898. * XplatUIWin32.cs: Removed debug output
  12899. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12900. * Control.cs: Only set XplatUI background if we expect the windowing
  12901. system to handle the background. This stops controls that draw their
  12902. own background from flickering
  12903. * XplatUIX11.cs: Support custom visuals and colormaps for window
  12904. creation. This allows, amongst other things, using MWF X11 windows
  12905. with OpenGL.
  12906. 2005-09-21 Peter Dennis Bartok <[email protected]>
  12907. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  12908. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  12909. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  12910. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  12911. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  12912. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  12913. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  12914. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  12915. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  12916. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  12917. GridColumnStylesCollection.cs,
  12918. IDataGridColumnStyleEditingNotificationService.cs,
  12919. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  12920. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  12921. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  12922. TreeNodeCollection.cs, AmbientProperties.cs,
  12923. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  12924. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  12925. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  12926. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  12927. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  12928. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  12929. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  12930. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  12931. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  12932. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  12933. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  12934. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  12935. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  12936. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  12937. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  12938. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  12939. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  12940. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  12941. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  12942. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  12943. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  12944. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  12945. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  12946. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  12947. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  12948. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  12949. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  12950. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  12951. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  12952. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  12953. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  12954. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  12955. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  12956. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  12957. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  12958. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  12959. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  12960. 2005-09-21 Jackson Harper <[email protected]>
  12961. * TreeNode.cs: Call Before/After Expand not Collapse when
  12962. expanding.
  12963. 2005-09-20 Jackson Harper <[email protected]>
  12964. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  12965. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  12966. * ListViewItem.cs:
  12967. - Fixes bug 76120
  12968. - Fixes proper storing of subitems
  12969. - Fixes not updated items
  12970. 2005-09-20 Peter Dennis Bartok <[email protected]>
  12971. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  12972. things if our window handle isn't created yet. Also disabled
  12973. debug for TextBoxBase
  12974. 2005-09-20 Peter Dennis Bartok <[email protected]>
  12975. * MenuAPI.cs: Remove filtering of events to allow menu usage
  12976. 2005-09-20 Miguel de Icaza <[email protected]>
  12977. * Cursor.cs: Allow null to be passed to Cursor.Current.
  12978. 2005-09-20 Alexander Olk <[email protected]>
  12979. * ThemeWin32Classic.cs:
  12980. - Change some private methods/fields to protected virtual so that
  12981. they can be accessed and overriden in derived classes
  12982. - First refactoring of some methods. Derived themes now don't
  12983. need to duplicate the complete code from ThemeWin32Classic
  12984. * ThemeNice.cs:
  12985. - Added nice StatusBar
  12986. - Derive from ThemeWin32Classic and not Theme
  12987. - Removed duplicate ThemeWin32Classic code
  12988. 2005-09-20 Miguel de Icaza <[email protected]>
  12989. * Control.cs (ControlCollection.Add): If the value null is passed
  12990. the control is ignored.
  12991. Optimize this loop.
  12992. 2005-09-19 Peter Dennis Bartok <[email protected]>
  12993. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  12994. PostQuitMessage state.
  12995. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  12996. 2005-09-19 Peter Dennis Bartok <[email protected]>
  12997. * Application.cs: Our constructor will never get called, move
  12998. initialization to fields; fixes bug #75933
  12999. 2005-09-19 Hisham Mardam Bey <[email protected]>
  13000. * FileDialog.cs :
  13001. - Allow files to be selected properly using file name
  13002. combo box.
  13003. - Add ability to change diretory (absolute / relative)
  13004. using file name combo box.
  13005. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  13006. * ListBox.cs:
  13007. - Fixes Multicolumn listboxes item wrong calculations
  13008. - Allows to click when only one item is in the listbox
  13009. - Fixes crash when no items using keyboard navigation
  13010. 2005-09-16 Alexander Olk <[email protected]>
  13011. * ComboBox.cs: Reverted almost everything from the latest patch which
  13012. broke ComboBox
  13013. 2005-09-16 Kazuki Oikawa <[email protected]>
  13014. * ToolTip.cs:
  13015. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  13016. * ComboBox.cs:
  13017. - When DropDownStyle is Simple, it does not show scrollbar
  13018. to the last item of the list.
  13019. - When DropDownStyle is Simple, it crashed when the list was
  13020. scrolled down with the down cursor key.
  13021. - Fixed a bug that when DropDownStyle is DropDownList, the
  13022. selected item was not shown.
  13023. - The position of the selected item was not preserved when
  13024. the next dropdown happened.
  13025. * ThemeWin32Classic.cs:
  13026. - Items were wrapped at the right end.
  13027. * CheckedListBox.cs:
  13028. - Fixed Add method
  13029. * ListBox.cs:
  13030. - Items should be fully shown.
  13031. - When resizing and vertical scrollbar disappeared, the item
  13032. of index 0 should be on the top of the list.
  13033. - GetItemRectangle should consider the size of ver. scrollbar
  13034. * StatusBar.cs:
  13035. - SizingGrip area should not be allocated when it is not
  13036. displayed.
  13037. - Now it reflects MinWidth of the containing panel and
  13038. fixed a crash that happens when its width becomes so small.
  13039. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  13040. * CheckedListBox.cs: Fixes bug 76028
  13041. * ListBox.cs: Fixes bug 76028
  13042. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  13043. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  13044. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  13045. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  13046. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  13047. 2005-09-09 Jonathan Chambers <[email protected]>
  13048. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  13049. 2005-09-09 Jonathan Chambers <[email protected]>
  13050. * IRootGridEntry.cs: Added
  13051. * PropertyGridCommands.cs: Added
  13052. * PropertiesTab.cs: Added missing methods and property
  13053. * PropertyGridView.cs: Made class internal
  13054. * PropertyGridTextBox.cs: Made class internal
  13055. 2005-09-09 Alexander Olk <[email protected]>
  13056. * MimeIcon.cs: Try to check some other environment variables
  13057. if "DESKTOP_SESSION" returns "default"
  13058. 2005-09-09 Alexander Olk <[email protected]>
  13059. * ThemeNice.cs: Corrected background colors (e.g. menus)
  13060. * ColorDialog.cs: Use correct background colors for controls
  13061. 2005-09-09 Alexander Olk <[email protected]>
  13062. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  13063. 2005-09-08 Peter Dennis Bartok <[email protected]>
  13064. * RichTextBox.cs: Added initial implementation
  13065. * lang.cs: Removed. Was accidentally checked in long time ago
  13066. * TODO: Removed. Contents were obsolete
  13067. 2005-09-06 Jonathan Chambers <[email protected]>
  13068. * PropertiesTab.cs : Added
  13069. 2005-09-06 Jonathan Chambers <[email protected]>
  13070. * PropertyGrid.cs : Update
  13071. * PropertyGridView.cs : Update
  13072. * System.Windows.Forms.resx : Added images and strings
  13073. 2005-09-06 Peter Dennis Bartok <[email protected]>
  13074. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  13075. 2005-09-06 Peter Dennis Bartok <[email protected]>
  13076. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  13077. a busy loop right after the Ungrab the X11 display is otherwise
  13078. blocked
  13079. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  13080. * ThemeWin32Classic.cs: Optimise the use of clipping
  13081. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  13082. * DataGrid.cs: fixes recursion bug
  13083. 2005-09-03 Alexander Olk <[email protected]>
  13084. * ThemeNice.cs:
  13085. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  13086. - Cleanup
  13087. 2005-09-02 Alexander Olk <[email protected]>
  13088. * ThemeNice.cs: Draw nice ProgressBars
  13089. 2005-09-01 Miguel de Icaza <[email protected]>
  13090. * VScrollBar.cs: Another buglet found by Aaron's tool.
  13091. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  13092. bug finder.
  13093. 2005-08-30 Alexander Olk <[email protected]>
  13094. * ThemeNice.cs:
  13095. - Added nicer menu drawing
  13096. - Updated DrawTab
  13097. - some refactoring
  13098. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13099. * CreateParams.cs (ToString): Made output match MS
  13100. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  13101. handle is already created (to avoid forcing window creation)
  13102. * XplatUIX11.cs: Set window text to caption after creating window,
  13103. in case Text was set before window was created
  13104. * Form.cs: Use this.Text instead of a static string as caption
  13105. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13106. * NotifyIcon.cs: Don't set the window to visible; this screws
  13107. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  13108. OnPaint without a bitmap)
  13109. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  13110. happen very often anyway; we could add the check to the WM_PAINT
  13111. event generation code
  13112. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13113. * NotifyIcon.cs: Fill the icon area with a background color, to
  13114. avoid 'residue' when transparent icons are drawn
  13115. * XplatUIX11.cs:
  13116. - Handle whole_window == client_window when destroying windows
  13117. - SystrayAdd(): Set client_window to whole_window value to
  13118. get mouse and other events passed to NotifyIcon
  13119. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13120. * Form.cs: Set proper default for Opacity property
  13121. * NotifyIcon.cs:
  13122. - ShowSystray(): Don't bother creating telling the OS
  13123. about the systray item if no icon is provided
  13124. - Now handles WM_NCPAINT message to deal with whole/client window
  13125. split
  13126. - Create window as visible to not get caught by Expose optimization
  13127. * Hwnd.cs: Removed debug message
  13128. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  13129. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  13130. PaintEventStart/End to use new client argument
  13131. * TextBoxBase.cs:
  13132. - Commented out debug messages
  13133. - Switched PaintEventStart/End to use new client argument
  13134. * XplatUI.cs: Added client window bool to PaintEventStart()/
  13135. PaintEventEnd() calls, to support drawing in non-client areas
  13136. * XplatUIDriver.cs:
  13137. - Added client window bool to PaintEventStart()/PaintEventEnd()
  13138. calls, to support drawing in non-client areas
  13139. - Added conditional compile to allow using MWF BeginInvoke
  13140. on MS runtime
  13141. * XplatUIX11.cs:
  13142. - Added some conditional debug output
  13143. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  13144. whole/client window split
  13145. - Implemented handling of client argument to PaintEventStart()/End()
  13146. * Control.cs:
  13147. - Throw exception if BeginInvoke() is called and the window handle
  13148. or one of the window's parent handles is not created
  13149. - Added conditional compile to allow using MWF BeginInvoke on
  13150. MS runtime
  13151. - get_Parent(): Only sets parent if handle is created. This avoids
  13152. forcing window handle creation when parent is set.
  13153. - Now fires Layout and Parent changed events in proper order
  13154. - Switched to use Handle instead of window.Handle for Z-Order setting,
  13155. the get_Parent() patch above causes us to possibly get null for 'window'
  13156. - Implemented handling of client argument to PaintEventStart()/End()
  13157. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  13158. default handling)
  13159. - Now sends a Refresh() to all child windows when Refresh() is called
  13160. 2005-08-29 Peter Dennis Bartok <[email protected]>
  13161. * Form.cs: Added (non-functional) Opacity property
  13162. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  13163. 2005-08-29 Alexander Olk <[email protected]>
  13164. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  13165. use export MONO_THEME=nice to activate it.
  13166. Currently supported controls:
  13167. - Button
  13168. - ComboBox
  13169. - ScrollBar
  13170. - TabControl (TabAlignment.Top only, other will follow)
  13171. * ThemeEngine.cs: Add theme nice
  13172. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  13173. if enabled
  13174. 2005-08-25 Jonathan Chambers <[email protected]>
  13175. * Splitter.cs: Resize docked control and its neighbor.
  13176. 2005-08-24 Rafael Teixeira <[email protected]>
  13177. -- Making Windows with Menus layout correctly --
  13178. * Form.cs : The first leg of the fix
  13179. Menu setter - adjust Client Size as needed to make space for the menu
  13180. SetClientSizeCore - doesn't call base version to be able to pass the
  13181. menu handle to XplatUI.CalculateWindowRect
  13182. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  13183. * XplatUIX11.cs: The critical second leg of the fix
  13184. GetWindowPos needs to use a recalculated client_rect
  13185. so that resizing the window doesn't break layout of child controls.
  13186. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  13187. Lots of \t\n killed
  13188. 2005-08-23 Peter Dennis Bartok <[email protected]>
  13189. * Label.cs: Now properly recalculates width and height on Font and Text
  13190. changes if AutoSize is set
  13191. 2005-08-19 Rafael Teixeira <[email protected]>
  13192. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  13193. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  13194. * ImageList.cs: Makes ToString method compatible with MS
  13195. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  13196. * MenuAPI.cs: fixes bug 75716
  13197. 2005-08-11 Umadevi S <[email protected]>
  13198. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  13199. 2005-08-11 Umadevi S <[email protected]>
  13200. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  13201. 2005-08-10 Umadevi S <[email protected]>
  13202. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  13203. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  13204. * Menu.cs: fixes bug 75700
  13205. * MenuAPI.cs: fixes navigation issues
  13206. 2005-08-09 Umadevi S <[email protected]>
  13207. * CheckedListBox.cs - simple fix for GetItemChecked.
  13208. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  13209. * ComboBox.cs: Serveral fixes
  13210. * ListBox.cs: Serveral fixes
  13211. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  13212. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  13213. * ListBox.cs: Fixes FindString methods
  13214. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  13215. * DataGrid.cs: fixes bugs exposed by new tests
  13216. 2005-08-04 Peter Dennis Bartok <[email protected]>
  13217. * Mime.cs: Compile Mono assembly references only if compiling
  13218. with Mono (Allows to build with VS.Net again)
  13219. 2005-07-28 Marek Safar <[email protected]>
  13220. * Control.cs (PaintControlBackground): Draw background image
  13221. corrrectly.
  13222. (CheckForIllegalCrossThreadCalls): Stubbed.
  13223. * Form.cs (OnCreateControl): Center when should be centered.
  13224. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  13225. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  13226. * Binding.cs: Binding to properties should be case unsensitive
  13227. 2005-07-18 [email protected]
  13228. * DataGrid.cs: fixes setmember order
  13229. 2005-07-07 Alexander Olk <[email protected]>
  13230. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  13231. * FileDialog.cs: FileDialog is now resizable and uses the new
  13232. MimeIconEngine
  13233. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  13234. * DataGridTextBoxColumn.cs: default value
  13235. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  13236. * GridTableStylesCollection.cs: fixes checking MappingName
  13237. * DataGridDrawingLogic.cs: fixes drawing logic issues
  13238. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  13239. * DataGrid.cs: fixes
  13240. 2005-07-06 Alexander Olk <[email protected]>
  13241. * MimeGenerated.cs: Use case sensitive comparer for
  13242. NameValueCollections
  13243. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  13244. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  13245. * ThemeWin32Classic.cs: bug fixes, code refactoring
  13246. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  13247. * DataGrid.cs: bug fixes, code refactoring
  13248. * DataGridTextBox.cs: bug fixes, code refactoring
  13249. * DataGridColumnStyle.cs: bug fixes, code refactoring
  13250. * Theme.cs: bug fixes, code refactoring
  13251. 2005-07-01 Peter Bartok <[email protected]>
  13252. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  13253. and other text box usage
  13254. 2005-07-01 Jackson Harper <[email protected]>
  13255. * TabControl.cs: Make sure the bottom of the tab covers the pages
  13256. border.
  13257. 2005-06-30 Peter Bartok <[email protected]>
  13258. * Form.cs (ShowDialog): Assign owner of the dialog
  13259. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  13260. might have been moved to a tag with different height
  13261. 2005-06-30 Jackson Harper <[email protected]>
  13262. * Form.cs: Don't create an infinite loop when setting focus
  13263. * MenuItem.cs: Don't dirty the parents if we don't have any
  13264. 2005-06-29 Ben Maurer <[email protected]>
  13265. * LibSupport.cs: Rename
  13266. 2005-06-29 Peter Bartok <[email protected]>
  13267. * TextBoxBase.cs: Re-align caret after deleting a character
  13268. * TextControl.cs:
  13269. - DeleteChars(): Ensure that tag covers the provided position
  13270. - StreamLine(): Drop reference for dropped tag
  13271. 2005-06-29 Peter Bartok <[email protected]>
  13272. * TextControl.cs:
  13273. - Selections now work properly, anchoring at the initial location
  13274. and properly extending in either direction (SetSelectionToCaret(),
  13275. SetSelectionStart() and SetSelectionEnd())
  13276. - No longer redraws the whole control on selection change, now
  13277. calculates delta between previous and new selection and only
  13278. invalidates/redraws that area
  13279. - Fixed FindPos() math off-by-one errors
  13280. - Changed DeleteChars() to verify the provided tag covers the
  13281. provided position, selections may have a tag that doesn't cover
  13282. the position if the selection is at a tag border
  13283. - Fixed off-by-one errors in DeleteChars()
  13284. - Added missing streamlining check in DeleteChars() to remove
  13285. zero-length tags
  13286. - Implemented Invalidate() method, now properly calculates exposures
  13287. between two given lines/positions
  13288. - Implemented SetSelection()
  13289. - Obsoleted and removed FixupSelection()
  13290. - Improved RecalculateDocument() logic, removing code duplication
  13291. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  13292. * LibSupport.cs: changes to match different input/output arguments.
  13293. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  13294. * LibSupport.cs: added libsupport.so init routine.
  13295. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  13296. * ControlBindingsCollection.cs
  13297. - Throws an exception on null datasource when adding
  13298. - Checks for duplicated bindings when adding
  13299. 2005-06-28 Jackson Harper <[email protected]>
  13300. * TreeView.cs (OnKeyDown): Support left and right properly
  13301. (navigates as well as expanding and collapsing.
  13302. - Add support for Multiply, this expands all the selected nodes
  13303. children.
  13304. - Fix some tabbing.
  13305. 2005-06-28 Jackson Harper <[email protected]>
  13306. * TreeView.cs: Implement keyboard navigation, currently supports,
  13307. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  13308. support for toggling checkboxes with the space bar.
  13309. 2005-06-28 Jackson Harper <[email protected]>
  13310. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  13311. tree.
  13312. 2005-06-28 Jackson Harper <[email protected]>
  13313. * TreeView.cs: Add missing event.
  13314. 2005-06-27 Peter Bartok <[email protected]>
  13315. * TextControl.cs:
  13316. - Made line ending size configurable (now allows for counting
  13317. lineendings as \n or \r\n)
  13318. - Added margin to viewport to keep caret visible on right side
  13319. - Fixed translation routines for line/pos to documentpos to consider
  13320. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  13321. - Fixed some line-endings to be unix style
  13322. - Fixed Document.FormatText to perform it's calculations 1-based
  13323. - Added descriptions for a few methods that might otherwise get
  13324. used wrong
  13325. - Added NOTE section with some basic conventions to remember at
  13326. the top of the file
  13327. - Major fixup for RichTextBox selection drawing:
  13328. * Fixed crashes when multiple tags on a single line were selected
  13329. * fixed selection box drawing not overlaying text
  13330. * fixed bogus offset calculation for tags not starting at index 1
  13331. * Switched behaviour from using multiple Substrings of a
  13332. StringBuilder.ToString() to using multiple
  13333. StringBuilder.ToString(start, length) statements, hoping this is
  13334. faster (kept original version commented out in the code, in case
  13335. original version was faster)
  13336. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  13337. alignment != Left
  13338. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  13339. call it as well
  13340. 2005-06-27 Jackson Harper <[email protected]>
  13341. * TabControl.cs: Move to the left and right with the arrow
  13342. keys. These keys don't cycle beyond first and last like
  13343. tab. Refresh all the tabs when scrolling them to the left or
  13344. right.
  13345. 2005-06-27 Jackson Harper <[email protected]>
  13346. * TabControl.cs:
  13347. - ToString: Added method
  13348. - CreateParams: Remove TODO and comment
  13349. - OnKeyDown: Cycle through bounds properly.
  13350. - SelectedIndex: Scroll to the right or left if we need to
  13351. display the newly selected tab.
  13352. 2005-06-23 Jackson Harper <[email protected]>
  13353. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  13354. set.
  13355. 2005-06-23 Jackson Harper <[email protected]>
  13356. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  13357. CTRL-SHIFT-TAB, and HOME, END are there any others?
  13358. 2005-06-23 Jackson Harper <[email protected]>
  13359. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  13360. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  13361. * DataGridTextBoxColumn.cs: fixes and enhancements
  13362. * ThemeWin32Classic.cs: fixes and enhancements
  13363. * DataGridBoolColumn.cs: fixes and enhancements
  13364. * DataGridDrawingLogic.cs: fixes and enhancements
  13365. * CurrencyManager.cs: fixes and enhancements
  13366. * DataGrid.cs: fixes and enhancements
  13367. * DataGridColumnStyle.cs: fixes and enhancements
  13368. 2005-06-22 Jackson Harper <[email protected]>
  13369. * TabControl.cs: Add some missing methods that just call into the
  13370. base. Make the TabPageCollection's IList interface behave in the
  13371. same manner as the MS implementation.
  13372. 2005-06-22 Peter Bartok <[email protected]>
  13373. * TextControl.cs: Added sanity check
  13374. * TextBoxBase.cs:
  13375. - Fixed wrapping behaviour, don't set wrap on single line controls
  13376. (this fixes the breakage of colordialog introduced in an earlier
  13377. checkin)
  13378. - Added rudimentary support for autoscrolling right-aligned controls
  13379. (still needs fixing, also, center alignment scroll is missing)
  13380. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  13381. * ScrollBar.cs: Fixes thumbpos on Maximum values
  13382. 2005-06-21 Jonathan Chambers <[email protected]>
  13383. * PropertyGridView.cs: Pass context information to UITypeEditors
  13384. 2005-06-21 Peter Bartok <[email protected]>
  13385. * TextBoxBase.cs:
  13386. - Now calling PositionCaret with absolute space coordinates
  13387. - Enabled vertical scrolling
  13388. - Better tracking of scrollbar changes, tied into WidthChange
  13389. event
  13390. - Improved cursor tracking
  13391. - Removed debug output
  13392. * TextControl.cs:
  13393. - PositionCaret coordinates are now works in absolute space, not
  13394. the canvas
  13395. - Improved tracking of document size
  13396. - Added events for width and height changes
  13397. 2005-06-21 Peter Bartok <[email protected]>
  13398. * Form.cs: Set focus to active control when form is activated
  13399. * TextControl.cs:
  13400. - Added word-wrap functionality to RecalculateLine()
  13401. - Added some short function descriptions for VS.Net to aid in
  13402. writing dependent controls
  13403. - Added Caret property, returning the current coords of the caret
  13404. - Added ViewPortWidth and ViewPortHeight properties
  13405. - Added Wrap property
  13406. - Added CaretMoved event
  13407. - Removed some old debug code
  13408. - Split() can now create soft splits
  13409. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  13410. - Added method to format existing text
  13411. - Fixed size/alignment calculations to use viewport
  13412. - RecalculateDocument now can handle changing line-numbers while
  13413. calculating lines
  13414. * TextBox.cs:
  13415. - Added some wrap logic, we don't wrap if alignment is not left
  13416. - Added casts for scrollbar var, base class switched types to
  13417. also support RichTextBoxA
  13418. - Implemented handling of scrollbar visibility flags
  13419. * TextBoxBase.cs:
  13420. - Switched scrollbars type to RichTextBoxScrollBars to support
  13421. RichTextBox
  13422. - Added tracking of canvas width/height
  13423. - Switched scrollbars to be not selectable (to keep focus on text)
  13424. - Added central CalculateDocument() method to handle all redraw
  13425. requirements
  13426. - Added ReadOnly support
  13427. - Added WordWrap support
  13428. - Fixed handling of Enter key (we now treat it as a DialogKey)
  13429. - Fixed caret positioning when h or v scroll is not zero
  13430. - Fixed placing/generation of vertical scrollbar
  13431. - Added CalculateScrollBars() method to allow updating scrollbar
  13432. limits and visibility
  13433. - Fixed handling of horizontal scroll
  13434. - Added handling of vertical scroll
  13435. - Implemented auto-'jump' when caret moves to close to a left or
  13436. right border and there is text to be scrolled into view (currently
  13437. there's the potential for a stack overflow, until a bug in
  13438. scrollbar is fixed)
  13439. 2005-06-21 Geoff Norton <[email protected]>
  13440. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  13441. 2005-06-19 Alexander Olk <[email protected]>
  13442. * Mime.cs:
  13443. - added inodes.
  13444. - return application/x-zerosize for files with size zero
  13445. (if no extension pattern matches).
  13446. - check matches collection for strings too.
  13447. - return only the first mime type if the name value
  13448. collection has more than one mime type.
  13449. 2005-06-18 Jonathan Chambers <[email protected]>
  13450. * PropertyGrid.cs: Cleaned up some TODOs
  13451. * PropertyGridView.cs: Added support for UITypeEditors
  13452. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  13453. * DataGrid.cs: clears cached value
  13454. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  13455. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  13456. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  13457. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  13458. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  13459. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  13460. * ThemeWin32Classic.cs: fixes colour
  13461. 2005-06-15 Peter Bartok <[email protected]>
  13462. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  13463. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  13464. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  13465. * Control.cs: Added some MWFCategory and MWFDescription attributes
  13466. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  13467. 2005-06-15 Alexander Olk <[email protected]>
  13468. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  13469. usage
  13470. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  13471. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  13472. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  13473. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  13474. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  13475. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  13476. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  13477. 2005-06-13 Jackson Harper <[email protected]>
  13478. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  13479. isn't printed when the user enables dropping. (X11 does accept
  13480. drops).
  13481. 2005-06-13 Jackson Harper <[email protected]>
  13482. * TreeView.cs: Remove some TODOS.
  13483. 2005-06-13 Jackson Harper <[email protected]>
  13484. * Form.cs: Hook into the mdi framework.
  13485. * MdiClient.cs: Use the base control collections add method so
  13486. parents get setup correctly. Set the default back colour and dock
  13487. style.
  13488. * MdiChildContext.cs: New class, this bad actor handles an
  13489. instance of an MDI window. Right now there is only basic
  13490. support. You can drag, close, and resize windows. Minimize and
  13491. Maximize are partially implemented.
  13492. 2005-06-13 Jackson Harper <[email protected]>
  13493. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  13494. freaky when both vals are negative. NOTE: There are probably other
  13495. places in XplatUIX11 that this needs to be done.
  13496. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  13497. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  13498. * DataGridColumnStyle.cs: fixes signature
  13499. 2005-06-12 Jackson Harper <[email protected]>
  13500. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  13501. windows.
  13502. 2005-06-11 Jackson Harper <[email protected]>
  13503. * StatusBarPanel.cs: Signature cleanups. Implement
  13504. BeginInit/EndInit.
  13505. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  13506. * DataGridTextBoxColumn.cs: Honors aligment
  13507. * GridColumnStylesCollection.cs: Contains is case unsensitive
  13508. * GridTableStylesCollection.cs: several fixes
  13509. * DataGridTableStyle.cs: default column creation
  13510. * DataGridDrawingLogic.cs: fixes
  13511. * CurrencyManager.cs: ListName property
  13512. * DataGrid.cs: multiple styles support
  13513. * DataGridColumnStyle.cs: fixes
  13514. 2005-06-10 Peter Bartok <[email protected]>
  13515. * Control.cs(Select): Moved SetFocus call to avoid potential
  13516. loops if controls change the active control when getting focus
  13517. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  13518. the up/down buttons
  13519. 2005-06-10 Matthias Felgner <[email protected]>
  13520. * ImageListConverter.cs: Implemented
  13521. 2005-06-10 John BouAntoun <[email protected]>
  13522. * MonthCalendar.cs: Wired in NumericUpDown control for year
  13523. 2005-06-10 John BouAntoun <[email protected]>
  13524. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  13525. DoubleClick events, since they are not meant to be fired.
  13526. 2005-06-09 Peter Bartok <[email protected]>
  13527. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  13528. Jonathan's standalone controls into MWF, implemented missing
  13529. events, attributes and methods; added xxxAccessible classes
  13530. * AccessibleObject.cs: Made fields internal so other classes
  13531. can change them if needed
  13532. 2005-06-09 Jonathan Gilbert <[email protected]>
  13533. * UpDownBase.cs: Complete implementation
  13534. * NumericUpDown.cs: Complete implementation
  13535. * DomainUpDown.cs: Complete implementation
  13536. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  13537. * DataGridTextBoxColumn.cs: drawing fixes
  13538. * DataGridCell.cs: fixes ToString method to match MSNet
  13539. * DataGridTableStyle.cs: fixes
  13540. * DataGridBoolColumn.cs: fixes, drawing
  13541. * DataGridDrawingLogic.cs: fixes, new methods
  13542. * DataGridTextBox.cs: Keyboard and fixes
  13543. * DataGrid.cs:
  13544. - Keyboard navigation
  13545. - Scrolling fixes
  13546. - Row selection (single, multiple, deletion, etc)
  13547. - Lots of fixes
  13548. 2005-06-07 Jackson Harper <[email protected]>
  13549. * ThemeWin32Classic.cs: Clear the background area when drawing
  13550. buttons.
  13551. 2005-06-06 Peter Bartok <[email protected]>
  13552. * ImageListStreamer.cs: Fixed signature for GetData
  13553. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  13554. * ComboBox.cs:
  13555. - Added missing ChildAccessibleObject class
  13556. - Added missing OnXXXFocus overrides, switched to using those
  13557. instead of the event handler
  13558. * Control.cs:
  13559. - Added Parent property for ControlAccessibleObject
  13560. - Fixed signatures
  13561. - Fixed attributes
  13562. - Added ResetBindings()
  13563. * ListBindingConverter.cs: Implemented some methods
  13564. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  13565. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  13566. * ContainerControl.cs: Fixed signature, now subscribing to the
  13567. ControlRemoved event instead of overriding the handler, LAMESPEC
  13568. * CurrencyManager.cs: Added missing attribute
  13569. * MonthCalendar.cs: Added missing properties
  13570. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  13571. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  13572. 2005-06-06 Gaurav Vaish and Ankit Jain
  13573. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  13574. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  13575. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  13576. * Control.cs: fixes CreateParams Width / Height.
  13577. 2005-06-05 Peter Bartok <[email protected]>
  13578. * Win32DnD.cs: Removed compilation warnings
  13579. 2005-06-05 Peter Bartok <[email protected]>
  13580. * Control.cs (CreateParams): Since we don't know if one of the
  13581. properties we use is overridden, lets make sure if we fail accessing
  13582. we continue with a backup plan
  13583. 2005-06-05 Peter Bartok <[email protected]>
  13584. * Win32DnD.cs:
  13585. - Removed debug output
  13586. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  13587. struct
  13588. - Plugged resource leak
  13589. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  13590. MS size
  13591. 2005-06-05 Peter Bartok <[email protected]>
  13592. * XplatUIWin32.cs: Removed DnD code
  13593. * Win32DnD.cs: Implemented drop source and drop target functionality
  13594. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  13595. * UpDownBase.cs: remove duplicate addition of event, enable some code
  13596. that was commented out.
  13597. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  13598. Validate input when a key is pressed. It works fine now for every
  13599. combination of Hexadecimal. Only missing some drawing love when sharing
  13600. space with other controls.
  13601. 2005-06-04 Peter Bartok <[email protected]>
  13602. * Control.cs:
  13603. - We need to pass a window for DragDrop, so enable callback events
  13604. - Added DnD callback events when being a DragSource
  13605. * XplatUI.cs (StartDrag): Added window handle argument
  13606. * XplatUIDriver.cs (StartDrag): Added window handle argument
  13607. * QueryContinueDragEventArgs: Made fields internally accessible so
  13608. drivers can set them
  13609. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  13610. can set them
  13611. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  13612. * DataGridTextBoxColumn.cs: column text editing
  13613. * DataGridTableStyle.cs: Respect columns styles created by the user
  13614. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  13615. * DataGridBoolColumn.cs: bool column editing
  13616. * DataGrid.cs: fixes to scrolling, properties, etc
  13617. * DataGridTextBox.cs: handle keyboard
  13618. * DataGridColumnStyle.cs: fixes
  13619. 2005-06-02 Jackson Harper <[email protected]>
  13620. * ImageListStreamer.cs: Somewhat broken implementation of
  13621. GetObjectData. The RLE needs some work to match MS properly.
  13622. 2005-06-02 Jackson Harper <[email protected]>
  13623. * X11Dnd.cs: Attempting to keep at least one file in MWF
  13624. monostyled.
  13625. 2005-06-02 Peter Bartok <[email protected]>
  13626. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  13627. that way
  13628. 2005-06-02 Peter Bartok <[email protected]>
  13629. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  13630. * XplatUI.cs: Added DoDragDrop() method
  13631. * XplatUIDriver.cs: Added DoDragDrop() method
  13632. 2005-06-02 Jackson Harper <[email protected]>
  13633. * Splitter.cs: Implement BorderStyle.
  13634. 2005-06-02 Jackson Harper <[email protected]>
  13635. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  13636. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  13637. X11 using XDND.
  13638. 2005-06-02 Peter Bartok <[email protected]>
  13639. * DataObject.cs:
  13640. - Added Data setter
  13641. - Fixed broken insertion code for SetData, now also
  13642. overwrites any existing entry of the same format name
  13643. * Hwnd.cs: Added list of pointers that automatically gets
  13644. freed when the window is disposed
  13645. * XplatUI.cs: Call driver initialization method when loading
  13646. a driver
  13647. * Control.cs:
  13648. - OnDragLeave takes EventArgs, not DragEventArgs
  13649. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  13650. supported
  13651. - Forces style update when drop state changes
  13652. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  13653. not perfect since we cannot (yet) call the IDataObject.GetData()
  13654. method, we keep getting 0x80004005 error, dunno why)
  13655. 2005-06-02 Peter Bartok <[email protected]>
  13656. * DragEventArgs.cs: Make fields internal so we can cache the
  13657. object and re-set the fields from XplatUI
  13658. 2005-06-02 Jackson Harper <[email protected]>
  13659. * Control.cs: Add some internal methods so the DnD subsystem can
  13660. raise DnD events. Also call into the driver when AllowDrop is set.
  13661. * XplatUI.cs:
  13662. * XplatUIDriver.cs: New method for setting whether or not a window
  13663. is allowed to accept drag and drop messages.
  13664. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  13665. * ScrollBar.cs: Make sure that values sent in Scroll events
  13666. are always between Maximum and Minimum.
  13667. 2005-06-01 Marek Safar <[email protected]>
  13668. * Menu.cs: Call MenuChanged when menuitem visibility has been
  13669. changed.
  13670. * MenuItem.cs: Rebuild menu when item is (not) visible.
  13671. * MainMenu.cs: MainMenu has special MenuChanged.
  13672. * Theme.cs: Caption and FrameBorderSize are not fixed.
  13673. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  13674. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  13675. * XplatUIX11.cs,
  13676. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  13677. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  13678. 2005-05-30 Jackson Harper <[email protected]>
  13679. * DataFormat.cs: We can't statically initialize this stuff because
  13680. it calls into the xplatui and could create a loop. So we lazy init
  13681. it.
  13682. 2005-05-28 Jackson Harper <[email protected]>
  13683. * Control.cs: Proper implementation of Product(Name/Version).
  13684. 2005-05-27 Jackson Harper <[email protected]>
  13685. * DataObject.cs: Dont crash if no data is found.
  13686. 2005-05-26 Rafael Teixeira <[email protected]>
  13687. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  13688. as per status page, guessing it should be set to true
  13689. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  13690. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  13691. * DataGridTableStyle.cs: set proper formatting text, def header text
  13692. * ThemeWin32Classic.cs: new themable paramaters
  13693. * DataGridBoolColumn.cs: paint check box, get data, fixes
  13694. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  13695. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  13696. * DataGridColumnStyle.cs: fixes
  13697. * Theme.cs: new themable paramaters
  13698. 2005-05-26 Peter Bartok <[email protected]>
  13699. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  13700. 2005-05-24 Jonathan S. Chambers <[email protected]>
  13701. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  13702. 2005-05-24 Peter Bartok <[email protected]>
  13703. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  13704. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  13705. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  13706. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  13707. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  13708. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  13709. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  13710. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  13711. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  13712. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  13713. missing attributes, etc
  13714. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  13715. 2005-05-24 Peter Bartok <[email protected]>
  13716. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  13717. when user tries to get help
  13718. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  13719. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  13720. to suppress warnings
  13721. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  13722. avoid unreachable code warning
  13723. 2005-05-20 Peter Bartok <[email protected]>
  13724. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  13725. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  13726. * DataGridTextBoxColumn.cs: Basic painting methods
  13727. * DataGridTableStyle.cs: Set table style in the column
  13728. * ThemeWin32Classic.cs: Use Theme for colors
  13729. * DataGridDrawingLogic.cs: Implement more drawing
  13730. * DataGrid.cs: drawing, theming, enhacements, fixes
  13731. * DataGridColumnStyle.cs: fixes, drawing
  13732. * Theme.cs: theming for Datagrid
  13733. 2005-05-20 Peter Bartok <[email protected]>
  13734. * Cursor.cs: Implemented GetObjectData() method
  13735. 2005-05-20 Peter Bartok <[email protected]>
  13736. * Cursors.cs: Added setting of cursor name
  13737. * Cursor.cs:
  13738. - Implemented constructors
  13739. - Implemented Draw and DrawStretched
  13740. - Implemented Current property
  13741. - Implemented == and != operators
  13742. - Implemented Dispose()
  13743. - Implemented ToString
  13744. - Added missing attributes
  13745. * XplatUIX11.cs:
  13746. - Added missing reset for OverrideCursor when DoEvents is called
  13747. - Fixed creation of cursor, logic was wrong
  13748. * XplatUIWin32.cs:
  13749. - Added missing reset for OverrideCursor when DoEvents is called
  13750. - Fixed creation of cursor, bit arrays were swapped
  13751. * Clipboard.cs: Removed obsolete MonoTODO attribute
  13752. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  13753. * ComboBox.cs: fixes OnSelectedItemChanged
  13754. * ControlBindingsCollection.cs: fixes item range check
  13755. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  13756. * UpDownBase.cs:
  13757. - Calc preferred height properly
  13758. - Implement missing properties
  13759. * NumericUpDown.cs: Implement missing events
  13760. 2005-05-19 Jackson Harper <[email protected]>
  13761. * TabControl.cs: New method that resizes the tab pages before
  13762. redrawing them. This as needed as the control is double buffered
  13763. and sizing will not be recalculated unless ResizeTabPages is
  13764. called.
  13765. * TabPage.cs: Set base.Text instead of Text in the constructor so
  13766. that UpdateOwner does not get called. Use the new Redraw method of
  13767. TabControl instead of Refresh so the sizing is recalculated.
  13768. * ThemeWin32Classic.cs: Draw the text for button tabs.
  13769. 2005-05-19 Jackson Harper <[email protected]>
  13770. * Control.cs: Paint control background images. Fix typo where
  13771. PaintControlBackground was not getting called correctly.
  13772. 2005-05-19 Peter Bartok <[email protected]>
  13773. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  13774. I can investigate, apparently I broke FileDialog
  13775. 2005-05-19 Marek Safar <[email protected]>
  13776. * AxHost.cs: Some simple properties.
  13777. * Control.cs: window must be accessible after ctor.
  13778. * Form.cs: Added TransparencyKey property.
  13779. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  13780. * XplatUIWin32.cs: SetBorderStyle implemented.
  13781. 2005-05-18 Peter Bartok <[email protected]>
  13782. * DataObject.cs: Entries are not global but particular to the
  13783. DataObject, now it behaves that way
  13784. * XplatUIWin32.cs: Implemented Clipboard methods
  13785. * Clipboard.cs: Implemented
  13786. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  13787. * XplatUIOSX.cs: Updated to final clipboard prototypes
  13788. * XplatUIX11.cs: Implemented Clipboard methods
  13789. * XplatUIDriver.cs: Updated to final clipboard prototypes
  13790. * XplatUIStructs.cs:
  13791. - Added BITMAPINFOHEADER struct
  13792. - Added ClipboardFormats enum
  13793. * X11Structs.cs:
  13794. - Added ClipboardStruct
  13795. - Added Atom enum items for clipboard types
  13796. - Fixed atom types for Selection event structures
  13797. * DataFormats.cs:
  13798. - Added internal properties and methods for drivers to enumerate
  13799. all known formats
  13800. - Switched initialization method to allow drivers to assign their
  13801. own IDs even for the MS predefined clipboard IDs
  13802. * XplatUI.cs: Updated to final clipboard interface
  13803. 2005-05-18 Jonathan S. Chambers <[email protected]>
  13804. * PropertyGridView.cs: Fixed compiler warnings.
  13805. 2005-05-18 Jonathan S. Chambers <[email protected]>
  13806. * PropertyGrid.cs: Added some event calls
  13807. * PropertyGridView.cs: Change drawing code to use double buffering
  13808. * PropertyGridTextBox.cs: Changed Text property name
  13809. * GridItem.cs: Added Bounds property.
  13810. * GridEntry.cs: Added Bounds property.
  13811. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  13812. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  13813. since GetType() may not return the correct type if the object is
  13814. a remoting proxy.
  13815. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  13816. * TreeNodeCollection.cs: fixes get/set item ranges
  13817. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  13818. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  13819. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  13820. * ComboBox.cs: Fix item range comparation
  13821. * ListView.cs: Fix item range comparation
  13822. 2005-05-03 Alexander Olk <[email protected]>
  13823. * FontDialog.cs:
  13824. - Clear example panel when OnPaint is called
  13825. - Better solution for displaying the example panel text
  13826. - Select default indexes in the ListBoxes
  13827. 2005-05-11 Geoff Norton <[email protected]>
  13828. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  13829. 2005-05-11 Peter Bartok <[email protected]>
  13830. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  13831. * SelectionRangeConverter.cs: Implemented
  13832. * PropertyGrid.cs: Fixed attribute value
  13833. * Control.cs:
  13834. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  13835. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  13836. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  13837. that's common to all drivers. First methods to go there are
  13838. Sebastien Pouliot's CAS Stack Propagation helper methods
  13839. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  13840. Sebastien Pouliot for CAS Stack Propagation
  13841. 2005-05-11 Geoff Norton <[email protected]>
  13842. * OSXStructs.cs:
  13843. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  13844. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  13845. * DataGridTextBoxColumn.cs: fixed some members
  13846. * GridColumnStylesCollection.cs: indexed column is case insensitive
  13847. * DataGridTableStyle.cs: fixes
  13848. * ThemeWin32Classic.cs: add new theme parameter
  13849. * Theme.cs: add new theme parameter
  13850. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  13851. * DataGrid.cs: fixes, new internal properties, etc.
  13852. * DataGridColumnStyle.cs: allows to set grid value
  13853. *
  13854. 2005-05-10 Peter Bartok <[email protected]>
  13855. * AccessibleObject.cs:
  13856. - Removed MonoTODO attribute on help, method is correct
  13857. - Fixed Bounds property
  13858. * AxHost.cs: Moved MonoTODO
  13859. * ButtonBase.cs: Now setting AccessibleObject properties
  13860. * RadioButton.cs: Setting proper AccessibleObject role
  13861. * CheckBox.cs: Setting proper AccessibleObject role
  13862. * ControlBindingsCollection.cs: Added properties, methods and attributes
  13863. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  13864. userdefined DataFormats.Format items as well
  13865. * ListControl.cs: Removed data_member from the public eye
  13866. * OpenFileDialog.cs:
  13867. - Made class sealed
  13868. - Added missing attributes
  13869. * SaveFileDialog.cs: Added missing attributes
  13870. * ImageListStreamer.cs: Fixed code that caused warnings
  13871. * LinkLabel.cs: Removed unreachable code
  13872. * TreeView.cs: Fixed code that caused warnings
  13873. * PropertyGridView.cs: Fixed code that caused warnings
  13874. * GridColumnStylesCollection.cs: Added missing attributes
  13875. * GridTableStylesCollection: Added missing attribute
  13876. * PropertyManager: Added .ctor
  13877. * SecurityIDType: Added
  13878. * DataObject.cs: Implemented class
  13879. * LinkArea.cs: Added missing attribute
  13880. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  13881. * RadioButton.cs: call base method to allow to fire OnClick event
  13882. * UpDownBase.cs: OnMouseUp call base method
  13883. * CheckedListBox.cs: call base method before returning
  13884. * TrackBar.cs: call base method before returning
  13885. 2005-05-10 Peter Bartok <[email protected]>
  13886. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  13887. for messages
  13888. 2005-05-10 Peter Bartok <[email protected]>
  13889. * DataFormats.cs: Implemented
  13890. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  13891. XplatUIX11.cs: Added Clipboard APIs
  13892. * XplatUIWin32.cs: Implemented Clipboard APIs
  13893. * FolderBrowserDialog.cs: Added missing event, attributes
  13894. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  13895. * CheckBox.cs: call base method to allow to fire OnClick event
  13896. 2005-05-09 Sebastien Pouliot <[email protected]>
  13897. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  13898. 2005-05-06 Peter Bartok <[email protected]>
  13899. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  13900. * Screen.cs: Implemented
  13901. * HelpNavigator.cs: Added
  13902. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  13903. property
  13904. * HelpProvider.cs: Implemented all we can do until we have a CHM
  13905. help library (which means that "What's This" does work now)
  13906. 2005-05-06 Jackson Harper <[email protected]>
  13907. * XplatUIX11.cs: Fix waking up the main loop.
  13908. 2005-05-05 Peter Bartok <[email protected]>
  13909. * XplatUI.cs: Updated revision
  13910. * Form.cs: Removed enless loop
  13911. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  13912. * Label.cs (OnPaint): Added call to base.OnPaint()
  13913. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  13914. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  13915. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  13916. * AxHost.cs: Added
  13917. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  13918. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  13919. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  13920. reuse of ToolTipWindow by other controls
  13921. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  13922. * XplatUIX11.cs: Now clipping drawing area (experimental)
  13923. * PictureBox.cs: Moved base.OnPaint() call to end of method
  13924. * Theme.cs: Fixed ToolTip abstracts to match new format
  13925. * ErrorProvider.cs: Implemented
  13926. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  13927. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  13928. * LinkLabel.cs:
  13929. - Adds cursors
  13930. - Handles focus
  13931. - Implements LinkBehavior
  13932. - Fixes many issues
  13933. 2005-05-03 Jackson Harper <[email protected]>
  13934. * ListView.cs: Calculate the scrollbar positioning on resize and
  13935. paint, so they get put in the correct place.
  13936. 2005-05-03 Alexander Olk <[email protected]>
  13937. * ColorDialogs.cs: The small color panels are now handled by
  13938. SmallColorControl. This fixes drawing of the focus rectangle
  13939. and adds a 3D border.
  13940. 2005-05-03 Peter Bartok <[email protected]>
  13941. * Control.cs: Modified version of Jonathan Chamber's fix for
  13942. double-buffering
  13943. 2005-05-03 Jackson Harper <[email protected]>
  13944. * ListView.cs: Remove redraw variable. Control now handles whether
  13945. or not a redraw needs to be done, and will only raise the paint
  13946. event if redrawing is needed.
  13947. 2005-05-03 Jackson Harper <[email protected]>
  13948. * Splitter.cs: No decorations for the splitter form. Cache the
  13949. hatch brush.
  13950. 2005-05-03 Jackson Harper <[email protected]>
  13951. * TreeView.cs: Use dashed lines to connect nodes. Use the
  13952. ControlPaint method for drawing the focus rect instead of doing
  13953. that in treeview.
  13954. 2005-05-02 Peter Bartok <[email protected]>
  13955. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  13956. 2005-04-29 Jackson Harper <[email protected]>
  13957. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  13958. entire image buffer. Just clear the clipping rectangle.
  13959. 2005-04-29 Jackson Harper <[email protected]>
  13960. * ThemeWin32Classic.cs: Don't draw list view items that are
  13961. outside the clipping rectangle.
  13962. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  13963. * ListBox.cs: added horizontal item scroll
  13964. 2005-04-29 Jackson Harper <[email protected]>
  13965. * ThemeWin32Classic.cs: Remove some old debug code that was
  13966. causing flicker with the new double buffering code.
  13967. 2005-04-29 John BouAntoun <[email protected]>
  13968. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  13969. behave like combobox and comboboxlist (still not sure if this is
  13970. correct though).
  13971. 2005-04-28 Jackson Harper <[email protected]>
  13972. * ThemeWin32Classic.cs: Don't fill the middle of progress
  13973. bars. This fills areas outside of the clip bounds that don't need
  13974. to be filled.
  13975. 2005-04-28 Jackson Harper <[email protected]>
  13976. * Control.cs: Don't expose functionality to touch the image buffers.
  13977. * ProgressBar.cs:
  13978. * ListView.cs: We do not need to (and no longer can) manipulate
  13979. the image buffers directly. All of this is handled by Control.
  13980. 2005-04-28 Peter Bartok <[email protected]>
  13981. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  13982. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  13983. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  13984. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  13985. * Combobox:
  13986. - Adjust control's height for non-simple comboboxes (bug fix)
  13987. - Remove dead code
  13988. * MenuAPI.cs: remove unused var
  13989. * ScrollBar.cs: remove unsed var
  13990. * ListBox.cs: unselect items when clearing
  13991. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  13992. * ListControl.cs: honors OnPositionChanged and default Selected Item
  13993. * ListBox.cs: unselect items when clearing
  13994. 2005-04-27 Jackson Harper <[email protected]>
  13995. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  13996. if a "correct" keyboard is not found. This will make us not crash,
  13997. but might give some users bad keyboard layouts...seems to be the
  13998. same thing rewind does.
  13999. 2005-04-27 Jackson Harper <[email protected]>
  14000. * BindingManagerBase.cs: Attach the current/position changed
  14001. handlers to their respective events.
  14002. 2005-04-27 Jackson Harper <[email protected]>
  14003. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  14004. not just a blit.
  14005. * ThemeWin32Classic.cs: Don't fill the background for picture
  14006. boxes. This could overright user drawing.
  14007. * ComboBox.cs: Just fill the clipping rect not the entire client
  14008. rect when drawing the background. This prevents pieces of the
  14009. image buffer from getting overwritten and is theoretically faster.
  14010. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  14011. * ComboBox.cs: Databinding support fixes, fire missing events
  14012. * ListControl.cs: implement missing methods and properties, fixes
  14013. * ThemeWin32Classic.cs: Databiding support on Drawing
  14014. * CheckedListBox.cs: Databinding support fixes, fire missing events
  14015. * ListBox.cs: Databinding support fixes, fire missing events
  14016. 2005-04-25 Peter Bartok <[email protected]>
  14017. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  14018. 2005-04-25 Jackson Harper <[email protected]>
  14019. * TreeView.cs: Use the horizontal scrollbars height not width when
  14020. determining how much of the client area is available.
  14021. 2005-04-25 Jackson Harper <[email protected]>
  14022. * Control.cs: Double buffering is handled differently now. As per
  14023. the spec, the extra buffer is created in the WM_PAINT message and
  14024. passed down to the control's drawing code.
  14025. * GroupBox.cs:
  14026. * Label.cs:
  14027. * CheckBox.cs:
  14028. * ProgressBar.cs:
  14029. * RadioButton.cs:
  14030. * ColorDialog.cs:
  14031. * ComboBox.cs:
  14032. * PropertyGridView.cs:
  14033. * UpDownBase.cs:
  14034. * MessageBox.cs:
  14035. * MenuAPI.cs:
  14036. * ListView.cs:
  14037. * ButtonBase.cs:
  14038. * SizeGrip.cs:
  14039. * ScrollBar.cs:
  14040. * ListBox.cs:
  14041. * TrackBar.cs:
  14042. * ToolBar.cs:
  14043. * PictureBox.cs:
  14044. * DateTimePicker.cs:
  14045. * StatusBar.cs:
  14046. * TreeView.cs: Update to new double buffering system.
  14047. * MonthCalendar.cs: Uncomment block, as Capture is now
  14048. working. Update to new double buffering
  14049. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  14050. * PaintEventArgs.cs: New internal method allows us to set the
  14051. graphics object. This is used for double buffering.
  14052. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  14053. rectangle. The internal paint_area var has been removed from
  14054. StatusBar. The clipping rect should be used instead.
  14055. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  14056. * TabPage.cs: The RefreshTabs method was removed, so just call the
  14057. tab controls Refresh method now.
  14058. * TabControl.cs: Update to new double buffering. Make sure the
  14059. handle is created before sizing the tab pages, otherwise we will
  14060. get stuck in a loop.
  14061. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  14062. * LinkLabel.cs: Fix typo, bug #74719; patch
  14063. from Borja Sanchez Zamorano
  14064. 2005-04-22 Jackson Harper <[email protected]>
  14065. * TreeNode.cs: Implement Handle stuff.
  14066. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  14067. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  14068. * DataGridTextBoxColumn.cs: call base constructors, fixes
  14069. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  14070. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  14071. * DataGridTableStyle.cs: implements create default column styles
  14072. * DataGridBoolColumn.cs: which types can handle
  14073. * DataGrid.cs: missing methods, fixes, new functionality
  14074. * DataGridColumnStyle.cs: fixes
  14075. 2005-04-20 Alexander Olk <[email protected]>
  14076. * FolderBrowserDialog.cs:
  14077. - Use a thread to fill the TreeView
  14078. - Adjusted some sizes
  14079. 2005-04-19 Peter Bartok <[email protected]>
  14080. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  14081. property. Fixes #74360.
  14082. 2005-04-19 Jackson Harper <[email protected]>
  14083. * XEventQueue.cs: Lock when getting the lockqueue size.
  14084. * PictureBox.cs: Call base OnPaint
  14085. 2005-04-19 Peter Bartok <[email protected]>
  14086. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  14087. messages were no longer being processed (this broke BeginInvoke)
  14088. 2005-04-18 Jackson Harper <[email protected]>
  14089. * TreeView.cs: buglet that caused node images to get drawn
  14090. regardless of whether or not they were in the clipping rectangle.
  14091. 2005-04-18 Jackson Harper <[email protected]>
  14092. * CurrencyManager.cs: There are four rules for GetItemProperties:
  14093. - If the type is an array use the element type of the array
  14094. - If the type is a typed list, use the type
  14095. - If the list contains an Item property that is not an object, use
  14096. that property
  14097. - use the first element of the list if there are any elements in
  14098. the list.
  14099. 2005-04-17 Jackson Harper <[email protected]>
  14100. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  14101. click. This handles offsets for scrolling properly and reduces
  14102. memory. Also fixed GetNode to not offset now that TopNode works
  14103. properly.
  14104. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  14105. 2005-04-17 Jackson Harper <[email protected]>
  14106. * CursorConverter.cs: Initial implementation.
  14107. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  14108. * ListControl.cs: work towards complex data binding support on ListControl
  14109. * CurrencyManager.cs: work towards complex data binding support on ListControl
  14110. * ListBox.cs: work towards complex data binding support on ListControl
  14111. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  14112. * GridTableStylesCollection.cs: fixes name and constructor
  14113. * DataGridTableStyle.cs: fixes
  14114. * DataGridBoolColumn.cs: fixes names and constructors
  14115. * DataGrid.cs: define methods and properties. Some init implementations
  14116. * DataGridCell.cs: define methods and properties. Some init implementations
  14117. * GridTablesFactory.cs: Define methods and properties
  14118. 2005-04-15 Geoff Norton <[email protected]>
  14119. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  14120. graphics port changes. We still want the coordinates in global screen
  14121. coordinates.
  14122. 2005-04-14 Jackson Harper <[email protected]>
  14123. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  14124. check plus minus or checkbox clicks unless those features are enabled.
  14125. 2005-04-14 Jackson Harper <[email protected]>
  14126. * TreeView.cs: Add methods for setting the top and bottom visible
  14127. nodes. TreeNode::EnsureVisible uses these methods.
  14128. * TreeNode.cs: Implement EnsureVisible
  14129. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  14130. * Form.cs: Pospone menu assignation if the window has not been created yet
  14131. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  14132. size and position
  14133. 2005-04-12 Jackson Harper <[email protected]>
  14134. * TreeView.cs: Set the TopNode properly when scrolling
  14135. occurs. This has the added benifit of reducing the amount of
  14136. walking that needs to be done when drawing. Also removed an old
  14137. misleading TODO.
  14138. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  14139. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  14140. * Timer.cs: fixes interval setting when the timer is already enabled
  14141. 2005-04-10 Alexander Olk <[email protected]>
  14142. * FolderBrowserDialog.cs: First approach
  14143. 2005-04-09 Peter Bartok <[email protected]>
  14144. * FolderBrowserDialog: Added
  14145. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  14146. * LinkLabel.cs: move drawing code into the theme
  14147. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  14148. * Theme.cs: define DrawLinkLabel method
  14149. 2005-04-05 Jackson Harper <[email protected]>
  14150. * BindingContext.cs: Use weak references so these bad actors don't
  14151. stay alive longer then they need to.
  14152. 2005-04-05 Jackson Harper <[email protected]>
  14153. * ListControl.cs: Basic implementation of complex databinding.
  14154. * ComboBox.cs:
  14155. * ListBox.cs: Add calls to ListControl databinding methods.
  14156. 2005-04-05 Alexander Olk <[email protected]>
  14157. * FileDialog.cs:
  14158. - Don't change PopupButtonState to Normal when the
  14159. PopupButton gets pressed several times.
  14160. - Renamed ButtonPanel to PopupButtonPanel
  14161. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  14162. * ColorDialog.cs: Use cached objects instead of creating them
  14163. * LinkLabel.cs: Use cached objects instead of creating them
  14164. * Splitter.cs: Use cached objects instead of creating them
  14165. * FontDialog.cs: Use cached objects instead of creating them
  14166. * PropertyGridView.cs: Use cached objects instead of creating them
  14167. * MessageBox.cs: Use cached objects instead of creating them
  14168. * FileDialog.cs: Use cached objects instead of creating them
  14169. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  14170. * TreeView.cs: Use cached objects instead of creating them
  14171. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  14172. * Control.cs: use Equals to compare the font since no == op
  14173. * ScrollBar.cs: use Equals to compare the font since no == op
  14174. 2005-04-04 Alexander Olk <[email protected]>
  14175. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  14176. 2005-04-01 Jackson Harper <[email protected]>
  14177. * Binding.cs: Implement IsBinding.
  14178. * BindingManagerBase.cs:
  14179. * PropertyManager.cs:
  14180. * CurrencyManager.cs: Add IsSuspended property.
  14181. 2005-04-01 Jackson Harper <[email protected]>
  14182. * Binding.cs: Had some IsAssignableFrom calls backwards.
  14183. 2005-04-01 Jackson Harper <[email protected]>
  14184. * Binding.cs: Handle null data members when pulling data.
  14185. * PropertyManager.cs: Handle the data member being a property that
  14186. does not exist.
  14187. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  14188. * DataGridTextBoxColumn.cs: fixes signature
  14189. * DataGrid.cs: calls right constructor
  14190. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  14191. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  14192. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  14193. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  14194. * DataGridTableStyle.cs: implements DataGridTableStyle
  14195. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  14196. * DataGridTextBox.cs: implements DataGridTextBox
  14197. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  14198. 2005-03-31 Alexander Olk <[email protected]>
  14199. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  14200. 2005-03-29 Peter Bartok <[email protected]>
  14201. * Application.cs:
  14202. - Properly implemented CompanyName property
  14203. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  14204. returns a path that includes CompanyName, ProductName and
  14205. Version (fixes bug #70330)
  14206. 2005-03-29 Stefan Buehler <[email protected]>
  14207. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  14208. fixes bug #72588.
  14209. 2005-03-28 Alexander Olk <[email protected]>
  14210. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  14211. - Added ReadOnly CheckBox
  14212. - Further refactoring: moved some code from Open-/SaveFileDialog
  14213. to FileDialog
  14214. 2005-03-28 Alexander Olk <[email protected]>
  14215. * OpenFileDialog.cs: Fixed CheckFileExists
  14216. * FileDialog.cs:
  14217. Moved FileView and DirComboBox outside FileDialog class.
  14218. They can now be used outside FileDialog
  14219. 2005-03-27 Alexander Olk <[email protected]>
  14220. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  14221. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  14222. 2005-03-27 Alexander Olk <[email protected]>
  14223. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  14224. - Added missing CreatePrompt property in SaveDialog
  14225. - Overall SaveDialog handling should be better now
  14226. - Added non standard ShowHiddenFiles property
  14227. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  14228. - Added InitialDirectory and RestoreDirectory support
  14229. 2005-03-26 Alexander Olk <[email protected]>
  14230. * FileDialog.cs: Made dirComboBox usable
  14231. 2005-03-24 Alexander Olk <[email protected]>
  14232. * FileDialog.cs: Added Filter support (case sensitiv)
  14233. 2005-03-24 Jackson Harper <[email protected]>
  14234. * TabControl.cs: Need a couple more pixels for the lines.
  14235. 2005-03-23 Jackson Harper <[email protected]>
  14236. * TabControl.cs: Give the tab page focus when it is selected.
  14237. 2005-03-23 Jackson Harper <[email protected]>
  14238. * TabControl.cs: Account for the drawing of tabs borders when
  14239. invalidating. If the slider was clicked dont do click detection on
  14240. the tabs.
  14241. 2005-03-23 Jackson Harper <[email protected]>
  14242. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  14243. 2005-03-22 Jonathan Chambers <[email protected]>
  14244. * CategoryGridEntry.cs: Added
  14245. * GridItem.cs: Added helper properties
  14246. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  14247. * GridEntry.cs: Updated code for collection
  14248. * PropertyGrid.cs: Cleaned up some formatting
  14249. * PropertyGridView.cs: Added drop down functionality for enums.
  14250. * GridItemCollection.cs: Added enumerator logic
  14251. * PropertyGridEntry.cs: Added
  14252. 2005-03-19 Alexander Olk <[email protected]>
  14253. * FileDialog.cs:
  14254. - Removed unnecessary commented code
  14255. - Fixed handling for entering the filename manually in the combobox
  14256. 2005-03-19 Alexander Olk <[email protected]>
  14257. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  14258. 2005-03-18 Peter Bartok <[email protected]>
  14259. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  14260. them being touching the border
  14261. 2005-03-18 Peter Bartok <[email protected]>
  14262. * TextControl.cs: Quick hack to center text better
  14263. 2005-03-18 Peter Bartok <[email protected]>
  14264. * ControlPaint.cs:
  14265. - Don't throw NotImplemented exceptions, just print a notice once
  14266. instead (requested by Miguel). This makes running existing SWF
  14267. apps a bit easier
  14268. * Control.cs:
  14269. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  14270. - Added context menu trigger on right click
  14271. * Panel.cs: Trigger invalidate on resize
  14272. * StatusBar.cs:
  14273. - Removed old double-buffer drawing
  14274. - Added ResizeRedraw style to force proper update of statusbar
  14275. * ListView.cs:
  14276. - Removed debug output
  14277. * ThemeWin32Classic.cs:
  14278. - Fixed drawing of status bar, now draws Text property if there
  14279. are no defined panels
  14280. 2005-03-18 Jackson Harper <[email protected]>
  14281. * ImageList.cs: When the image stream is set pull all the images
  14282. from it.
  14283. * ImageListStreamer.cs: Implement reading image list streams.
  14284. 2005-03-18 Peter Bartok <[email protected]>
  14285. * ThemeWin32Classic.cs (DrawPictureBox):
  14286. - Fixed calculations for centered drawing
  14287. - Fixed drawing for normal mode, not scaling the image on normal
  14288. 2005-03-18 Peter Bartok <[email protected]>
  14289. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  14290. textbox
  14291. * FileDialog.cs:
  14292. - Made Open/Save button the accept button for FileDialog
  14293. - Tied the cancel button to the IButtonControl cancel button
  14294. - Save/Open now properly builds the pathname
  14295. - Now handles user-entered text
  14296. - Preventing crash on right-click if no item is selected
  14297. - Fixed Text property, now uses contents of textbox
  14298. - Fixed SelectedText property, now just returns the text part that
  14299. is selected in the text box
  14300. 2005-03-18 Jackson Harper <[email protected]>
  14301. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  14302. rect, make sure to de-adjust the interior rect after drawing the
  14303. tab text.
  14304. 2005-03-18 Peter Bartok <[email protected]>
  14305. * MenuAPI.cs: Remove menu *before* executing selected action to
  14306. prevent the menu from 'hanging around'
  14307. 2005-03-17 Geoff Norton <[email protected]>
  14308. * XplatUIOSX.cs: Implemented WorkingArea property
  14309. 2005-03-17 Peter Bartok <[email protected]>
  14310. * XplatUIX11.cs: Fixed menu coord calculations
  14311. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  14312. for calculating offsets
  14313. 2005-03-17 Peter Bartok <[email protected]>
  14314. * Hwnd.cs: Do not consider menu presence for default client
  14315. rectangle location/size
  14316. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  14317. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  14318. translation functions
  14319. * FileDialog.cs: Fixed (what I presume is a) typo
  14320. 2005-03-17 Jonathan Gilbert <[email protected]>
  14321. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  14322. X access (avoids X-Async errors)
  14323. 2005-03-16 Jackson Harper <[email protected]>
  14324. * TabControl.cs: Raise the SelectedIndexChanged event.
  14325. 2005-03-16 Alexander Olk <[email protected]>
  14326. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  14327. - Removed vertical ToolBar and replaced it with a custom panel
  14328. (desktop and home button already work)
  14329. - Added Help button (some controls get resized or relocated then)
  14330. - Draw correct text depending on Open or Save.
  14331. - Fixed some typos...
  14332. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  14333. * ScrollBar.cs:
  14334. - Only change Maximum and Minimum when need it (bug fix)
  14335. 2005-03-15 Peter Bartok <[email protected]>
  14336. * Form.cs: Use Handle for icon, to trigger creation if
  14337. the window does not yet exist
  14338. * Control.cs:
  14339. - CanSelect: Slight performance improvement
  14340. - Focus(): Preventing possible recursion
  14341. - Invalidate(): Removed ControlStyle based clear flag setting
  14342. - WM_PAINT: fixed logic for calling OnPaintBackground
  14343. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  14344. EraseWindowBackground if the control doesn't paint background
  14345. * XplatUIWin32.cs:
  14346. - Moved EraseWindowBackground() method to internal methods
  14347. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  14348. is sent via SendMessage on BeginPaint call on Win32
  14349. * XplatUIX11.cs:
  14350. - Added EraseWindowBackground() method
  14351. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  14352. PaintEventStart, which more closely matches Win32 behaviour
  14353. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  14354. - Fixed SetFocus() to properly deal with client and whole windows
  14355. * Hwnd.cs: Added ErasePending property
  14356. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  14357. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  14358. 2005-03-12 Geoff Norton <[email protected]>
  14359. * XplatUIOSX.cs:
  14360. - Fix hard loop when timers exist.
  14361. - Fix bugs with middle and right click for 3 button mice.
  14362. 2005-03-11 Peter Bartok <[email protected]>
  14363. * XplatUIX11.cs:
  14364. - get_WorkingArea: Need to call X directly, GetWindowPos only
  14365. returns cached data now
  14366. - Added sanity check to GetWindowPos hwnd usage
  14367. 2005-03-11 Jackson Harper <[email protected]>
  14368. * BindingManagerBase.cs: This method isn't used anymore as
  14369. PullData now updates the data in the control.
  14370. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  14371. * Form.cs: fixes menu drawing on X11
  14372. * MenuAPI.cs: fixes menu drawing on X11
  14373. 2005-03-11 Peter Bartok <[email protected]>
  14374. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  14375. from Jonathan Gilbert; should fix bug #73606
  14376. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  14377. in Screen coordinates. Thanks, Jordi.
  14378. * Form.cs: Added missing attribute
  14379. 2005-03-11 Peter Bartok <[email protected]>
  14380. * Form.cs:
  14381. - Rudimentary Mdi support
  14382. - Removed outdated FormParent code
  14383. - Implemented lots of missing properties and methods, still missing
  14384. transparency support
  14385. - Added missing attributes
  14386. - Implemented support for MaximumBounds
  14387. - Added firing of various events
  14388. * XplatUI.cs: Added SetIcon() method
  14389. * XplatUIDriver.cs: Added SetIcon() abstract
  14390. * XplatUIOSX.cs: Stubbed out SetIcon() method
  14391. * XplatUIX11.cs:
  14392. - Implemented SetIcon() support
  14393. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  14394. - Switched to unix line endings
  14395. * XplatUIWin32.cs:
  14396. - Made POINT internal so for can access it as part of MINMAX
  14397. - Implemented SetIcon() support
  14398. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  14399. native Mdi support again, might have to go managed)
  14400. * Control.cs: Now fires the StyleChanged event
  14401. * MdiClient.cs: Added; still mostly empty
  14402. 2005-03-10 Peter Bartok <[email protected]>
  14403. * SaveFileDialog.cs: Added emtpy file
  14404. 2005-03-08 Peter Bartok <[email protected]>
  14405. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  14406. in turn triggers OnCreateContro) when creating a handle for the
  14407. first time.
  14408. * TextControl.cs: Fixed endless loop in certain cases when
  14409. replacing the current selection
  14410. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  14411. * ScrollBar.cs:
  14412. - Honors NewValue changes in Scroll events allowing apps to change it
  14413. - Adds First and Last Scroll events
  14414. - Fixes Thumb events
  14415. 2005-03-07 Peter Bartok <[email protected]>
  14416. * Hwnd.cs: Added DefaultClientRectangle property
  14417. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  14418. more detailed debug information
  14419. * XplatUIX11.cs:
  14420. - Fixed size-change feedback loop, where we would pull an old size
  14421. off the queue and mistakenly change our window's size to an
  14422. earlier value
  14423. - Now compressing ConfigureNotify events, to reduce looping and
  14424. redraw issues
  14425. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  14426. is called
  14427. 2005-03-07 Jackson Harper <[email protected]>
  14428. * Binding.cs: Push data pushes from data -> property. Check if the
  14429. property is readonly when attempting to set it.
  14430. 2005-03-07 Jackson Harper <[email protected]>
  14431. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  14432. instead of IsSubclassOf. Pulling data now sets the value on the
  14433. control.
  14434. * PropertyManager.cs:
  14435. * CurrencyManager.cs: Just need to pull data when updating now,
  14436. because PullData will set the value on the control.
  14437. 2005-03-04 Jackson Harper <[email protected]>
  14438. * Binding.cs: Implement data type parsing and converting on pulled
  14439. data. TODO: Are there more ways the data can be converted?
  14440. 2005-03-04 Jackson Harper <[email protected]>
  14441. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  14442. controls Validating method so we can repull the data when the
  14443. control loses focus.
  14444. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  14445. * ColumnHeader.cs:
  14446. - Fixes null string format
  14447. * ListView.cs:
  14448. - Adds enum type checks
  14449. - Fixes redrawing and recalc need after changing some properties
  14450. - Fixes on focus_item set after the event
  14451. - Fixes adding columns after the control has been created
  14452. * ThemeWin32Classic.cs:
  14453. - Fixes CheckBox focus rectangle
  14454. - Fixes ColumnHeader drawing
  14455. 2005-03-03 Jackson Harper <[email protected]>
  14456. * Binding.cs: Bind to <Property>Changed events so we can detect
  14457. when properties are changed and update the data.
  14458. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  14459. * ImageList.cs:
  14460. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  14461. - Fixes ImageList constructor with ImageList container
  14462. - Fixes image scaling (wrong parameters at DrawImage)
  14463. 2005-02-02 Jackson Harper <[email protected]>
  14464. * Binding.cs: Make property searches case-insensitive. Eliminate
  14465. some duplicated code.
  14466. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  14467. * ComboBox.cs:
  14468. - Handle focus event
  14469. - Fix scrollbar events
  14470. - Discard highlighted item if remove it
  14471. - Fixes SelectedItem with strings
  14472. 2005-03-01 Peter Bartok <[email protected]>
  14473. * Control.cs:
  14474. - Fixed Visible property, now follows (once again) parent chain
  14475. to return false if any control in the chain is visible=false
  14476. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  14477. - Fixed several places where is_visible instead of Visible was used
  14478. - Implemented FIXME related to focus selection when setting focused
  14479. control to be invisible
  14480. * XplatUIWin32.cs: Now using proper method to find out if window is
  14481. visible. Thanks to Jordi for pointing it out
  14482. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  14483. * ComboBox.cs: show/hide scrollbar instead of creating it
  14484. 2005-02-27 Jackson Harper <[email protected]>
  14485. * CurrencyManager.cs: Add PositionChanged stuff.
  14486. 2005-02-27 Peter Bartok <[email protected]>
  14487. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  14488. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  14489. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  14490. * XplatUIX11.cs:
  14491. - Implemented GetMenuDC()
  14492. - Implemented GetMenuOrigin()
  14493. - Implemented ReleaseMenuDC()
  14494. - Implemented generation of WM_NCPAINT message
  14495. - Implemented generation and handling of WM_NCCALCSIZE message
  14496. * Form.cs: Added debug helper message for Jordi's menu work
  14497. * Hwnd.cs:
  14498. - Modified ClientRect property; added setter, fixed getter to handle
  14499. setting of ClientRect
  14500. - Added MenuOrigin property
  14501. 2005-02-26 Peter Bartok <[email protected]>
  14502. * XplatUIX11.cs:
  14503. - Destroys the caret if a window that's being destroyed contains it
  14504. - Ignores expose events coming from the X11 queue for windows that
  14505. already are destroyed
  14506. - Now uses the proper variable for handling DestroyNotify, before we
  14507. marked the wrong window as destroyed
  14508. - Improved/added some debug output
  14509. 2005-02-26 Peter Bartok <[email protected]>
  14510. * X11Keyboard.cs: Fixes to work on 64bit systems
  14511. 2005-02-26 Peter Bartok <[email protected]>
  14512. * Control.cs:
  14513. - Now calling OnHandleDestroyed from DestroyHandle()
  14514. instead of Dispose()
  14515. - Removed bogus call to controls.Remove() from DestroyHandle()
  14516. 2005-02-26 Peter Bartok <[email protected]>
  14517. * Control.cs: Properly destroy child windows when our handle is
  14518. destroyed
  14519. 2005-02-25 Peter Bartok <[email protected]>
  14520. * XplatUI.cs:
  14521. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  14522. - Alphabetized Static Methods and Subclasses
  14523. * XplatUIX11.cs:
  14524. - Added XException class to allow custom handling of X11 exceptions
  14525. - Created custom X11 error handler, tied into XException class
  14526. - Added support for MONO_XEXCEPTIONS env var to allow the user
  14527. to either throw an exception on X errors or continue running
  14528. after displaying the error
  14529. - Added handling of DestroyNotify message
  14530. - Added handler for CreateNotify message (still disabled)
  14531. - Improved (tried to at least) Where method to provide file and lineno
  14532. * X11Structs.cs:
  14533. - Added XErrorHandler delegate
  14534. - Added XRequest enumeration (to suppor translation of errors)
  14535. 2005-02-25 Jackson Harper <[email protected]>
  14536. * PropertyManager.cs: Implement editing features
  14537. * CurrencyManager.cs:
  14538. * Binding.cs: First attempt at UpdateIsBinding
  14539. * BindingManagerBase.cs: Call UpdateIsBinding before
  14540. pushing/pulling data.
  14541. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  14542. * MenuAPI.cs: Respect disabled items
  14543. * ThemeWin32Classic.cs
  14544. - Caches ImageAttributes creation for DrawImageDisabled
  14545. - Fixes vertical menu line drawing
  14546. - Draws disabled arrows in disable menu items
  14547. 2005-02-24 Peter Bartok <[email protected]>
  14548. * Hwnd.cs:
  14549. - Added UserData property to allow associating arbitrary objects
  14550. with the handle
  14551. - Fixed leak; now removing Hwnd references from static windows array
  14552. * XplatUIWin32.cs:
  14553. - Fixed Graphics leak in PaintEventEnd
  14554. - Removed usage of HandleData, switched over to Hwnd class
  14555. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  14556. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  14557. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  14558. * ScrollBar.cs: Fixes bug
  14559. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  14560. keyboard navigation enhancements
  14561. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  14562. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  14563. * GroupBox.cs: Add control styles
  14564. * Label.cs: Add control styles
  14565. * UpDownBase.cs: Add control styles
  14566. * ListBox.cs: Add control styles
  14567. * XplatUIWin32.cs: Fixes wrong parameter order
  14568. 2005-02-23 Chris Bacon <[email protected]>
  14569. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  14570. 2005-02-23 Jackson Harper <[email protected]>
  14571. * PropertyManager.cs: Implement property binding. This doesn't
  14572. seem to work yet though as (I think) there are some bugs in
  14573. System.ComponentModel.PropertyDescriptor.
  14574. * BindingContext.cs: Use new PropertyManager constructor.
  14575. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  14576. * ProgressBar.cs: use clip region in ProgressBar
  14577. * ThemeWin32Classic.cs: use clip region in ProgressBar
  14578. 2004-02-22 Jackson Harper <[email protected]>
  14579. * BindingsCollection.cs: Remove some debug code.
  14580. 2005-02-22 Jackson Harper <[email protected]>
  14581. * BindingContext.cs:
  14582. * ControlBindingsCollection.cs:
  14583. * CurrencyManager.cs:
  14584. * Binding.cs:
  14585. * BindingManagerBase.cs: Initial implementation
  14586. * BindingsCollection.cs: Add an internal contains method that the
  14587. BindingManagerBase uses to ensure bindings aren't added twice to
  14588. the collection.
  14589. * PropertyManager.cs: Stubbed out.
  14590. * Control.cs:
  14591. * ContainerControl.cs: Hook up databinding
  14592. 2005-02-22 Geoff Norton <[email protected]>
  14593. * XplatUIOSX.cs:
  14594. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  14595. Fixed Invalidate/Update chain.
  14596. Fixed tons of other minor bugs (this is almost a complete rewrite).
  14597. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  14598. * ComboBox.cs: do subcontrol creation when the control is created
  14599. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14600. * Label.cs: fixes image drawing (image and imagelist)
  14601. * ThemeWin32Classic.cs: cache brushes
  14602. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14603. * Form.cs: Move menu drawing code to Theme class
  14604. * ComboBox.cs: Move ComboBox drawing code to Theme class
  14605. * MenuItem.cs: Move menu drawing code to Theme class
  14606. * MenuAPI.cs: Move menu drawing code to Theme class
  14607. * ThemeWin32Classic.cs: New methods
  14608. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  14609. * ListBox.cs: Move Listbox drawing code to Theme class
  14610. * Theme.cs: New methods
  14611. 2005-02-20 Peter Bartok <[email protected]>
  14612. * Control.cs:
  14613. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  14614. only process mnemonics on those)
  14615. - Fixed event sequence for key handling; first calling
  14616. ProcessKeyEventArgs now
  14617. * TextBoxBase.cs:
  14618. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  14619. for processing non-character keys
  14620. - Fixed WM_CHAR to generate proper event sequence before processing
  14621. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  14622. generation
  14623. 2005-02-19 Peter Bartok <[email protected]>
  14624. * UserControl.cs: Added TextChanged event; added attributes
  14625. * SizeGrip.cs: Implemented resizing and optional display of grip
  14626. * Form.cs: Fixed attribute
  14627. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  14628. Changed meaning of ScrollWindow bool argument; instead of the
  14629. clear attribute (which will be true usually anyway), it gives the
  14630. option of moving child controls as well.
  14631. * XplatUIX11.cs:
  14632. - Changed to match new ScrollWindow argument
  14633. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  14634. now handles the implicit parent window a WM puts around us
  14635. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  14636. to work)
  14637. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  14638. * TreeView.cs: Adjusted to new ScrollWindow arguments
  14639. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  14640. * Form.cs: Menu integration with non-client area
  14641. * MenuItem.cs: Menu integration with non-client area
  14642. * MenuAPI.cs: Menu integration with non-client area
  14643. 2005-02-18 Peter Bartok <[email protected]>
  14644. * MethodInvoker.cs: Added
  14645. * MdiLayout.cs: Added
  14646. * SendKeys.cs: Started implementation
  14647. * ErrorIconAlignment.cs: Added
  14648. 2005-02-18 Peter Bartok <[email protected]>
  14649. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  14650. * Form.cs: Added handling for Menu-related Non-client messages
  14651. 2005-02-17 Peter Bartok <[email protected]>
  14652. * UpDownBase.cs: Fixed typo, compilation errors
  14653. * DomainUpDown.cs: Fixed attribute value
  14654. 2005-02-16 Miguel de Icaza <[email protected]>
  14655. * UpDownBase.cs: Attach entry events.
  14656. Propagate events.
  14657. Add ForeColor property, Focused, InterceptArrowKeys (interception
  14658. does not work yet).
  14659. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  14660. * Form.cs:
  14661. - Redraw non client are on Setmenu
  14662. - Calc proper menu starting point
  14663. 2005-02-17 Peter Bartok <[email protected]>
  14664. * Application.cs: Fixed message_filter check
  14665. 2005-02-17 Peter Bartok <[email protected]>
  14666. * Application.cs: Now calls registered message filters
  14667. * DockStyle.cs: Fixed attribute
  14668. * Form.cs: Fixed attribute
  14669. * Menu.cs: Fixed attribute
  14670. * ToolTip.cs: Fixed attribute
  14671. * TreeNode.cs: Added missing attributes and arranged in regions
  14672. * PropertyGrid.cs: Fixed signatures
  14673. * TreeNodeCollection.cs: Added attributes
  14674. * Splitter.cs: Added missing attributes; arranged into regions
  14675. * TabPage.cs: Added missing attributes; arranged into regions
  14676. * TextBoxBase.cs: Added missing attributes
  14677. * TextBox.cs: Added missing attributes
  14678. * ArrangeDirection.cs: Added missing attributes
  14679. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  14680. * ToolBarButton.cs: Fixed attributes
  14681. * AnchorStyles.cs: Fixed attribute
  14682. * TrackBar.cs: Fixed attributes
  14683. * TabControl.cs: Added missing attributes and arranged into regions
  14684. * ToolBar.cs: Fixed attribute
  14685. * StatusBar.cs: Fixed signature, organized into regions and added
  14686. attributes
  14687. * StatusBarPanel.cs: Fixed attributes
  14688. * ContentsResizedEventArgs.cs: Implemented
  14689. * ContentsResizedEventHandler.cs: Implemented
  14690. * DateBoldEventArgs.cs: Implemented
  14691. * DateBoldEventHandler.cs: Implemented
  14692. * UpDownEventArgs.cs: Implemented
  14693. * UpDownEventHandler.cs: Implemented
  14694. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  14695. * Form.cs: first Menu NC refactoring
  14696. * MenuAPI.cs: first Menu NC refactoring
  14697. 2005-02-16 Peter Bartok <[email protected]>
  14698. * ImeMode.cs: Added missing attributes
  14699. * Menu.cs: Fixed attribute
  14700. * GroupBox.cs: Fixed attribute
  14701. * Label.cs: Fixed attribute
  14702. * ColorDialog.cs (RunDialog): Removed TODO attribute
  14703. * ComboBox.cs: Fixed attributes
  14704. * ListControl.cs: Added missing attributes
  14705. * PropertyGrid.cs: Fixed attributes
  14706. * Control.cs: Fixed attributes
  14707. * ListViewItem.cs: Added TypeConverter attribute
  14708. * NotifyIcon.cs: Fixed attributes
  14709. * ListView.cs: Fixed attributes
  14710. * ButtonBase.cs: Fixed attribute
  14711. * ImageList.cs: Added missing attributes
  14712. * ContainerControl.cs: Fixed signature
  14713. * CheckedListBox.cs: Fixed attribute; added missing attributes
  14714. * Panel.cs: Fixed attributes
  14715. * PropertyTabChangedEventArgs.cs: Added missing attribute
  14716. * PropertyValueChangedEventArgs.cs: Added missing attribute
  14717. * Binding.cs: Fixed attribute
  14718. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  14719. * ListBox.cs: Fixed attribute; added missing attributes;
  14720. * ScrollableControl.cs: Added missing attributes
  14721. * PictureBox.cs: Added missing attributes; implemented missing property
  14722. * DateTimePicker.cs: Added missing attributes
  14723. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  14724. * MonthCalendar.cs: Fixed attributes
  14725. * StatusBarPanel.cs: Added missing attributes
  14726. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  14727. 2005-02-16 Peter Bartok <[email protected]>
  14728. * TextBoxBase.cs: The previous method to enforce height yet remember
  14729. the requested high was less than ideal, this is an attempt to do
  14730. it better.
  14731. * Control.cs: Added comment about possible problem
  14732. * Copyright: Updated format
  14733. * GridItemType.cs: Fixed swapped values
  14734. 2005-02-15 Jackson Harper <[email protected]>
  14735. * BaseCollection.cs: Use property so we never access an
  14736. uninitialized list. Also initialize the list in the property.
  14737. 2005-02-15 Peter Bartok <[email protected]>
  14738. * GroupBox.cs (ProcessMnemonic): Implemented
  14739. * Label.cs (ProcessMnemonic): Implemented
  14740. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  14741. hotkeys
  14742. 2005-02-15 Peter Bartok <[email protected]>
  14743. * RadioButton.cs (ProcessMnemonic): Implemented
  14744. * CheckBox.cs (ProcessMnemonic): Implemented
  14745. * Control.cs:
  14746. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  14747. handling
  14748. - Added internal method to allow calling ProcessMnemonic from other
  14749. controls
  14750. * ContainerControl.cs:
  14751. - Started support for handling validation chain handling
  14752. - Implemented ProcessMnemonic support
  14753. - Added Select() call to Active, to make sure the active control
  14754. receives focus
  14755. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  14756. FormParent rewrite)
  14757. * ThemeWin32Classic.cs:
  14758. - DrawCheckBox(): Fixed stringformat to show hotkeys
  14759. - DrawRadioButton(): Fixed stringformat to show hotkeys
  14760. * CommonDialog.cs: Removed WndProc override, not needed
  14761. 2005-02-14 Peter Bartok <[email protected]>
  14762. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  14763. missed those in the rewrite
  14764. 2005-02-14 Miguel de Icaza <[email protected]>
  14765. * NumericUpDown.cs (Increment, ToString): Add.
  14766. (DecimalPlaces): implement.
  14767. Add attributes.
  14768. * UpDownBase.cs: Add the designer attributes.
  14769. 2005-02-13 Peter Bartok <[email protected]>
  14770. * Panel.cs: Removed border_style, now in Control
  14771. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  14772. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  14773. 2005-02-13 Peter Bartok <[email protected]>
  14774. * MouseButtons.cs: Added missing attributes
  14775. * XplatUIStructs.cs: Added enumeration for title styles
  14776. * LeftRightAlignment.cs: Added missing attributes
  14777. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  14778. it compatible with Graphics.FromHwnd()
  14779. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  14780. * Keys.cs: Added missing attributes
  14781. * SelectionRange.cs: Added missing attributes
  14782. * SelectionRangeConverter.cs: Added
  14783. * XplatUI.cs:
  14784. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  14785. ReleaseMenuDC methods
  14786. - Renamed ReleaseWindow to UngrabWindow
  14787. - Added proper startup notice to allow version identification
  14788. * Form.cs:
  14789. - Added missing attributes
  14790. - Removed FormParent concept
  14791. * Label.cs: Removed border_style field, now in Control
  14792. * RadioButton.cs: Now properly selects RadioButton when focus is
  14793. received
  14794. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  14795. * Control.cs:
  14796. - Added missing attributes
  14797. - Added borderstyle handling
  14798. - Removed FormParent concept support
  14799. - Fixed calls to XplatUI to match changed APIs
  14800. - Fixed bug that would case us to use disposed Graphics objects
  14801. - Removed unneeded internal methods
  14802. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  14803. - SelectNextControl(): Fixed to properly check common parents
  14804. * TextBoxBase.cs: Removed border_style field (now in Control)
  14805. * MessageBox.cs:
  14806. - Patch by Robert Thompson ([email protected]): Added icon support,
  14807. fixed calculations for form size
  14808. - Added support for localized strings and icons
  14809. - Improved form size calculations, added border
  14810. * ListView.cs: Removed border_style field (now in Control)
  14811. * X11Structs.cs: Moved several structs from X11 driver here
  14812. * X11Keyboard.cs: Changed debug message
  14813. * Application.cs: Removed FormParent concept support
  14814. * CommonDialog.cs:
  14815. - Resetting end_modal flag
  14816. - Removed FormParent concept support
  14817. * NativeWindow.cs: Removed FormParent concept support
  14818. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  14819. Client area and Non-Client whole window to allow support for WM_NC
  14820. messages
  14821. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  14822. prevent using it until it supports Hwnd as per Geoff Norton's request
  14823. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  14824. * PictureBox.cs: Removed border_style field, now in Control
  14825. * XplatUIWin32.cs: Added new driver methods
  14826. 2005-02-12 Peter Bartok <[email protected]>
  14827. * OpacityConverter.cs: Implemented
  14828. * Hwnd.cs: Internal class to support drivers that need to emulate
  14829. client area/non-client area window behaviour
  14830. 2005-02-11 Peter Bartok <[email protected]>
  14831. * KeysConverter.cs: Implemented
  14832. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  14833. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  14834. * LinkLabel: Added missing attributes
  14835. * MainMenu.cs: fixes ToString
  14836. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  14837. * ListBox.cs: fixes event position
  14838. * TrackBar.cs: adds missing attributes and events
  14839. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  14840. * MenuItem.cs: Use SystemInformation and bug fixes
  14841. * MenuAPI.cs: Use SystemInformation and bug fixes
  14842. 2005-02-09 Jackson Harper <[email protected]>
  14843. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  14844. their keystate otherwise things like VK_MENU get stuck "on".
  14845. 2005-02-09 Kazuki Oikawa <[email protected]>
  14846. * ListBox.cs: Fixes AddRange bug
  14847. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  14848. * ProgressBar.cs
  14849. - Add missing attributes
  14850. - Add missing method
  14851. * CheckedListBox.cs: Added missing attributes
  14852. - Add missing attributes
  14853. - Remove extra method
  14854. * ComboBox.cs: Added missing attributes
  14855. * VScrollBar.cs: Added missing attributes
  14856. * ScrollBar.cs: Added missing attributes
  14857. * ListBox.cs: Fixes signature, add missing consts
  14858. * LinkArea.cs: Added missing attributes
  14859. 2005-02-08 Peter Bartok <[email protected]>
  14860. * Menu.cs: Added missing attributes
  14861. * MainMenu.cs: Added missing attributes
  14862. * GroupBox.cs: Added missing attributes
  14863. * Label.cs: Added missing attributes
  14864. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  14865. * ColorDialog.cs:
  14866. - Added Instance and Options properties
  14867. - Added missing attributes
  14868. * Cursor.cs: Made Serializable
  14869. * NotifyIcon: Added missing attributes
  14870. * MenuItem.cs: Added missing attributes
  14871. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  14872. * Panel.cs: Added Missing attributes
  14873. * MonthCalendar.cs: Fixed CreateParams
  14874. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  14875. * LinkLabel.cs:
  14876. - Fixes signature
  14877. - Fixes issues with links
  14878. - Adds the class attributes
  14879. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  14880. * ComboBox.cs:
  14881. - Fixes button when no items available in dropdown
  14882. - Fixes repainting problems
  14883. - Adds the class attributes
  14884. 2005-02-07 Geoff Norton <[email protected]>
  14885. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  14886. the current theme. Cache these on startup.
  14887. 2005-02-07 Jackson Harper <[email protected]>
  14888. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  14889. the scrollbar buttons when they are depressed.
  14890. 2005-02-07 Geoff Norton <[email protected]>
  14891. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  14892. Get the display size from the main displayid. We currently dont
  14893. support multiple display configurations.
  14894. 2005-02-07 Geoff Norton <[email protected]>
  14895. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  14896. 2005-02-07 Miguel de Icaza <[email protected]>
  14897. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  14898. 2005-02-05 Jonathan Chambers <[email protected]>
  14899. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  14900. 2005-02-04 Jackson Harper <[email protected]>
  14901. * ThemeWin32Classic.cs: Respect the clipping rect when
  14902. drawing. Only fill the intersection of clips and rects so there
  14903. isn't a lot of large fills.
  14904. * ScrollBar.cs: Pass the correct clipping rect to the theme
  14905. engine. Remove some debug code.
  14906. 2005-02-05 John BouAntoun <[email protected]>
  14907. * DateTimePicker.cs:
  14908. - Fixed crash on DateTime.Parse, use Constructor instead
  14909. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  14910. * MenuItem.cs:
  14911. * MenuAPI.cs:
  14912. - Owner draw support (MeasureItem and DrawItem)
  14913. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  14914. * Menu.cs:
  14915. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  14916. - Fixes MenuItems.Add range
  14917. * MenuItem.cs:
  14918. - MergeMenu and Clone and CloneMenu functions
  14919. 2005-02-03 Jackson Harper <[email protected]>
  14920. * ScrollBar.cs: Make abstract
  14921. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  14922. is abstract.
  14923. 2005-02-03 Jackson Harper <[email protected]>
  14924. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  14925. all the unneeded refreshes and uses invalidates with properly
  14926. computed rects.
  14927. 2005-02-03 Peter Bartok <[email protected]>
  14928. * ComponentModel.cs: Added
  14929. * IDataGridEditingService.cs: Added
  14930. * Timer.cs: Added missing attributes
  14931. * ToolTip.cs: Added missing attributes
  14932. 2005-02-03 Jonathan Chambers <[email protected]>
  14933. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  14934. 2005-02-03 Peter Bartok <[email protected]>
  14935. * ListBox.cs: Added missing attributes
  14936. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  14937. * ListBox.cs:
  14938. - Fixes font height after font change
  14939. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  14940. 2005-02-02 Peter Bartok <[email protected]>
  14941. * HandleData.cs: Introduced static methods to allow class
  14942. to be more self-contained and track it's own HandleData objects
  14943. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  14944. HandleData to use new static methods
  14945. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  14946. * Combobox.cs:
  14947. - Fixes default size and PreferredHeight
  14948. - Missing events
  14949. - ObjectCollection.Insert implementation
  14950. * ListControl.cs
  14951. - Fixes signature
  14952. * ListBox.cs:
  14953. - Several fixes
  14954. - ObjectCollection.Insert implementation
  14955. - No selection after clean
  14956. - Small fixes
  14957. 2005-01-31 John BouAntoun <[email protected]>
  14958. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  14959. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  14960. * Combobox.cs:
  14961. - Caches ItemHeight calculation for OwnerDrawVariable
  14962. - Handles dropdown properly
  14963. - Fixes several minor bugs
  14964. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  14965. * ListBox.cs:
  14966. - Fixes 71946 and 71950
  14967. - Fixes changing Multicolumn on the fly
  14968. - Fixes keyboard navigation on Multicolumn listboxes
  14969. 2005-01-31 Geoff Norton <[email protected]>
  14970. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  14971. crash reporter log.
  14972. 2005-01-31 Geoff Norton <[email protected]>
  14973. * XplatUIOSX.cs: Allow applications to actually exit.
  14974. 2005-01-31 Geoff Norton <[email protected]>
  14975. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  14976. their parent at creation time rather than lazily later. Fixes a major
  14977. regression we were experiencing.
  14978. 2005-01-31 John BouAntoun <[email protected]>
  14979. * ThemeWin32Classic.cs: more date time picker painting fixes
  14980. * DateTimePicker.cs: more monthcalendar drop down fixes
  14981. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  14982. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  14983. * ScrollBar.cs:
  14984. - When moving the thumb going outside the control should stop the moving
  14985. - Adds the firing of missing events
  14986. - Fixes no button show if Size is not specified
  14987. - End / Home keys for keyboard navigation
  14988. 2005-01-30 Peter Bartok <[email protected]>
  14989. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  14990. sanity check to prevent theoretical loop
  14991. * XplatUIWin32.cs (SetVisible): Removed debug output
  14992. * XplatUIX11.cs (SystrayChange): Added sanity check
  14993. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  14994. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  14995. behaviour, valid until the X11 client window rewrite is done
  14996. * TextBox.cs (ctor): Setting proper default foreground and background
  14997. colors
  14998. 2005-01-30 John BouAntoun <[email protected]>
  14999. * Theme: Added DrawDateTimePicker to interface
  15000. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  15001. * DateTimePicker.cs: Created (still needs keys and painting code)
  15002. * DateTimePickerFormat.cs: added
  15003. * MonthCalendar.cs: fixed CreateParams for popup window mode
  15004. 2005-01-29 Peter Bartok <[email protected]>
  15005. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  15006. this should also the calculations for ligher/darker
  15007. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  15008. 2005-01-29 Peter Bartok <[email protected]>
  15009. * ArrangeDirection.cs: Added
  15010. * ArrangeStartingPositon.cs: Added
  15011. * SystemInformation.cs: Implemented
  15012. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15013. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  15014. used by SystemInformation class
  15015. * X11Strucs.cs: Added XSizeHints structure
  15016. * MenuAPI.cs:
  15017. - Fixed CreateParams to make sure the menu window is always visible
  15018. - TrackPopupMenu: Added check to make sure we don't draw the
  15019. menu offscreen
  15020. 2005-01-29 Peter Bartok <[email protected]>
  15021. * HandleData.cs: Added method for altering invalid area
  15022. * TextBoxBase.cs: Implemented TextLength
  15023. 2005-01-28 Peter Bartok <[email protected]>
  15024. * XplatUIX11.cs: Improvement over last patch, not sending
  15025. the WM_PAINT directly anymore, instead we scroll any pending
  15026. exposed areas and let the system pick out the WM_PAINT later
  15027. 2005-01-28 Peter Bartok <[email protected]>
  15028. * SWF.csproj: Deleted, no longer used. Instead,
  15029. Managed.Windows.Forms/SWF.csproj should be used
  15030. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  15031. directly, to avoid a potential race condition with the next
  15032. scroll
  15033. 2005-01-28 Peter Bartok <[email protected]>
  15034. * XplatUI.cs: Made class internal
  15035. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  15036. * CheckedListBox.cs:
  15037. - Draw focus
  15038. - Fixed Drawing
  15039. - Missing methods and events
  15040. 2005-01-27 Peter Bartok <[email protected]>
  15041. * Application.cs (Run): Don't use form if we don't have one
  15042. 2005-01-27 Peter Bartok <[email protected]>
  15043. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  15044. 2005-01-27 Peter Bartok <[email protected]>
  15045. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  15046. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  15047. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  15048. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  15049. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  15050. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  15051. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15052. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  15053. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15054. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15055. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15056. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  15057. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  15058. * Combobox.cs:
  15059. - Draw focus on Simple Combobox
  15060. - Fixes drawing issues
  15061. - fixes 71834
  15062. 2005-01-27 Peter Bartok <[email protected]>
  15063. * Form.cs:
  15064. - Place window in default location, instead of hardcoded 0/0
  15065. - Send initial LocationChanged event
  15066. * Control.cs:
  15067. - UpdateBounds after creation to find out where the WM placed us
  15068. - Make sure that if the ParentForm changes location the Form
  15069. is notified
  15070. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  15071. to the root, but to whatever the WM placed around us.
  15072. Translate to root coordinates before returning toplevel
  15073. coordinates
  15074. * XplatUIWin32.cs: Removed debug output
  15075. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  15076. flag to GetWindowPos, to allow translation of coordinates on X11
  15077. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  15078. * ListBox.cs: connect LostFocus Event
  15079. 2005-01-27 Peter Bartok <[email protected]>
  15080. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15081. XplatUIX11.cs: Extended the Systray API
  15082. * Form.cs: Removed debug output
  15083. * Application.cs: Fixed focus assignment, always need to call
  15084. XplatUI.Activate() since Form.Activate() has rules that may
  15085. prevent activation
  15086. * NotifyIcon.cs: Should be complete now
  15087. * ToolTip.cs: Worked around possible timer bug
  15088. 2005-01-27 Jackson Harper <[email protected]>
  15089. * TabControl.cs:
  15090. - Only invalidate the effected tabs when the
  15091. selected index changes. This reduces drawing and gets rid of some
  15092. flicker.
  15093. - Only refresh if the tabs need to be shifted, otherwise only
  15094. invalidate the slider button.
  15095. - On windows the tabs are not filled to right if the slider is
  15096. visible.
  15097. 2005-01-27 Jackson Harper <[email protected]>
  15098. * TabControl.cs: Only refresh on mouseup if we are showing the
  15099. slider. Also only invalidate the button whose state has changed.
  15100. 2005-01-26 Peter Bartok <[email protected]>
  15101. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  15102. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  15103. and SystrayRemove() methods
  15104. * XplatUIOSX.cs: Stubbed Systray methods
  15105. * XplatUIX11.cs:
  15106. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  15107. methods
  15108. - Fixed broken XChangeProperty calls (marshalling messed up things)
  15109. * X11Structs.cs: Added enums and structs required for Size hinting
  15110. * NotifyIcon.cs: Added & implemented
  15111. 2005-01-26 Jackson Harper <[email protected]>
  15112. * TabControl.cs: Space vertically layed out tabs properly.
  15113. 2005-01-26 Peter Bartok <[email protected]>
  15114. * Form.cs (CreateClientParams): Always set the location to 0,0
  15115. since we're a child window.
  15116. * Control.cs (SetVisibleCore): Always explicitly setting the location
  15117. of a toplevel window, apparently X11 doesn't like to move windows
  15118. while they're not mapped.
  15119. 2005-01-26 Jackson Harper <[email protected]>
  15120. * TabControl.cs: Implement FillToRight size mode with vertically
  15121. rendered tabs.
  15122. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  15123. * ControlPaint.cs, ThemeWin32Classic.cs
  15124. - Fixes DrawFocusRectangle
  15125. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  15126. * MenuAPI.cs:
  15127. - MenuBar tracking only starts when item is first clicked
  15128. - Fixes menu hidding for multiple subitems
  15129. - Unselect item in MenuBar when item Executed
  15130. - Fixes bug 71495
  15131. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  15132. * ListControl.cs:
  15133. - IsInputKey for ListBox
  15134. * ListBox.cs:
  15135. - Focus item
  15136. - Shift and Control item selection
  15137. - Implement SelectionMode.MultiExtended
  15138. - Fixes RightToLeft
  15139. * ComboBox.cs:
  15140. - IsInputKey implemented
  15141. - Do not generate OnTextChangedEdit on internal txt changes
  15142. 2005-01-23 Peter Bartok <[email protected]>
  15143. * AccessibleObject.cs: Partially implemented Select()
  15144. * MonthCalendar.cs: Added missing attributes and events
  15145. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  15146. form can properly override CreateParams.
  15147. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15148. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  15149. Control performs Invalidate & Update
  15150. * NativeWindow (CreateHandle): Added special handling for Form
  15151. and Form.FormParent classes to allow overriding of From.CreateParams
  15152. * Control.cs:
  15153. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  15154. name 'owner'
  15155. - ControlNativeWindow: Added Owner property
  15156. - Removed usage of Refresh() on property changes, changed into
  15157. Invalidate(), we need to wait until the queue is processed for
  15158. updates, direct calls might cause problems if not all vars for
  15159. Paint are initialized
  15160. - Added call to UpdateStyles() when creating the window, to set any
  15161. styles that CreateWindow might have ignored.
  15162. - Added support for Form CreateParent overrides to UpdateStyles()
  15163. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  15164. CreateParams are now properly overridable
  15165. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  15166. CreateParams are now properly overridable
  15167. 2005-01-23 Miguel de Icaza <[email protected]>
  15168. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  15169. OnTextBoxChanged.
  15170. Capture LostFocus and OnTextBoxChanged. The later introduces a
  15171. recursive invocation that I have not figured out yet.
  15172. Reset the timer when not using (it was accumulating).
  15173. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  15174. user has made changes that require validation.
  15175. Reset changing to avoid loops.
  15176. 2005-01-22 Miguel de Icaza <[email protected]>
  15177. * NumericUpDown.cs: Display value at startup.
  15178. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  15179. ValidateEditText.
  15180. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  15181. filled in. Added some basic parsing of text.
  15182. Still missing the OnXXX method overrides, and figuring out the
  15183. events that must be emitted.
  15184. * UpDownBase.cs: Handle UserEdit on the Text property.
  15185. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  15186. * ComboBox.cs:
  15187. - Fixes IntegralHeight
  15188. - ToString method
  15189. 2005-01-21 Jackson Harper <[email protected]>
  15190. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  15191. is set so that the page visibility is updated and the tabs are
  15192. sized correctly.
  15193. 2005-01-21 Jackson Harper <[email protected]>
  15194. * TabControl.cs: Use cliping rectangle for blitting. Give the
  15195. theme the clipping rect so we can do clipping while
  15196. drawing. Remove some debug code.
  15197. 2005-01-21 Jackson Harper <[email protected]>
  15198. * TabPage.cs: Add a new method so tab pages can force the tab
  15199. control to recalculate the tab page sizes.
  15200. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  15201. sizes.
  15202. 2005-01-20 Jackson Harper <[email protected]>
  15203. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  15204. 2005-01-20 Jackson Harper <[email protected]>
  15205. * TreeView.cs: Set the bounds for nodes properly. They were
  15206. getting screwed up when checkboxes were not enabled, but images
  15207. were.
  15208. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  15209. * ListBox.cs:
  15210. - Owner draw support
  15211. - Fixes
  15212. 2005-01-20 Jackson Harper <[email protected]>
  15213. * XplatUIStructs.cs: More misc keys
  15214. * X11Keyboard.cs: Ignore some control keys.
  15215. 2005-01-20 Jackson Harper <[email protected]>
  15216. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  15217. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  15218. 2005-01-19 Peter Bartok <[email protected]>
  15219. * Control.cs: Un-selecting the control when it is loosing focus
  15220. 2005-01-19 Jackson Harper <[email protected]>
  15221. * TreeView.cs: Hook up to the text controls leave event so we can
  15222. end editing when the users clicks outside the text box.
  15223. 2005-01-19 Jackson Harper <[email protected]>
  15224. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  15225. get set in the conversion array.
  15226. 2005-01-19 Peter Bartok <[email protected]>
  15227. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  15228. focus is properly set
  15229. * Button.cs:
  15230. - Added missing attributes
  15231. - removed styles, those are already set in the base class
  15232. * ButtonBase.cs:
  15233. - Added missing attributes
  15234. - Added clip window styles
  15235. * CheckBox.cs: Added missing attributes
  15236. * CommonDialog.cs:
  15237. - FormParentWindow.CreateParams: Added required clip styles
  15238. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  15239. also filters modifier keys
  15240. * MessageBox.cs:
  15241. - Added assignment of Accept and Cancel button to enable Enter
  15242. and Esc keys in MessageBox dialogs
  15243. - FormParentWindow.CreateParams: Added required clip styles
  15244. * RadioButton.cs: Added missing attributes
  15245. * TextControl.cs: No longer draws selection if control does not
  15246. have focus
  15247. * TextBoxBase.cs:
  15248. - Now draws simple rectangle around test area to make it obvious
  15249. there's a control. This is a hack until we properly support borders
  15250. - A few simple fixes to support selections better, now erases selected
  15251. text when typing, and resets selection when using movement keys
  15252. 2005-01-19 Miguel de Icaza <[email protected]>
  15253. * UpDownBase.cs: Added some new properties.
  15254. * DomainUpDown.cs: Implement a lot to get my test working.
  15255. 2005-01-19 Geoff Norton <[email protected]>
  15256. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  15257. 2005-01-19 Geoff Norton <[email protected]>
  15258. * OSXStructs (WindowAttributes): Fixed csc complaints
  15259. 2005-01-19 Geoff Norton <[email protected]>
  15260. * XplayUIOSX.cs:
  15261. OSXStructs.cs: Initial refactor to move enums and consts into
  15262. OSXStructs and use them in the driver for greater readability.
  15263. 2005-01-19 Geoff Norton <[email protected]>
  15264. * XplatUIOSX.cs: Initial support for Standard Cursors.
  15265. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  15266. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  15267. * ComboBox.cs: ability to change style when the ctrl is already
  15268. created, missing methods and events, bug fixes, signature fixes
  15269. 2005-01-19 Peter Bartok <[email protected]>
  15270. * Cursors.cs (ctor): Added ctor to fix signature
  15271. 2005-01-18 Peter Bartok <[email protected]>
  15272. * Button.cs: Implemented DoubleClick event
  15273. * ButtonBase.cs:
  15274. - Fixed keyboard handling to behave like MS, where the press of
  15275. Spacebar is equivalent to a mousedown, and the key release is
  15276. equivalent to mouseup. Now a spacebar push will give the same
  15277. visual feedback like a mouse click.
  15278. - Added missing attributes
  15279. - Added ImeModeChanged event
  15280. - Added support for generating DoubleClick event for derived classes
  15281. * CheckBox.cs:
  15282. - Implemented DoubleClick event
  15283. - Added missing attributes
  15284. * CommonDialog.cs: Added missing attribute
  15285. * ContextMenu.cs: Added missing attributes
  15286. * RadioButton.cs:
  15287. - AutoChecked buttons do not allow to be unselected when clicked
  15288. (otherwise we might end up with no selected buttons in a group)
  15289. - Added missing attributes
  15290. - Implemented DoubleClickEvent
  15291. * ThreadExceptionDialog.cs: Enabled TextBox code
  15292. 2005-01-18 Peter Bartok <[email protected]>
  15293. * Form.cs: Removed debug output
  15294. * Button.cs: Added support for DoubleClick method
  15295. 2005-01-18 Peter Bartok <[email protected]>
  15296. * Form.cs:
  15297. - Added method to parent window that allows triggering size
  15298. calculations when a menu is added/removed
  15299. - set_Menu: Cleaned up mess from early days of Form and Control,
  15300. now properly triggers a recalc when a menu is added/removed
  15301. - Added case to select form itself as focused form if no child
  15302. controls exist
  15303. - Added PerformLayout call when showing dialog, to ensure properly
  15304. placed controls
  15305. * Control.cs:
  15306. - Select(): Made internal so Form can access it
  15307. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  15308. status
  15309. * Application.cs (Run): Removed hack and calls PerformLayout instead
  15310. to trigger calculation when Form becomes visible
  15311. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  15312. * ComboBox.cs: fixes for ownerdraw
  15313. 2005-01-18 Peter Bartok <[email protected]>
  15314. * TextControl.cs:
  15315. - Sentinel is no longer static, each Document gets it's own, this
  15316. avoids locking or alternatively overwrite problems when more
  15317. than one text control is used simultaneously.
  15318. - Switched to use Hilight and HilightText brushes for text selection
  15319. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  15320. 2005-01-18 Peter Bartok <[email protected]>
  15321. * Control.cs:
  15322. - Hooked up the following events:
  15323. o ControlAdded
  15324. o ControlRemoved
  15325. o HandleDestroyed
  15326. o ImeModeChanged
  15327. o ParentChanged
  15328. o TabStopChanged
  15329. o Invalidated
  15330. o SystemColorsChanged
  15331. o ParentFontChanged
  15332. o Move
  15333. - Removed debug output
  15334. - Added a call to the current theme's ResetDefaults when a color change
  15335. is detected
  15336. * Form.cs: Now setting the proper ImeMode
  15337. * Theme.cs: Defined a method to force recreation of cached resources
  15338. and rereading of system defaults (ResetDefaults())
  15339. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  15340. 2005-01-17 Peter Bartok <[email protected]>
  15341. * Control.cs: Added missing attributes
  15342. 2005-01-17 Jackson Harper <[email protected]>
  15343. * TreeNode.cs: Implement editing. Add missing properties selected
  15344. and visible.
  15345. * TreeView.cs: Implement node editing. Also some fixes to use
  15346. Invalidate (invalid area) instead of Refresh when selecting.
  15347. 2005-01-17 Peter Bartok <[email protected]>
  15348. * Control.cs:
  15349. - Implemented InvokeGotFocus() method
  15350. - Implemented InvokeLostFocus() method
  15351. - Implemented InvokePaint() method
  15352. - Implemented InvokePaintBackground() method
  15353. - Implemented InvokeClick() method
  15354. - Implemented FindForm() method
  15355. - Implemented RectangleToClient() method
  15356. - Implemented ClientToRectangle() method
  15357. - Implemented ResetBackColor() method
  15358. - Implemented ResetCursor() method
  15359. - Implemented ResetFont() method
  15360. - Implemented ResteForeColor() method
  15361. - Implemented ResetImeMode() method
  15362. - Implemented ResetLeftToRight() method
  15363. - Implemented ResetText() method
  15364. - Implemented Scale() methods
  15365. - Implemented ScaleCore() method
  15366. - Implemented Update() method
  15367. - Removed unused variables
  15368. - Stubbed AccessibilityNotifyClients and
  15369. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  15370. with those yet)
  15371. - Now setting proper default for RightToLeft property
  15372. - Fixed bug in SetClientSizeCore that would cause windows to get
  15373. really big
  15374. - Now sending Click/DoubleClick events
  15375. - Now selecting controls when left mouse button is clicked on
  15376. selectable control
  15377. * AccessibleEvents.cs: Added
  15378. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  15379. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  15380. * XplatUIWin32.cs: Implemented UpdateWindow() method
  15381. * XplatUIX11.cs: Implemented UpdateWindow() method
  15382. * Form.cs: Removed stray semicolon causing CS0162 warning
  15383. * ThemeWin32Classic.cs: Fixed unused variable warnings
  15384. * ScrollableControl.cs: Now calls base method for ScaleCore
  15385. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  15386. style to avoid interference with internal click handler (which is
  15387. different than standard Control click handling)
  15388. * RadioButton.cs:
  15389. - Now unchecks all sibling radio buttons when control is
  15390. selected (Fixes #68756)
  15391. - Removed internal tabstop variable, using the one inherited from
  15392. Control
  15393. 2005-01-17 Jackson Harper <[email protected]>
  15394. * NavigateEventArgs.cs: Fix base type.
  15395. * LinkLabel.cs: Sig fix
  15396. 2005-01-17 Jackson Harper <[email protected]>
  15397. * TreeView.cs: Only invalidate the effected nodes bounds when
  15398. selecting nodes.
  15399. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  15400. * XplatUIWin32.cs: fixes Win32 marshaling
  15401. * XplatUIX11.cs: fixes method signature
  15402. 2005-01-17 Peter Bartok <[email protected]>
  15403. * XplatUIX11.cs: Clean up resources when we no longer need them
  15404. 2005-01-17 Peter Bartok <[email protected]>
  15405. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  15406. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  15407. and DestroyCursor() methods.
  15408. * Cursor.cs: Partially implemented, now supports standard cursors;
  15409. still contains some debug code
  15410. * Cursors.cs: Implemented class
  15411. * Control.cs:
  15412. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  15413. appropriate cursor
  15414. - Implemented Cursor property
  15415. - Replaced break; with return; more straightforwar and possibly
  15416. faster
  15417. - Now properly setting the result for WM_HELP
  15418. * X11Structs.cs: Added CursorFontShape enum
  15419. * XplatUIStructs.cs:
  15420. - Added StdCursor enum (to support DefineStdCursor() method)
  15421. - Added HitTest enum (to support sending WM_SETCURSOR message)
  15422. * XplatUIX11.cs:
  15423. - Now sends the WM_SETCURSOR message
  15424. - Implemented new cursor methods
  15425. * XplatUIOSX.cs: Stubbed new cursor methods
  15426. * XplatUIWin32.cs:
  15427. - Implemented new cursor methods
  15428. - Added GetSystemMetrics function and associated enumeration
  15429. 2005-01-15 Peter Bartok <[email protected]>
  15430. * Control.cs:
  15431. - WndProc(): Now handles EnableNotifyMessage
  15432. - SelectNextControl(): Fixed bug where if no child or sibling
  15433. controls exist we looped endlessly
  15434. 2005-01-14 Jackson Harper <[email protected]>
  15435. * TreeView.cs: Recalculate the tab pages when a new one is added
  15436. so that the proper bounding rects are created.
  15437. 2005-01-14 Jackson Harper <[email protected]>
  15438. * TreeView.cs: Draw a gray box instead of a grip in the lower
  15439. right hand corner when there are both horizontal and vertical
  15440. scroll bars.
  15441. 2005-01-14 Jackson Harper <[email protected]>
  15442. * Control.cs: When erasing backgrounds use FromHwnd instead of
  15443. FromHdc when there is a NULL wparam. This occurs on the X driver.
  15444. * XplatUIX11.cs: Set the wparam to NULL.
  15445. 2005-01-13 Jackson Harper <[email protected]>
  15446. * PictureBox.cs: Implement missing methods (except ToString, need
  15447. to test that on windows) and events. When visibility is changed we
  15448. need to redraw the image because the buffers are killed. When size
  15449. is changed refresh if the sizemode needs it.
  15450. 2005-01-13 Peter Bartok <[email protected]>
  15451. * Control.cs (SelectNextControl): Was using wrong method to select
  15452. a control
  15453. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  15454. * ComboBox.cs: fixes dropstyle
  15455. 2005-01-13 Peter Bartok <[email protected]>
  15456. * Form.cs:
  15457. - Implemented Select() override
  15458. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  15459. - Now sets keyboard focus on startup
  15460. * Control.cs (SelectNextControl): Now properly handles directed=true
  15461. * TextBoxBase.cs:
  15462. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  15463. - Added (really bad) focus rectangle (mostly for testing)
  15464. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  15465. to enforce redraw on focus changes
  15466. * ContainerControl.cs:
  15467. - Fixed detection of Shift-Tab key presses
  15468. - Fixed traversal with arrow keys
  15469. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  15470. gonna keep this or if it's complete yet
  15471. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  15472. * ComboBox.cs: missing properties, fixes
  15473. 2005-01-13 Peter Bartok <[email protected]>
  15474. * Panel.cs (ctor): Setting Selectable window style to off
  15475. * Splitter.cs (ctor): Setting Selectable window style to off
  15476. * GroupBox.cs (ctor): Setting Selectable window style to off
  15477. * Label.cs (ctor): Setting Selectable window style to off
  15478. 2005-01-12 Miguel de Icaza <[email protected]>
  15479. * UpDownBase.cs (InitTimer): If the timer has been already
  15480. created, enable it.
  15481. Use a TextBox instead of a Label.
  15482. 2005-01-12 Jackson Harper <[email protected]>
  15483. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  15484. draw the connecting node lines (when ShowLines is true).
  15485. * TreeNode.cs: The nodes index can now be updated. This is used
  15486. when a node collection is sorted.
  15487. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  15488. insert or an existing unsorted node collection can be sorted.
  15489. 2005-01-12 Peter Bartok <[email protected]>
  15490. * ContainerControl.cs: Implemented ProcessDialogKeys()
  15491. 2005-01-12 Peter Bartok <[email protected]>
  15492. * Control.cs:
  15493. - Implemented SelectNextControl() method
  15494. - Several focus related bug fixes
  15495. - Fixed Docking calculations to match MS documentation and
  15496. behaviour
  15497. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  15498. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  15499. bug fixes
  15500. 2005-01-12 Peter Bartok <[email protected]>
  15501. * Control.cs:
  15502. - Fixed broken Contains() method
  15503. - Implemented GetNextControl() method. Finally. This is the pre-
  15504. requisite for focus handling.
  15505. 2005-01-12 Peter Bartok <[email protected]>
  15506. * OSXStrucs.cs: Added
  15507. 2005-01-12 Peter Bartok <[email protected]>
  15508. * XplatUIWin32.cs:
  15509. - Removed PeekMessageFlags
  15510. - Implemented SetWindowStyle() method
  15511. * XplatUIStructs.cs: Added PeekMessageFlags
  15512. * X11Structs: Added missing border_width field to XWindowChanges struct
  15513. * XplatUIX11.cs:
  15514. - PeekMessage: Now throws exception if flags which are not yet
  15515. supported are passed
  15516. - Implemented SetWindowStyle() method
  15517. - Fixed SetZOrder to handle AfterHwnd properly
  15518. * XplatUI.cs: Added SetWindowStyle() method
  15519. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  15520. * Control.cs:
  15521. - Implemented UpdateStyles() method
  15522. - Implemented UpdateZOrder() method
  15523. * XplatUIOSX.cs: Added SetWindowStyle() stub
  15524. 2005-01-12 Geoff Norton <[email protected]>
  15525. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  15526. button mouse).
  15527. 2005-01-11 Jackson Harper <[email protected]>
  15528. * TreeView.cs: Still need to draw lines to siblings even if out of
  15529. the current node is out of the clip.
  15530. 2005-01-11 Jackson Harper <[email protected]>
  15531. * TreeView.cs: When setting the hbar/vbar/grip position use
  15532. SetBounds so that perform layout is only called once. Also suspend
  15533. and resume layout so layout is only done once for all controls.
  15534. - Removed some debug fluff
  15535. * SizeGrip.cs: Call base implmentation in overriding methods.
  15536. - When visibility is changed the drawing buffers are killed so we
  15537. need to redraw.
  15538. 2005-01-11 Jackson Harper <[email protected]>
  15539. * TreeView.cs: Calculate the open node count while drawing. This
  15540. saves us an entire tree traversal for every paint operation. Use
  15541. a member var for the open node count so less vars are passed around.
  15542. 2005-01-11 John BouAntoun <[email protected]>
  15543. * MonthCalendar.cs:
  15544. - fixed selection to use mousemove, not mouse polling on timer
  15545. * ThemeWin32Classic.cs
  15546. - removed redundant unused variable "no_more_content"
  15547. 2005-01-11 Peter Bartok <[email protected]>
  15548. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  15549. are pending, so it now calls PeekMessage instead of GetMessage;
  15550. implemented a incomplete version of PeekMessage
  15551. 2005-01-11 Peter Bartok <[email protected]>
  15552. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  15553. I18n issues
  15554. * TextBoxBase.cs: Added sending of TextChanged event
  15555. 2005-01-10 Jackson Harper <[email protected]>
  15556. * TreeView.cs: Try not to draw outside the clipping rectangle on
  15557. each node element.
  15558. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  15559. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  15560. 2005-01-10 Jackson Harper <[email protected]>
  15561. * TreeView.cs:
  15562. - Implement fast scrolling. Now only the newly
  15563. exposed nodes are drawn and the old image is moved using the
  15564. XplatUI::ScrollWindow method.
  15565. - Factor in height of nodes when calculating whether or not the
  15566. node is in the clipping rect.
  15567. 2005-01-10 Jackson Harper <[email protected]>
  15568. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  15569. 2005-01-10 Peter Bartok <[email protected]>
  15570. * Application.cs: Added temporary hack to resolve all our resize
  15571. required issues on startup. This will get fixed properly at
  15572. some point in the future
  15573. 2005-01-10 Jackson Harper <[email protected]>
  15574. * SizeGrip.cs: New internal class that is used as a sizing
  15575. grip control...hence the name.
  15576. 2005-01-10 Peter Bartok <[email protected]>
  15577. * Control.cs: Implemented proper TabIndex handling, now assigning
  15578. a tabindex when a control is added to a container
  15579. * GroupBox.cs (ctor): Now sets the Container style bit, required
  15580. for Control.GetNextControl()
  15581. 2005-01-09 Jackson Harper <[email protected]>
  15582. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  15583. 2005-01-09 Peter Bartok <[email protected]>
  15584. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15585. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  15586. an overload for ScrollWindow to allow only scrolling a rectangle
  15587. 2005-01-09 Peter Bartok <[email protected]>
  15588. * Form.cs:
  15589. - Implemented SetDesktopBounds method
  15590. - Implemented SetDesktopLocation method
  15591. 2005-01-08 Jackson Harper <[email protected]>
  15592. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  15593. the node count has changed, this removes to VScroll::Refresh calls
  15594. when drawing.
  15595. 2005-01-08 Geoff Norton <[email protected]>
  15596. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  15597. 2005-01-07 Jackson Harper <[email protected]>
  15598. * TreeNode.cs: Just update the single node when it is
  15599. checked. Don't refresh after toggling, the Expand/Collapse already
  15600. handles this.
  15601. * TreeView.cs: Respect clipping a little more when drawing. Try
  15602. not to redraw things that don't need to be redrawn. Just hide the
  15603. scrollbars when they are no longer needed instead of removing
  15604. them, so they don't have to be created again and again.
  15605. 2005-01-07 Geoff Norton <[email protected]>
  15606. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  15607. coordinates to window space to place the caret properly, FIXED.
  15608. Implement GetWindowState & SetWindowState
  15609. 2005-01-06 Peter Bartok <[email protected]>
  15610. * Form.cs:
  15611. - Implemented ClientSize property
  15612. - Implemented DesktopBounds property
  15613. - Implemented DesktopLocation property
  15614. - Implemented IsRestrictedWindow property
  15615. - Implemented Size property
  15616. - Implemented TopLevel property
  15617. - Implemented FormWindowState property
  15618. * Control.cs:
  15619. - Implemented GetTopLevel() method
  15620. - Implemented SetTopLevel() method
  15621. * X11Structs.cs (Atom):
  15622. - Added AnyPropertyType definition
  15623. - Added MapState definiton and updated XWindowAttribute struct
  15624. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  15625. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  15626. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  15627. * XplatUIWin32.cs:
  15628. - Implemented GetWindowState() and SetWindowState() methods
  15629. - Fixed Win32GetWindowLong return type
  15630. * XplatUIX11.cs:
  15631. - Introduced central function for sending NET_WM messages
  15632. - Implemented GetWindowState() and SetWindowState() methods
  15633. * TextBoxBase.cs (set_Lines):
  15634. - Now uses Foreground color for text added via Text property (Duh!)
  15635. - Added code to remember programmatically requested size (fixes
  15636. behaviour when Multiline is set after Size)
  15637. - Added AutoSize logic
  15638. 2005-01-06 Jackson Harper <[email protected]>
  15639. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  15640. 2005-01-06 Jackson Harper <[email protected]>
  15641. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  15642. set to less then 0.
  15643. 2005-01-06 Jackson Harper <[email protected]>
  15644. * ScrollableControl.cs: Lazy init the scrollbars.
  15645. 2005-01-06 Jackson Harper <[email protected]>
  15646. * Theme.cs: Speed up getting pens and solid brushes, by using
  15647. their ARGB as a hash instead of tostring and not calling Contains.
  15648. 2005-01-06 Peter Bartok <[email protected]>
  15649. * Form.cs:
  15650. - Implemented OnActivated and OnDeactivate event trigger
  15651. - Implemented Activate() method
  15652. - Fixed ShowDialog() to activate the form that was active before
  15653. the dialog was shown
  15654. * XplatUIX11.cs:
  15655. - Added global active_window var that tracks the currently active
  15656. X11 window
  15657. - Now always grabs Property changes from the root window to always
  15658. catch changes on the active window property
  15659. - Added code to PropertyNotify handler to send Active/Inactive
  15660. messages when state changes. This puts X11 and Win32 en par on
  15661. WM_ACTIVATE notifications (except for double notifications when
  15662. the user clicks away from our modal window to another one of our
  15663. windows)
  15664. 2005-01-05 Jackson Harper <[email protected]>
  15665. * ImageList.cs: Implment ctor
  15666. 2005-01-05 Geoff Norton <[email protected]>
  15667. * XplatUIOSX.cs: Implement Activate/SetTopmost
  15668. 2005-01-05 Geoff Norton <[email protected]>
  15669. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  15670. 2005-01-05 Geoff Norton <[email protected]>
  15671. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  15672. 2005-01-05 Peter Bartok <[email protected]>
  15673. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  15674. XplatUIOSX.cs: Added GetActive method to return the currently
  15675. active window for the application (or null, if none is active)
  15676. * Form.cs:
  15677. - Implemented ActiveForm
  15678. - Commented out owner assignment for modal dialogs (causes problems
  15679. on Win32, since the owner will be disabled)
  15680. - Reworked some Active/Focus handling (still incomplete)
  15681. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  15682. (causes problems on Win32, since the owner will be disabled)
  15683. * IWin32Window: Added ComVisible attribute
  15684. 2005-01-05 Peter Bartok <[email protected]>
  15685. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  15686. required XplatUI functions.
  15687. 2005-01-05 Peter Bartok <[email protected]>
  15688. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  15689. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  15690. to implement focus and activation handling; still incomplete and
  15691. with debug output
  15692. 2005-01-04 Peter Bartok <[email protected]>
  15693. * TextBoxBase.cs: Changed access level for Document property to
  15694. match switch to internal for TextControl
  15695. 2005-01-04 Peter Bartok <[email protected]>
  15696. * AccessibleObject: Added ComVisible attribute
  15697. 2005-01-04 Jackson Harper <[email protected]>
  15698. * X11Keyboard.cs: Remove unneeded var.
  15699. 2005-01-04 Jackson Harper <[email protected]>
  15700. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  15701. but PAINT.
  15702. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  15703. ClientMessage. This makes apps exit cleanly (more often).
  15704. 2005-01-04 Jackson Harper <[email protected]>
  15705. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  15706. handling focus, return correct colors and fonts,
  15707. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  15708. handle selection, horizontal scrolling, and mouse interaction.
  15709. 2005-01-04 Peter Bartok <[email protected]>
  15710. * ICommandExecutor.cs: Added
  15711. * IDataGridColumnStyleEditingNotificationService.cs: Added
  15712. * IFeatureSupport.cs: Added
  15713. * IFileReaderService.cs: Added
  15714. * IDataObject.cs: Added ComVisible attribute
  15715. * AmbientProperties.cs: Added
  15716. * BaseCollection.cs: Added missing attributes
  15717. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  15718. * BaseCollection.cs: Added missing attributes
  15719. * Binding.cs: Added TypeConverter attribute
  15720. * BindingContext.cs: Added DefaultEvent attribute
  15721. * BindingsCollection.cs: Added DefaultEvent attribute
  15722. * Button.cs: Added DefaultValue attribute
  15723. * DragEventArgs.cs: Added ComVisible attribute
  15724. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  15725. * KeyEventArgs.cs: Added ComVisible attribute
  15726. * KeyPressEventArgs.cs: Added ComVisible attribute
  15727. * MouseEventArgs.cs: Added ComVisible attribute
  15728. * NavigateEventArgs.cs: Added
  15729. * NavigateEventHandler.cs: Added
  15730. * FeatureSupport.cs: Added
  15731. * OSFeature.cs: Added
  15732. * Theme.cs: Added abstract Version property to support OSFeature
  15733. * ThemeWin32Classic.cs: Added Version property to
  15734. support OSFeature.Themes
  15735. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  15736. the proper styles to avoid background drawing are set, also doesn't
  15737. match MS signature
  15738. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  15739. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  15740. * ScrollEventArgs.cs: Added ComVisible attribute
  15741. * SplitterEventArgs.cs: Added ComVisible attribute
  15742. * AccessibleSelection.cs: Added Flags attribute
  15743. * Appearance.cs: Added ComVisible attribute
  15744. * Border3DSide.cs: Added ComVisible attribute
  15745. * Border3DStyle.cs: Added ComVisible attribute
  15746. * BorderStyle.cs: Added ComVisible attribute
  15747. * DragAction.cs: Added ComVisible attribute
  15748. * ErrorBlinkStyle.cs: Added
  15749. * ScrollEventType.cs: Added ComVisible attribute
  15750. * AnchorStyles.cs: Added Editor attribute
  15751. * DockStyle.cs: Added Editor attribute
  15752. * HorizontalAlignment.cs: Added ComVisible attribute
  15753. * HelpEventArgs.cs: Added ComVisible attribute
  15754. * PaintEventArgs.cs: Added IDisposable
  15755. 2005-01-04 Peter Bartok <[email protected]>
  15756. * TextControl.cs: Switched Line, LineTag and Document classes to
  15757. internal
  15758. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  15759. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  15760. Simple mode, fixes, IntegralHeight, etc.
  15761. 2005-01-04 Peter Bartok <[email protected]>
  15762. * TextBoxBase.cs: Using proper font variable now
  15763. 2005-01-04 Peter Bartok <[email protected]>
  15764. * Form.cs (ShowDialog): Set parent to owner, if provided
  15765. * GroupBox.cs: Removed unused vars
  15766. * TextControl.cs:
  15767. - Added GetHashCode() for Document and LineTag classes
  15768. - Removed unused variables
  15769. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  15770. to allow translation between continuous char position and line/pos
  15771. * CheckBox.cs: Removed vars that are provided by base class
  15772. * RadioButton.cs: Removed vars that are provided by base class, added
  15773. new keyword where required
  15774. * LinkLabel.cs: Added new keyword where required
  15775. * Control.cs (WndProc): Removed unused variable
  15776. * TextBoxBase.cs:
  15777. - Finished SelectionLength property
  15778. - Implemented SelectionStart property
  15779. - Implemented Text property
  15780. - Removed unused vars
  15781. * MessageBox.cs: Added new keyword where required
  15782. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  15783. WndProc signature
  15784. * MenuAPI.cs: Added new keyword where required
  15785. * ButtonBase.cs: Removed vars that are provided by base class, added
  15786. new keyword where required
  15787. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  15788. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  15789. into this)
  15790. * Application.cs (Run): Now triggers the ThreadExit event
  15791. * CommonDialog.cs: Added new keyword where required; now properly sets
  15792. parent (owner) for dialog
  15793. * XplatUIX11.cs: Commented out unused vars
  15794. * StatusBar.cs: Fixed signature for Text property
  15795. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  15796. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  15797. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  15798. TrackBar.cs, MonthCalendar.cs: remove unused vars
  15799. 2005-01-03 Jackson Harper <[email protected]>
  15800. * ThemeWin32Classic.cs:
  15801. * X11Keyboard.cs: Remove unused vars.
  15802. 2005-01-03 Peter Bartok <[email protected]>
  15803. * TextBox.cs:
  15804. - set_Text: Tied into TextControl
  15805. - set_TextAlignment: Tied into TextControl
  15806. * TextControl.cs:
  15807. - Added alignment properties and implemented alignment handling
  15808. and drawing (still has a bug, not generating proper expose events)
  15809. - Added new Line() constructor to allow passing the line alignment
  15810. - Fixed selection setting, properly handling end<start now
  15811. - Added aligment considerations to RecalculateDocument()
  15812. * TextBoxBase.cs:
  15813. - Now properly enforces control height for single line controls
  15814. - Added support for CharacterCasing
  15815. - Added IsInputKey override
  15816. - Fixed Keys.Enter logic
  15817. - Added SetBoundsCore override
  15818. - Fixed mouse selection handling
  15819. 2005-01-03 Jackson Harper <[email protected]>
  15820. * TreeView.cs:
  15821. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  15822. - Checkboxes are always aligned to the bottom of the node,
  15823. regardless of item height.
  15824. - Use the node bounds to draw the text so we can center it when
  15825. the item height is greater then the font height.
  15826. - Node::Bounds are only the text part of the node.
  15827. * TreeNode.cs: New method to combine collapsing and unchecking all
  15828. nodes recursively.
  15829. 2005-01-02 Jackson Harper <[email protected]>
  15830. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  15831. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  15832. tree when a check is changed. TODO: Only refresh the checked node.
  15833. 2004-12-30 Jackson Harper <[email protected]>
  15834. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  15835. * TreeNode.cs: When collapsing make sure to never collapse the
  15836. root node.
  15837. 2004-12-29 Jackson Harper <[email protected]>
  15838. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  15839. 2004-12-28 Zoltan Varga <[email protected]>
  15840. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  15841. 2004-12-28 Peter Bartok <[email protected]>
  15842. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  15843. not yet assigned
  15844. 2004-12-28 Peter Bartok <[email protected]>
  15845. * Control.cs (WndProc): Added WM_HELP handler, now generates
  15846. HelpRequested event
  15847. * Form.cs: Added HelpButton property and required support code
  15848. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  15849. 2004-12-28 Peter Bartok <[email protected]>
  15850. * CommonDialog.cs:
  15851. - Made DialogForm.owner variable internal
  15852. - Added check to ensure owner form is set before setting
  15853. owner properties in CreateParams
  15854. 2004-12-28 Geoff Norton <[email protected]>
  15855. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  15856. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  15857. GetCursorPos. Fix major visibility issues. Rework the windowing
  15858. system to support borderless/titleless windows (implements menus).
  15859. Fix GetWindowPos. Implement initial background color support for
  15860. views.
  15861. 2004-12-28 Peter Bartok <[email protected]>
  15862. * Form.cs (get_CreateParams): Make sure we have an owner before using
  15863. the owner variable. Implement proper default if no owner exists
  15864. 2004-12-28 Peter Bartok <[email protected]>
  15865. * In preparation for making Managed.Windows.Forms the default build target
  15866. for System.Windows.Forms, the following stubbed files were added.
  15867. Dialogs are currently being implemented by contributors and are only
  15868. short-term place holders.
  15869. * ColorDialog.cs: Initial check-in (minmal stub)
  15870. * DataGrid.cs: Initial check-in (minimal stub)
  15871. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  15872. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  15873. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  15874. * FontDialog.cs: Initial check-in (minimal stub)
  15875. * FileDialog.cs: Initial check-in (minimal stub)
  15876. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  15877. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  15878. * OpenFileDialog: Initial check-in (minimal stub)
  15879. * IComponentEditorPageSite.cs: Initial check-in
  15880. * Splitter.cs: Initial check-in (for Jackson)
  15881. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  15882. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  15883. * TextBox.cs: Initial check-in; still needs some wiring to
  15884. TextControl backend
  15885. * Form.cs: Implemented ControlBox property
  15886. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  15887. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  15888. * TextControl.cs: Added selection functionality; added todo header
  15889. * TextBoxBase.cs:
  15890. - Implemented Lines property
  15891. - Implemented TextHeight property
  15892. - Implemented SelectedText property
  15893. - Implemented SelectionLength property
  15894. - Implemented SelectAll method
  15895. - Implemented ToString method
  15896. - Removed and cleaned up some debug code
  15897. - Implemented (still buggy) mouse text selection
  15898. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  15899. * ComboBox.cs: Complete DropDownList implementation, fixes.
  15900. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  15901. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  15902. * ComboBoxStyle.cs: ComboBoxStyle enum
  15903. * ComboBox.cs: Initial work on ComboBox control
  15904. 2004-12-21 Peter Bartok <[email protected]>
  15905. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  15906. forward so that anything that creates a window gets the default,
  15907. also no longer uses Visible property in CreateParams to avoid
  15908. walking up the parent chain and possibly get the wrong visible
  15909. status. Fixed IsVisible to no longer walk up to the parent.
  15910. 2004-12-21 Peter Bartok <[email protected]>
  15911. * Form.cs (ShowDialog): Unset modality for the proper window
  15912. 2004-12-20 Peter Bartok <[email protected]>
  15913. * CommonDialog.cs: Initial check-in
  15914. 2004-12-20 Peter Bartok <[email protected]>
  15915. * Control.cs (Visible): Now uses the parent window instead of the
  15916. client area window for the property
  15917. * Form.cs
  15918. - ShowDialog(): Now uses the proper window for modality
  15919. - The default visibility state for the form parent is now false. This
  15920. will prevent the user from seeing all the changes to the form and
  15921. its controls before the application hits Application.Run()
  15922. - Removed some stale commented out code
  15923. * NativeWindow.cs:
  15924. - Added FindWindow() method to have a method to check for existence
  15925. of a window handle
  15926. - Added ability to override default exception handling (for example
  15927. when debugging with VS.Net; to do this the ExternalExceptionHandler
  15928. define must be set
  15929. - Removed some useless debug output
  15930. * XplatUIX11.cs:
  15931. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  15932. not working as expected
  15933. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  15934. property to allow switching back to the modal window if focus is
  15935. given to another one of our windows (Application Modal)
  15936. - Now only sets override_redirect if we create a window
  15937. without WS_CAPTION
  15938. - Moved EventMask selection before mapping of newly created window
  15939. so we can catch the map event as well
  15940. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  15941. - Added various Atom related DllImports
  15942. - Implemented Exit() method
  15943. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  15944. in the CreateParams
  15945. * MessageBox.cs: Now properly deals with the FormParent window by
  15946. providing an override the FormParent CreateParams property to
  15947. set as POPUP instead of OVERLAPPED window.
  15948. 2004-12-19 Geoff Norton <[email protected]>
  15949. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  15950. Minor code cleanup.
  15951. 2004-12-19 Geoff Norton <[email protected]>
  15952. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  15953. 2004-12-18 Peter Bartok <[email protected]>
  15954. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  15955. implementing SetModal() method
  15956. 2004-12-18 Peter Bartok <[email protected]>
  15957. * X11Structs.cs (XGCValues): Fixed type of function element
  15958. * XplatUI.cs: Added ScrollWindow() method
  15959. * XplatUIDriver.cs: Added ScrollWindow() abstract
  15960. * XplatUIWin32.cs: Implemented ScrollWindow() method
  15961. * XplatUIX11.cs: Implemented ScrollWindow() method
  15962. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  15963. 2004-12-17 Geoff Norton <[email protected]>
  15964. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  15965. Some more keyboard support (INCOMPLETE)
  15966. 2004-12-17 Peter Bartok <[email protected]>
  15967. * TextControl.cs:
  15968. - Added color attribute to line tags.
  15969. - Added color argument to all functions dealing with tags
  15970. - Added color argument support to various functions
  15971. - Fixed miss-calculation of baseline/shift in certain circumstances
  15972. * TextBoxBase.cs: Added new color option to test code
  15973. 2004-12-17 Jackson Harper <[email protected]>
  15974. * TreeNode.cs:
  15975. * MonthCalendar.cs: Signature fixes
  15976. 2004-12-17 Geoff Norton <[email protected]>
  15977. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  15978. keyboard event moved it. Create a new graphics context for each paint resolves this
  15979. 2004-12-17 Geoff Norton <[email protected]>
  15980. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  15981. Make caret exist and go blink blink. Initial keyboard support.
  15982. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  15983. works.
  15984. 2004-12-17 Jackson Harper <[email protected]>
  15985. * XplatUIStructs.cs: Updated set of virtual keycodes.
  15986. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  15987. 2004-12-17 Jackson Harper <[email protected]>
  15988. * XplatUIX11.cs: Prune old keyboard code.
  15989. 2004-12-17 Jackson Harper <[email protected]>
  15990. * XplatUIX11.cs: When generating mouse wparams get the modifier
  15991. keys from the ModifierKeys property.
  15992. 2004-12-17 Jackson Harper <[email protected]>
  15993. * X11Keyboard.cs: Send up/down input when generating
  15994. messages. Remove some unused vars.
  15995. 2004-12-17 Jackson Harper <[email protected]>
  15996. * TabControl.cs:
  15997. * TreeView.cs: get rid of warnings.
  15998. 2004-12-17 Jackson Harper <[email protected]>
  15999. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  16000. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  16001. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  16002. CheckedListBox.cs: Implementation
  16003. 2004-12-17 Peter Bartok <[email protected]>
  16004. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  16005. 2004-12-16 Peter Bartok <[email protected]>
  16006. * TextControl.cs:
  16007. - InsertCharAtCaret(): Fixed start pos fixup
  16008. - CaretLine_get: No longer derives the line from the tag, the tag
  16009. could be stale if lines in the document have been added or deleted
  16010. - RebalanceAfterDelete(): Fixed bug in balancing code
  16011. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  16012. - Line.Streamline(): Now can also elminate leading empty tags
  16013. - DumpTree(): Added a few more tests and prevented exception on
  16014. uninitialized data
  16015. - Added Debug section for Combining lines
  16016. - Delete(): Now copies all remaining properties of a line
  16017. * TextBoxBase.cs:
  16018. - Left mousebutton now sets the caret (and middle button still acts
  16019. as formatting tester, which must go away soon)
  16020. - Added Debug section for Deleting/Combining lines
  16021. - Fixed calculations for UpdateView after Combining lines
  16022. 2004-12-16 Peter Bartok <[email protected]>
  16023. * TextControl.cs: Now properly aligns text on a baseline, using the
  16024. new XplatUI.GetFontMetrics() method. Simplified several calculations
  16025. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  16026. defined
  16027. 2004-12-16 Peter Bartok <[email protected]>
  16028. * XplatUI.cs: Added GetFontMetrics() method
  16029. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  16030. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  16031. into libgdiplus, our private GetFontMetrics function
  16032. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  16033. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  16034. 2004-12-16 Jackson Harper <[email protected]>
  16035. * XplatUIStruct.cs: Add enum for dead keys
  16036. * X11Keyboard.cs: Map and unmap dead keys.
  16037. 2004-12-16 Jackson Harper <[email protected]>
  16038. * X11Keyboard.cs: Detect and use the num lock mask.
  16039. 2004-12-16 Peter Bartok <[email protected]>
  16040. * Control.cs (CreateGraphics): Added check to make sure the
  16041. handle of the window exists before calling Graphics.FromHwnd()
  16042. 2004-12-16 Peter Bartok <[email protected]>
  16043. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  16044. contains a lot of code that's not supposed to be there for the
  16045. real thing, but required for developing/testing the textbox
  16046. backend.
  16047. 2004-12-16 Peter Bartok <[email protected]>
  16048. * TextControl.cs:
  16049. - Fixed Streamline method
  16050. - Added FindTag method to Line
  16051. - Added DumpTree method for debugging
  16052. - Added DecrementLines() method for deleting lines
  16053. - Fixed UpdateView to update the cursor to end-of-line on single-line
  16054. updates
  16055. - Added PositionCaret() method
  16056. - Fixed MoveCaret(LineDown) to move into the last line, too
  16057. - Added InsertChar overload
  16058. - Fixed InsertChar tag offset calculations
  16059. - Added DeleteChar() method
  16060. - Added Combine() method for folding lines
  16061. - Fixed Delete() method, no longer allocates wasted Line object and
  16062. now copies all properties when swapping nodes
  16063. - Delete() method now updates document line counter
  16064. 2004-12-15 Jackson Harper <[email protected]>
  16065. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  16066. * X11Keyboard.cs: Expose the currently selected modifier keys
  16067. through a property.
  16068. 2004-12-15 Peter Bartok <[email protected]>
  16069. * TextControl.cs: Initial check-in. Still incomplete
  16070. 2004-12-15 Jackson Harper <[email protected]>
  16071. * TreeNode.cs:
  16072. * TreeView.cs: Fix build on csc (second time today ;-))
  16073. 2004-12-15 Jackson Harper <[email protected]>
  16074. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  16075. is calculated and use this for click testing.
  16076. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  16077. 2004-12-15 Jackson Harper <[email protected]>
  16078. * TreeView.cs: Pass the nodes image index to the image list when
  16079. drawing that image.
  16080. 2004-12-15 Jackson Harper <[email protected]>
  16081. * X11Keyboard.cs: Set messages hwnd.
  16082. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  16083. post_message calls.
  16084. 2004-12-15 Jackson Harper <[email protected]>
  16085. * X11Keyboard.cs: Fix to compile with csc.
  16086. 2004-12-15 Jackson Harper <[email protected]>
  16087. * X11Structs.cs: Add key mask values
  16088. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  16089. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  16090. down/up foo into WM_CHAR foo
  16091. * KeyboardLayouts.cs: Common keyboard layouts
  16092. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  16093. post messages into the main queue.
  16094. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  16095. * Button.cs: implement ProcessMnemonic
  16096. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  16097. brushes everytime
  16098. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  16099. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  16100. 2004-12-12 John BouAntoun <[email protected]>
  16101. * MonthCalendar.cs: Implemented click-hold for next/previous month
  16102. and date selection
  16103. 2004-12-11 Peter Bartok <[email protected]>
  16104. * X11Structs.cs:
  16105. - Added XKeyboardState (moved from XplatUIX11.cs)
  16106. - Added XCreateGC related enums and structures
  16107. - Added GXFunction for XSetFunction
  16108. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  16109. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  16110. CaretVisible() calls
  16111. * ToolTip.cs: Added code to prevent stealing focus from app windows
  16112. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  16113. DestroyCaret, SetCaretPos and CaretVisible)
  16114. * XplatUIX11.cs:
  16115. - Added implementation for caret functions
  16116. - Moved hover variables into a struct, to make it a bit easier
  16117. on the eyes and to debug
  16118. - Removed XKeyboardState (moved to XplatUIX11.cs)
  16119. - Moved Keyboard properties into the properties region
  16120. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  16121. call to get a graphics context for our control
  16122. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  16123. * TreeView.cs: Fixed bug. No matter what color was set it would always
  16124. return SystemColors.Window
  16125. * XplatUIWin32.cs: Implemented caret overrides
  16126. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  16127. * ListBox.cs: fire events, implement missing methods and properties,
  16128. sorting.
  16129. 2004-12-10 John BouAntoun <[email protected]>
  16130. * MonthCalendar.cs: invalidation bug fixing
  16131. * ThemeWin32Classic.cs: paint fixing
  16132. 2004-12-09 Geoff Norton <[email protected]>
  16133. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  16134. prepare the CGContextRef there now.
  16135. 2004-12-09 John BouAntoun <[email protected]>
  16136. * MonthCalendar.cs:
  16137. - optimisationL only invalidate areas that have changed
  16138. * ThemeWin32Classic.cs:
  16139. - only paint parts that intersect with clip_area
  16140. 2004-12-09 Peter Bartok <[email protected]>
  16141. * Application.cs: Undid changes from r37004 which cause problems
  16142. on X11
  16143. 2004-12-09 Ravindra <[email protected]>
  16144. * ToolBar.cs: Added support for displaying ContextMenu
  16145. attached to a button on ToolBar.
  16146. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  16147. property.
  16148. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  16149. * Label.cs: autosize works in text change and removes unnecessary
  16150. invalidate
  16151. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  16152. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  16153. remove warnings
  16154. 2004-12-08 Geoff Norton <[email protected]>
  16155. * XplatUIOSX.cs: Added mouse move/click/grab support
  16156. Remove some debugging WriteLines not needed anymore.
  16157. Add window resizing/positioning.
  16158. Fix visibility on reparenting.
  16159. 2004-12-08 Peter Bartok <[email protected]>
  16160. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  16161. 2004-12-07 Geoff Norton <[email protected]>
  16162. * XplatUIOSX.cs: Initial checkin
  16163. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  16164. 2004-12-03 Ravindra <[email protected]>
  16165. * ListView.cs: Added some keybindings and fixed scrolling.
  16166. ScrollBars listen to ValueChanged event instead of Scroll
  16167. Event. This would let us take care of all changes being
  16168. done in the scrollbars' values programmatically or manually.
  16169. * ListView.cs (CanMultiselect): Added a check for shift key.
  16170. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  16171. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  16172. of ListViewSubItemCollection as well.
  16173. 2004-12-06 Peter Bartok <[email protected]>
  16174. * Control.cs (Parent): Added check and exception to prevent
  16175. circular parenting
  16176. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  16177. * ListBox.cs: implemented clipping, selection single and multiple,
  16178. bug fixing
  16179. 2004-12-03 Ravindra <[email protected]>
  16180. * ListView.cs (ListView_KeyDown):
  16181. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  16182. when CTRL key is pressed.
  16183. * ListViewItem.cs (Selected): Fixed setting the property.
  16184. 2004-12-03 Marek Safar <[email protected]>
  16185. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  16186. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  16187. MinimizeBox, ShowInTaskbar, TopMost properties.
  16188. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  16189. will be implemented).
  16190. 2004-12-03 Marek Safar <[email protected]>
  16191. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  16192. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  16193. tests.
  16194. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  16195. * TreeView.cs: BackColor is Colors.Window.
  16196. 2004-12-01 Jackson Harper <[email protected]>
  16197. * TreeView.cs: When resizing the tree if the user is making it
  16198. smaller we don't get expose events, so we need to handle adding
  16199. the horizontal scrollbar in the size changed handler as well as
  16200. the expose handler.
  16201. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  16202. * DrawItemState.cs: fixes wrong enum values
  16203. 2004-12-01 Jackson Harper <[email protected]>
  16204. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  16205. 2004-12-01 Jackson Harper <[email protected]>
  16206. * NodeLabelEditEventArgs.cs:
  16207. * NodeLabelEditEventHandler.cs:
  16208. * OpenTreeNodeEnumerator.cs:
  16209. * TreeNode.cs:
  16210. * TreeNodeCollection.cs:
  16211. * TreeView.cs:
  16212. * TreeViewAction.cs:
  16213. * TreeViewCancelEventArgs.cs:
  16214. * TreeViewCancelEventHandler.cs:
  16215. * TreeViewEventArgs.cs:
  16216. * TreeViewEventHandler.cs: Initial implementation.
  16217. 2004-12-01 Ravindra <[email protected]>
  16218. * ListView.cs (CalculateListView): Fixed scrolling related
  16219. calculations. Also, removed some debug statements from other
  16220. places.
  16221. * ListViewItem.cs: Changed access to 'selected' instance variable
  16222. from private to internal.
  16223. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  16224. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  16225. * ThemeWin32Classic.cs: remove cache of brush and pens for
  16226. specific controls and use the global system, fixes scrollbutton
  16227. bugs (for small sizes, disabled, etc)
  16228. * ScrollBar.cs: does not show the thumb for very small controls
  16229. (as MS) and allow smaller buttons that the regular size
  16230. 2004-12-01 Miguel de Icaza <[email protected]>
  16231. * UpDownBase.cs: Add abstract methods for the interface.
  16232. Add new virtual methods (need to be hooked up to TextEntry when it
  16233. exists).
  16234. Add override methods for most features.
  16235. Computes the size, forces the height of the text entry.
  16236. * NumericUpDown.cs: Put here the current testing code.
  16237. * Set eol-style property on all files that do not have mixed line
  16238. endings, to minimize the future problems. There are still a few
  16239. files with mixed endings, and someone should choose whether they
  16240. want to move it or not.
  16241. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  16242. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  16243. System.Colors
  16244. 2004-11-30 Ravindra <[email protected]>
  16245. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  16246. drawing and replaced use of SystemColors by theme colors.
  16247. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  16248. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  16249. same ListViewItem is being added more than once.
  16250. 2004-11-30 John BouAntoun <[email protected]>
  16251. * MonthCalendar.cs:
  16252. - ControlStyles love to make the control not flicker
  16253. 2004-11-30 Peter Bartok <[email protected]>
  16254. * CharacterCasing.cs: Added
  16255. 2004-11-29 Peter Bartok <[email protected]>
  16256. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  16257. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  16258. I am removing these files as they conflict with already completed
  16259. work. While it is fantastic to get contributions to MWF, I
  16260. respectfully ask that everyone please coordinate their contributions
  16261. through mono-winforms-list or #mono-winforms at this time. We're
  16262. explicitly avoiding stubbing and don't want controls that don't have
  16263. their basic functionality implemented in svn. Please also see
  16264. http://www.mono-project.com/contributing/winforms.html
  16265. 2004-11-29 Marek Safar <[email protected]>
  16266. * Application.cs (ModalRun): Don't hang after exit.
  16267. * Theme.cs: New TreeViewDefaultSize property.
  16268. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  16269. with less hardcoded SystemColors constant.
  16270. Implemented TreeViewDefaultSize.
  16271. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  16272. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  16273. 2004-11-29 John BouAntoun <[email protected]>
  16274. * MonthCalendar.cs:
  16275. - Fix NextMonthDate and PrevMonthDate click moving calendar
  16276. 2004-11-26 John BouAntoun <[email protected]>
  16277. * MonthCalendar.cs:
  16278. - Fix usage of ScrollChange Property when scrolling months
  16279. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  16280. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  16281. - Fixes menu destroying
  16282. - Support adding and removing items on already created menus
  16283. 2004-11-26 John BouAntoun <[email protected]>
  16284. * MonthCalendar.cs:
  16285. - Re-worked all bolded dates handling to match win32
  16286. * ThemeWin32Classic.cs:
  16287. - Fixed rendering with bolded dates
  16288. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  16289. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  16290. - Horizontal scroolbar
  16291. - Multicolumn
  16292. - Fixes
  16293. 2004-11-25 John BouAntoun <[email protected]>
  16294. * MonthCalendar.cs:
  16295. - Fix Usage of MaxSelectionCount from SelectionRange
  16296. - Fixed Shift + Cursor Selection
  16297. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  16298. - Fixed normal cursor selection to be compat with win32
  16299. - Fixed Shift + Mouse Click selection
  16300. 2004-11-24 Peter Bartok <[email protected]>
  16301. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  16302. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  16303. * XplatUIX11.cs:
  16304. - CreatedKeyBoardMsg now updates keystate with Alt key
  16305. - Added workaround for timer crash to CheckTimers, Jackson will
  16306. develop a proper fix and check in later
  16307. - Implemented DispatchMessage
  16308. - Removed calling the native window proc from GetMessage (call
  16309. now moved to DispatchMessage)
  16310. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  16311. the keydata (Fixes bug #69831)
  16312. * XplatUIWin32.cs:
  16313. - (DispatchMessage): Switched to return IntPtr
  16314. - Added DllImport for SetFocus
  16315. 2004-11-24 Ravindra <[email protected]>
  16316. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  16317. background drawing.
  16318. * ListViewItem.cs: Fixed various properties, calculations
  16319. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  16320. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  16321. and some internal properties. Fixed MouseDown handler and Paint
  16322. method.
  16323. 2004-11-24 John BouAntoun <[email protected]>
  16324. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  16325. 2004-11-24 John BouAntoun <[email protected]>
  16326. * ContainerControl.cs: correct accidental check in of local changes
  16327. 2004-11-24 John BouAntoun <[email protected]>
  16328. * ThemeWin32Classic.cs:
  16329. - Fixed Drawing Last month in grid (sometimes not showing)
  16330. * MonthCalendar.cs:
  16331. - Fixed title width calculation bug (makeing title small)
  16332. 2004-11-23 Peter Bartok <[email protected]>
  16333. * XplatUIX11.cs:
  16334. - Added generation of WM_MOUSEHOVER event
  16335. - Added missing assignment of async_method atom
  16336. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  16337. 2004-11-23 John BouAntoun <[email protected]>
  16338. * ThemeWin32Classic.cs:
  16339. - Fixed Drawing of today circle when showtodaycircle not set
  16340. - fixed drawing of first and last month in the grid (gay dates)
  16341. * MonthCalendar.cs:
  16342. - Fixed Drawing of today circle
  16343. - Fixed drawing of grady dates
  16344. - Fixed HitTest for today link when ShowToday set to false
  16345. - Fixed DefaultSize to obey ShowToday
  16346. 2004-11-23 John BouAntoun <[email protected]>
  16347. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  16348. * System.Windows.Forms/Theme.cs
  16349. * MonthCalendar.cs: added for MonthCalendar
  16350. * SelectionRange.cs: added for MonthCalendar
  16351. * Day.cs: added for MonthCalendar: added for MonthCalendar
  16352. * DateRangeEventArgs.cs: added for MonthCalendar
  16353. * DateRangeEventHandler.cs: added for MonthCalendar
  16354. 2004-11-22 Ravindra <[email protected]>
  16355. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  16356. property.
  16357. 2004-11-22 Miguel de Icaza <[email protected]>
  16358. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  16359. event handler.
  16360. * NumericUpDown.cs: Added new implementation.
  16361. * UpDownBase.cs: Added new implementation.
  16362. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  16363. implementations.
  16364. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  16365. implementations.
  16366. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  16367. methods.
  16368. 2004-11-21 Miguel de Icaza <[email protected]>
  16369. * Timer.cs (Dispose): Should call the base dispose when
  16370. overriding.
  16371. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  16372. * ScrollBar.cs: updates thumb position when max, min or increment
  16373. is changed
  16374. 2004-11-21 Ravindra <[email protected]>
  16375. * ListView.cs: Implemented item selection, activation and
  16376. column header style. Fixed properties to do a redraw, if
  16377. required. Added support for MouseHover, DoubleClick, KeyDown
  16378. and KeyUp event handling and some minor fixes.
  16379. * ListViewItem.cs: Fixed constructor.
  16380. * ThemeWin32Classic.cs: Improved drawing for ListView.
  16381. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  16382. * ThemeWin32Classic.cs: initial listbox drawing code
  16383. * DrawMode.cs: new enumerator
  16384. * ListControl.cs: stubbed class
  16385. * ListBox.cs: initial implementation
  16386. * Theme.cs: new methods definitions
  16387. * SelectionMode.cs: new enumerator
  16388. 2004-11-17 Peter Bartok <[email protected]>
  16389. * XplatUIWin32.cs: Added double-click events to the class style
  16390. * Control.cs (WndProc):
  16391. - Added handling of click-count to MouseDown/ MouseUp events.
  16392. - Added handling of middle and right mouse buttons
  16393. - Removed old debug code
  16394. 2004-11-17 Jackson Harper <[email protected]>
  16395. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  16396. 2004-11-17 Ravindra <[email protected]>
  16397. * ListView.cs: Added event handling for MouseMove/Up/Down.
  16398. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  16399. * ThemeWin32Classic.cs: We need to clear the graphics context and
  16400. draw column header in a proper state.
  16401. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  16402. * Menu.cs: fixes signature
  16403. 2004-11-16 Peter Bartok <[email protected]>
  16404. * XplatUIX11.cs (GetMessage): Implemented generation of
  16405. double click mouse messages
  16406. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  16407. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  16408. not by menu
  16409. 2004-11-11 Peter Bartok <[email protected]>
  16410. * HandleData.cs: Added Visible property
  16411. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  16412. HandleData
  16413. * XplatUIX11.cs: Removed old debug leftovers
  16414. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  16415. * Control.cs (WndProc): Removed old debug leftovers,
  16416. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  16417. needed WM_SIZE handling
  16418. 2004-11-11 Jackson Harper <[email protected]>
  16419. * OwnerDrawPropertyBag.cs:
  16420. * TreeViewImageIndexConverter.cs: Initial implementation
  16421. 2004-11-10 Jackson Harper <[email protected]>
  16422. * ThemeWin32Classic.cs:
  16423. * TabControl.cs: instead of moving tabs by the slider pos just
  16424. start drawing at the tab that is offset by the slider. This way
  16425. scrolling always moves by exactly one tab.
  16426. 2004-11-10 Jackson Harper <[email protected]>
  16427. * TabControl.cs: You can only scroll left when the slider has
  16428. already ben moved right.
  16429. 2004-11-10 Jackson Harper <[email protected]>
  16430. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  16431. the clip area.
  16432. 2004-11-10 Jackson Harper <[email protected]>
  16433. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  16434. clip area.
  16435. 2004-11-09 Jackson Harper <[email protected]>
  16436. * TabControl.cs (CalcXPos): New helper method so we can determine
  16437. the proper place to start drawing vertical tabs.
  16438. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  16439. 2004-11-09 Jackson Harper <[email protected]>
  16440. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  16441. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  16442. and Bottom, left and right are illegal values for this and
  16443. multiline is enabled when the alignment is set to left or right.
  16444. (DrawTab): Each alignment block should draw the text itself now
  16445. because Left requires special love. Also add rendering for Left
  16446. aligned tabs.
  16447. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  16448. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  16449. does not destroy the windows, removes debugging messages
  16450. 2004-11-09 jba <[email protected]>
  16451. * ThemeWin32Classic.cs
  16452. (DrawButtonBase): Fix verticle text rect clipping in windows
  16453. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  16454. rendering and incorrect text rect clipping
  16455. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  16456. rendering and incorrect text rect clipping
  16457. 2004-11-08 Jackson Harper <[email protected]>
  16458. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  16459. bottom when they are bottom aligned so the bottoms of the tabs get
  16460. displayed.
  16461. * TabControl.cs (DropRow): Move rows up instead of down when the
  16462. tab control is bottom aligned.
  16463. 2004-11-08 13:59 pbartok
  16464. * XplatUIX11.cs:
  16465. - Added handling for various window styles
  16466. - Added handling for popup windows
  16467. - Added SetTopmost handling
  16468. 2004-11-08 13:55 pbartok
  16469. * XplatUIWin32.cs:
  16470. - Added argument to SetTopmost method
  16471. - Fixed broken ClientToScreen function
  16472. 2004-11-08 13:53 pbartok
  16473. * XplatUIStructs.cs:
  16474. - Added missing WS_EX styles
  16475. 2004-11-08 13:53 pbartok
  16476. * XplatUI.cs, XplatUIDriver.cs:
  16477. - Added argument to SetTopmost
  16478. 2004-11-08 13:52 pbartok
  16479. * X11Structs.cs:
  16480. - Added XSetWindowAttributes structure
  16481. - Improved XWindowAttributes structure
  16482. - Added SetWindowValuemask enum
  16483. - Added window creation arguments enum
  16484. - Added gravity enum
  16485. - Added Motif hints structure
  16486. - Added various Motif flags and enums
  16487. - Added PropertyMode enum for property functions
  16488. 2004-11-08 13:50 pbartok
  16489. * Form.cs:
  16490. - Fixed arguments for updated SetTopmost method
  16491. 2004-11-08 13:49 pbartok
  16492. * ToolTip.cs:
  16493. - Fixed arguments for updated SetTopmost function
  16494. - Fixed usage of PointToClient
  16495. 2004-11-08 13:44 pbartok
  16496. * MenuAPI.cs:
  16497. - Added Clipping of children and siblings
  16498. 2004-11-08 13:41 pbartok
  16499. * MainMenu.cs:
  16500. - Removed SetMenuBarWindow call. We do this in Form.cs
  16501. 2004-11-08 13:40 jackson
  16502. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  16503. scrolling jimmi in the correct location with bottom aligned tabs
  16504. 2004-11-08 13:36 pbartok
  16505. * ContainerControl.cs:
  16506. - Implemented BindingContext
  16507. - Implemented ParentForm
  16508. 2004-11-08 12:46 jackson
  16509. * TabControl.cs: Put bottom rendered tabs in the right location
  16510. 2004-11-08 07:15 jordi
  16511. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  16512. removes dead code
  16513. 2004-11-05 17:30 jackson
  16514. * TabControl.cs: When selected tabs are expanded make sure they
  16515. don't go beyond the edges of the tab control
  16516. 2004-11-05 14:57 jackson
  16517. * TabControl.cs: Reset show_slider so if the control is resized to
  16518. a size where it is no longer needed it's not displayed anymore
  16519. 2004-11-05 13:16 jackson
  16520. * TabControl.cs: Make tab pages non visible when added to the
  16521. control
  16522. 2004-11-05 12:42 jackson
  16523. * TabControl.cs: Implement SizeMode.FillToRight
  16524. 2004-11-05 12:16 jackson
  16525. * Control.cs: Do not call CreateHandle if the handle is already
  16526. created
  16527. 2004-11-05 11:46 jackson
  16528. * TabControl.cs: Remove superflous call to CalcTabRows
  16529. 2004-11-05 09:07 jackson
  16530. * XplatUIX11.cs: Update for Mono.Posix changes
  16531. 2004-11-05 07:00 ravindra
  16532. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  16533. scrolling.
  16534. 2004-11-04 22:47 jba
  16535. * ThemeWin32Classic.cs:
  16536. - Fix Button rendering for FlatStyle = Flat or Popup
  16537. - Fix RadioButton and CheckBox rendering when Appearance = Button
  16538. (normal and flatstyle).
  16539. - Correct outer rectangle color when drawing focus rectangle
  16540. - Adjust button bounds to be 1 px smaller when focused
  16541. - Make button not draw sunken 3d border when pushed (windows compat)
  16542. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  16543. - Offset the text in RadioButton and Checkbox when being rendered as
  16544. a button.
  16545. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  16546. radiobuttons
  16547. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  16548. - Fixed disabled text rendering for normally rendered radiobuttons
  16549. 2004-11-04 10:26 jackson
  16550. * TabControl.cs: Recalculate tab rows when resizing
  16551. 2004-11-04 07:47 jordi
  16552. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  16553. collection completion, drawing issues, missing features
  16554. 2004-11-04 05:03 ravindra
  16555. * ScrollBar.cs:
  16556. - We need to recalculate the Thumb area when
  16557. LargeChange/maximum/minimum values are changed.
  16558. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  16559. than minimum. This is required to handle the case if large_change is
  16560. more than max, and use LargeChange property instead of large_change
  16561. variable.
  16562. - We return max+1 when large_change is more than max, like MS does.
  16563. 2004-11-04 04:29 ravindra
  16564. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  16565. - Changed default value signatures (prefixed all with ListView).
  16566. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  16567. ListView.
  16568. - Fixed calculations for ListViewItem and implemented Clone()
  16569. method.
  16570. 2004-11-04 04:26 ravindra
  16571. * Theme.cs, ThemeWin32Classic.cs:
  16572. - Changed default ListView values signatures (prefixed all with
  16573. ListView).
  16574. - Fixed default size values for VScrollBar and HScrollBar.
  16575. - Fixed DrawListViewItem method.
  16576. 2004-11-04 04:05 ravindra
  16577. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  16578. 2004-11-04 04:04 ravindra
  16579. * ImageList.cs: Implemented the missing overload for Draw method.
  16580. 2004-11-03 19:29 jackson
  16581. * TabControl.cs: Handle dropping rows on selection properly
  16582. 2004-11-03 11:59 jackson
  16583. * TabControl.cs: remove debug code
  16584. 2004-11-03 11:52 jackson
  16585. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  16586. the scrolly widgerywoo
  16587. 2004-11-02 13:52 jackson
  16588. * TabControl.cs: Resize the tab pages and tabs when the tab control
  16589. is resized
  16590. 2004-11-02 13:40 jackson
  16591. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  16592. selected tab to the bottom
  16593. 2004-11-02 13:39 jackson
  16594. * TabPage.cs: Store the tab pages row
  16595. 2004-11-02 12:33 jordi
  16596. * MenuItem.cs: fixes handle creation
  16597. 2004-11-02 11:42 jackson
  16598. * TabControl.cs: signature fix
  16599. 2004-11-02 08:56 jackson
  16600. * TabControl.cs: Calculate whether the tab is on an edge properly.
  16601. Remove top secret debugging code
  16602. 2004-11-01 19:57 jackson
  16603. * TabControl.cs: Add click handling, and proper sizing
  16604. 2004-11-01 19:47 jackson
  16605. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  16606. tab controls
  16607. 2004-11-01 19:39 jackson
  16608. * TabPage.cs: add internal property to store the bounds of a tab
  16609. page
  16610. 2004-10-30 04:23 ravindra
  16611. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  16612. values.
  16613. 2004-10-30 04:21 ravindra
  16614. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  16615. fixed calculations.
  16616. 2004-10-30 03:06 pbartok
  16617. * XplatUIX11.cs:
  16618. - Removed extension of DllImported libs
  16619. 2004-10-29 09:55 jordi
  16620. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  16621. navigation, itemcollection completion, menu fixes
  16622. 2004-10-27 22:58 pbartok
  16623. * XplatUIX11.cs:
  16624. - Now throws a nice error message when no X display could be opened
  16625. 2004-10-26 13:51 jordi
  16626. * ListView.cs: removes warning
  16627. 2004-10-26 03:55 ravindra
  16628. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  16629. ThemeWin32Classic.cs: Some formatting for my last checkins.
  16630. 2004-10-26 03:36 ravindra
  16631. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  16632. control and default values.
  16633. 2004-10-26 03:35 ravindra
  16634. * Theme.cs: Added some default values for ListView control.
  16635. 2004-10-26 03:33 ravindra
  16636. * ToolBar.cs: ToolBar should use the user specified button size, if
  16637. there is any. Added a size_specified flag for the same.
  16638. 2004-10-26 03:33 ravindra
  16639. * ColumnHeader.cs: Added some internal members and calculations for
  16640. ColumnHeader.
  16641. 2004-10-26 03:32 ravindra
  16642. * ListViewItem.cs: Calculations for ListViewItem.
  16643. 2004-10-26 03:31 ravindra
  16644. * ListView.cs: Added some internal members and calculations for
  16645. ListView.
  16646. 2004-10-22 13:31 jordi
  16647. * MenuAPI.cs: speedup menus drawing
  16648. 2004-10-22 13:16 jackson
  16649. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  16650. expose event
  16651. 2004-10-22 11:49 jackson
  16652. * Control.cs: oops
  16653. 2004-10-22 11:41 jackson
  16654. * Control.cs: Check to see if the window should have its background
  16655. repainted by X when drawing.
  16656. 2004-10-22 11:31 jackson
  16657. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  16658. clear is true, this way we do not get flicker from X repainting the
  16659. background
  16660. 2004-10-22 11:28 jackson
  16661. * XEventQueue.cs: Queue properly
  16662. 2004-10-21 09:38 jackson
  16663. * XEventQueue.cs: Fix access modifier
  16664. 2004-10-21 09:36 jackson
  16665. * XEventQueue.cs: Don't loose messages
  16666. 2004-10-21 09:22 jackson
  16667. * XEventQueue.cs: Don't loose messages
  16668. 2004-10-20 04:15 jordi
  16669. * BootMode.cs: enum need it by SystemInfo
  16670. 2004-10-19 21:58 pbartok
  16671. * XplatUIWin32.cs:
  16672. - Small sanity check
  16673. 2004-10-19 21:56 pbartok
  16674. * Form.cs:
  16675. - Added private FormParentWindow class which acts as the container
  16676. for our form and as the non-client area where menus are drawn
  16677. - Added/Moved required tie-ins to Jordi's menus
  16678. - Fixed/Implemented the FormStartPosition functionality
  16679. 2004-10-19 21:52 pbartok
  16680. * Control.cs:
  16681. - Removed unneeded locals
  16682. - Added code to all size and location properties to understand and
  16683. deal with the parent container of Form
  16684. 2004-10-19 21:33 pbartok
  16685. * Application.cs:
  16686. - Fixed to deal with new Form subclasses for menus
  16687. 2004-10-19 17:48 jackson
  16688. * XEventQueue.cs: commit correct version of file
  16689. 2004-10-19 16:50 jackson
  16690. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  16691. 2004-10-19 16:15 jordi
  16692. * MenuAPI.cs: MenuBarCalcSize returns the height
  16693. 2004-10-19 08:31 pbartok
  16694. * Control.cs:
  16695. - Added missing call to PreProcessMessage before calling OnXXXKey
  16696. methods
  16697. 2004-10-19 00:04 ravindra
  16698. * ToolTip.cs: Fixed constructor.
  16699. 2004-10-18 09:31 jordi
  16700. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  16701. 2004-10-18 09:26 jordi
  16702. * MenuItem.cs: fixes MenuItem class signature
  16703. 2004-10-18 08:56 jordi
  16704. * MenuAPI.cs: prevents windows from showing in the taskbar
  16705. 2004-10-18 00:28 ravindra
  16706. * ToolTip.cs: Suppressed a warning message.
  16707. 2004-10-18 00:27 ravindra
  16708. * Control.cs: Default value of visible property must be true.
  16709. 2004-10-17 23:19 pbartok
  16710. * ToolTip.cs:
  16711. - Complete implementation
  16712. 2004-10-17 23:19 pbartok
  16713. * XplatUIX11.cs:
  16714. - Added EnableWindow method
  16715. - Added SetModal stub
  16716. - Added generation of WM_ACTIVATE message (still needs testing)
  16717. - Added SetTopMost stub
  16718. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  16719. 2004-10-17 23:17 pbartok
  16720. * XplatUIWin32.cs:
  16721. - Removed VirtualKeys to XplatUIStructs
  16722. - Implemented SetTopMost method
  16723. - Implemented EnableWindow method
  16724. - Bugfix in ScreenToClient()
  16725. - Bugfixes in ClientToScreen()
  16726. 2004-10-17 22:51 pbartok
  16727. * XplatUIStructs.cs:
  16728. - Added WS_EX styles to WindowStyles enumeration
  16729. 2004-10-17 22:50 pbartok
  16730. * XplatUI.cs, XplatUIDriver.cs:
  16731. - Added method for enabling/disabling windows
  16732. - Added method for setting window modality
  16733. - Added method for setting topmost window
  16734. 2004-10-17 22:49 pbartok
  16735. * ThemeWin32Classic.cs:
  16736. - Added ToolTip drawing code
  16737. 2004-10-17 22:49 pbartok
  16738. * Theme.cs:
  16739. - Added ToolTip abstracts
  16740. 2004-10-17 22:47 pbartok
  16741. * Form.cs:
  16742. - Fixed Form.ControlCollection to handle owner relations
  16743. - Added Owner/OwnedForms handling
  16744. - Implemented Z-Ordering for owned forms
  16745. - Removed unneeded private overload of ShowDialog
  16746. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  16747. so I hope)
  16748. - Fixed Close(), had wrong default
  16749. - Added firing of OnLoad event
  16750. - Added some commented out debug code for Ownership handling
  16751. 2004-10-17 22:16 pbartok
  16752. * Control.cs:
  16753. - Fixed/implemented flat list of controls
  16754. 2004-10-17 22:14 pbartok
  16755. * Application.cs:
  16756. - Added code to simulate modal dialogs on Win32
  16757. 2004-10-17 16:11 jordi
  16758. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  16759. mouse event
  16760. 2004-10-17 13:39 jordi
  16761. * MenuAPI.cs: menu drawing fixes
  16762. 2004-10-15 09:10 ravindra
  16763. * StructFormat.cs: General Enum.
  16764. 2004-10-15 09:09 ravindra
  16765. * SizeGripStyle.cs: Enum for Form.
  16766. 2004-10-15 09:08 ravindra
  16767. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  16768. in Theme for ListView.
  16769. 2004-10-15 09:06 ravindra
  16770. * ColumnHeader.cs: Flushing some formatting changes.
  16771. 2004-10-15 09:05 ravindra
  16772. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  16773. style.
  16774. 2004-10-15 09:03 ravindra
  16775. * ListView.cs: Implemented Paint method and fixed coding style.
  16776. 2004-10-15 07:34 jordi
  16777. * MenuAPI.cs: fix for X11
  16778. 2004-10-15 07:32 ravindra
  16779. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  16780. - Renamed Paint() method to Draw() for clarity. Also, moved
  16781. DrawImage() to OnPaint().
  16782. 2004-10-15 07:25 ravindra
  16783. * CheckBox.cs, RadioButton.cs:
  16784. - Removed Redraw (), we get it from ButtonBase.
  16785. - Implemented Paint (), to do class specific painting.
  16786. 2004-10-15 07:16 ravindra
  16787. * ButtonBase.cs:
  16788. - Redraw () is not virtual now.
  16789. - Added an internal virtual method Paint (), so that
  16790. derived classes can do their painting on their own.
  16791. - Modified OnPaint () to call Paint ().
  16792. 2004-10-15 06:43 jordi
  16793. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  16794. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  16795. 2004-10-15 00:30 ravindra
  16796. * MessageBox.cs:
  16797. - MessageBox on windows does not have min/max buttons.
  16798. This change in CreateParams fixes this on Windows. We
  16799. still need to implement this windowstyle behavior in
  16800. our X11 driver.
  16801. 2004-10-14 05:14 ravindra
  16802. * ToolBar.cs:
  16803. - Changed Redraw () to do a Refresh () always.
  16804. - Fixed the MouseMove event handling when mouse is pressed,
  16805. ie drag event handling.
  16806. - Replaced the usage of ToolBarButton.Pressed property to
  16807. ToolBarButton.pressed internal variable.
  16808. 2004-10-14 05:10 ravindra
  16809. * ToolBarButton.cs:
  16810. - Added an internal member 'inside' to handle mouse move
  16811. with mouse pressed ie mouse drag event.
  16812. - Changed 'Pressed' property to return true only when
  16813. 'inside' and 'pressed' are both true.
  16814. - Some coding style love.
  16815. 2004-10-14 00:17 ravindra
  16816. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  16817. public method.
  16818. 2004-10-14 00:15 ravindra
  16819. * ButtonBase.cs: Redraw () related improvements.
  16820. 2004-10-14 00:14 ravindra
  16821. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  16822. removed unnecessary calls to Button.Show () method.
  16823. 2004-10-13 17:50 pbartok
  16824. * XplatUIX11.cs:
  16825. - Formatting fix
  16826. - Removed destroying of window until we solve the problem of X
  16827. destroying the window before us on shutdown
  16828. 2004-10-13 16:32 pbartok
  16829. * ButtonBase.cs:
  16830. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  16831. 2004-10-13 14:18 pbartok
  16832. * XplatUIX11.cs:
  16833. - Added code to destroy the X window
  16834. 2004-10-13 14:18 pbartok
  16835. * XplatUIWin32.cs:
  16836. - Added code to destroy a window
  16837. 2004-10-13 14:12 pbartok
  16838. * ButtonBase.cs:
  16839. - Added the Redraw on Resize that got dropped in the last rev
  16840. 2004-10-13 09:06 pbartok
  16841. * ThemeWin32Classic.cs:
  16842. - Path from John BouAntoun:
  16843. * Fix check rendering (centre correctly for normal style, offset
  16844. correctly for FlatStyle).
  16845. * Fix border color usage (use backcolor) for FlatStyle.Popup
  16846. * Use checkbox.Capture instead of checkbox.is_pressed when
  16847. rendering flatstyle states.
  16848. 2004-10-12 21:48 pbartok
  16849. * ThemeWin32Classic.cs:
  16850. - Removed all occurences of SystemColors and replaced them with the
  16851. matching theme color
  16852. 2004-10-12 21:41 pbartok
  16853. * ThemeWin32Classic.cs:
  16854. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  16855. him using the function for flatstyle drawing
  16856. - Changed functions to use the new version of CPDrawBorder3D
  16857. 2004-10-12 21:15 pbartok
  16858. * ControlPaint.cs:
  16859. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  16860. match MS documentation. They need to return defined colors if the
  16861. passed color matches the configured control color. Thanks to John
  16862. BouAntoun for pointing this out.
  16863. 2004-10-12 20:57 pbartok
  16864. * Control.cs:
  16865. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  16866. color is changed
  16867. 2004-10-12 20:46 pbartok
  16868. * CheckBox.cs:
  16869. - Fix from John BouAntoun: Now properly sets the Appearance property
  16870. 2004-10-12 20:45 pbartok
  16871. * ThemeWin32Classic.cs:
  16872. - Fixes from John BouAntoun: now handles forecolors and backcolors
  16873. for flatstyle rendered controls much better; It also fixes normal
  16874. checkbox rendering when pushed or disabled.
  16875. 2004-10-08 02:50 jordi
  16876. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  16877. work
  16878. 2004-10-07 08:56 jordi
  16879. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  16880. 2004-10-06 03:59 jordi
  16881. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  16882. XplatUIWin32.cs: removes warnings from compilation
  16883. 2004-10-05 12:23 jackson
  16884. * RadioButton.cs: Fix ctor
  16885. 2004-10-05 11:10 pbartok
  16886. * MessageBox.cs:
  16887. - Partial implementation by Benjamin Dasnois
  16888. 2004-10-05 10:15 jackson
  16889. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  16890. by John BouAntoun
  16891. 2004-10-05 03:07 ravindra
  16892. * ToolBar.cs:
  16893. - Removed a private method, Draw ().
  16894. - Fixed the ButtonDropDown event handling.
  16895. - Fixed MouseMove event handling.
  16896. 2004-10-05 03:04 ravindra
  16897. * ThemeWin32Classic.cs:
  16898. - Added DrawListView method and ListViewDefaultSize property.
  16899. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  16900. - Changed DOS style CRLF to Unix format (dos2unix).
  16901. 2004-10-05 03:03 ravindra
  16902. * Theme.cs:
  16903. - Added DrawListView method and ListViewDefaultSize property.
  16904. 2004-10-05 02:42 ravindra
  16905. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  16906. clicks on DropDown arrow.
  16907. 2004-10-04 22:56 jackson
  16908. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  16909. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  16910. Control handle the buffers, derived classes should not have to
  16911. CreateBuffers themselves.
  16912. 2004-10-04 21:20 jackson
  16913. * StatusBar.cs: The control handles resizing the buffers now.
  16914. 2004-10-04 21:18 jackson
  16915. * Control.cs: When resizing the buffers should be invalidated. This
  16916. should be handled in Control not in derived classes.
  16917. 2004-10-04 14:45 jackson
  16918. * TabPage.cs: oops
  16919. 2004-10-04 02:14 pbartok
  16920. * LeftRightAlignment.cs:
  16921. - Initial check-in
  16922. 2004-10-04 01:09 jordi
  16923. * ThemeWin32Classic.cs: fixes right button position causing right
  16924. button not showing on horizontal scrollbars
  16925. 2004-10-02 13:12 pbartok
  16926. * XplatUIX11.cs:
  16927. - Simplified the Invalidate method by using an X call instead of
  16928. generating the expose ourselves
  16929. - Added an expose when the window background is changed
  16930. - Implemented ClientToScreen method
  16931. 2004-10-02 13:08 pbartok
  16932. * XplatUIWin32.cs:
  16933. - Added Win32EnableWindow method (test for implementing modal
  16934. dialogs)
  16935. - Added ClientToScreen method and imports
  16936. 2004-10-02 13:07 pbartok
  16937. * XplatUI.cs, XplatUIDriver.cs:
  16938. - Added ClientToScreen coordinate translation method
  16939. 2004-10-02 13:06 pbartok
  16940. * KeyPressEventArgs.cs:
  16941. - Fixed access level for constructor
  16942. 2004-10-02 13:06 pbartok
  16943. * NativeWindow.cs:
  16944. - Changed access level for the window_collection hash table
  16945. 2004-10-02 13:05 pbartok
  16946. * Form.cs:
  16947. - Added KeyPreview property
  16948. - Added Menu property (still incomplete, pending Jordi's menu work)
  16949. - Implemented ProcessCmdKey
  16950. - Implemented ProcessDialogKey
  16951. - Implemented ProcessKeyPreview
  16952. 2004-10-02 13:02 pbartok
  16953. * Control.cs:
  16954. - Added private method to get the Control object from the window
  16955. handle
  16956. - Implemented ContextMenu property
  16957. - Implemented PointToScreen
  16958. - Implemented PreProcessMessage
  16959. - Implemented IsInputChar
  16960. - Implemented IsInputKey
  16961. - Implemented ProcessCmdKey
  16962. - Completed ProcessKeyEventArgs
  16963. - Fixed message loop to call the proper chain of functions on key
  16964. events
  16965. - Implemented ProcessDialogChar
  16966. - Implemented ProcessDialogKey
  16967. - Implemented ProcessKeyMessage
  16968. - Implemented ProcessKeyPreview
  16969. - Added RaiseDragEvent stub (MS internal method)
  16970. - Added RaiseKeyEvent stub (MS internal method)
  16971. - Added RaiseMouseEvent stub (MS Internal method)
  16972. - Added RaisePaintEvent stub (MS Internal method)
  16973. - Added ResetMouseEventArgs stub (MS Internal method)
  16974. - Implemented RtlTranslateAlignment
  16975. - Implemented RtlTranslateContent
  16976. - Implemented RtlTranslateHorizontal
  16977. - Implemented RtlTranslateLeftRight
  16978. - Added generation of KeyPress event
  16979. 2004-10-02 05:57 ravindra
  16980. * ListViewItem.cs: Added attributes.
  16981. 2004-10-02 05:32 ravindra
  16982. * ListView.cs: Added attributes.
  16983. 2004-10-01 11:53 jackson
  16984. * Form.cs: Implement the Close method so work on MessageBox can
  16985. continue.
  16986. 2004-09-30 14:06 pbartok
  16987. * XplatUIX11.cs:
  16988. - Bug fixes
  16989. 2004-09-30 11:34 jackson
  16990. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  16991. 2004-09-30 07:26 ravindra
  16992. * ListViewItemConverter.cs: Converter for ListViewItem.
  16993. 2004-09-30 07:26 ravindra
  16994. * SortOrder.cs: Enum for ListView control.
  16995. 2004-09-30 07:25 ravindra
  16996. * ColumnHeader.cs: Supporting class for ListView control.
  16997. 2004-09-30 07:24 ravindra
  16998. * ListView.cs, ListViewItem.cs: Initial implementation.
  16999. 2004-09-30 07:20 ravindra
  17000. * ItemActivation.cs: Enum for ListView Control.
  17001. 2004-09-29 20:29 pbartok
  17002. * XplatUIX11.cs:
  17003. - Added lookup of pixel value for background color; tries to get a
  17004. color 'close' to the requested color, it avoids having to create a
  17005. colormap. Depending on the display this could mean the used color
  17006. is slightly off the desired color. Might have to change it to a more
  17007. resource intensive colormap approach, but it will work as a
  17008. workaround to avoid red screens.
  17009. 2004-09-29 14:27 jackson
  17010. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  17011. 2004-09-28 12:44 pbartok
  17012. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  17013. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  17014. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  17015. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  17016. TrackBar.cs, VScrollBar.cs:
  17017. - Streamlined Theme interfaces:
  17018. * Each DrawXXX method for a control now is passed the object for
  17019. the control to be drawn in order to allow accessing any state the
  17020. theme might require
  17021. * ControlPaint methods for the theme now have a CP prefix to avoid
  17022. name clashes with the Draw methods for controls
  17023. * Every control now retrieves it's DefaultSize from the current
  17024. theme
  17025. 2004-09-28 12:17 jackson
  17026. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  17027. drawing
  17028. 2004-09-24 14:57 jackson
  17029. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  17030. Gives us a nice little performance boost.
  17031. 2004-09-24 12:02 jackson
  17032. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  17033. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  17034. Control and supporting classes. Initial checkin
  17035. 2004-09-23 13:08 jackson
  17036. * Form.cs: Temp build fixage
  17037. 2004-09-23 01:39 ravindra
  17038. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  17039. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  17040. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  17041. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  17042. EventHandlers needed by ListView Control.
  17043. 2004-09-22 14:12 pbartok
  17044. * ScrollableControl.cs:
  17045. - Implemented DockPadding property
  17046. - Implemented AutoScroll property
  17047. - Implemented AutoScrollMargin property
  17048. - Implemented AutoScrollMinSize property
  17049. - Implemented AutoScrollPosition property
  17050. - Implemented DisplayRectangle property (still incomplete)
  17051. - Implemented CreateParams property
  17052. - Implemented HScroll property
  17053. - Implemented VScroll property
  17054. - Implemented OnVisibleChanged property
  17055. 2004-09-22 14:09 pbartok
  17056. * Form.cs:
  17057. - Added Form.ControllCollection class
  17058. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  17059. RemoveOwnedForm (still incomplete, missing on-top and common
  17060. minimize/maximize behaviour)
  17061. - Added StartPosition property (still incomplete, does not use when
  17062. creating the form)
  17063. - Added ShowDialog() methods (still incomplete, missing forcing the
  17064. dialog modal)
  17065. 2004-09-22 14:05 pbartok
  17066. * Application.cs:
  17067. - Added message loop for modal dialogs
  17068. 2004-09-22 14:02 pbartok
  17069. * GroupBox.cs:
  17070. - Fixed wrong types for events
  17071. 2004-09-22 14:00 pbartok
  17072. * Shortcut.cs, FormWindowState.cs:
  17073. - Fixed wrong values
  17074. 2004-09-22 12:01 jackson
  17075. * Control.cs: Text is never null
  17076. 2004-09-20 22:14 pbartok
  17077. * XplatUIWin32.cs:
  17078. - Fixed accessibility level for Idle handler
  17079. 2004-09-20 18:54 jackson
  17080. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17081. XplatUIX11.cs: New message loop that uses poll so we don't get a
  17082. busy loop
  17083. 2004-09-17 10:43 pbartok
  17084. * ScrollBar.cs:
  17085. - Fixed behaviour of arrow buttons. Now properly behaves like
  17086. Buttons (and like Microsoft's scrollbar arrow buttons)
  17087. 2004-09-17 10:14 pbartok
  17088. * ScrollBar.cs:
  17089. - Added missing release of keyboard/mouse capture
  17090. 2004-09-17 06:18 jordi
  17091. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  17092. Theme.cs: Very early menu support
  17093. 2004-09-16 17:45 pbartok
  17094. * XplatUIWin32.cs:
  17095. - Fixed sending a window to the front
  17096. - Added overload for SetWindowPos to avoid casting
  17097. 2004-09-16 17:44 pbartok
  17098. * Control.cs:
  17099. - Added SendToBack and BringToFront methods
  17100. 2004-09-16 07:00 ravindra
  17101. * Copyright: Added Novell URL.
  17102. 2004-09-16 07:00 ravindra
  17103. * ToolBar.cs: Invalidate should be done before redrawing.
  17104. 2004-09-15 21:19 ravindra
  17105. * ColumnHeaderStyle.cs: Enum for ListView Control.
  17106. 2004-09-15 21:18 ravindra
  17107. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  17108. ListView Control.
  17109. 2004-09-13 18:26 jackson
  17110. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  17111. properly
  17112. 2004-09-13 18:13 jackson
  17113. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  17114. a second thread and post messages into the main threads message
  17115. queue. This makes timing much more consistent. Both win2K and XP
  17116. have a minimum timer value of 15 milliseconds, so we now do this
  17117. too.
  17118. 2004-09-13 15:18 pbartok
  17119. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17120. XplatUIX11.cs:
  17121. - Added Z-Ordering methods
  17122. 2004-09-13 10:56 pbartok
  17123. * Form.cs:
  17124. - Fixed #region names
  17125. - Moved properties and methods into their proper #regions
  17126. 2004-09-13 10:51 pbartok
  17127. * Form.cs:
  17128. - Added Accept and CancelButton properties
  17129. - Added ProcessDialogKey() method
  17130. 2004-09-13 08:18 pbartok
  17131. * IWindowTarget.cs:
  17132. - Initial check-in
  17133. 2004-09-10 21:50 pbartok
  17134. * Control.cs:
  17135. - Added DoDragDrop() [incomplete]
  17136. - Properly implemented 'Visible' handling
  17137. - Added SetVisibleCore()
  17138. - Implemented FindChildAtPoint()
  17139. - Implemented GetContainerControl()
  17140. - Implemented Hide()
  17141. 2004-09-10 19:28 pbartok
  17142. * Control.cs:
  17143. - Moved methods into their appropriate #regions
  17144. - Reordered methods within regions alphabetically
  17145. 2004-09-10 18:57 pbartok
  17146. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  17147. - Added method to retrieve text from window
  17148. 2004-09-10 18:56 pbartok
  17149. * Control.cs:
  17150. - Moved some internal functions into the internal region
  17151. - Implemented FontHeight
  17152. - Implemented RenderRightToLeft
  17153. - Implemented ResizeRedraw
  17154. - Implemented ShowFocusCues
  17155. - Implemented ShowKeyboardCues
  17156. - Implemented FromChildHandle
  17157. - Implemented FromHandle
  17158. - Implemented IsMnemonic
  17159. - Implemented ReflectMessage
  17160. - All public and protected Static Methods are now complete
  17161. 2004-09-10 16:54 pbartok
  17162. * Control.cs:
  17163. - Implemented remaining missing public instance properties
  17164. - Alphabetized some out of order properties
  17165. 2004-09-10 05:51 ravindra
  17166. * PictureBox.cs: Added a check for null image.
  17167. 2004-09-10 00:59 jordi
  17168. * GroupBox.cs: remove cvs tag
  17169. 2004-09-09 05:25 ravindra
  17170. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  17171. 2004-09-09 05:23 ravindra
  17172. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  17173. parent redraw.
  17174. 2004-09-09 02:28 pbartok
  17175. * ThemeWin32Classic.cs:
  17176. - Improve disabled string look
  17177. 2004-09-09 01:15 jordi
  17178. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  17179. args and handler
  17180. 2004-09-08 23:56 ravindra
  17181. * ItemBoundsPortion.cs: It's enum, not a class!
  17182. 2004-09-08 23:47 ravindra
  17183. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  17184. Enums for Form.
  17185. 2004-09-08 21:13 ravindra
  17186. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  17187. ListView control.
  17188. 2004-09-08 21:03 ravindra
  17189. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  17190. avoid crash.
  17191. 2004-09-08 21:01 ravindra
  17192. * ScrollableControl.cs: Removed unreachable code.
  17193. 2004-09-08 06:45 jordi
  17194. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  17195. 2004-09-08 01:00 jackson
  17196. * XplatUIX11.cs: Only run the timers when updating the message
  17197. queue. This effectively gives X messages a higher priority then
  17198. timer messages. Timers still need love though
  17199. 2004-09-07 14:01 jackson
  17200. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  17201. this for us and the handle is no longer valid.
  17202. 2004-09-07 13:59 jackson
  17203. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  17204. loop that manages to not crash. TODO: Add poll and cleanup timers
  17205. 2004-09-07 11:12 jordi
  17206. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  17207. 2004-09-07 03:40 jordi
  17208. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  17209. fixes, methods, multiple links
  17210. 2004-09-06 06:55 jordi
  17211. * Control.cs: Caches ClientRectangle rectangle value
  17212. 2004-09-05 02:03 jordi
  17213. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  17214. certain situations
  17215. 2004-09-04 11:10 jordi
  17216. * Label.cs: Refresh when font changed
  17217. 2004-09-02 16:24 pbartok
  17218. * Control.cs:
  17219. - Added sanity check to creation of double buffer bitmap
  17220. 2004-09-02 16:24 pbartok
  17221. * ButtonBase.cs:
  17222. - Fixed selection of text color
  17223. - Fixed handling of resize event; now properly recreates double
  17224. buffering bitmap
  17225. - Added missing assignment of TextAlignment
  17226. - Added proper default for TextAlignment
  17227. 2004-09-02 14:26 pbartok
  17228. * RadioButton.cs:
  17229. - Added missing RadioButton.RadioButtonAccessibleObject class
  17230. 2004-09-02 14:26 pbartok
  17231. * Control.cs:
  17232. - Added missing Control.ControlAccessibleObject class
  17233. - Started to implement Select()ion mechanisms, still very incomplete
  17234. 2004-09-02 14:25 pbartok
  17235. * AccessibleObject.cs:
  17236. - Added missing methods
  17237. 2004-09-02 14:23 pbartok
  17238. * AccessibleNavigation.cs, AccessibleSelection.cs:
  17239. - Initial check-in
  17240. 2004-09-02 10:32 jordi
  17241. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  17242. pool for pens, brushes, and hatchbruses
  17243. 2004-09-01 15:30 jackson
  17244. * StatusBar.cs: Fix typo
  17245. 2004-09-01 14:44 pbartok
  17246. * RadioButton.cs:
  17247. - Fixed state
  17248. 2004-09-01 14:39 pbartok
  17249. * Button.cs, RadioButton.cs:
  17250. - Functional initial check-in
  17251. 2004-09-01 14:01 pbartok
  17252. * CheckBox.cs:
  17253. - Added missing default
  17254. - Added missing region mark
  17255. 2004-09-01 09:10 jordi
  17256. * Label.cs: fixes method signatures, new methods, events, fixes
  17257. autosize
  17258. 2004-09-01 07:19 jordi
  17259. * Control.cs: Init string variables with an empty object
  17260. 2004-09-01 04:20 jordi
  17261. * Control.cs: fires OnFontChanged event
  17262. 2004-08-31 20:07 pbartok
  17263. * ButtonBase.cs:
  17264. - Enabled display of strings
  17265. 2004-08-31 20:05 pbartok
  17266. * Form.cs:
  17267. - Added (partial) implementation of DialogResult; rest needs to be
  17268. implemented when the modal loop code is done
  17269. 2004-08-31 19:55 pbartok
  17270. * CheckBox.cs:
  17271. - Fixed to match the removal of the needs_redraw concept
  17272. 2004-08-31 19:55 pbartok
  17273. * ButtonBase.cs:
  17274. - Removed the rather odd split between 'needs redraw' and redrawing
  17275. - Now handles the events that require regeneration (ambient
  17276. properties and size)
  17277. 2004-08-31 19:41 pbartok
  17278. * Control.cs:
  17279. - Added firing of BackColorChanged event
  17280. - Added TopLevelControl property
  17281. - Fixed handling of WM_ERASEBKGRND message
  17282. 2004-08-31 12:49 pbartok
  17283. * ButtonBase.cs:
  17284. - Removed debug
  17285. - Minor fixes
  17286. 2004-08-31 12:48 pbartok
  17287. * CheckBox.cs:
  17288. - Finished (famous last words)
  17289. 2004-08-31 04:35 jordi
  17290. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  17291. scrolling bugs, adds new methods
  17292. 2004-08-30 14:42 pbartok
  17293. * CheckBox.cs:
  17294. - Implemented CheckBox drawing code
  17295. 2004-08-30 14:42 pbartok
  17296. * ButtonBase.cs:
  17297. - Made Redraw() and CheckRedraw() virtual
  17298. - Improved mouse up/down/move logic to properly track buttons
  17299. 2004-08-30 09:44 pbartok
  17300. * CheckBox.cs:
  17301. - Updated to fix broken build. Not complete yet.
  17302. 2004-08-30 09:28 pbartok
  17303. * CheckState.cs:
  17304. - Initial checkin
  17305. 2004-08-30 09:17 pbartok
  17306. * Appearance.cs:
  17307. - Initial check-in
  17308. 2004-08-27 16:12 ravindra
  17309. * ToolBarButton.cs: Added TypeConverter attribute.
  17310. 2004-08-27 16:07 ravindra
  17311. * ImageIndexConverter.cs: Implemented.
  17312. 2004-08-27 14:17 pbartok
  17313. * Control.cs:
  17314. - Removed unneeded stack vars
  17315. - First attempt to fix sizing issues when layout is suspended
  17316. 2004-08-25 15:35 jordi
  17317. * ScrollBar.cs: more fixes to scrollbar
  17318. 2004-08-25 14:04 ravindra
  17319. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  17320. Added the missing divider code and grip for ToolBar Control.
  17321. 2004-08-25 13:20 pbartok
  17322. * Control.cs:
  17323. - Control now properly passes the ambient background color to child
  17324. controls
  17325. 2004-08-25 13:20 jordi
  17326. * ScrollBar.cs: small bug fix regarding bar position
  17327. 2004-08-25 12:33 pbartok
  17328. * Timer.cs:
  17329. - Now only calls SetTimer or KillTimer if the enabled state has
  17330. changed
  17331. 2004-08-25 12:33 pbartok
  17332. * XplatUIWin32.cs:
  17333. - Fixed timer handling, now seems to work
  17334. - Improved error message for window creation
  17335. 2004-08-25 12:32 pbartok
  17336. * Control.cs:
  17337. - Fixed generation of MouseUp message
  17338. 2004-08-25 12:29 jordi
  17339. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  17340. and fixes for progressbar
  17341. 2004-08-24 18:43 ravindra
  17342. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  17343. in ToolBar control.
  17344. 2004-08-24 17:15 pbartok
  17345. * Panel.cs:
  17346. - Added #region
  17347. - Added missing events
  17348. - Alphabetized
  17349. 2004-08-24 17:14 pbartok
  17350. * StatusBar.cs, PictureBox.cs:
  17351. - Now uses Control's CreateParams
  17352. 2004-08-24 16:36 pbartok
  17353. * XplatUIX11.cs:
  17354. - Fixed background color handling
  17355. - Fixed sending of enter/leave events on a grab
  17356. 2004-08-24 16:35 pbartok
  17357. * X11Structs.cs:
  17358. - Refined definitions for CrossingEvent
  17359. 2004-08-24 12:37 jordi
  17360. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  17361. formmating, methods signature, and adds missing events
  17362. 2004-08-24 12:24 jordi
  17363. * Control.cs: fire OnEnabledChanged event
  17364. 2004-08-24 11:17 pbartok
  17365. * XplatUIWin32.cs:
  17366. - Implemented SetTimer() and KillTimer()
  17367. 2004-08-24 11:16 pbartok
  17368. * XplatUIX11.cs:
  17369. - Now uses Remove instead of Add to kill the timer
  17370. 2004-08-24 10:16 jackson
  17371. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  17372. picture boxes in the theme now. Draw picture box borders and obey
  17373. sizing modes
  17374. 2004-08-24 05:49 jackson
  17375. * Timer.cs: Remove top secret debugging code
  17376. 2004-08-24 05:34 jackson
  17377. * PictureBox.cs: Temp hack to make picture boxes draw their full
  17378. image
  17379. 2004-08-24 05:29 jackson
  17380. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17381. XplatUIX11.cs: Move timers to the driver level. On X they are
  17382. queued by the driver and checked on idle.
  17383. 2004-08-24 01:07 jackson
  17384. * XplatUIX11.cs: Use a queue for async messages instead of passing
  17385. them as ClientMessages since that was totally broken. Also simply
  17386. check for events and return an idle message if none are found. This
  17387. gives us an idle handler, and prevents deadlocking when no messages
  17388. are in the queue.
  17389. 2004-08-23 18:19 ravindra
  17390. * XplatUIWin32.cs: Removed the unwanted destructor.
  17391. 2004-08-23 17:27 pbartok
  17392. * ButtonBase.cs:
  17393. - Finishing touches. Works now, just needs some optimizations.
  17394. 2004-08-23 16:53 jordi
  17395. * ScrollBar.cs: small fix
  17396. 2004-08-23 16:45 pbartok
  17397. * Application.cs:
  17398. - Removed debug output
  17399. - Simplifications
  17400. 2004-08-23 16:43 jordi
  17401. * ScrollBar.cs: [no log message]
  17402. 2004-08-23 16:10 pbartok
  17403. * Form.cs:
  17404. - Fixed handling of WM_CLOSE message
  17405. - Removed debug output
  17406. 2004-08-23 16:09 pbartok
  17407. * Application.cs:
  17408. - Added handling of Idle event
  17409. - Added handling of form closing
  17410. - Fixed reporting of MessageLoop property
  17411. - Removed some unneeded code, should provide a bit of a speedup
  17412. 2004-08-23 15:22 pbartok
  17413. * Control.cs:
  17414. - Added InitLayout() method
  17415. - Added code to properly perform layout when Anchor or Dock property
  17416. is changed
  17417. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  17418. LAMESPEC, tried to do it in a way that makes sense
  17419. 2004-08-23 14:10 jordi
  17420. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  17421. properties and methods
  17422. 2004-08-23 13:55 pbartok
  17423. * Control.cs:
  17424. - Properly fixed Jordi's last fix
  17425. - Now uses Cursor's Position property instead of calling XplatUI
  17426. directly
  17427. 2004-08-23 13:44 jordi
  17428. * PaintEventHandler.cs: Adding missing attribute
  17429. 2004-08-23 13:39 pbartok
  17430. * Cursor.cs:
  17431. - Implemented Position property
  17432. 2004-08-23 13:39 pbartok
  17433. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  17434. - Added method to move mouse cursor
  17435. 2004-08-23 13:39 pbartok
  17436. * XplatUIX11.cs:
  17437. - Fixed setting of background color
  17438. - Added method to move mouse cursor
  17439. 2004-08-23 13:16 jordi
  17440. * Control.cs: avoids null exception
  17441. 2004-08-22 17:46 jackson
  17442. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  17443. PictureBox
  17444. 2004-08-22 17:40 jackson
  17445. * XplatUIX11.cs: Add some missing locks
  17446. 2004-08-22 15:10 pbartok
  17447. * Control.cs, Form.cs:
  17448. - Removed OverlappedWindow style from Control, instead it's default
  17449. now is child
  17450. - Made form windows OverlappedWindow by default
  17451. 2004-08-22 13:34 jackson
  17452. * ScrollBar.cs: Update the position through the Value property so
  17453. the OnValueChanged event is raised.
  17454. 2004-08-22 12:04 pbartok
  17455. * SWF.csproj:
  17456. - Added Cursor.cs and UserControl.cs
  17457. 2004-08-22 12:03 pbartok
  17458. * Cursor.cs:
  17459. - Started implementation, not usable yet
  17460. 2004-08-22 12:00 pbartok
  17461. * UserControl.cs:
  17462. - Implemented UserControl (complete)
  17463. 2004-08-21 19:20 ravindra
  17464. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  17465. 2004-08-21 18:49 ravindra
  17466. * ToolBar.cs: Probably this completes the missing attributes in
  17467. toolbar control.
  17468. 2004-08-21 18:03 ravindra
  17469. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  17470. Fixed toolbar control signatures.
  17471. 2004-08-21 16:32 pbartok
  17472. * LinkLabel.cs:
  17473. - Signature Fixes
  17474. 2004-08-21 16:30 pbartok
  17475. * Label.cs:
  17476. - Signature fixes
  17477. 2004-08-21 16:19 pbartok
  17478. * Control.cs, Label.cs:
  17479. - Signature fixes
  17480. 2004-08-21 15:57 pbartok
  17481. * ButtonBase.cs:
  17482. - Added loads of debug output for development
  17483. - Fixed typo in method name
  17484. 2004-08-21 15:52 pbartok
  17485. * ToolBarButtonClickEventArgs.cs:
  17486. - Added missing base class
  17487. 2004-08-21 14:53 pbartok
  17488. * Control.cs:
  17489. - Updated to match new GrabWindow signature
  17490. 2004-08-21 14:51 pbartok
  17491. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17492. - Added method to get default display size
  17493. 2004-08-21 14:23 pbartok
  17494. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17495. - Added method to query current grab state
  17496. - Added argument to allow confining a grab to a window
  17497. 2004-08-21 14:22 pbartok
  17498. * Keys.cs:
  17499. - Added [Flags] attribute so that modifiers can be used in bitwise
  17500. ops
  17501. 2004-08-21 14:21 pbartok
  17502. * TrackBar.cs, ScrollBar.cs:
  17503. - Replaced direct XplatUI calls with their Control counterpart
  17504. 2004-08-21 13:32 pbartok
  17505. * Control.cs:
  17506. - Implemented Created property
  17507. 2004-08-21 13:28 pbartok
  17508. * Control.cs:
  17509. - Implemented ContainsFocus
  17510. 2004-08-21 13:26 pbartok
  17511. * Control.cs:
  17512. - Implemented CausesValidation
  17513. 2004-08-21 13:21 pbartok
  17514. * Control.cs:
  17515. - Implemented CanFocus
  17516. - Implemented CanSelect
  17517. - Implemented Capture
  17518. 2004-08-21 12:35 pbartok
  17519. * XplatUIWin32.cs:
  17520. - Fixed bug with Async message handling
  17521. - Implemented getting the ModifierKeys
  17522. 2004-08-21 12:32 jackson
  17523. * AsyncMethodResult.cs: Make sure we have the mutex before we
  17524. release it. Fixes BeginInvoke on windows
  17525. 2004-08-21 11:31 pbartok
  17526. * XplatUIWin32.cs, XplatUIX11.cs:
  17527. - Drivers now return proper mouse state
  17528. 2004-08-21 10:54 jackson
  17529. * Control.cs: Implement EndInvoke
  17530. 2004-08-21 10:48 jackson
  17531. * Timer.cs: Remove unneeded finalizer
  17532. 2004-08-20 19:52 ravindra
  17533. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  17534. in mouse event handling in the ToolBar control.
  17535. 2004-08-20 19:50 ravindra
  17536. * ImageList.cs: Changed draw method to use the arguments passed in
  17537. to draw the image.
  17538. 2004-08-20 18:58 pbartok
  17539. * XplatUIStructs.cs:
  17540. - Added private message for async communication
  17541. 2004-08-20 17:38 ravindra
  17542. * Control.cs: Made RightToLeft property virtual and removed a
  17543. Console.WriteLine.
  17544. 2004-08-20 14:39 jordi
  17545. * ThemeGtk.cs: use style_attach
  17546. 2004-08-20 14:39 pbartok
  17547. * XplatUIWin32.cs:
  17548. - Added jackson's Async code from X11 to Win32
  17549. 2004-08-20 14:09 pbartok
  17550. * SWF.csproj:
  17551. - Added all new files
  17552. 2004-08-20 14:09 pbartok
  17553. * Control.cs:
  17554. - Added call to set window background color
  17555. 2004-08-20 14:03 pbartok
  17556. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  17557. - Added method for setting the window background
  17558. 2004-08-20 14:02 pbartok
  17559. * XplatUIWin32.cs:
  17560. - Added method for setting the background color
  17561. - Added handling for erasing the window background
  17562. 2004-08-20 13:45 jordi
  17563. * TrackBar.cs: fixes timer, new properties and methods
  17564. 2004-08-20 13:34 jackson
  17565. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  17566. correct thread
  17567. 2004-08-20 13:22 jackson
  17568. * Timer.cs: Timer Tick events are now handed through Controls Async
  17569. mechanism so the callbacks are executed in the same thread as X
  17570. 2004-08-20 13:19 jackson
  17571. * XplatUIDriver.cs: Expose functionality to send async messages
  17572. through the driver
  17573. 2004-08-20 13:18 jackson
  17574. * Control.cs: Implement Begininvoke
  17575. 2004-08-20 13:14 jackson
  17576. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  17577. messages through the driver
  17578. 2004-08-20 13:12 jackson
  17579. * XplatUIX11.cs: Lock before all X operations. Also added Async
  17580. method functionality through XSendEvent
  17581. 2004-08-20 13:11 jackson
  17582. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  17583. This will screw up on 64 bit systems)
  17584. 2004-08-20 13:10 jackson
  17585. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  17586. Async messages through X/Win32
  17587. 2004-08-19 19:39 pbartok
  17588. * XplatUIX11.cs:
  17589. - Updated code to match new HandleData.DeviceContext type
  17590. 2004-08-19 19:38 pbartok
  17591. * HandleData.cs:
  17592. - Made DeviceContext a generic object to allow usage from various
  17593. drivers
  17594. - Added support for queueing Windows messages
  17595. 2004-08-19 19:37 pbartok
  17596. * XplatUIWin32.cs:
  17597. - Added generation of MouseEnter, MouseLeave and MouseHover events
  17598. - Added cleanup on EndPaint
  17599. 2004-08-19 19:17 pbartok
  17600. * Control.cs:
  17601. - Added handling of WM_MOUSEHOVER
  17602. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  17603. code
  17604. 2004-08-19 18:55 jordi
  17605. * ThemeGtk.cs: fixes button order
  17606. 2004-08-19 18:12 jordi
  17607. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  17608. 2004-08-19 17:09 pbartok
  17609. * Control.cs:
  17610. - Added Right property
  17611. - Added RightToLeft property
  17612. 2004-08-19 16:27 jordi
  17613. * ThemeGtk.cs: experimental GTK theme support
  17614. 2004-08-19 16:26 jordi
  17615. * ITheme.cs, Theme.cs: move themes from an interface to a class
  17616. 2004-08-19 16:25 jordi
  17617. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  17618. theme enhancaments
  17619. 2004-08-19 16:04 pbartok
  17620. * XplatUIX11.cs:
  17621. - Added colormap basics
  17622. - Added a way to re-initialize with a different display handle
  17623. - Fixed setting of the window background color
  17624. - Added various X11 imports related to colors and colormaps
  17625. 2004-08-19 15:51 pbartok
  17626. * X11Structs.cs:
  17627. - Removed packing hints (Paolo suggested this a while back)
  17628. - fixed colormap type
  17629. - Added default Atom types
  17630. - Added Screen and color structs and enums
  17631. 2004-08-19 15:39 pbartok
  17632. * ImageList.cs:
  17633. - Added missing Draw() method
  17634. - Added missing RecreateHandle event
  17635. 2004-08-19 15:30 pbartok
  17636. * Form.cs:
  17637. - Added handling of WM_CLOSE
  17638. 2004-08-18 13:16 jordi
  17639. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  17640. a table
  17641. 2004-08-18 09:56 jordi
  17642. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  17643. 2004-08-17 15:31 ravindra
  17644. * SWF.csproj: Updated project.
  17645. 2004-08-17 15:25 pbartok
  17646. * Control.cs:
  17647. - Drawing improvement; don't call UpdateBounds if we are not visible
  17648. (or have been minimized)
  17649. 2004-08-17 15:24 pbartok
  17650. * XplatUIWin32.cs:
  17651. - Finished IsVisible
  17652. - Added Win32GetWindowPlacement
  17653. 2004-08-17 15:08 jackson
  17654. * Panel.cs: Initial checkin of the Panel
  17655. 2004-08-17 14:25 pbartok
  17656. * Control.cs:
  17657. - Fixed broken handling of default window sizes
  17658. 2004-08-17 13:29 jackson
  17659. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  17660. has a large startup time.
  17661. 2004-08-17 10:25 jackson
  17662. * HandleData.cs: union areas properly
  17663. 2004-08-17 10:12 jackson
  17664. * HandleData.cs: union areas properly
  17665. 2004-08-16 20:00 ravindra
  17666. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  17667. 2004-08-16 18:48 ravindra
  17668. * ToolBar.cs: Added attributes.
  17669. 2004-08-16 17:17 ravindra
  17670. * SWF.csproj: Updated project.
  17671. 2004-08-16 17:16 jackson
  17672. * XplatUIX11.cs: Check for more expose events before sending a
  17673. WM_PAINT so they can all be grouped together. This makes dragging a
  17674. window across another window redraw in a sane way.
  17675. 2004-08-16 15:47 pbartok
  17676. * Control.cs:
  17677. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  17678. support OnMouseEnter/Leave()
  17679. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  17680. exposure handling
  17681. 2004-08-16 15:46 pbartok
  17682. * XplatUIStructs.cs, XplatUIX11.cs:
  17683. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  17684. OnMouseEnter/Leave()
  17685. 2004-08-16 15:34 jackson
  17686. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  17687. sure messages get the message field set to WM_NULL if they are not
  17688. handled.
  17689. 2004-08-16 15:24 jackson
  17690. * HandleData.cs: HandleData is used for storing message information
  17691. for window handles
  17692. 2004-08-15 17:23 ravindra
  17693. * ColorDepth.cs: Added attribute.
  17694. 2004-08-15 17:23 ravindra
  17695. * SWF.csproj: Updated project for ToolBar Control.
  17696. 2004-08-15 17:20 ravindra
  17697. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  17698. control and also dos2unix format.
  17699. 2004-08-15 17:13 ravindra
  17700. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  17701. ToolBarButtonClickEventArgs.cs,
  17702. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  17703. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  17704. 2004-08-15 15:31 pbartok
  17705. * ButtonBase.cs:
  17706. - First (mostly) working version
  17707. 2004-08-13 16:15 pbartok
  17708. * Control.cs:
  17709. - Fixed Anchor default
  17710. 2004-08-13 15:43 pbartok
  17711. * Control.cs:
  17712. - Changed GetCursorPos signature
  17713. 2004-08-13 15:42 pbartok
  17714. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  17715. - Changed signature for GetCursorPos
  17716. 2004-08-13 15:25 pbartok
  17717. * XplatUIX11.cs:
  17718. - Cleanup
  17719. - Fixed resizing/exposure handling
  17720. 2004-08-13 15:22 jordi
  17721. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  17722. with tickposition
  17723. 2004-08-13 14:55 jordi
  17724. * TrackBar.cs: change from wndproc to events
  17725. 2004-08-13 13:00 jordi
  17726. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17727. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  17728. 2004-08-13 12:53 pbartok
  17729. * XplatUIWin32.cs:
  17730. - Changed GetWindowPos to also provide client area size
  17731. - Fixed broken prototypes for several win32 functions
  17732. 2004-08-13 12:53 pbartok
  17733. * XplatUI.cs, XplatUIDriver.cs:
  17734. - Changed GetWindowPos to also provide client area size
  17735. 2004-08-13 12:52 pbartok
  17736. * XplatUIX11.cs:
  17737. - Added generation of WM_POSCHANGED
  17738. - Changed GetWindowPos to also provide client area size
  17739. 2004-08-13 12:52 pbartok
  17740. * Control.cs:
  17741. - Added Dispose() and destructor
  17742. - Fixed resizing and bounds calculation
  17743. - Fixed Layout
  17744. - Added memory savings for invisible windows
  17745. 2004-08-13 12:46 jordi
  17746. * TrackBar.cs: adds timer and grap window
  17747. 2004-08-13 10:25 jackson
  17748. * Timer.cs: SWF Timer
  17749. 2004-08-12 16:59 pbartok
  17750. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17751. - Implemented method to get current mouse position
  17752. 2004-08-12 14:29 jordi
  17753. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  17754. enhancement, fix mouse problems, highli thumb, etc
  17755. 2004-08-12 13:31 pbartok
  17756. * Control.cs:
  17757. - Fixed Anchoring bugs
  17758. 2004-08-12 13:01 jackson
  17759. * StatusBar.cs: Don't forget things
  17760. 2004-08-12 12:54 jackson
  17761. * ThemeWin32Classic.cs: Handle owner draw status bars
  17762. 2004-08-12 12:54 jackson
  17763. * StatusBar.cs: Implement missing properties, events, and methods.
  17764. Handle mouse clicking
  17765. 2004-08-12 10:19 jackson
  17766. * StatusBarPanelClickEventArgs.cs,
  17767. StatusBarPanelClickEventHandler.cs: Classes for handling status
  17768. bar panel click events
  17769. 2004-08-12 10:10 jackson
  17770. * Control.cs: Add missing properties
  17771. 2004-08-12 09:46 pbartok
  17772. * BindingsManagerBase.cs:
  17773. - Name changed to BindingManagerBase.cs
  17774. 2004-08-12 09:25 jordi
  17775. * ScrollableControl.cs: calls ctrlbase instead of exeception
  17776. 2004-08-11 16:28 pbartok
  17777. * InputLanguageChangingEventArgs.cs:
  17778. - Never check in before compiling. Fixes the last check-in
  17779. 2004-08-11 16:26 pbartok
  17780. * InputLanguageChangingEventArgs.cs:
  17781. - More signature fixes
  17782. 2004-08-11 16:20 pbartok
  17783. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  17784. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  17785. ImageListStreamer.cs, InputLanguage.cs,
  17786. InputLanguageChangedEventArgs.cs,
  17787. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  17788. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  17789. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  17790. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17791. - Signature fixes
  17792. 2004-08-11 16:16 pbartok
  17793. * Application.cs:
  17794. - Fixed Signature
  17795. - Added .Net 1.1 method
  17796. 2004-08-11 15:25 pbartok
  17797. * SWF.csproj:
  17798. - Fixed BindingManagerBase.cs filename
  17799. 2004-08-11 15:22 pbartok
  17800. * BindingManagerBase.cs:
  17801. - Was checked in with wrong filename
  17802. 2004-08-11 14:50 pbartok
  17803. * SWF.csproj:
  17804. - Updated
  17805. 2004-08-11 13:41 jordi
  17806. * XplatUIWin32.cs: Fixes ClientRect
  17807. 2004-08-11 13:19 pbartok
  17808. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17809. XplatUIX11.cs:
  17810. - We had SetWindowPos and MoveWindow to set window positions and
  17811. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  17812. keep SetWindowPos as matching counterpart
  17813. - Added some X11 sanity checking
  17814. 2004-08-11 12:59 pbartok
  17815. * Control.cs:
  17816. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  17817. (It seems that SetBounds is just a front for SetBoundsCore and
  17818. SetBoundsCore updates the underlying window system and
  17819. UpdateBounds is responsible for updating the variables associated
  17820. with the Control and sending the events)
  17821. - Major cleanup of Size handling; we now have two sizes, client_size
  17822. and bounds. Bounds defines the window with decorations, client_size
  17823. without them.
  17824. 2004-08-11 12:55 pbartok
  17825. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17826. - Added method to calculate difference between decorated window and
  17827. raw client area
  17828. 2004-08-11 12:54 pbartok
  17829. * Label.cs:
  17830. - Forcing redraw on resize
  17831. 2004-08-11 11:43 pbartok
  17832. * ImageList.cs:
  17833. - Removed disposing of the actual images when the list is disposed
  17834. 2004-08-11 09:13 pbartok
  17835. * Control.cs:
  17836. - Now properly reparents windows
  17837. 2004-08-11 08:37 pbartok
  17838. * Control.cs:
  17839. - Duh!
  17840. 2004-08-11 07:47 pbartok
  17841. * Control.cs:
  17842. - Rewrote the collection stuff. Might not be as fast now, not
  17843. keeping the number of children around and accessible directly, but
  17844. it's more straightforward
  17845. 2004-08-11 07:44 pbartok
  17846. * AccessibleObject.cs:
  17847. - Fixed to match ControlCollection rewrite
  17848. 2004-08-11 07:43 pbartok
  17849. * ImageList.cs:
  17850. - Added missing creation of the collection list
  17851. 2004-08-10 20:08 jackson
  17852. * StatusBar.cs: Get the paint message from WndProc
  17853. 2004-08-10 19:31 jackson
  17854. * ThemeWin32Classic.cs: Create Brushes as little as possible
  17855. 2004-08-10 19:20 jackson
  17856. * UICues.cs: Add Flags attribute
  17857. 2004-08-10 19:19 jackson
  17858. * StatusBarPanel.cs: Signature cleanup
  17859. 2004-08-10 19:10 jackson
  17860. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  17861. Initial implementation of status bar item drawing
  17862. 2004-08-10 17:27 jordi
  17863. * TrackBar.cs: add missing methods, properties, and restructure to
  17864. hide extra ones
  17865. 2004-08-10 16:24 jackson
  17866. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  17867. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  17868. attribute
  17869. 2004-08-10 13:21 jordi
  17870. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  17871. enhancements and standarize on win colors defaults
  17872. 2004-08-10 12:52 jackson
  17873. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  17874. ThemeWin32Classic.cs: Implement DrawItem functionality
  17875. 2004-08-10 12:47 jordi
  17876. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  17877. 2004-08-10 12:32 jordi
  17878. * Control.cs: throw ontextchange event
  17879. 2004-08-10 11:43 pbartok
  17880. * Control.cs:
  17881. - Added more to the still unfinished Dock/Anchor layout code
  17882. 2004-08-10 11:39 pbartok
  17883. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  17884. - Added GetWindowPos method
  17885. 2004-08-10 11:36 pbartok
  17886. * XplatUIWin32.cs:
  17887. - Implemented several methods
  17888. 2004-08-10 09:47 jackson
  17889. * TrackBar.cs: Allow control to handle buffering
  17890. 2004-08-10 09:41 jackson
  17891. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  17892. 2004-08-10 09:24 jackson
  17893. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  17894. 2004-08-10 09:09 jackson
  17895. * StatusBar.cs: Let Control handle all the buffering.
  17896. 2004-08-10 09:08 jackson
  17897. * Control.cs: Control will now handle the buffering code, so each
  17898. control does not have to implement this.
  17899. 2004-08-10 08:34 jackson
  17900. * XplatUIDriver.cs: Use default colors from the theme
  17901. 2004-08-09 17:12 pbartok
  17902. * ImageList.cs:
  17903. - Fixed several bugs Ravindra pointed out
  17904. 2004-08-09 16:11 pbartok
  17905. * Control.cs:
  17906. - Added incomplete dock layout code
  17907. - Added support for mouse wheel
  17908. 2004-08-09 16:09 pbartok
  17909. * XplatUIX11.cs:
  17910. - Added handling for middle and right mousebutton
  17911. - Added handling for mouse wheel
  17912. - Added handling for key state and mouse state and position
  17913. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  17914. messages
  17915. 2004-08-09 15:40 jackson
  17916. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  17917. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  17918. checkin
  17919. 2004-08-09 15:37 jackson
  17920. * StatusBar.cs: Initial implementation of StatusBar
  17921. 2004-08-09 15:36 jackson
  17922. * ITheme.cs: Add support for drawing status bar and getting status
  17923. bar item sizes
  17924. 2004-08-09 15:35 pbartok
  17925. * MouseButtons.cs:
  17926. - Fixed values
  17927. 2004-08-09 15:34 jackson
  17928. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  17929. status bar item sizes
  17930. 2004-08-09 15:21 jackson
  17931. * ThemeWin32Classic.cs: Use known colors for default control
  17932. colours
  17933. 2004-08-09 15:12 jackson
  17934. * ThemeWin32Classic.cs: Make the default font static, it is static
  17935. in control so this doesn't change functionality and creating fonts
  17936. is sloooooow.
  17937. 2004-08-09 14:56 pbartok
  17938. * X11Structs.cs:
  17939. - Added GrabMode enum
  17940. 2004-08-09 14:55 pbartok
  17941. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17942. - Removed Run method, was only required for initial development
  17943. 2004-08-09 14:51 pbartok
  17944. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  17945. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  17946. capture
  17947. 2004-08-09 13:48 pbartok
  17948. * XplatUIX11.cs:
  17949. - Fixed default sizing for child windows
  17950. 2004-08-09 12:56 pbartok
  17951. * XplatUIX11.cs:
  17952. - Added generation of WM_DESTROY message
  17953. - Added handling of window manager induced shutdown
  17954. 2004-08-09 11:31 jackson
  17955. * ThemeWin32Classic.cs: New names for control properties
  17956. 2004-08-09 11:25 jackson
  17957. * Control.cs: Use new color names
  17958. 2004-08-09 11:02 jackson
  17959. * XplatUI.cs: Get default window properties from the theme
  17960. 2004-08-09 11:01 jackson
  17961. * ITheme.cs: The theme engine now controls default window
  17962. properties
  17963. 2004-08-09 11:00 jackson
  17964. * ThemeWin32Classic.cs: Add default window color properties
  17965. 2004-08-09 10:17 jackson
  17966. * ThemeWin32Classic.cs: Use correct default back color
  17967. 2004-08-09 10:05 jackson
  17968. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  17969. the theme now.
  17970. 2004-08-09 09:56 jackson
  17971. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  17972. 2004-08-09 09:54 jackson
  17973. * Control.cs: Get default properties from the theme.
  17974. 2004-08-09 09:53 jackson
  17975. * ITheme.cs: Themes now handle default control properties
  17976. 2004-08-09 09:53 jackson
  17977. * ThemeWin32Classic.cs: Themes now handle default control
  17978. properties so coloring will be consistent
  17979. 2004-08-08 16:54 jordi
  17980. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  17981. 2004-08-08 15:08 jordi
  17982. * XplatUIX11.cs: fixes keyboard crash
  17983. 2004-08-08 13:47 jordi
  17984. * Label.cs: add cvs header info
  17985. 2004-08-08 12:09 jackson
  17986. * ThemeWin32Classic.cs: Add pen_buttonface
  17987. 2004-08-08 11:52 jordi
  17988. * Label.cs, LinkLabel.cs: [no log message]
  17989. 2004-08-08 11:34 jordi
  17990. * ThemeWin32Classic.cs: Use Windows Standard Colours
  17991. 2004-08-07 17:32 jordi
  17992. * TrackBar.cs: throw exceptions of invalid enums values
  17993. 2004-08-07 17:31 jordi
  17994. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  17995. draw method name
  17996. 2004-08-07 16:56 jackson
  17997. * HorizontalAlignment.cs: Initial checkin
  17998. 2004-08-07 13:16 jordi
  17999. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  18000. methods
  18001. 2004-08-07 13:05 jordi
  18002. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  18003. GetSysColor defines
  18004. 2004-08-06 18:01 pbartok
  18005. * ThemeWin32Classic.cs:
  18006. - Fixed some rounding issues with float/int
  18007. 2004-08-06 18:00 jackson
  18008. * DockStyle.cs, AnchorStyles.cs:
  18009. Add flags and serializable attributes.
  18010. 2004-08-06 17:46 pbartok
  18011. * XplatUIX11.cs:
  18012. - Implemented GetParent
  18013. 2004-08-06 17:18 pbartok
  18014. * TrackBar.cs:
  18015. - Fixed some rounding issues with float/int
  18016. 2004-08-06 17:17 pbartok
  18017. * X11Structs.cs, XplatUIX11.cs:
  18018. - Fixed Refresh and Invalidate
  18019. 2004-08-06 15:30 pbartok
  18020. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  18021. - Fixed recursive loop when resizing
  18022. - Improved/fixed redrawing on expose messages
  18023. 2004-08-06 09:53 jordi
  18024. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  18025. keyboard navigation
  18026. 2004-08-06 08:02 pbartok
  18027. * X11Structs.cs, XplatUIX11.cs:
  18028. - Fixed reparenting
  18029. - Fixed window border creation
  18030. 2004-08-05 15:38 pbartok
  18031. * XplatUIX11.cs:
  18032. - Attempted fix for reparenting problems
  18033. 2004-08-04 15:14 pbartok
  18034. * Control.cs:
  18035. - Fixed Invalidation bug (calculated wrong client area)
  18036. - Added ClientSize setter
  18037. 2004-08-04 15:13 pbartok
  18038. * Form.cs:
  18039. - Added AutoScale properties
  18040. 2004-08-04 15:13 pbartok
  18041. * SWF.csproj:
  18042. - Added latest files
  18043. 2004-08-04 14:11 pbartok
  18044. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18045. XplatUIX11.cs:
  18046. - Added Invalidate handling
  18047. 2004-08-03 17:09 jordi
  18048. * XplatUIDriver.cs: fixes spelling mistake
  18049. 2004-07-27 09:53 jordi
  18050. * TrackBar.cs: fixes trackbar events, def classname, methods
  18051. signature
  18052. 2004-07-27 09:29 jordi
  18053. * ScrollBar.cs: fixes scrollbar events
  18054. 2004-07-27 04:38 jordi
  18055. * Control.cs: changes to be able to run winforms samples
  18056. 2004-07-26 11:42 jordi
  18057. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  18058. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  18059. 2004-07-26 05:41 jordi
  18060. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  18061. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  18062. implementation
  18063. 2004-07-22 09:22 jordi
  18064. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  18065. check link overlapping, implement events, and fixes
  18066. 2004-07-21 10:28 jordi
  18067. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  18068. 2004-07-21 10:19 jordi
  18069. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  18070. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  18071. LinkLabelLinkClickedEventArgs.cs,
  18072. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  18073. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  18074. implementation
  18075. 2004-07-19 13:09 jordi
  18076. * Control.cs, Label.cs: label control re-written: added missing
  18077. functionlity, events, and properties
  18078. 2004-07-19 10:49 jordi
  18079. * Control.cs: fixes SetBounds logic
  18080. 2004-07-19 01:29 jordi
  18081. * Control.cs: Call RefreshWindow only if the window has created
  18082. 2004-07-15 14:05 pbartok
  18083. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  18084. - Implemented ImageList and ImageList.ImageCollection classes
  18085. - Added ColorDepth enumeration
  18086. - Updated SWF VS.Net project
  18087. 2004-07-15 11:06 jordi
  18088. * XplatUIStructs.cs: added MsgButons enum
  18089. 2004-07-15 11:03 jordi
  18090. * Control.cs: added basic mouse handeling events
  18091. 2004-07-15 03:38 jordi
  18092. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  18093. Vertical TrackBar control implementation
  18094. 2004-07-13 09:33 jordi
  18095. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  18096. 2004-07-13 09:31 jordi
  18097. * Control.cs, Form.cs: commit: new properties and fixes form size
  18098. problems
  18099. 2004-07-09 14:13 miguel
  18100. * ProgressBar.cs: Spelling
  18101. 2004-07-09 11:25 pbartok
  18102. * ProgressBar.cs:
  18103. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  18104. faster
  18105. 2004-07-09 11:17 miguel
  18106. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  18107. * ProgressBar.cs: Fixed spelling for `block'
  18108. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  18109. style guidelines.
  18110. Avoid using the += on rect.X, that exposed a bug in the compiler.
  18111. 2004-07-08 23:21 pbartok
  18112. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  18113. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  18114. BaseCollection.cs, Binding.cs, BindingContext.cs,
  18115. BindingMemberInfo.cs, BindingsCollection.cs,
  18116. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  18117. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  18118. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  18119. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  18120. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  18121. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  18122. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  18123. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  18124. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  18125. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  18126. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  18127. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  18128. InputLanguageChangedEventArgs.cs,
  18129. InputLanguageChangedEventHandler.cs,
  18130. InputLanguageChangingEventArgs.cs,
  18131. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  18132. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  18133. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  18134. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  18135. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  18136. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  18137. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  18138. QueryAccessibilityHelpEventArgs.cs,
  18139. QueryAccessibilityHelpEventHandler.cs,
  18140. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  18141. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  18142. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  18143. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  18144. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  18145. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  18146. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  18147. XplatUIX11.cs, lang.cs:
  18148. - Initial check-in