ChangeLog 198 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115
  1. 2010-06-02 Marek Habersack <[email protected]>
  2. * ViewStateMode.cs: added
  3. * Control.cs: implemented 4.0 ViewStateMode
  4. * Page.cs: implemented 4.0 properties AutoPostBackControl and
  5. RouteData
  6. 2010-06-01 Marek Habersack <[email protected]>
  7. * PageParser.cs: added support for MetaDescription and
  8. MetaKeywords main directive attributes
  9. * Page.cs: implemented MetaDescription and MetaKeywords
  10. 4.0 properties.
  11. 2010-05-19 Marek Habersack <[email protected]>
  12. * DataSourceCacheDurationConverter.cs: implemented. Fixes bug
  13. #603083
  14. * PageParser.cs: handle several main directive attributes
  15. specially, as they can have expressions as their values. Fixes bug
  16. #603532
  17. * MainDirectiveAttribute.cs: added - helper class to handle
  18. directive attributes which can take either a value or an
  19. expression.
  20. * BaseParser.cs: IsDirective, IsExpression and IsDataBound methods
  21. moved to here from TemplateControlCompiler.
  22. 2010-05-15 Marek Habersack <[email protected]>
  23. * Control.cs: implemented 4.0 GetRouteUrl overloads and
  24. GetUniqueIDRelativeTo
  25. 2010-05-05 Marek Habersack <[email protected]>
  26. * CollectionBuilder.cs: if a type has more than on indexer, check
  27. all of them for type compliance in GetChildControlType. Fixes bug
  28. #601290. Patch from Kalyanov Dmitry <[email protected]>,
  29. thanks!
  30. 2010-04-28 Marek Habersack <[email protected]>
  31. * KeyedList.cs: do not implement IStateManager in 4.0
  32. 2010-04-12 Marek Habersack <[email protected]>
  33. * PageParser.cs: if EnableViewStateMac option is present in the
  34. directive, remember it for later use by the compiler.
  35. * Page.cs: initialize EnableViewStateMac with the default read
  36. from the config.
  37. The above fix cross-site scripting vulnerability (CVE: CVE-2010-1459)
  38. Credits: Web Security Research Group (WSRG) of Hewlett Packard
  39. (HP)
  40. 2010-04-07 Marek Habersack <[email protected]>
  41. * Control.cs: control cache must be filled using the local
  42. _controls collection instead of the virtual Controls
  43. property. Fixes bug #594238
  44. Check if _controls isn't null before using it.
  45. 2010-04-06 Marek Safar <[email protected]>
  46. * FileLevelControlBuilderAttribute.cs: Use reference comparison.
  47. 2010-01-20 Marek Habersack <[email protected]>
  48. * ObjectStateFormatter.cs: implemented support for IndexedString
  49. on top of the existing StringFormatter.
  50. * IndexedString.cs: implemented
  51. 2009-12-22 Marek Habersack <[email protected]>
  52. * Page.cs: form javascript declaration block is rendered only if
  53. necessary. Fixes bug #566541
  54. * ClientScriptManager.cs: added internal property ScriptsPresent
  55. used to determine if it is necessary to render form javascript
  56. declaration block.
  57. Hidden fields block is output without indenting the controls and
  58. without rendering trailing empty line.
  59. Made Write{Begin,End}ScriptBlock slightly faster.
  60. 2009-12-18 Marek Habersack <[email protected]>
  61. * ObjectStateFormatter.cs: ObjectFormatter.WriteObject checks
  62. whether candidate converter can convert from string now. Fixes bug
  63. #565547
  64. 2009-11-14 Marek Habersack <[email protected]>
  65. * TemplateControl.cs: if writer is null in
  66. WriteUTF8ResourceString, use output.Write, not writer.Write. Fixes
  67. bug #547015
  68. 2009-11-10 Marek Habersack <[email protected]>
  69. * TemplateParser.cs: AddImports is called from LoadConfigDefaults
  70. so that it reads configuration from the correct .config file (it
  71. needs to be called after this.VirtualPath has been
  72. initialized). Fixes an issue with MVC apps which put configuration
  73. in Views/web.config etc. Fixes bug #552457
  74. * ControlBuilder.cs, Page.cs: system.web/pages section is not
  75. confined to the top-level web.config
  76. 2009-10-30 Marek Habersack <[email protected]>
  77. * Control.cs: ResolveClientUrl takes base path from
  78. Request.ClientFilePath, so that it works correctly for rewritten
  79. urls.
  80. 2009-10-27 Marek Habersack <[email protected]>
  81. * ObjectStateFormatter.cs: do not use a type converter to
  82. serialize an object if the converter is an instance of
  83. TypeConverter itself - its reported capability of converting to
  84. string is not useful here.
  85. 2009-10-12 Marek Habersack <[email protected]>
  86. * ObjectStateFormatter.cs: if a type is associated with a type
  87. converter, do not check if the converter can convert FROM the type
  88. in question, as this is implied. Fixes bug #545979
  89. 2009-10-09 Marek Habersack <[email protected]>
  90. * Control.cs: implemented the LoadViewStateByID property as well
  91. as saving/restoring the view state by control's ID.
  92. 2009-09-22 Marek Habersack <[email protected]>
  93. * WebServiceParser.cs: GetCompiledType uses BuildManager on the
  94. 2.0 profile. Fixes bug #533166
  95. 2009-09-15 Marek Habersack <[email protected]>
  96. * TemplateParser.cs: FindNamespaceInAssembly must catch
  97. ReflectionTypeLoadException so that it doesn't break on invalid
  98. assemblies.
  99. 2009-08-24 Marek Habersack <[email protected]>
  100. * PageParser.cs: 2.0 profile takes advantage of the inputFile
  101. parameter to GetCompiledPageInstance. A check is made whether the
  102. file pointed to by this parameter is inside the application's
  103. virtual path and if not, the compilation request is assumed to
  104. refer to a fake location. Part of fix for bug #463813
  105. 2009-08-18 Marek Habersack <[email protected]>
  106. * ControlBuilder.cs: Location property makes a copy of assigned
  107. ILocation now.
  108. 2009-08-14 Marek Habersack <[email protected]>
  109. * ControlBuilder.cs: when CreateSubBuilder is called on a builder
  110. which is supposed to treat its children as properties and the
  111. default property builder is defined, first check if the tag which
  112. has just been parsed isn't a template property. If it is, don't
  113. use the default property builder, instead create a template
  114. property builder directly. Fixes bug #527753
  115. 2009-07-23 Marek Habersack <[email protected]>
  116. * ControlBuilder.cs: added an internal helper property
  117. IsNamingContainer.
  118. 2009-07-21 Marek Habersack <[email protected]>
  119. * SimpleWebHandlerParser.cs: make sure to ignore invalid bin/
  120. assemblies in AddAssembliesInBin and GetTypeFromBin.
  121. 2009-06-15 Marek Habersack <[email protected]>
  122. * TemplateParser.cs: AddAssembliesInBin (1.1 profile) tries to
  123. load every assembly in order to see if it's a valid one. All bad
  124. dll image errors are silently ignored. Fixes bug #315816
  125. 2009-06-05 Marek Habersack <[email protected]>
  126. * Page.cs: InitializeTheme uses WebConfigurationManager.GetSection
  127. to retrieve page theme name. GetWebApplicationSection cannot be
  128. used because the system.web/pages section is valid also in
  129. subdirectories. Fixes bug #510302
  130. 2009-06-01 Marek Habersack <[email protected]>
  131. * ClientScriptManager.cs: WriteHiddenFields doesn't add the id
  132. attribute to generated input element in the 1.1 profile. Fixes bug
  133. #508167. Patch from Hubert FONGARNAND
  134. <[email protected]>, thanks!
  135. 2009-05-29 Marek Habersack <[email protected]>
  136. * StateBag.cs: made SetDirty (bool) available on 1.1 as
  137. internal. Fixes bug #507836
  138. 2009-05-05 Marek Habersack <[email protected]>
  139. * TemplateParser.cs: PageParserFilterType uses
  140. HttpApplication.LoadType so that it is able to load the filter
  141. from App_Code or with not fully qualified type names.
  142. 2009-05-04 Marek Habersack <[email protected]>
  143. * TemplateParser.cs: take RootBuilder from the associated
  144. generator.
  145. Allow the main page directive to be added twice if the parser
  146. needs it. Used by AspGenerator when extracting the inherited type
  147. name before actual parsing. Fixes bug #500075
  148. * FileLevelControlBuilderAttribute.cs,
  149. FileLevelPageControlBuilder.cs, FileLevelUserControlBuilder.cs:
  150. implemented
  151. * ControlBuilder.cs: added a new internal property,
  152. DataBindingMethod.
  153. Implemented ProcessGeneratedCode.
  154. 2009-04-30 Marek Habersack <[email protected]>
  155. * TemplateParser.cs: removed the PageParserFilterTypeName
  156. property, the filter type name is looked up on demand now.
  157. * ApplicationFileParser.cs, MasterPageParser.cs,
  158. UserControlParser.cs: load config defaults explicitly after
  159. initializing the instance.
  160. 2009-04-29 Marek Habersack <[email protected]>
  161. * DataBinder.cs: GetPropertyValue must throw also if propName is
  162. empty.
  163. 2009-04-24 Marek Habersack <[email protected]>
  164. * TemplateParser.cs: PageParserFilter.Initialize now takes just
  165. one parameter.
  166. AddImport ignores null/empty namespaces. Fixes bug #498118
  167. * PageParserFilter.cs: a few alignments for .NET compatibility in
  168. the default behavior.
  169. 2009-04-22 Marek Habersack <[email protected]>
  170. * TemplateParser.cs: create the imports ArrayList before
  171. attempting to use it. Fixes bug #497174
  172. 2009-04-21 Marek Habersack <[email protected]>
  173. * Page.cs: added support for OutputCacheParameters.NoStore to
  174. InitOutputCache.
  175. * SimpleWebHandlerParser.cs: retrieve CompilationSection from the
  176. appropriate web.config file.
  177. * BaseParser.cs: moved the internal property VirtualPath from
  178. TemplateParser to here and added an internal method
  179. GetConfigSection to retrieve sections from the correct web.config
  180. file on 2.0 applications. Fixes bug #494245
  181. * PageParser.cs: use the new GetConfigSection method to retrieve
  182. ClientTargetSection.
  183. * TemplateParser.cs: moved the VirtualPath property to
  184. BaseParser.
  185. PagesConfig now uses the new GetConfigSection method. Fixes bug
  186. #494245
  187. Added support for the SqlDependency, NoStore and CacheProfile
  188. attributes of the OutputCache directive. Fixes bug #496951
  189. 2009-04-15 Marek Habersack <[email protected]>
  190. * TemplateParser.cs: use generic lists for import, namespace and
  191. interface caches. If a namespace is added (e.g. by parsing the
  192. Import directive), find the assembly in which namespace is
  193. defined.
  194. 2009-04-07 Marek Habersack <[email protected]>
  195. * Control.cs: ApplyTheme - make sure Page is not null before using
  196. it. Fixes bug #492666
  197. 2009-04-06 Marek Habersack <[email protected]>
  198. * Page.cs: ProcessRaiseCallbackEvent and ProcessGetCallbackResult
  199. now return full exception trace if one is caught and we're running
  200. in debugging mode.
  201. 2009-03-31 Marek Habersack <[email protected]>
  202. * Page.cs: SavePageViewState saves the list of controls which
  203. require post back regardless of whether view state is disabled or
  204. not. Fixes bug #490753
  205. * ApplicationFileParser.cs, MasterPageParser.cs, PageParser.cs,
  206. PageThemeFileParser.cs, PageThemeParser.cs, UserControlParser.cs,
  207. WebHandlerParser.cs, WebServiceParser.cs: 2.0 constructors take a
  208. VirtualPath instance for the virtualPath parameter, instead of a
  209. string.
  210. 2009-03-18 Marek Habersack <[email protected]>
  211. * Control.cs: AppRelativeResourceDirectory no longer returns a
  212. hard-coded "~/" when template control's virtual path cannot be
  213. determined. It returns application relative version of
  214. TemplateSourceDirectory instead.
  215. 2009-03-13 Marek Habersack <[email protected]>
  216. * Control.cs: clear the controls cache on control removal. This
  217. ensures that a subsequent FindControl call won't return the
  218. removed control.
  219. 2009-03-06 Marek Habersack <[email protected]>
  220. * XPathBinder.cs: use the pased namespace manager
  221. * ControlBuilder.cs: BindingContainerType - if control type of the
  222. containing builder is null, return typeof (Control)
  223. 2009-03-03 Rodrigo Kumpera <[email protected]>
  224. * Control.cs (FillControlCache): Remove useless control
  225. parameter. It's always the same of 'this'.
  226. 2009-03-03 Rodrigo Kumpera <[email protected]>
  227. * DataBoundLiteralControl.cs: Don't init static literals
  228. as they are lazily created.
  229. 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
  230. * BaseParser.cs:
  231. * PageParser.cs:
  232. * ControlBuilder.cs:
  233. * TemplateParser.cs:
  234. * Page.cs:
  235. * SimpleWebHandlerParser.cs: settings that have to be in
  236. machine.config or the root level web.config now call
  237. GetWebApplicationSection.
  238. 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
  239. * ObjectStateFormatter.cs: use GetWebApplication
  240. instead of GetSection for application level configuration.
  241. 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
  242. * Control.cs: Avoid double OnInit in scenarios with two master
  243. pages.
  244. 2009-02-26 Marek Habersack <[email protected]>
  245. * FileLevelControlBuilderAttribute.cs,
  246. DataSourceCacheDurationConverter: hush the gmcs warnings
  247. 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
  248. * TemplateControl.cs: implement the other ReadStringResource method.
  249. Patch from Kornel Pal.
  250. 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
  251. * ResourceBasedLiteralControl.cs: new Control. It's just
  252. like a LiteralControl but will render itself from the bytes pointed to
  253. by an IntPtr and not create any string from the underlying data unless
  254. needed.
  255. * TemplateControl.cs: implemented a bunch of methods
  256. that are used from the precompiled assemblies for a web project. The
  257. most notable change needed is to be able to read a win32 resource from
  258. the dll of the control. The resource is a concatenation of literals
  259. with plain text for the control and a specialized LiteralControl is
  260. generated from different chunks of the resource.
  261. * HtmlTextWriter.cs: new method that returns the HttpWriter in use.
  262. 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
  263. * TemplateControl.cs: ReadStringResource returns null now.
  264. 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
  265. * MasterPage.cs: the items in ContentPlaceHolders are lowercase.
  266. 2009-02-18 Marek Habersack <[email protected]>
  267. * TemplateParser.cs: don't initialize PageParserFilter in
  268. LoadConfigDefaults, postpone it till the first time the
  269. PageParserFilter property is accessed.
  270. * ApplicationFileParser.cs, UserControlParser.cs: make sure
  271. VirtualPath is set in the constructors.
  272. 2009-02-13 Marek Habersack <[email protected]>
  273. * TemplateParser.cs: PageParserFilter handling moved to here.
  274. PagesConfig must use the current virtual path when retrieving the
  275. section, or otherwise we'll miss the lower level web.configs.
  276. Added the AddControl method, used by PageParserFilter.
  277. Implementing filtering of: parsed directives and the base type, if
  278. a page parser filter is present.
  279. * PageParserFilter.cs: added missing 3.5 members and implemented
  280. everything.
  281. * PageParser.cs: moved PageParserFilter processing to
  282. TemplateParser.
  283. VirtualPath must be set before anything else.
  284. Call page parser filter's directive preprocessing code from
  285. AddDirective if a filter is present and a mastertype or
  286. previouspagetype directive is parsed.
  287. * MasterPageParser.cs: when PageParserFilter is present use it to
  288. preprocess the MasterType directive.
  289. 2009-02-12 Marek Safar <[email protected]>
  290. * ControlBuilder.cs, PageParserFilter.cs, CodeConstructType.cs:
  291. Add few missing members.
  292. 2009-02-06 Gert Driesen <[email protected]>
  293. * Control.cs: Make IsViewStateEnabled available on 1.0 profile
  294. and use it to determine if viewstate needs to be saved instead of
  295. the newly introduced ViewStateShouldBeSaved. Remove
  296. ViewStateShouldBeSaved.
  297. 2009-02-05 Marek Habersack <[email protected]>
  298. * Control.cs: if a control has been added to the controls
  299. collection, removed and added again do not call OnInit (). At the
  300. same time OnInit() should be called more than once if a control is
  301. added to a container which, in turn, is then added to another
  302. control. To achieve that a new state mask flag has been added -
  303. REMOVED. Fixes bug #471305
  304. 2009-02-04 Marek Habersack <[email protected]>
  305. * Control.cs: update of the fix for bug #470993 - view state of
  306. the child controls isn't saved when any of their parents has it
  307. disabled.
  308. 2009-01-30 Marek Habersack <[email protected]>
  309. * Control.cs: don't save the control's state if it's
  310. disabled. Fixes bug #470993
  311. 2009-01-23 Marek Habersack <[email protected]>
  312. * HtmlTextWriter.cs: if OnTagRender returns false when called from
  313. RenderBeginTag, push the tag to the stack regardless, and ignore
  314. it in DoBeginTag and RenderEndTag. Fixes bug #463634
  315. 2009-01-13 Marek Habersack <[email protected]>
  316. * CodeBuilder.cs, RootBuilder.cs, CollectionBuilder.cs: updates
  317. related to ControlBuilder cleanup.
  318. * ControlBuilder.cs: code cleanup - no field should be visible
  319. outside the class unless it's a constant or a read-only field.
  320. 2009-01-12 Marek Habersack <[email protected]>
  321. * TemplateParser.cs: line pragmas are on by default. Fixes bug
  322. #460479
  323. 2009-01-09 Marek Habersack <[email protected]>
  324. * BaseParser.cs, PageParser.cs, UserControlParser.cs: use
  325. VirtualPathUtility.GetDirectory instead of UrlUtils.GetDirectory.
  326. 2008-12-25 Gonzalo Paniagua Javier <[email protected]>
  327. * TemplateControl.cs: use IndexOf (char).
  328. 2008-12-18 Marek Habersack <[email protected]>
  329. * ControlBuilder.cs: BindingContainerType returns typeof (Page)
  330. only when the current object is a RootBuilder and it's been
  331. created for a page parser. Otherwise it returns typeof
  332. (Control). Fixes bug #456305
  333. 2008-12-11 Marek Habersack <[email protected]>
  334. * MasterPageParser.cs: check if masterType is null before using it
  335. in AddDirective.
  336. * TemplateParser.cs: in the 2.0 profile when a custom control is
  337. registered, do not compile it right away but store the tag name in
  338. a registry to be compiled at a later stage.
  339. 2008-12-09 Gonzalo Paniagua Javier <[email protected]>
  340. * XhtmlTextWriter.cs: don't recreate the Hashtables every time, but
  341. Clone the defaults.
  342. 2008-12-10 Marek Habersack <[email protected]>
  343. * MasterPageParser.cs: do not compile anything while
  344. parsing. MasterType virtual path is not compiled, but stored for
  345. later. It is compiled when the MasterType property is requested
  346. from within MasterPageCompiler.
  347. * PageParser.cs: do not compile anything while
  348. parsing. MasterPageFile, MasterType and PreviousPageType virtual
  349. paths aren't compiled but checked for existence and stored for
  350. later. Actual compilation happens when the MasterType and
  351. PreviousPageType are requested from within PageCompiler.
  352. * BaseParser.cs: added a new helper method, ThrowParseFileNotFound.
  353. 2008-12-03 Marek Habersack <[email protected]>
  354. * DataBinder.cs: clean up Eval for good this time.
  355. GetIndexedPropertyValue should throw an exception when a string
  356. indexer expression is used and the container is an IList.
  357. 2008-12-02 Gonzalo Paniagua Javier <[email protected]>
  358. * Page.cs: make sure we don't return null in Title.
  359. 2008-12-02 Marek Habersack <[email protected]>
  360. * DataBinder.cs: when Eval attempts to find Items [] in the
  361. container, catch and ignore all exceptions - the null returned
  362. from GetPropertyValue may be a legitimate return value.
  363. * StateManagedCollection.cs: adding an item to the collection does
  364. not call SetDirty as an item is added, thus not affecting the
  365. indexes of its predecessors. Fixes bug #443100
  366. Insert doesn't call SetDirtyObject as all objects are made dirty
  367. in SetDirty which is called from here. Same applies to this [int]
  368. indexer.
  369. 2008-12-01 Marek Habersack <[email protected]>
  370. * MasterPage.cs: use List <string> for ContentPlaceHolders instead
  371. of ArrayList.
  372. CreateMasterPage now directly accesses the ContentPlaceHolders as
  373. it is now a list of strings.
  374. 2008-11-28 Marek Habersack <[email protected]>
  375. * DataBinder.cs: do the proper thing in Eval when a non-indexed
  376. property is requested on an object and not found. In that case try
  377. to use the Items property.
  378. 2008-11-25 Marek Habersack <[email protected]>
  379. * RootBuilder.cs: use new API in AspComponentFoundry to retrieve
  380. registered control type.
  381. * TemplateControlParser.cs: AddControlImports () removed. Its
  382. functionality is now implemented in ControlBuilder.AddChild in a
  383. more elegant, fine grained and correct way.
  384. * TemplateParser.cs: replaced some "" with String.Empty
  385. * ControlBuilder.cs: AddChild now adds an import for child's
  386. namespace if the control being added has been registered in the
  387. web.config file. Possible fix for #447896 and #447898
  388. * PageParser.cs, MasterPageParser.cs: do not call
  389. AddControlImports, it no longer exists.
  390. 2008-11-21 Marek Habersack <[email protected]>
  391. * ControlBuilder.cs: in BindingContainerType if builder is a
  392. RootBuilder and no naming container is found, return typeof
  393. (Page). In the TemplateBuilder case return cb.ControlType, not
  394. this.ControlType.
  395. 2008-11-18 Gonzalo Paniagua Javier <[email protected]>
  396. * ControlBuilder.cs: make sure the binding container container is a
  397. naming container.
  398. 2008-11-18 Marek Habersack <[email protected]>
  399. * ControlBuilder.cs: make sure no control implementing the
  400. INonBindingContainer can be returned from BindingContainerType.
  401. 2008-11-18 Gonzalo Paniagua Javier <[email protected]>
  402. * ControlBuilder.cs: find the correct naming container even inside
  403. user controls. A corner case of bug #445889.
  404. 2008-11-15 Marek Habersack <[email protected]>
  405. * INonBindingContainer.cs: added
  406. * Control.cs: BindingContainer now checks if a control implements
  407. INonBindingContainer interface in addition to the
  408. BINDING_CONTAINER mask check.
  409. * UserControl.cs: implements INonBindingContainer
  410. * ControlBuilder.cs: use the new INonBindingContainer interface to
  411. determine the binding container type in the BindingContainerType
  412. property. If TemplateBuilder's ContainerType implements that
  413. interface, the NamingContainer is queried for the binding
  414. container type. If ContainerType is null, we return our own
  415. ControlType (if we're TemplateBuilder)
  416. 2008-11-14 Marek Habersack <[email protected]>
  417. * DataBinder.cs: if Eval doesn't find the indicated property, try
  418. to find an indexer property on the object and use the expression
  419. value as its parameter. Fixes #444725
  420. 2008-11-13 Marek Habersack <[email protected]>
  421. * Control.cs: added ability to reset child names to a specific
  422. value, not only to 0.
  423. 2008-10-29 Marek Habersack <[email protected]>
  424. * StateManagedCollection.cs: IList.Remove should call this.IndexOf
  425. instead of items.IndexOf
  426. 2008-10-24 Marek Habersack <[email protected]>
  427. * TemplateControl.cs: pass content hash to
  428. UserControlParser.GetCompiledType when compiling a control in
  429. ParseControl.
  430. * UserControlParser.cs: when compiling a control using a text
  431. reader, append a unique suffix to the "file path" - that way
  432. controls compiled from different input streams won't conflict with
  433. each other in the compilation cache.
  434. 2008-10-23 Marek Habersack <[email protected]>
  435. * TemplateControlParser.cs: added internal method
  436. AddControlImports which adds namespaces named in the
  437. pages/controls section of web.config
  438. * MasterPageParser.cs: unconditionally add namespaces named in the
  439. pages/controls section of web.config.
  440. * PageParser.cs: add namespaces named in the pages/controls
  441. section of web.config to the page whenever it uses a master page.
  442. * StateManagedCollection.cs: modified {Load,Save}ViewState to
  443. properly store/recreate the collection of controls and to use a
  444. more consistent structure for the state.
  445. 2008-10-17 Marek Habersack <[email protected]>
  446. * Control.cs: added the ValidateEvent internal method, used by
  447. classes descending from Control to automatically trigger event
  448. validation.
  449. * Page.cs: removed the CheckForValidationSupport method. It moved
  450. to Control.cs
  451. RaisePostBackEvent no longer validates the events, this
  452. functionality has been moved to Control.ValidateEvent.
  453. 2008-10-15 Marek Habersack <[email protected]>
  454. * Page.cs: Response caching is switched on only when output
  455. caching is configured for this page instance. Fixes bug #435549.
  456. 2008-10-14 Marek Habersack <[email protected]>
  457. * Control.cs: SaveViewStateRecursive must return view state even
  458. if EnableViewState is false. This is apparently what .NET does, as
  459. some commercial ASP.NET controls take advantage of that via
  460. reflection.
  461. 2008-10-08 Marek Habersack <[email protected]>
  462. * DataBinder.cs: in Eval expression needs to be trimmed before
  463. checking whether it's an empty string.
  464. GetIndexedPropertyValue must explicitly look for the "Item"
  465. property, the lack of the DefaultMember attribute on type must not
  466. throw exceptions.
  467. 2008-10-03 Marek Habersack <[email protected]>
  468. * TemplateParser.cs: make sure the generated class name is a valid
  469. language independent identifier. Fixes bug #431622
  470. 2008-09-29 Marek Habersack <[email protected]>
  471. * Page.cs: EnableViewState is initialized from the web
  472. configuration.
  473. ViewState is saved only if EnableViewState is true for the page.
  474. Optimized SavePageControlState implementation.
  475. Implemented the UniqueFilePathSuffix and MaxPageStateFieldLength
  476. properties.
  477. Some coding style changes.
  478. 2008-09-25 Marek Habersack <[email protected]>
  479. * Page.cs: make sure view state is loaded for PreviousPage during
  480. cross-page postback.
  481. 2008-09-13 Atsushi Enomoto <[email protected]>
  482. * IAutoFieldGenerator.cs : new in 3.5 SP1.
  483. 2008-09-13 Atsushi Enomoto <[email protected]>
  484. * CssClassPropertyAttribute.cs : new in 3.5 SP1.
  485. 2008-09-13 Atsushi Enomoto <[email protected]>
  486. * IBindableControl.cs : new in 3.5 SP1.
  487. 2008-09-01 Marek Habersack <[email protected]>
  488. * ControlBuilder.cs: CreatePropertyBuilder now correctly processes
  489. property names with prefixes (e.g. 'prefix:PropertyName').
  490. Original, parsed, tag name is stored to properly handle closing
  491. tags.
  492. CreateSubBuilder compares tagid to tagName case-insensitively now.
  493. * TemplateControl.cs: changed the way in which ParseControl is
  494. implemented for the 2.0+ profile. Still not quite there, but
  495. better and closer to .NET
  496. 2008-08-31 Marek Habersack <[email protected]>
  497. * Control.cs: improved FillControlCache
  498. * TemplateParser.cs: added support for the LinePragmas directive
  499. attribute.
  500. * ControlBuilder.cs: if this instance is a TemplateBuilder do not
  501. call MyNamingContainer, so that our own ContainerType can be used
  502. as the binding container (if present).
  503. Added a cache for children of TemplateBuilder, used later in
  504. TemplateControlCompiler.
  505. 2008-08-26 Marek Habersack <[email protected]>
  506. * TemplateControlParser.cs: added support for the VirtualPath
  507. attribute of the Reference directive.
  508. In the 2.0 profile, all the references are compiled using
  509. BuildManager.GetCompiledType now.
  510. 2008-08-13 Marek Habersack <[email protected]>
  511. * TemplateBuilder.cs: use a generic List to store the bindings on
  512. 2.0+
  513. 2008-08-08 Marek Habersack <[email protected]>
  514. * StateManagedCollection.cs: set all the contained objects state
  515. to dirty in SetDirty.
  516. 2008-07-28 Marek Habersack <[email protected]>
  517. * MasterPage.cs: decouple processing of content templates in
  518. CreateMasterPage from checking whether all the content place
  519. holder ids are defined. Fixes bug #325114
  520. 2008-07-22 Gert Driesen <[email protected]>
  521. * LosFormatter.cs (Deserialize): When stream is non-seekable, do not
  522. attempt to use properties that require a seekable stream. Based on
  523. patch provided by Dean Brettle ([email protected]). Fixes bug #411115.
  524. 2008-07-16 Rodrigo Kumpera <[email protected]>
  525. * DataBoundLiteralControl.cs: Lazily create staticLiterals.
  526. * DataBoundLiteralControl.cs (Render): Don't generate
  527. an intermediate string, write the content directly.
  528. 2008-07-14 Marek Habersack <[email protected]>
  529. * Page.cs: fix the failing tests by moving the form
  530. RaisePostBackEvent code up in RaisePostBackEvents, so that
  531. Validate () isn't called together with the registered post back
  532. events.
  533. 2008-07-10 Roei Erez <[email protected]>
  534. * ClientScriptManager.cs: Bug in javacript code, usind window scope instead of document.
  535. 2008-07-11 Marek Habersack <[email protected]>
  536. * Control.cs: if adapter exists for the given control, use it for
  537. rendering. Patch from Christian Hergert
  538. <[email protected]>, thanks!
  539. 2008-07-10 Roei Erez <[email protected]>
  540. * Page.cs: Differentiate between IPostBackEventHandler that was registered by the user,
  541. and one that was given as post parameter, so that in case ther post data may trigger both
  542. IPostBackEventHandler and IPostBackDataHandler, only the IPostBackDataHandler is actually triggered.
  543. 2008-07-09 Rodrigo Kumpera <[email protected]>
  544. * DataBinder.cs (GetDataItem): Commited stupid code.
  545. 2008-07-09 Rodrigo Kumpera <[email protected]>
  546. * DataBinder.cs (GetDataItem): Use a per-thread cache for
  547. property lookup.
  548. 2008-07-02 Rodrigo Kumpera <[email protected]>
  549. * Control.cs: Fix the lookup in ResolveAdapter that I
  550. broke in the previous change.
  551. 2008-07-02 Rodrigo Kumpera <[email protected]>
  552. * Control.cs: Optimize ResolveAdapter a bit more.
  553. 2008-07-02 Rodrigo Kumpera <[email protected]>
  554. * Control.cs: Optimize the Adapter property and ResolveAdapter a bit.
  555. 2008-07-01 Rodrigo Kumpera <[email protected]>
  556. * TemplateControl.cs: Kill a foreach loop.
  557. 2008-06-30 Marek Habersack <[email protected]>
  558. * TemplateParser.cs: use atomic incrementation for automatic class
  559. name creation to avoid Monitor Enter/Exit.
  560. * UserControlParser.cs: hush the warnings and remove unnecessary
  561. code.
  562. * ControlCachePolicy.cs, PageParser.cs, ControlBuilder.cs,
  563. TemplateParser.cs, SimpleWebHandlerParser.cs, TemplateControl.cs,
  564. ApplicationFileParser.cs: hush the warnings
  565. * Page.cs: Context is protected internal in .NET 3.5
  566. Initialize encryption IVs before returning the transform.
  567. * Control.cs: in 2.0 we should return the context associated with
  568. the current page. In 1.0 we ignore the never set field _context
  569. and keep walking up the parent chain. Also, Context is protected
  570. internal in .NET 3.5
  571. Hush the warnings.
  572. 2008-06-27 Zoltan Varga <[email protected]>
  573. * Control.cs (ResolveAdapter): Avoid calling the Context property getter
  574. multiple times.
  575. * TemplateControl.cs: Avoid collecting the automatic event info for each
  576. instance.
  577. 2008-06-18 Juraj Skripsky <[email protected]>
  578. * Page.cs (ProcessException): Throw HttpUnhandledException instead of
  579. TargetInvocationException to match .NET. Fixes bug #400482.
  580. 2008-06-18 Marek Habersack <[email protected]>
  581. * BasePartialCachingControl.cs: implemented the CachePolicy
  582. property.
  583. * UserControl.cs: implemented the CachePolicy property.
  584. * ControlCachePolicy.cs: implemented missing properties and
  585. methods.
  586. 2008-06-11 Marek Habersack <[email protected]>
  587. * TemplateControl.cs: make sure 'type' isn't null in LoadControl
  588. before attempting to use it.
  589. 2008-06-10 Noam Lampert <[email protected]>
  590. * TemplateControl.jvm.cs: Don't assume that controls containing page-specific
  591. callbacks (e.g. Page_LoadComplete) are necessarily Page derivatives.
  592. 2008-06-04 Juraj Skrispky <[email protected]>
  593. * PageParser.cs (ProcessMainAttributes): Take value of
  594. enableEventValidation from web.config into account. Fixes bug #397099.
  595. 2008-06-04 Marek Habersack <[email protected]>
  596. * PageHandlerFactory.cs: this class should be public. Fixes bug
  597. #396707
  598. 2008-05-30 Marek Habersack <[email protected]>
  599. * DataBindingCollection.cs, ExpressionBindingCollection.cs: do not
  600. use synthetized event accessors (to avoid locks).
  601. 2008-05-28 Marek Habersack <[email protected]>
  602. * ReadOnlyDataSourceView.cs: added. Patch contributed by James
  603. Fitzsimons <[email protected]>, thanks!
  604. * TemplateParser.cs: added support for #pragma checksum
  605. 2008-05-19 Juraj Skripsky <[email protected]>
  606. * Page.cs (ValidateCollection): Don't check _eventValidation, it
  607. has nothing to do with the validators.
  608. 2008-05-16 Marek Habersack <[email protected]>
  609. * StateManagedCollection.cs: make {Save,Load}ViewState simpler.
  610. 2008-05-15 Marek Habersack <[email protected]>
  611. * StateManagedCollection.cs: do not query for index of an item in
  612. a null array.
  613. 2008-05-07 Marek Habersack <[email protected]>
  614. * TemplateParser.cs: added a stack of include directories, to
  615. properly resolve file relative paths when the #include file=""
  616. directive is used. Fixes bug #324536
  617. 2008-05-05 Igor Zelmanovich <[email protected]>
  618. * HiddenFieldPageStatePersister.cs: add TARGET_J2EE def
  619. * Page.cs: remove TARGET_J2EE def
  620. * Page.jvm.cs: add new internal api such PageState and FacesContext.
  621. all those changes make PageAdapter works with JSF under TARGET_J2EE.
  622. 2008-04-24 Marek Habersack <[email protected]>
  623. * RootBuilder.cs: when registering a custom control, add its path
  624. to the parser dependencies. Fixes bug #377915
  625. In the 2.0 profile, if the custom control being used was
  626. registered from web.config and is found in the same directory what
  627. the file being parsed, throw an exception. This behavior matches
  628. MS.NET.
  629. * TemplateParser.cs: added new VirtualPath property, which stores
  630. the virtual path to the file being parsed.
  631. * PageParser.cs: set the VirtualPath property in the 2.0 profile
  632. when constructing the parser.
  633. 2008-04-23 Marek Habersack <[email protected]>
  634. * TemplateParser.cs: constructs the VirtualPath using the current
  635. parser's BaseVirtualDirectory. Fixes bug #381715
  636. 2008-04-19 Marek Habersack <[email protected]>
  637. * SimpleWebHandlerParser.cs: refactoring - move code between
  638. constructors, reader should be set before initializing the rest of
  639. the object. Fixes bug #381364
  640. * TemplateParser.cs: RegisterCustomControl must use absolute
  641. virtual path when querying the virtual path provider for
  642. file. Fixes bug #381364
  643. 2008-04-18 Marek Habersack <[email protected]>
  644. * ObjectStateFormatter.cs: ObjectFormatter.WriteObject should not
  645. use a converter if it can't convert _from_ the type of the object
  646. being written to the stream. Fixes issues with serializing, e.g.,
  647. a DataSet.
  648. 2008-04-14 Marek Habersack <[email protected]>
  649. * SimpleWebHandlerParser.cs, TemplateParser.cs, AspGenerator.cs:
  650. make sure streams are disposed the way they should be.
  651. 2008-04-10 Marek Habersack <[email protected]>
  652. * Control.cs: refactoring - IdSeparator property is internally
  653. present also in 1.1.
  654. 2008-04-08 Dean Brettle <[email protected]>
  655. * Page.cs (PageAdapter): fixed cast error when a ControlAdapter that
  656. wasn't a PageAdapter was used.
  657. 2008-04-08 Marek Habersack <[email protected]>
  658. * TemplateParser.cs: CodeFile/Src handling uses
  659. HostingEnvironment.VirtualPathProvider to check for file
  660. existence.
  661. 2008-04-02 Marek Habersack <[email protected]>
  662. * Page.cs: make SetContext internal (used from tests).
  663. 2008-04-01 Marek Habersack <[email protected]>
  664. * TemplateControl.cs: ParseControl implemented for the 2.0
  665. profile.
  666. * UserControlParser.cs: added support for compiling controls
  667. without input file (e.g. from TemplateControl.ParseControl).
  668. * TemplateParser.cs: implemented VirtualPathProvider support for
  669. registering UserControls.
  670. If there is no input file path provided, auto-generate the class
  671. name in the ClassName property getter.
  672. 2008-03-27 Marek Habersack <[email protected]>
  673. * Page.cs: added an implementation of the ClientQueryString
  674. property.
  675. 2008-03-13 Marek Habersack <[email protected]>
  676. * TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
  677. exists, use HttpApplication.BinDirectory instead.
  678. 2008-03-09 Dean Brettle <[email protected]>
  679. * Page.cs (SavePageControlState, LoadPageControlState): save/load
  680. adapter state in 2.0 profile.
  681. * Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
  682. in 2.0 profile.
  683. * Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
  684. in 2.0 profile.
  685. * Page.cs (DeterminePostBackMode, InitOutputCache,
  686. RenderClientScriptFormDeclaration, InternalProcessRequest,
  687. PageStatePersister): added support for PageAdapters.
  688. * Control.cs (Adapter, ResolveAdapter): implemented. Adapter calls
  689. ResolveAdapter and remembers result. ResolveAdapter checks for adapters
  690. of the Type hierarchy until it finds one.
  691. * Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
  692. adapter state in 2.0 profile.
  693. * HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
  694. required by 2.0 profile. These are called by corresponding methods of
  695. System.Web.UI.Adapters.ControlAdapter.
  696. * Page.cs, Control.cs: don't access Request.Browser if it couldn't have
  697. any adapters/writers because there are no files in App_Browsers/.
  698. 2008-03-09 Marek Habersack <[email protected]>
  699. * TemplateControlParser.cs: 2.0 allows controls with extensions
  700. different than .ascx, as long as they derive from
  701. System.Web.UI.UserControl and a build provider is available for
  702. them.
  703. * TemplateParser.cs: user controls must derive from
  704. System.Web.UI.UserControl.
  705. * SimpleWebHandlerParser.cs: if the input file doesn't contain the
  706. correct directive string (tag name is empty for the <%@ %> tag),
  707. use the default directive.
  708. 2008-02-28 Marek Habersack <[email protected]>
  709. * TemplateControlParser.cs: when registering a control, check for
  710. the .ascx extension case-insensitively. Fixes bug #364995
  711. 2008-02-28 Igor Zelmanovich <[email protected]>
  712. * Control.cs:
  713. fixed exception propagation in case of multiple control with same id
  714. were found.
  715. 2008-02-26 Marek Habersack <[email protected]>
  716. * TemplateParser.cs: a better error message.
  717. * ControlBuilder.cs: if one of the parent builders is a
  718. TemplateBuilder, use it as the naming container and use its
  719. ContainerType property as the value of the BindingContainerType
  720. property.
  721. 2008-02-25 Marek Habersack <[email protected]>
  722. * ControlBuilder.cs: correctly chain up to the parent builder when
  723. looking for the naming container.
  724. 2008-02-21 Marek Habersack <[email protected]>
  725. * ControlBuilder.cs: introduced a new internal property -
  726. MyNamingContainer used by the public properties
  727. NamingContainerType and BindingContainerType. This simplifies the
  728. code in the latter property, as the binding container type must
  729. almost always be the same as the naming container type. The only
  730. exception is when we're inside a content builder, in which case we
  731. return the parent's BindingContainerType. Fixes bug #363665
  732. 2008-02-12 Vladimir Krasnov <[email protected]>
  733. * Page.jvm.cs: StateSerializer.readExternal and writeExternal fixed
  734. to support viewstate encryption
  735. 2008-02-12 Vladimir Krasnov <[email protected]>
  736. * ObjectStateFormatter.cs: revert of 91820
  737. 2008-02-08 Marek Habersack <[email protected]>
  738. * SimpleWebHandlerParser.cs: always return a non-null value from
  739. the Program property.
  740. * TemplateParser.cs: make sure that the Src attribute is treated
  741. correctly in the 2.0 profile. Fixes bug #319016
  742. 2008-02-07 Vladimir Krasnov <[email protected]>
  743. * Page.jvm.cs: added StateSerializer class, fixed processSaveState,
  744. processRestoreState
  745. 2008-02-07 Marek Habersack <[email protected]>
  746. * PageHandlerFactory.cs: call PageParser.GetCompiledPageInstance
  747. only - that method calls the appropriate APIs for 1.1 and 2.0
  748. profiles.
  749. 2008-02-06 Vladimir Krasnov <[email protected]>
  750. * Control.cs: fixed ResolveClientUrlInternal for portal url prefixes
  751. 2008-02-04 Marek Habersack <[email protected]>
  752. * SimpleWebHandlerParser.cs: use WebEncoding.FileEncoding when
  753. reading the source file.
  754. 2008-01-30 Igor Zelmanovich <[email protected]>
  755. * ObjectStateFormatter.cs:
  756. ensure ReaderContext.GetCache called with positive arg to prevent from
  757. ArgumentOutOfRange being thrown.
  758. 2008-01-29 Igor Zelmanovich <[email protected]>
  759. * ObjectStateFormatter.cs: has public constructor.
  760. 2008-01-29 Vladimir Krasnov <[email protected]>
  761. * Page.cs: performance optimization of DeterminePostBackMode
  762. 2008-01-24 Marek Habersack <[email protected]>
  763. * PageThemeFileParser.cs: the DefaultBaseType property removed.
  764. * ApplicationFileParser.cs: added constructor which takes a
  765. TextReader.
  766. Removed the DefaultBaseType property.
  767. Added the Reader property.
  768. * MasterPage.cs: use BuildManager to create page instance.
  769. * WebHandlerParser.cs: added a compatibility constructor.
  770. * TemplateControl.cs: GetTypeFromControlPath uses
  771. BuildManager.GetCompiledType for the 2.0+ profile.
  772. * WebServiceParser.cs: added a compatibility internal
  773. constructor.
  774. * SimpleWebHandlerParser.cs: properly treat context and
  775. physicalPath parameters to the constructor, especially for the
  776. 2.0+ profile where they are obsolete.
  777. Dependencies are added using virtual paths.
  778. * PageThemeParser.cs: DefaultBaseType property removed.
  779. * Page.cs: Style sheets and themes are compiled using
  780. BuildManager.
  781. Previous page instance is compiled using BuildManager for the 2.0+
  782. profile.
  783. * MasterPageParser.cs: Use BuildManager to create instance and
  784. compile types.
  785. Dependencies are added using virtual paths.
  786. * SimpleHandlerFactory.cs: Use
  787. BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
  788. * UserControlParser.cs: if the parser is created using a
  789. TextReader, take the input file path from the virtual path.
  790. Added a new internal constructor which takes both a TextReader and
  791. an inputFile parameters.
  792. Set base type to the default in the constructors.
  793. Use virtual path when setting master page dependency.
  794. DefaultBaseTypename doesn't use a literal string in the 2.0+
  795. profile, it gets the base type from the application
  796. configuration.
  797. * TemplateControlParser.cs: Dependency on a control/page mentioned
  798. in the Reference directive is registered using the virtual path.
  799. TextReader property is an override now.
  800. * TemplateParser.cs: RegisterCustomControl adds a dependency on
  801. the virtual path, not the physical path. The custom control is
  802. compiled using BuildManager.GetCompiledType for the 2.0+ profile.
  803. RegisterNamespace does not add a dependency on the assembly.
  804. LoadType does not add a dependency on the assembly.
  805. Legacy Src attribute is handled properly now.
  806. Dependency on code-behind (Src and CodeFile directive attributes)
  807. is added using the code-behind file's virtual path.
  808. GetAssemblyFromSource adds a dependency using the virtual path.
  809. DefaultBaseType implemented here, using DefaultBaseTypeName which
  810. is implemented in the descendant classes.
  811. Added internal CodeBehindSource property, used by build
  812. providers.
  813. ClassName property works correctly if inputFile is missing
  814. (e.g. when the parser has been created using a TextReader)
  815. Added a virtual internal property TextReader to return the readed
  816. which has been used to create the parser instance.
  817. * PageHandlerFactory.cs: GetHandler uses
  818. BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
  819. * PageParser.cs: set the default base type in the constructors.
  820. If the input file is not passed to a constructor, take the input
  821. file path from the virtual path.
  822. GetCompiledPageInstance uses BuildManager.CreateInstanceFromVirtualPath
  823. for the 2.0+ profile.
  824. MasterPage dependency is set using the virtual path of the master
  825. page.
  826. MasterPage is compiled into a type using BuildManager.GetCompiledType.
  827. GetCompiledPageType uses BuildManager.GetCompiledType for the 2.0
  828. profile.
  829. DefaultBaseType override removed, it is implemented in the
  830. TemplateParser class.
  831. DefaultBaseTypename doesn't use a literal string in the 2.0+
  832. profile, it gets the base type from the application
  833. configuration.
  834. 2008-01-17 Igor Zelmanovich <[email protected]>
  835. * Control.cs: fix ResolveUrl for some cases.
  836. 2008-01-17 Igor Zelmanovich <[email protected]>
  837. * Control.cs: consider changes in BaseCompiler.cs.
  838. 2008-01-14 Igor Zelmanovich <[email protected]>
  839. * Control.cs: fixed ResolveClientUrl.
  840. use Context.FilePath instead of Context.CurrentExecutionPath for
  841. resolvint app. releative path.
  842. 2008-13-01 Vladimir Krasnov <[email protected]>
  843. * Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and
  844. getChildren methods
  845. * Control.jvm.cs: fixed getChildCount method
  846. 2008-01-09 Igor Zelmanovich <[email protected]>
  847. * Page.cs:
  848. * ClientScriptManager.cs:
  849. refactoring.
  850. 2008-01-07 Igor Zelmanovich <[email protected]>
  851. * Page.cs: added internal API
  852. * IScriptManager.cs: added new internal interface.
  853. 2008-01-07 Igor Zelmanovich <[email protected]>
  854. * ClientScriptManager.cs:
  855. * Control.jvm.cs:
  856. * Page.cs:
  857. * Page.jvm.cs:
  858. for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
  859. 2008-01-07 Marek Habersack <[email protected]>
  860. * TemplateParser.cs: handle legacy 'src' attribute in the 2.0
  861. profile in the correct way. Fixes bug #319016
  862. BaseType is global by default.
  863. 2008-01-02 Marek Habersack <[email protected]>
  864. * TemplateParser.cs: added a wrapper class for server-side script
  865. snippets, to keep track of locations.
  866. Store main directive location for later use in DirectiveLocation
  867. internal property.
  868. 2008-01-01 Igor Zelmanovich <[email protected]>
  869. * Page.cs:
  870. make SubmitDisabledControls and SetFocus works in multiform environment
  871. 2007-12-31 Vladimir Krasnov <[email protected]>
  872. * Page.cs: fixed thread abort handling in ProcessRequest
  873. 2007-12-27 Marek Habersack <[email protected]>
  874. * TemplateParser.cs: check for base type globality also when the
  875. default type is used.
  876. 2007-12-26 Igor Zelmanovich <[email protected]>
  877. * Control.cs:
  878. * Page.cs:
  879. make Trace considers control state info.
  880. 2007-12-20 Igor Zelmanovich <[email protected]>
  881. * Page.cs: refactoring:
  882. split method such InternalProcessRequest to several methods.
  883. It is required for implementing alternative hosting under TARGET_J2EE.
  884. 2007-12-20 Marek Habersack <[email protected]>
  885. * ClientScriptManager.cs: write hidden fields inside a div only in
  886. the 2.0 profile. Fixes bug #349991
  887. 2007-12-20 Igor Zelmanovich <[email protected]>
  888. * Page.cs:
  889. * Control.cs:
  890. * ClientScriptManager.cs:
  891. refactoring: removed Page.LifeCycle internal API,
  892. used Control's stateMask flag instead.
  893. 2007-12-17 Marek Habersack <[email protected]>
  894. * TemplateParser.cs: support the 'Src' directive attribute on 2.0
  895. profile as well as on the 1.1 one. Fixes bug #319016
  896. 2007-12-16 Igor Zelmanovich <[email protected]>
  897. * Page.cs: on CrossPagePostBack previous page is processed by Execute API,
  898. that allow CurrentHandler property works correctly during Page processing.
  899. 2007-12-15 Marek Habersack <[email protected]>
  900. * SimpleWebHandlerParser.cs: Default value for Debug is taken from
  901. the compilation config section.
  902. * TemplateParser.cs: Added LoadConfigDefaults here, loads default
  903. value for Debug from the compilation section.
  904. Cache CompilationConfig in methods where it is accessed more than
  905. once.
  906. Default value for Debug in ProcessMainAttributes is taken from the
  907. compilation config.
  908. * PageParser.cs, TemplateControlParser.cs: LoadPagesConfigDefaults
  909. renamed to LoadConfigDefaults.
  910. 2007-12-13 Marek Habersack <[email protected]>
  911. * ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
  912. Page.cs: speed optimization - use String.Concat instead of
  913. String.Format in some cases.
  914. 2007-12-13 Igor Zelmanovich <[email protected]>
  915. * Page.cs:
  916. - When Transfer/Execute is called with preserveForm=true, transferred
  917. page is not processed as PostBack but form collection is preserved.
  918. - When Execute is called more than once, PreviousPage property is set
  919. correct.
  920. 2007-11-22 Marek Habersack <[email protected]>
  921. * OutputCacheParameters.cs: added the VaryByContentEncoding
  922. property.
  923. * Page.cs: added new InitCache overload.
  924. * TemplateParser.cs: added support for the VaryByContentEncodings
  925. attribute of the OutputCache directive.
  926. 2007-11-19 Vladimir Krasnov <[email protected]>
  927. * Page.jvm.cs: IsMultiForm optimized, cached configuration call
  928. 2007-11-14 Marek Habersack <[email protected]>
  929. * SimpleWebHandlerParser.cs: expect GetTypeFromBin to be called
  930. with a fully qualified type name and act accordingly. Fixes bug
  931. #341456.
  932. 2007-11-13 Igor Zelmanovich <[email protected]>
  933. * ClientScriptManager.cs:
  934. Ensure a script resource is included once in multi form environment.
  935. 2007-11-07 Igor Zelmanovich <[email protected]>
  936. * PageParser.cs: fixed initial value of tracemode.
  937. 2007-11-07 Igor Zelmanovich <[email protected]>
  938. * Control.cs: removes '#define MONO_TRACE'.
  939. It allows to run MONO in release mode without supplementary trace info.
  940. 2007-11-07 Igor Zelmanovich <[email protected]>
  941. * Page.cs: added missing trace information for NET_2_0
  942. 2007-11-06 Igor Zelmanovich <[email protected]>
  943. * Page.cs:
  944. * Page.jvm.cs:
  945. affects TARGET_J2EE only:
  946. validators state (isValid) is restored on GetBack.
  947. 2007-11-06 Marek Habersack <[email protected]>
  948. * Page.cs: formatting
  949. 2007-11-05 Marek Habersack <[email protected]>
  950. * ClientScriptManager.cs: EventStateFieldName is a constant now.
  951. * Page.cs: use full control ids when processing post data. Fixes
  952. bug #317615
  953. 2007-11-03 Marek Habersack <[email protected]>
  954. * Control.cs: need to append a "/" to TemplateSourceDirectory
  955. before calling VirtualPathUtility.Combine, in order to get the
  956. correct physical path to the requested file. Combine looks for the
  957. last occurrence of "/" to determine where the relative paths
  958. should be joined.
  959. * MinimizableAttributeTypeConverter.cs: don't throw on null value,
  960. call the base class method in that case.
  961. * SimpleWebHandlerParser.cs: don't NRE on a null assembly passed
  962. to AddAssembly.
  963. AddAssemblyByName must check the return value of
  964. Assembly.LoadWithPartialName, as the method doesn't throw on
  965. missing assembly, it returns null instead.
  966. * ClientScriptManager.cs: eventValidationArray is serialized in an
  967. optimized fashion, so that its serialized form occupies only as
  968. many slots as were actually used. It may result in that an array
  969. of 0 entries will be serialized and then
  970. restored. EnsureEventValidationArray takes that into consideration
  971. now.
  972. 2007-11-01 Marek Habersack <[email protected]>
  973. * Page.cs, ObjectStateFormatter.cs: use the new
  974. MachineKeySectionUtils class wherever necessary.
  975. 2007-10-29 Marek Habersack <[email protected]>
  976. * TemplateParser.cs: add the file pointed to by the Src or
  977. CodeFile attributes to the list of page cache dependencies.
  978. * PageParser.cs, UserControlParser.cs: Add the MasterPage file to
  979. the list of page cache dependencies.
  980. * MasterPageParser.cs: add the source pointed to by VirtualPath to
  981. the list of cache dependencies.
  982. 2007-10-23 Marek Habersack <[email protected]>
  983. * ClientScriptManager.cs: added two constants to define start/end
  984. script block comments rendering. 1.1 uses HTML comments, while 2.0
  985. uses a CDATA block.
  986. * Page.cs: render script blocks with start/end comments taken from
  987. the ClientScriptManager constants above.
  988. 2007-10-17 Marek Habersack <[email protected]>
  989. * TemplateParser.cs: removed code that ignored the Async and
  990. AsyncTimeout attributes.
  991. * PageParser.cs: handle the Async and AsyncTimeout attributes
  992. here. Fixes bug #325450
  993. * Control.cs: properly configure control visibility in
  994. PreRenderRecursiveInternal. The check must be made by looking at
  995. the Visible value, not at the flags directly. Fixes bug #325303
  996. 2007-10-03 Marek Habersack <[email protected]>
  997. * Page.cs: complete implementation of ValidationGroups. Fixes bug
  998. #330423. Patch from Juraj Skripsky <[email protected]>, thanks!
  999. 2007-10-02 Marek Habersack <[email protected]>
  1000. * SimpleWebHandlerParser.cs: fix the way types are loaded from
  1001. top-level assemblies.
  1002. 2007-10-01 Marek Habersack <[email protected]>
  1003. * Page.cs: do not set IsPostBack to true if we're in transfer from
  1004. another page. Fixes bug #329341
  1005. 2007-09-18 Marek Habersack <[email protected]>
  1006. * TemplateParser.cs: VaryByControl OutputCache attribute is
  1007. allowed for both controls and pages in 2.0.
  1008. 2007-09-11 Marek Habersack <[email protected]>
  1009. * WebServiceParser.cs: inputFile is a virtual path to the service,
  1010. not a physical one in GetCompiledType.
  1011. 2007-09-05 Marek Habersack <[email protected]>
  1012. * RootBuilder.cs: make Foundry settable, but protect the backing
  1013. field from being set to null.
  1014. 2007-09-04 Marek Habersack <[email protected]>
  1015. * TemplateParser.cs: don't optimize for case when 'name' is a full
  1016. assembly name in AddAssemblyByName. Assembly.Load triggers the
  1017. AssemblyResolve event on the current AppDomain if an assembly
  1018. isn't found and we use this mechanism to map names like "App_Code"
  1019. or "App_GlobalResources" to the real names of those dynamic
  1020. assemblies.
  1021. 2007-09-02 Igor Zelmanovich <[email protected]>
  1022. * Page.jvm.cs: implemented IsMultiForm property to take
  1023. the value from configuration.
  1024. 2007-08-30 Igor Zelmanovich <[email protected]>
  1025. * Page.cs: fixed MaintainScrollPositionOnPostBack feature.
  1026. 2007-08-29 Marek Habersack <[email protected]>
  1027. * TemplateBuilder.cs: check for and store for later use the
  1028. TemplateContainerAttribute. Added a nullable property
  1029. TemplateInstance to return the value of the attribute.
  1030. 2007-08-29 Vladimir Krasnov <[email protected]>
  1031. * Control.cs: optimized performance in InitControlsCache()
  1032. 2007-08-28 Marek Habersack <[email protected]>
  1033. * Page.cs: The following property values are returned from cached
  1034. fields instead of looking them up on Context: Application,
  1035. Response, Request, Cache (as determined by the tests).
  1036. Added a backing field for the Session property.
  1037. Session doesn't throw an exception when Context is null - it
  1038. silently ignores it and throws a session not available exception.
  1039. _context is never used directly, the Context property is used
  1040. instead. Fixes bug #82606
  1041. 2007-08-23 Juraj Skripsky <[email protected]>
  1042. * Control.cs (InitControlsCache): Make the hash table case insensitive to
  1043. make FindControl compatible with MS.net again. Add LAMESPEC note.
  1044. 2007-08-23 Marek Habersack <[email protected]>
  1045. * SimpleWebHandlerParser.cs: use
  1046. HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and
  1047. LoadAssemblyFromBin.
  1048. Restore the old logic in GetTypeFromBin, also use
  1049. HttpApplication.BinDirectoryAssemblies there.
  1050. * TemplateParser.cs: use HttpApplication.BinDirectories to
  1051. interate over the list of bin dirs.
  1052. Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin.
  1053. 2007-08-23 Igor Zelmanovich <[email protected]>
  1054. * ClientScriptManager.cs: encode values of hidden fields.
  1055. 2007-08-21 Marek Habersack <[email protected]>
  1056. * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
  1057. enumerator when loading or adding assemblies from binary
  1058. directories. Remove unused PrivateBinPath property.
  1059. * ControlBuilder.cs: remove unused PrivateBinPath property.
  1060. * TemplateParser.cs: use HttpApplication.PrivateBinPath when
  1061. adding assemblis and loading types.
  1062. 2007-08-21 Igor Zelmanovich <[email protected]>
  1063. * ClientScriptManager.cs: fixed onsubmit script for MultiForm environment
  1064. 2007-08-20 Marek Habersack <[email protected]>
  1065. * MasterPage.cs: use the place holder IDs collection instead of
  1066. the placholder collection to see if we have the place holder in
  1067. the master page. Fixes bug #82485.
  1068. * MasterPageParser.cs: store the content place holder ids in the
  1069. internal cache to gain access to them when needed.
  1070. 2007-08-19 Vladimir Krasnov <[email protected]>
  1071. * MasterPageParser.jvm.cs: optimized GetDirectory call
  1072. * PageTheme.cs: optimized string formatting in CreateSkinKey
  1073. 2007-08-19 Vladimir Krasnov <[email protected]>
  1074. * Page.cs: ResetEventValidationState call moved back to
  1075. InternalProcessRequest
  1076. 2007-08-19 Marek Habersack <[email protected]>
  1077. * Page.cs: make sure not to ever pass a null value as the value
  1078. of the postCollection parameter to control's LoadPostData. The
  1079. ProcessPostData's 'data' parameter is no longer passed to
  1080. LoadPostData, instead we pass _requestValueCollection or an empty
  1081. collection if it is null. The controls should always get all the
  1082. request data, no matter if the 'data' parameter is null or
  1083. not. Possible fix for bug #82477.
  1084. 2007-08-18 Gert Driesen <[email protected]>
  1085. * MasterPage.cs: Include relative URL of MasterPage in exception
  1086. message.
  1087. 2007-08-18 Marek Habersack <[email protected]>
  1088. * MasterPage.cs: if a ContentPlaceHolder ID is not found in the
  1089. associated MasterPage, throw an exception. This is compatible with
  1090. what MS.NET does. Fixes bug #82447.
  1091. 2007-08-15 Igor Zelmanovich <[email protected]>
  1092. * Page.cs: fixed:
  1093. - avoid NullRefferenceException from Title property
  1094. when Page does not have <head runat="server>,
  1095. - scriptManager.ResetEventValidationState () is called from Render.
  1096. It allows multiply calling of RenderControl returns the same output.
  1097. 2007-08-14 Vladimir Krasnov <[email protected]>
  1098. * Control.cs: optimized GetDirectory call in ResolveClientUrl
  1099. 2007-08-14 Vladimir Krasnov <[email protected]>
  1100. * ClientScriptManager.cs: otimized string.Replace in GetScriptLiteral
  1101. 2007-08-14 Marek Habersack <[email protected]>
  1102. * Control.cs: include the actual exception when reporting control
  1103. id clash.
  1104. 2007-08-10 Gert Driesen <[email protected]>
  1105. * PageParser.cs: Replace enableSessionState and readOnlySessionState
  1106. bools with enum backed field. Move 1.0 profile code for checking value
  1107. of EnableSessionState pages config to PagesConfigurationHandler.
  1108. Fixes bug #82392 for 1.0 profile.
  1109. 2007-08-09 Marek Habersack <[email protected]>
  1110. * PageParser.cs: honor web.config enableSessionState
  1111. ReadOnly setting instead of overwriting based on default value for
  1112. page directive EnableSessionState. Patch from Joel Reed
  1113. <[email protected]>, thanks! Fixes bug #82392
  1114. 2007-08-09 Vladimir Krasnov <[email protected]>
  1115. * CssStyleCollection.cs: used ListDictionary instead of
  1116. HybridDictionary as underlaying data structure
  1117. 2007-08-07 Vladimir Krasnov <[email protected]>
  1118. * Control.cs: refactoring of LookForControlByName with caching
  1119. 2007-08-06 Igor Zelmanovich <[email protected]>
  1120. * DataSourceView.cs: fixed:
  1121. view raises onchange event when datasource is chenged.
  1122. 2007-08-06 Igor Zelmanovich <[email protected]>
  1123. * Control.cs: fixed: control ID management.
  1124. 2007-08-06 Igor Zelmanovich <[email protected]>
  1125. * Control.cs: refactoring: code formatting only.
  1126. 2007-08-05 Vladimir Krasnov <[email protected]>
  1127. * HtmlTextWriter.cs: performance refactoring, optimized AddAttribute
  1128. overloads, used StringComparer for tag, styles and attrs hashtables
  1129. fixed AddAttribute, id attr should not be encoded by default
  1130. 2007-07-31 Vladimir Krasnov <[email protected]>
  1131. * Control.cs: fixed AppRelativeTemplateSourceDirectory that should
  1132. depend on AppRelativeVirtualPath
  1133. * Control.jvm.cs: fixed TemplateSourceDirectory that should depend on
  1134. AppRelativeTemplateSourceDirectory
  1135. 2007-07-30 Vladimir Krasnov <[email protected]>
  1136. * Page.jvm.cs: fixed RenderResponse property, should not fail in no
  1137. Contex available
  1138. 2007-07-29 Igor Zelmanovich <[email protected]>
  1139. * Page.cs: added TARGET_J2EE variable at client side.
  1140. 2007-07-24 Igor Zelmanovich <[email protected]>
  1141. * ClientScriptManager.cs:
  1142. * Page.cs:
  1143. * Page.jvm.cs:
  1144. added new internal property IsMultiForm which returns false under
  1145. !TARGET_J2EE (Portal). All client scripts are rendered
  1146. according this property.
  1147. 2007-07-24 Igor Zelmanovich <[email protected]>
  1148. * ClientScriptManager.cs: fixed: GetCallbackEventReference method.
  1149. 2007-07-23 Igor Zelmanovich <[email protected]>
  1150. * Page.cs: refactoring: __doPostBack client script
  1151. It is a part of adapting System.Web to work whith
  1152. System.Web.Extensions (AJAX).
  1153. 2007-07-23 Konstantin Triger <[email protected]>
  1154. * Control.cs: calculate AppRelativeTemplateSourceDirectory from HttpContext
  1155. when control is not in control collection.
  1156. 2007-07-22 Konstantin Triger <[email protected]>
  1157. * Control.cs,
  1158. TemplateControl.cs: base AppRelativeTemplateSourceDirectory property
  1159. on TemplateControl; implement special behavior of Control.TemplateControl for
  1160. TemplateControl instances.
  1161. 2007-07-18 Marek Habersack <[email protected]>
  1162. * ControlBuilder.cs: on the 2.0 profile BindingContainerType
  1163. returns the associated control's base type when parent builder is
  1164. absent instead of typeof (Control). It returns typeof (Control) if
  1165. the parent builder type is determined to be a
  1166. NamingContainer. This makes the generated code match the MS.NET
  1167. output. Fixes bug #82119.
  1168. 2007-07-18 Igor Zelmanovich <[email protected]>
  1169. * Page.cs:
  1170. * ClientScriptManager.cs:
  1171. scripts, registered using RegisterClientScriptInclude,
  1172. RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
  1173. in order matches the order in which the scripts were registered.
  1174. 2007-07-16 Igor Zelmanovich <[email protected]>
  1175. * Control.cs: fixed EnsureID.
  1176. ID is not assigned, if already was set.
  1177. 2007-07-12 Vladimir Krasnov <[email protected]>
  1178. * ClientScriptManager.cs: refactored event validation data structure
  1179. * Page.cs: fixed InternalProcessRequest, event validation list should
  1180. be cleared before render
  1181. 2007-06-24 Vladimir Krasnov <[email protected]>
  1182. * ObjectStateFormatter.cs: optimized loops in array formatters
  1183. 2007-07-03 Marek Habersack <[email protected]>
  1184. * SimpleWebHandlerParser.cs: improve directive
  1185. pre-parsing. Directives can span multiple lines, they don't have
  1186. to start at the beginning of the line and any content can follow
  1187. them after the directive end. Also, do not trim the input since
  1188. that might affect program content. Fixes bug #81993.
  1189. 2007-07-02 Marek Habersack <[email protected]>
  1190. * Control.cs: make sure TemplateSourceDirectory returns meaningful
  1191. results in the 1.1 profile. Fixes bug #81950.
  1192. 2007-06-24 Vladimir Krasnov <[email protected]>
  1193. * ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out
  1194. parameter
  1195. 2007-06-20 Marek Habersack <[email protected]>
  1196. * BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
  1197. keep the private entries.
  1198. 2007-06-18 Igor Zelmanovich <[email protected]>
  1199. * Control.cs: revised the changes from r79982.
  1200. 2007-06-18 Igor Zelmanovich <[email protected]>
  1201. * Control.cs: optimized flow in ResolveClientUrl.
  1202. 2007-06-15 Gert Driesen <[email protected]>
  1203. * ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
  1204. 2007-06-09 Marek Habersack <[email protected]>
  1205. * TemplateControl.cs: make sure TemplateControl is set to the
  1206. current control.
  1207. * Control.cs: TemplateControl property goes up the parent chain if
  1208. the property isn't defined in the current control.
  1209. TemplateSourceDir finally implemented correctly.
  1210. 2007-06-06 Marek Habersack <[email protected]>
  1211. * Control.cs: more changes to the way TemplateSourceDirectory
  1212. works in the 2.0 profile. Take into account situations when a
  1213. control is placed in a UserControl (.ascx) and only then fall back
  1214. to the parent for its TemplateSourceDirectory.
  1215. 2007-06-05 Marek Habersack <[email protected]>
  1216. * Control.cs: TemplateSourceDirectory uses TemplateControl to
  1217. lookup the virtual source directory in the 2.0 instead of the
  1218. Parent.
  1219. ResolveClientUrl copes with empty TemplateSourceDirectory in the
  1220. correct way now - the check is made after the basePath checks.
  1221. The changes above make ResolveClientUrl work properly when called
  1222. from within a control residing in a TemplateControl.
  1223. 2007-05-30 Vladimir Krasnov <[email protected]>
  1224. * HtmlTextWriter.cs: EncodeAttributeValue should call
  1225. HtmlAttributeEncode as documented
  1226. 2007-05-24 Marek Habersack <[email protected]>
  1227. * PageParser.cs: added support for the PreviousPageType
  1228. directive.
  1229. 2007-05-23 Marek Habersack <[email protected]>
  1230. * TemplateParser.cs: use VirtualPathUtility.Combine to properly
  1231. create the custom control's virtual path.
  1232. 2007-05-22 Marek Habersack <[email protected]>
  1233. * TemplateBuilder.cs: in the absence of containerAttribute,
  1234. default to two-way binding direction.
  1235. 2007-05-21 Igor Zelmanovich <[email protected]>
  1236. * DataSourceView.cs: refactoring: Update, Insert methods:
  1237. exception is re-thrown from catch scope.
  1238. It allows actual call stack be shown
  1239. 2007-05-17 Vladimir Krasnov <[email protected]>
  1240. * TemplateControl.jvm.cs: refactored key for CachedString method
  1241. 2007-05-16 Vladimir Krasnov <[email protected]>
  1242. * HtmlTextWriter.cs: refactoring, created hashtables for tags, styles
  1243. and attributes arrays, that gives performance improvement in GetTagKey
  1244. GetStyleKey and GetAttributeKey methods
  1245. 2007-05-15 Marek Habersack <[email protected]>
  1246. * TemplateControl.cs: implemented the 3-parameter overloads of
  1247. GetLocalResourceObject and GetGlobalResourceObject.
  1248. * TemplateParser.cs: refactoring - use HttpApplication.LoadType to
  1249. actually look up types.
  1250. * ControlBuilder.cs: as above
  1251. 2007-05-14 Marek Habersack <[email protected]>
  1252. * ClientScriptManager.cs: put the hidden field within a <div>, the
  1253. way MS.NET does it.
  1254. 2007-05-11 Gert Driesen <[email protected]>
  1255. * ControlBuilder.cs: Fixed exception message in MapType.
  1256. 2007-05-10 Marek Habersack <[email protected]>
  1257. * Control.cs: small formatting change
  1258. 2007-05-10 Igor Zelmanovich <[email protected]>
  1259. * Page.cs: ExecuteRegisteredAsyncTasks:
  1260. implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne
  1261. 2007-05-09 Vladimir Krasnov <[email protected]>
  1262. * HtmlTextWriter.cs: used classes instead of sctrucs in TARGET_JVM for
  1263. AddedTag, AddedStyle and AddedAttr members
  1264. * TemplateControl.jvm.cs: refactored CachedString method
  1265. 2007-05-09 Marek Habersack <[email protected]>
  1266. * CollectionBuilder.cs: formatting changes
  1267. * ControlBuilder.cs: if a control enables children as properties,
  1268. has a default property and parser encounters a child tag/container
  1269. with the default property name, discard the default property
  1270. builder in order to avoid invalid sub builder invocation. An
  1271. example is: <asp:DropDownList><Items></Items></asp:DropDownList>
  1272. Formatting changes.
  1273. When checking for empty string, use Length not comparison with ""
  1274. 2007-05-08 Marek Habersack <[email protected]>
  1275. * CssStyleCollection.cs: put the style in the bag each time a key
  1276. is set, otherwise resetting of a key has no effect on rendered
  1277. style.
  1278. 2007-05-07 Marek Habersack <[email protected]>
  1279. * TemplateParser.cs: added support for implicit language
  1280. detection. If the language isn't set explicitly in the Page
  1281. directive, the language value taken from the configuration
  1282. considered to be implicit - that is, it can be overwritten by the
  1283. first <script> with the runat="server" and language="xx" sets the
  1284. language for the parser. This makes it possible to have the
  1285. default language set to "C#" and the inline code in, e.g.,
  1286. VisualBasic.
  1287. * ControlBuilder.cs: when mapping types, catch casses of missing
  1288. original and mapped types.
  1289. If mapped type doesn't derive from the original type, throw an
  1290. exception. Fixes bug #81553.
  1291. 2007-05-04 Marek Habersack <[email protected]>
  1292. * Control.cs: added an internal method to resolve a physical path
  1293. to a file from its virtual path considering the possibility that a
  1294. control is placed in a master page, which in turn is referenced
  1295. from a directory another than that of master page itself.
  1296. 2007-05-03 Igor Zelmanovich <[email protected]>
  1297. * AttributeCollection.cs:
  1298. * DataBindingHandlerAttribute.cs:
  1299. * HtmlTextWriter.cs:
  1300. * PartialCachingControl.cs:
  1301. * TemplateControl.cs:
  1302. * TemplateControl.jvm.cs:
  1303. * XPathBinder.cs:
  1304. added missing API.
  1305. 2007-05-03 Igor Zelmanovich <[email protected]>
  1306. * CssStyleCollection.cs: optimization:
  1307. used StringBuilder instead string to hold value.
  1308. When added key that not exists in collection, value is recalculated by
  1309. appending required key to existing value.
  1310. 2007-05-02 Igor Zelmanovich <[email protected]>
  1311. * Control.cs: ResolveClientUrl: optimization.
  1312. if basePath is the same as TemplateSourceDirectory
  1313. releativeUrl is returned as is.
  1314. 2007-05-02 Igor Zelmanovich <[email protected]>
  1315. * Control.cs:
  1316. ResolveClientUrl considers TemplateSourceDirectory property.
  1317. 2007-05-01 Marek Habersack <[email protected]>
  1318. * PageParser.cs: clientTarget comparisons must be case-insensitive
  1319. 2007-04-30 Konstantin Triger <[email protected]>
  1320. * DataBinder.cs: When formatting, threat empty string as null.
  1321. 2007-04-27 Marek Habersack <[email protected]>
  1322. * TemplateControlParser.cs: 2.0 allows 'Namespace' without the
  1323. 'Assembly' attribute on tag prefix registration.
  1324. * TemplateParser.cs: do not rely on assembly name being not null.
  1325. 2007-04-19 Gert Driesen <[email protected]>
  1326. * TemplateParser.cs: On 2.0 profile, allow namespace in ClassName
  1327. attribute. Fixes part of bug #81399.
  1328. 2007-04-11 Marek Habersack <[email protected]>
  1329. * Page.cs: check whether control passed to
  1330. RegisterRequiresPostBack implements the IPostBackDataHandler
  1331. interface.
  1332. 2007-04-06 Marek Habersack <[email protected]>
  1333. * ClientScriptManager.cs: render the 'type' attribute in
  1334. WriteScript and do not render the 'language' attribute when in
  1335. NET_2_0+ mode.
  1336. * Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
  1337. are read from the pages section, if found.
  1338. * TemplateControlParser.cs: added support for loading
  1339. pages/controls defaults from web.config even if the page/control
  1340. does not have its corresponding directive.
  1341. Added support for reading the CompilationMode attribute.
  1342. * PageParser.cs: added support for loading pages/controls defaults
  1343. as above. Fixes bug #80915.
  1344. Added support for reading the maxPageStateFieldLength setting.
  1345. Added support for reading the pageParserFilter setting.
  1346. * ControlBuilder.cs: allow tag mappings from code found
  1347. in bin/* or App_Code/*. Fixes bug #80811.
  1348. 2007-03-29 Vladimir Krasnov <[email protected]>
  1349. * TemplateControl.jvm.cs: performance improvement, added cache for
  1350. methods and events in user code
  1351. 2007-03-26 Marek Habersack <[email protected]>
  1352. * TemplateControl.cs: make local resources work with master
  1353. pages - use the AppRelativeVirtualPath for resource resolution.
  1354. * TemplateParser.cs: support the meta:resourcekey attribute in
  1355. Page and Control directives. Fixes bug #81204.
  1356. 2007-03-21 Marek Habersack <[email protected]>
  1357. * UnknownAttributeDescriptor.cs: an internal helper class for
  1358. custom directive attributes support.
  1359. * BaseParser.cs: ThrowParseException can now take variadic
  1360. parameters, for convenience.
  1361. * TemplateParser.cs: add support for custom attributes for the
  1362. Page and Control directives.
  1363. Added support for the CodeFileBaseClass directive. Fixes bug #81132
  1364. 2007-03-20 Igor Zelmanovich <[email protected]>
  1365. * Control.cs: fixed ResolveClientUrl method.
  1366. 2007-03-18 Marek Habersack <[email protected]>
  1367. * BaseParser.cs: fix BaseVirtualDir to always return app-absolute
  1368. paths.
  1369. 2007-03-17 Marek Habersack <[email protected]>
  1370. * MasterPageParser.cs: remove superfluous #ifdef
  1371. * TemplateParser.cs: use VirtualPathUtility here
  1372. 2007-03-14 Vladimir Krasnov <[email protected]>
  1373. * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
  1374. optimization
  1375. 2007-03-13 Marek Habersack <[email protected]>
  1376. * TemplateParser.cs: name generated classes the same way MS.NET
  1377. does - include the app-relative path to the control/page in the
  1378. class name.
  1379. 2007-03-13 Adar Wesley <[email protected]>
  1380. * Page.cs: improved Async Page implementation.
  1381. 2007-03-13 Marek Habersack <[email protected]>
  1382. * TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
  1383. #80634.
  1384. 2007-03-12 Marek Habersack <[email protected]>
  1385. * RootBuilder.cs: change the error text to be less misleading.
  1386. 2007-03-12 Igor Zelmanovich <[email protected]>
  1387. * AttributeCollection.cs:
  1388. * CssStyleCollection.cs: fixed: works w/o state bag.
  1389. 2007-03-12 Igor Zelmanovich <[email protected]>
  1390. * HtmlTextWriter.cs: fixed:
  1391. - Fixed writing background-image style attribute (different behavior in
  1392. 1.1 and 2.0).
  1393. - Does not encode 'name' attribute.
  1394. - Always encode style attributes (for 2.0 only).
  1395. 2007-03-06 Adar Wesley <[email protected]>
  1396. * Page.cs: initial implementation of support for Async=true. Added
  1397. initial support for ViewStateEncryption. Implemented
  1398. CreateHtmlTextWriterFromType.
  1399. * PageAsyncTask.cs: Created class to support Async pages.
  1400. * ObjectStateFormatter.cs: Added support for ViewState encryption.
  1401. * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
  1402. to conform to MS behavior.
  1403. 2007-03-05 Vladimir Krasnov <[email protected]>
  1404. * Control.jvm.cs: fixed TemplateSourceDirectory property
  1405. 2007-03-03 Marek Habersack <[email protected]>
  1406. * TemplateParser.cs: support but ignore the Async and AsyncTimeOut
  1407. page directive attributes.
  1408. Support the LinePragmas page directive attribute.
  1409. * PageParser.cs: added support for the
  1410. MaintainScrollPositionOnPostBack page directive attribute.
  1411. 2007-02-26 Igor Zelmanovich <[email protected]>
  1412. * TemplateControl.cs:
  1413. * TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
  1414. Method 'Page_XXX' is declared in the base class must be
  1415. called even is private.
  1416. 2007-02-26 Vladimir Krasnov <[email protected]>
  1417. * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
  1418. not return AppRelativeTemplateSourceDirectory of master page
  1419. 2007-02-26 Igor Zelmanovich <[email protected]>
  1420. * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
  1421. 2007-02-22 Igor Zelmanovich <[email protected]>
  1422. * TemplateControl.cs: added missing property AppRelativeVirtualPath
  1423. 2007-02-21 Konstantin Triger <[email protected]>
  1424. * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
  1425. check from Global.asax inherits attribute to let inherits="A.B" construct.
  1426. 2007-02-20 Igor Zelmanovich <[email protected]>
  1427. * ObjectStateFormatter.cs:
  1428. optimization for serialization of primitive type arrays
  1429. 2007-02-19 Igor Zelmanovich <[email protected]>
  1430. * ClientScriptManager.cs:
  1431. * Control.cs:
  1432. * Page.cs:
  1433. implemented PostBackOptions.TrackFocus feature.
  1434. 2007-02-14 Igor Zelmanovich <[email protected]>
  1435. * Page.cs: for 2.0: refactoring:
  1436. prepare infrastructure for Form.SubmitDisabledControls feature
  1437. 2007-02-18 Eyal Alaluf <[email protected]>
  1438. * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
  1439. * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
  1440. * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
  1441. for J2EE portlets.
  1442. 2007-02-14 Igor Zelmanovich <[email protected]>
  1443. * Page.cs: for 2.0:
  1444. '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
  1445. registered only once.
  1446. 2007-02-14 Igor Zelmanovich <[email protected]>
  1447. * Page.cs: for 2.0: '__doPostBack' declared as function of form.
  1448. convention to use 'currForm' instead 'myForm'
  1449. 2007-02-14 Igor Zelmanovich <[email protected]>
  1450. * Page.cs:
  1451. * ClientScriptManager.cs:
  1452. including 'webform.js' requires '__doPostBack' on the form be rendered.
  1453. 2007-02-14 Igor Zelmanovich <[email protected]>
  1454. * Page.cs:
  1455. * ClientScriptManager.cs:
  1456. refactoring: 'theForm' variable is always declared on client.
  1457. '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
  1458. RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
  1459. 2007-02-14 Vladimir Krasnov <[email protected]>
  1460. * Page.cs: fixed OnInit, adding css should throw exception if no header
  1461. present on the page
  1462. 2007-02-14 Igor Zelmanovich <[email protected]>
  1463. * Page.cs: __doPostBack considers 2.0 features
  1464. such RegisterOnSubmitStatement
  1465. 2007-02-14 Igor Zelmanovich <[email protected]>
  1466. * Page.cs:
  1467. * ClientScriptManager.cs:
  1468. implemented RegisterOnSubmitStatement for 2.0
  1469. 2007-02-13 Igor Zelmanovich <[email protected]>
  1470. * ClientScriptManager.cs: EventValidation feature optimization on Callback.
  1471. 2007-02-13 Igor Zelmanovich <[email protected]>
  1472. * Page.cs: fixed exception handling on Callback at client.
  1473. 2007-02-08 Marek Habersack <[email protected]>
  1474. * Page.cs: Make sure to create specific cultures.
  1475. 2007-02-08 Vladimir Krasnov <[email protected]>
  1476. * ClientScriptManager.cs: added array declaration also as member of
  1477. form in TARGET_J2EE for j2ee portal support.
  1478. Added validators context init for GetClientValidationEvent under
  1479. TARGET_J2EE for j2ee portal support.
  1480. * Page.cs: fixed OnFormPostRender, render array declarations after
  1481. postback script.
  1482. 2007-02-04 Igor Zelmanovich <[email protected]>
  1483. * Page.cs:
  1484. * ClientScriptManager.cs:
  1485. client scripts (webform.js, callback.js and
  1486. MaintainScrollPositionOnPostBack.js) were merged into one resource file.
  1487. 2007-02-04 Igor Zelmanovich <[email protected]>
  1488. * Page.cs:
  1489. http://msdn2.microsoft.com/en-us/library/ms178141.aspx
  1490. LAMESPEC: on Callback IsPostBack is set to false, but true.
  1491. 2007-02-04 Igor Zelmanovich <[email protected]>
  1492. * Page.cs:
  1493. VerifyRenderingInServerForm does not fire exception when IsCallback
  1494. 2007-02-04 Igor Zelmanovich <[email protected]>
  1495. * Page.cs:
  1496. * ClientScriptManager.cs:
  1497. fixed RegisterClientScriptInclude: all includes that was registered before
  1498. rendering are rendered at begin form.
  1499. 2007-02-02 Marek Habersack <[email protected]>
  1500. * TemplateParser.cs: Do not register controls here.
  1501. 2007-02-02 Adar Wesley <[email protected]>
  1502. * Control.cs: Changed UniqueId implementation to have '$' and not ':'
  1503. to conform to MS. This led to updating several Tests that referenced
  1504. the UniqueId as string.
  1505. 2007-01-30 Eyal Alaluf <[email protected]>
  1506. * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
  1507. 2007-01-29 Igor Zelmanovich <[email protected]>
  1508. * Page.cs:
  1509. * ClientScriptManager.cs:
  1510. CallBack works with EvantValidation.
  1511. 2007-01-25 Eyal Alaluf <[email protected]>
  1512. * Page.cs: Change code to use the 'theForm' property when generating
  1513. JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
  1514. * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
  1515. the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
  1516. * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
  1517. saving hidden fields for TARGET_J2EE Portlets re-render.
  1518. * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
  1519. to all the control IDs to ensure they different between portlets.
  1520. 2007-01-24 Vladimir Krasnov <[email protected]>
  1521. * Page.cs: fixed CheckForValidationSupport,
  1522. SupportsEventValidationAttribute should be checked at only one level
  1523. 2007-01-23 Vladimir Krasnov <[email protected]>
  1524. * TemplateControl.jvm.cs: ParseControl not supported, added limited
  1525. implementation if TestDeviceFilter
  1526. 2007-01-22 Konstantin Triger <[email protected]>
  1527. * ClientScriptManager.cs: ensure the callback client script is
  1528. registered before the client script includes are rendered.
  1529. 2007-01-22 Konstantin Triger <[email protected]>
  1530. * Page.cs, ClientScriptManager.cs: ensure the web form client script is
  1531. registerd before the client script includes are rendered.
  1532. 2007-01-21 Konstantin Triger <[email protected]>
  1533. * Page.cs: move the WriteClientScriptIncludes to the top of the form,
  1534. according to the MSDN.
  1535. 2007-01-20 Miguel de Icaza <[email protected]>
  1536. * XhtmlTextWriter.cs: comment out unused code.
  1537. * ThemeProvider.cs: comment out unused code.
  1538. * DataSourceView.cs: Comment unused variable.
  1539. * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
  1540. code
  1541. * Control.cs: Put _templateControl inside the NET_2_0 ifdef
  1542. 2007-01-20 Marek Habersack <[email protected]>
  1543. * TemplateParser.cs: Check whether the base type is in the root
  1544. namespace.
  1545. 2007-01-18 Eyal Alaluf <[email protected]>
  1546. * Control.jvm.cs: Added PortletNamespace property.
  1547. 2007-01-16 Vladimir Krasnov <[email protected]>
  1548. * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
  1549. * Control.cs: moved TemplateSourceDirectory from TemplateControl for
  1550. TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
  1551. 2007-01-16 Vladimir Krasnov <[email protected]>
  1552. * TemplateControl.jvm.cs: added 2.0 event names for wiring up
  1553. 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
  1554. * Control.cs:
  1555. - IsViewStateEnabled - removed check for non-null page, since
  1556. the control by definition should come with enabled
  1557. view state, even if it not 'attached' to the page
  1558. - HasEvents() - implementation (still could produce bug in exotic scenarios
  1559. when all events added to 'this' control has been removed
  1560. through the property 'Events', but currently we can't see
  1561. better implementation)
  1562. 2007-01-14 Eyal Alaluf <[email protected]>
  1563. * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
  1564. * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
  1565. support for TARGET_J2EE.
  1566. 2007-01-12 Miguel de Icaza <[email protected]>
  1567. * Control.cs: Remove comment, it provides no information about
  1568. what could be wrong.
  1569. 2007-01-08 Vladimir Krasnov <[email protected]>
  1570. * PageTheme.cs: implemented
  1571. * Page.cs: fixed InitializeTheme, added PageTheme page initialization
  1572. * TemplateControl.cs,
  1573. * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
  1574. IXmlNamespaceResolver parameter
  1575. * XPathBinder.cs: added Eval, Select overloads with
  1576. IXmlNamespaceResolver parameter, refactored
  1577. 2007-01-08 Vladimir Krasnov <[email protected]>
  1578. * TemplateControl.jvm.cs: added GetGlobalResourceObject
  1579. 2007-01-07 Igor Zelmanovich <[email protected]>
  1580. * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
  1581. 2007-01-04 Igor Zelmanovich <[email protected]>
  1582. * Control.cs: ensure 'id' attribute will be rendered if
  1583. ClientID was accessed but ID is generated by the Page,
  1584. important for custom controls developing.
  1585. 2007-01-04 Igor Zelmanovich <[email protected]>
  1586. * Page.cs: fixed: InitializeCulture should be called
  1587. before creating controls.
  1588. 2007-01-03 Marek Habersack <[email protected]>
  1589. * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
  1590. document before attempting to use it.
  1591. 2007-01-01 Vladimir Krasnov <[email protected]>
  1592. * Control.cs: fixed ResolveClientUrl, wrong when control that calls
  1593. this method and the page are in different folders
  1594. 2006-12-31 Gonzalo Paniagua Javier <[email protected]>
  1595. * Page.cs: show the validation summary when client validation and
  1596. linkbuttons are used. Patch by Juraj Skripsky.
  1597. 2006-12-31 Igor Zelmanovich <[email protected]>
  1598. * Page.cs: fixed: EventValidation is not performed for CallBack request.
  1599. 2006-12-27 Igor Zelmanovich <[email protected]>
  1600. * Page.cs: fixed: RegisterRequiresPostBack feature.
  1601. 2006-12-21 Marek Habersack <[email protected]>
  1602. * ControlBuilder.cs: Add support for tag mapping in 2.0
  1603. 2006-12-20 Marek Habersack <[email protected]>
  1604. * TemplateParser.cs: make sure Context.ApplicationInstance is not
  1605. valid before adding application assembly.
  1606. 2006-12-11 Igor Zelmanovich <[email protected]>
  1607. * Page.cs: fixed and optimized ProcessPostData
  1608. The "second try" used for controls that created at OnLoad.
  1609. fixed for controls that use RgisterRequeresPostBack to handle post data.
  1610. 2006-11-29 Igor Zelmanovich <[email protected]>
  1611. * Page.cs: The specified theme must exist as either an application theme.
  1612. If the theme does not exist, an HttpException exception s thrown.
  1613. 2006-12-09 Marek Habersack <[email protected]>
  1614. * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
  1615. also in the 1.x profile)
  1616. * ObjectStateFormatter.cs: Implement the IStateFormatter interface
  1617. * ClientScriptManager.cs: Use IStateFormatter instead of
  1618. LosFormatter.
  1619. Use the IStateFormatter interface when registering the hidden
  1620. field with the state.
  1621. * LosFormatter.cs: Use ObjectStateFormatter
  1622. * PageStatePersister.cs: Make the class available as internal for
  1623. 1.x profile.
  1624. Constructor throws an exception on its page parameter being null.
  1625. Implemented several properties: ControlState, ViewState, Page,
  1626. StateFormatter
  1627. * Page.cs: Use new state persister for all the profiles.
  1628. Use the new HiddenFieldPageStatePersister class.
  1629. * IStateFormatter.cs: Make the class available as internal for 1.x profile.
  1630. 2006-12-04 Vladimir Krasnov <[email protected]>
  1631. * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
  1632. 2006-11-29 Marek Habersack <[email protected]>
  1633. * TemplateParser.cs: if the OutputCache directive is present, make
  1634. sure the cache does not expire the current output.
  1635. 2006-11-29 Igor Zelmanovich <[email protected]>
  1636. * Page.cs: added missing methods and properties:
  1637. AsyncMode
  1638. AsyncTimeout
  1639. IsAsync
  1640. UniqueFilePathSuffix
  1641. MaxPageStateFieldLength
  1642. ViewStateEncryptionMode
  1643. AddOnPreRenderCompleteAsync
  1644. AddOnPreRenderCompleteAsync
  1645. ExecuteRegisteredAsyncTasks
  1646. CreateHtmlTextWriterFromType
  1647. RegisterRequiresViewStateEncryption
  1648. 2006-11-29 Igor Zelmanovich <[email protected]>
  1649. * Page.cs: Master property returns null when no HttpContext.
  1650. 2006-11-29 Igor Zelmanovich <[email protected]>
  1651. * Page.cs: InitializeCulture method is called before OnPreInit.
  1652. 2006-11-28 Marek Habersack <[email protected]>
  1653. * TemplateControlParser.cs: Use the new TemplateParser methods to
  1654. register controls/namespaces
  1655. * TemplateParser.cs: Implement support for the
  1656. system.web/pages/namespaces collection instead of hard-coding the
  1657. namespaces into the source.
  1658. Refactoring: added two internal methods to handle both the
  1659. system.web/pages/controls registration and the Register directive.
  1660. Added a new internal method to pull the system.web/pages/controls
  1661. collection before parsing.
  1662. 2006-11-27 Marek Habersack <[email protected]>
  1663. * SimpleWebHandlerParser.cs: Added support for looking up types in
  1664. the top-level assemblies (App_Code et al)
  1665. 2006-11-27 Igor Zelmanovich <[email protected]>
  1666. * Control.cs: implemented EnsureID method.
  1667. 2006-11-27 Igor Zelmanovich <[email protected]>
  1668. * Control.cs: implemented Focus methods.
  1669. 2006-11-27 Igor Zelmanovich <[email protected]>
  1670. * Page.cs: implemented SetFocus methods.
  1671. * PageLifeCycle.cs:
  1672. 2006-11-27 Igor Zelmanovich <[email protected]>
  1673. * ClientScriptManager.cs: refactoring:
  1674. extracted method RegisterWebFormClientScript
  1675. 2006-11-27 Igor Zelmanovich <[email protected]>
  1676. * Control.cs: implemented OpenFile()
  1677. 2006-11-26 Igor Zelmanovich <[email protected]>
  1678. * Page.cs:
  1679. * Control.cs:
  1680. implemented ClearChildState(), ClearChildControlState() and
  1681. IsChildControlStateCleared
  1682. 2006-11-26 Igor Zelmanovich <[email protected]>
  1683. * Page.cs:
  1684. * ClientScriptManager.cs:
  1685. implemented RegisterExpandoAttribute feature
  1686. 2006-11-23 Igor Zelmanovich <[email protected]>
  1687. * ListSourceHelper.cs: optimization of implementation
  1688. 2006-11-23 Igor Zelmanovich <[email protected]>
  1689. * ListSourceHelper.cs: implemented
  1690. 2006-11-21 Igor Zelmanovich <[email protected]>
  1691. * DataSourceView.cs: fixed: constructor throws ArgumentNullException
  1692. 2006-11-21 Igor Zelmanovich <[email protected]>
  1693. * Page.cs: fixed: PreviousPage property
  1694. when CrossPostBack is processed PreviousPage is initialized
  1695. only if PreviousPage property is called.
  1696. 2006-11-21 Igor Zelmanovich <[email protected]>
  1697. * DataSourceControl.cs: fixed: Focus(), EnableTheming
  1698. 2006-11-21 Marek Habersack <[email protected]>
  1699. * Control.cs: Make ClientIDSeparator private for !NET_2_0
  1700. 2006-11-21 Igor Zelmanovich <[email protected]>
  1701. * Page.cs: fixed: LoadControlState is called for controls
  1702. that added on Load and latter
  1703. 2006-11-20 Marek Habersack <[email protected]>
  1704. * Control.cs: Implementations of a few missing properties.
  1705. * Page.cs: Added support for automatic culture detection from the
  1706. user's browser.
  1707. * PageParser.cs: Added support for "auto" cultures in the Page
  1708. directive.
  1709. 2006-11-20 Igor Zelmanovich <[email protected]>
  1710. * ClientScriptManager.cs: fixed: ValidateEvent feature:
  1711. client side return eventArgument as empty string
  1712. for controls that set it as null
  1713. 2006-11-18 Marek Habersack <[email protected]>
  1714. * ClientScriptManager.cs: Implemented two missing
  1715. GetPostBackEventReference overloads. Made one of the overloads
  1716. internal for .NET < 2.0.
  1717. 2006-11-17 Marek Habersack <[email protected]>
  1718. * PostBackOptions.cs: Renamed the constructors parameters to match
  1719. those Microsoft .NET uses.
  1720. targetControl must not be passed null to the constructor.
  1721. * ClientScriptManager.cs: Support for event validation.
  1722. Implemented a GetPostBackHyperlink overload.
  1723. Implemented the RegisterForEventValidation methods.
  1724. Implemented the ValidateEvent method.
  1725. Added support for saving/restoring event validation state.
  1726. * Page.cs: EnableEventValidation can be set only from the config
  1727. files (the <pages> element), the Page directive or from
  1728. Page_Init. After Page_Init returns, an exception is thrown.
  1729. Made GetFormatter internal, so that ClientScriptManager can use
  1730. it.
  1731. Added the internal LifeCycle property which contains the current
  1732. life cycle stage of the page request processing.
  1733. Added calls to save/restore event validation state.
  1734. Added checks for whether child controls of the page support event
  1735. validation or not.
  1736. Added calls to ClientScriptManager.ValidateEvent in appropriate
  1737. places.
  1738. * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
  1739. validation.
  1740. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1741. * LosFormatter.cs:
  1742. * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
  1743. empty strings.
  1744. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1745. * SimpleWebHandlerParser.cs: 'using' for file reading.
  1746. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  1747. * Page.cs: revert r67514 until after tagging for the next release.
  1748. 2006-11-12 Igor Zelmanovich <[email protected]>
  1749. * LiteralControl.cs: fixed: constructors & Text property
  1750. 2006-11-09 Igor Zelmanovich <[email protected]>
  1751. * Page.cs: fixed: LoadControlState is called for controls
  1752. that added on Load and latter, for 1.x refactoring only
  1753. 2006-11-02 Igor Zelmanovich <[email protected]>
  1754. * ClientScriptManager.cs:
  1755. fixed: checks arguments for null in public methods,
  1756. fixed public interface.
  1757. 2006-10-23 Igor Zelmanovich <[email protected]>
  1758. * PostBackOptions.cs: fixed: default values of properties
  1759. 2006-10-22 Igor Zelmanovich <[email protected]>
  1760. * CssStyleCollection.cs:
  1761. * AttributeCollection.cs:
  1762. fixed: style collection is synchronized with style attribute
  1763. 2006-10-19 Igor Zelmanovich <[email protected]>
  1764. * ClientScriptManager.cs: fixed: renders id attribute in hidden field
  1765. 2006-10-18 Marek Habersack <[email protected]>
  1766. * TemplateParser.cs: reference System.Resources when compiling a
  1767. control.
  1768. * TemplateControl.cs: implement the GetGlobalResourceObject
  1769. ASP.NET 2.0 APIs.
  1770. 2006-10-12 Igor Zelmanovich <[email protected]>
  1771. * Page.cs: fixed: for 2.0 only
  1772. When Page processes Callback IsPostBack = false, but it still needs
  1773. LoadViewState/ControlState and ProcessPostData
  1774. 2006-10-11 Igor Zelmanovich <[email protected]>
  1775. * DataSourceSelectArguments.cs: fixed:
  1776. SortExpression not returns null,
  1777. Empty property returns new instance each time
  1778. 2006-10-10 Igor Zelmanovich <[email protected]>
  1779. * DataSourceSelectArguments.cs:
  1780. fixed: RaiseUnsupportedCapabilitiesError method.
  1781. 2006-10-09 Igor Zelmanovich <[email protected]>
  1782. * DataSourceSelectArguments.cs: fixed: Equals method.
  1783. 2006-10-09 Gonzalo Paniagua Javier <[email protected]>
  1784. * CssStyleCollection.cs: don't clear the collection of properties, but
  1785. create a new one.
  1786. 2006-10-06 Gonzalo Paniagua Javier <[email protected]>
  1787. * CssStyleCollection.cs: 'style' can be modified on our back, so build
  1788. the style table every time instead of keeping one that is not in sync.
  1789. Fixes bug #79587.
  1790. 2006-09-25 Igor Zelmanovich <[email protected]>
  1791. * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
  1792. When page is invoked by cross-page posting, PreviousPage processed all
  1793. live-cycle up to OnLoadComplite included.
  1794. IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
  1795. 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
  1796. * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
  1797. collection from the PagesConfiguration to add new namespaces when
  1798. generating the page/control code.
  1799. 2006-09-18 Gonzalo Paniagua Javier <[email protected]>
  1800. * PageParser.cs: support the EnableEventValidation attribute.
  1801. 2006-09-18 Igor Zelmanovich <[email protected]>
  1802. * Page.cs: fixed: Title property works properly
  1803. 2006-09-17 Igor Zelmanovich <[email protected]>
  1804. * ClientScriptManager.cs: added helper method
  1805. 2006-09-14 Igor Zelmanovich <[email protected]>
  1806. * Page.cs: fixed: GetValidators(string), Validate(string) works properly
  1807. 2006-09-08 Robert Jordan <[email protected]>
  1808. * Page.cs: assure that RenderTrace is called even if an
  1809. exception occurred. Fixes bug #78930.
  1810. 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
  1811. * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
  1812. Patch by Marek Habersack that fixes bug #78268.
  1813. 2006-09-07 Lluis Sanchez Gual <[email protected]>
  1814. * Page.cs: Use lowercase getElementById in the javascript that
  1815. checks the browser.
  1816. 2006-08-22 Vladimir Krasnov <[email protected]>
  1817. * KeyedListEnumerator.cs: fixed Current property to return real object
  1818. instead of DictionaryEntry
  1819. 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
  1820. * Page.cs: don't use the Browser object, as it slows down process
  1821. request time *a lot*. Fixes bug #79206.
  1822. 2006-09-05 Konstantin Triger <[email protected]>
  1823. * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
  1824. * OutputCacheParameters.cs: added an implementation.
  1825. 2006-09-04 Igor Zelmanovich <[email protected]>
  1826. * CssStyleCollection.cs: fixed: background-image style attribute
  1827. 2006-08-31 Konstantin Triger <[email protected]>
  1828. * StaticPartialCachingControl.cs: added forwarding implementation for
  1829. 2.0 version of BuildCachedControl().
  1830. 2006-08-30 Igor Zelmanovich <[email protected]>
  1831. * Page.cs: added internal method
  1832. * ClientScriptManager.cs:
  1833. 2006-08-30 Igor Zelmanovich <[email protected]>
  1834. * ClientScriptManager.cs: added helper method
  1835. 2006-08-22 Vladimir Krasnov <[email protected]>
  1836. * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
  1837. if compiled with .net aspx parser
  1838. fixed OnInit, GetStyleSheets may return null if no css files found by
  1839. .net aspx parser
  1840. 2006-08-22 Vladimir Krasnov <[email protected]>
  1841. * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
  1842. modifiers check on event handlers
  1843. 2006-08-22 Vladimir Krasnov <[email protected]>
  1844. * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
  1845. parser 2.0
  1846. * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
  1847. fixed TemplateSourceDirectory, should not work on master pages.
  1848. 2006-08-20 Vladimir Krasnov <[email protected]>
  1849. * MasterPageParser.jvm.cs: fixed path resolving
  1850. GetCompiledMasterInstance
  1851. 2006-08-17 Vladimir Krasnov <[email protected]>
  1852. * TemplateControl.jvm.cs: fixed data binding API, implemented
  1853. AppRelativeVirtualPath, ReadStringResource
  1854. 2006-08-17 Vladimir Krasnov <[email protected]>
  1855. * Page.cs: added stubs to run aspx files compiled by .net
  1856. 2006-08-17 Vladimir Krasnov <[email protected]>
  1857. * MasterPageParser.jvm.cs: implemented
  1858. 2006-08-10 Andrew Skiba <[email protected]>
  1859. * Page.cs: render css path as a virtual path.
  1860. 2006-08-09 Robert Jordan <[email protected]>
  1861. * Control.cs: add the 2.0 ResolveClientUrl method.
  1862. Expose ResolveClientUrl as internal for the 1.1 profile.
  1863. Fixes bug #77539.
  1864. 2006-08-08 Vladimir Krasnov <[email protected]>
  1865. * added MasterPageParser.jvm.cs
  1866. 2006-08-08 Vladimir Krasnov <[email protected]>
  1867. * ControlBuilder.jvm.cs: added BuildObject method
  1868. 2006-08-08 Vladimir Krasnov <[email protected]>
  1869. * ParseChildrenAttribute.cs: fixed ChildControlType property to
  1870. compliant to .net
  1871. * UserControl.cs: fixed ParseChildren attribute to be compliant
  1872. to .net
  1873. 2006-08-08 Igor Zelmanovich <[email protected]>
  1874. * Page.cs: implemented MaintainScrollPositionOnPostBack feature
  1875. 2006-08-06 Vladimir Krasnov <[email protected]>
  1876. * Control.cs: fixed EnableTheming proprty, fixes bug when child
  1877. control has EnableTheming=false and parent has true.
  1878. 2006-07-31 Vladimir Krasnov <[email protected]>
  1879. * MasterPage.cs: fixed default values, fixed AddContentTemplate
  1880. 2006-07-31 Vladimir Krasnov <[email protected]>
  1881. * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
  1882. are applied even if EnableTheming property was set to false.
  1883. 2006-07-24 Andrew Skiba <[email protected]>
  1884. * DataSourceView.cs: refactor to keep the original exception stack.
  1885. 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
  1886. * PostBackOptions.cs: default to String.Empty for several field values.
  1887. Patch by Marek Habersack.
  1888. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  1889. * Page.cs: when ProcessRequest is not called, get the session from
  1890. the current context. Fixes bug #78730.
  1891. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  1892. * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
  1893. by Peijen Lin that closes bug #78646.
  1894. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1895. * TemplateControlParser.cs: fix compilation caching when more than one
  1896. @control is compiled from source. Closes bug #78626.
  1897. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1898. * Page.cs: add the 2.0 Items property. Fixes bug #78467.
  1899. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1900. * Page.cs: use the new internal LosFormatter.SerializeToBase64.
  1901. * LosFormatter.cs: always work on base 64 strings even if the
  1902. input/output is on a Stream. Fixes bug #78640.
  1903. 2006-06-08 Konstantin Triger <[email protected]>
  1904. * Page.cs: For loading themes, use '~/App_Themes' instead of
  1905. './App_Themes' to enable theme support for files in sub folders.
  1906. 2006-05-25 Andrew Skiba <[email protected]>
  1907. * Control.cs: move 2.0 stuff into ifdef NET_2_0
  1908. 2006-05-25 Andrew Skiba <[email protected]>
  1909. * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
  1910. created via master page content (see
  1911. http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
  1912. 2006-05-11 Andrew Skiba <[email protected]>
  1913. * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
  1914. PageTheme and from StyleSheetPageTheme to insert links in page header.
  1915. 2006-05-10 Andrew Skiba <[email protected]>
  1916. * TemlpateParser.cs: surround file name with quotes
  1917. 2006-05-08 Chris Toshok <[email protected]>
  1918. * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
  1919. fixes the last thing keeping the test in #76818 from working.
  1920. 2006-05-07 Andrew Skiba <[email protected]>
  1921. * Page.cs: if no theme is defined in aspx, read default from web.config.
  1922. Same for the style sheet theme.
  1923. 2006-04-27 Andrew Skiba <[email protected]>
  1924. * TemplateParser.cs: format according to
  1925. http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
  1926. 2006-04-25 Chris Toshok <[email protected]>
  1927. * PageThemeParser.cs (LinkedStyleSheets): reformat.
  1928. 2006-04-25 Konstantin Triger <[email protected]>
  1929. * Control.cs: implementation for IsViewStateEnabled.
  1930. 2006-04-25 Andrew Skiba <[email protected]>
  1931. * Control.cs: fix null pointer exception
  1932. 2006-04-23 Andrew Skiba <[email protected]>
  1933. * PageThemeParser.cs: add LinkedStyleSheets property
  1934. 2006-04-16 Andrew Skiba <[email protected]>
  1935. * TemplateParser.cs: add internal method AddAssemblyByFileName
  1936. 2006-04-16 Konstantin Triger <[email protected]>
  1937. * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
  1938. 2006-04-11 Konstantin Triger <[email protected]>
  1939. * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
  1940. 2006-04-10 Chris Toshok <[email protected]>
  1941. * PageThemeFileParser.cs (AddDirective): allow Register directives
  1942. in skin files.
  1943. 2006-04-02 Chris Toshok <[email protected]>
  1944. * Control.cs (DesignMode): always return false for now. Fixes
  1945. #77991.
  1946. 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
  1947. * ControlBuilder.cs: when creating a default property builder, handle
  1948. strings specially.
  1949. * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
  1950. 2006-03-15 Vladimir Krasnov <[email protected]>
  1951. * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
  1952. index is not zero
  1953. 2006-03-13 Chris Toshok <[email protected]>
  1954. * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
  1955. * HtmlTextWriterAttribute.cs: same.
  1956. * HtmlTextWriterStyle.cs: same.
  1957. * VirtualReferenceType.cs: new enum.
  1958. 2006-03-13 Chris Toshok <[email protected]>
  1959. * UserControl.cs: rework InitializeAsUserControl and
  1960. InitializeAsUserControlInternal - the Internal variety doesn't set
  1961. this.page to null now.
  1962. * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
  1963. and also remove a line of spew.
  1964. 2006-03-09 Vladimir Krasnov <[email protected]>
  1965. * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
  1966. 2006-03-07 Chris Toshok <[email protected]>
  1967. * Page.cs (InitializeStyleSheet): load the style sheet theme using
  1968. ThemeDirectoryCompiler.
  1969. (InitializeTheme): load the page's theme using
  1970. ThemeDirectoryCompiler.
  1971. (InternalProcessRequest): call InitializeTheme after OnPreInit.
  1972. (FrameworkInitialize): call InitializeStyleSheet.
  1973. (PageTheme,StyleSheetPageTheme): new properties to get the
  1974. respective themes.
  1975. * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
  1976. on the ControlSkin (if there is one) for this control in the
  1977. page's StyleSheetSkin.
  1978. (ApplyThemeRecursively): applies the page's theme recursively to
  1979. the control hierarchy. Must be done this way because the control
  1980. tree is already present when we apply the theme (it has to be,
  1981. since theme's override settings).
  1982. * PageTheme.cs (GetControlSkin): add internal call to do the
  1983. lookup for us.
  1984. * PageThemeFileParser.cs: the parser object that represents each
  1985. individual skin file.
  1986. * PageThemeParser.cs: the parser object that represents the entire
  1987. theme directory.
  1988. * PageThemeBuilder.cs: this class generates the right exception on
  1989. the right event, but it's not hooked up yet.
  1990. 2006-03-02 Chris Toshok <[email protected]>
  1991. * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
  1992. a MonoTODO.
  1993. * Page.cs (Theme): implement setter/getter.
  1994. (StyleSheetTheme): same.
  1995. * PageParser.cs (ProcessMainAttributes): parse the Theme and
  1996. StyleSheetTheme attributes.
  1997. 2006-02-27 Chris Toshok <[email protected]>
  1998. * TemplateControl.cs: corcompare work.
  1999. * ExpressionBindingCollection.cs: same.
  2000. * HierarchicalDataSourceControl.cs: same.
  2001. * PostBackOptions.cs: same.
  2002. * ClientScriptManager.cs: same.
  2003. * FilterableAttribute.cs: same.
  2004. * ControlCollection.cs: same.
  2005. * DataBindingCollection.cs: same.
  2006. * PropertyEntry.cs: mark ctor internal.
  2007. * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
  2008. * Page.cs: stub out two Theme oriented 2.0 properties.
  2009. * DataBinder.cs: remove the obsolete attribute on the ctor.
  2010. * TwoWayBoundPropertyEntry.cs: remove this.
  2011. * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
  2012. * ThemeProvider: new (stubbed) class.
  2013. * SkinBuilder.cs: same.
  2014. * PageTheme.cs: same.
  2015. * ControlSkin.cs: same.
  2016. * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
  2017. * SimplePropertyEntry.cs: mark ctor as internal.
  2018. * IThemeResolutionService.cs: enable the 3 members of this
  2019. interface.
  2020. 2006-02-27 Chris Toshok <[email protected]>
  2021. * ListSourceHelper.cs: this class is static.
  2022. * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
  2023. 2006-02-27 Chris Toshok <[email protected]>
  2024. * DataSourceView.cs: Name isn't virtual.
  2025. * DataSourceControl.cs: beat this class over the head with the
  2026. corcompare stick.
  2027. * DataSourceControlBuilder.cs: new stubbed control builder for
  2028. DataSourceControl.
  2029. 2006-02-23 Chris Toshok <[email protected]>
  2030. * Page.cs: more corcompare work.
  2031. 2006-02-23 Chris Toshok <[email protected]>
  2032. * Page.cs (ProcessCallbackData): track change to
  2033. ICallbackEventHandler iface.
  2034. * ICallbackEventHandler.cs: enable the proper members of this
  2035. interface.
  2036. * DataSourceSelectArguments.cs: reformat getter/setters.
  2037. 2006-02-22 Cesar Lopez Nataren <[email protected]>
  2038. * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
  2039. 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
  2040. * WebHandlerParser.cs:
  2041. * WebServiceParser.cs:
  2042. * UserControlParser.cs:
  2043. * PageParser.cs: added new ctor that uses a TextReader as input.
  2044. * TemplateControlParser.cs: new Reader property.
  2045. * SimpleWebHandlerParser.cs: new Reader property and ctor.
  2046. 2006-02-12 Cesar Lopez Nataren <[email protected]>
  2047. * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
  2048. WriterBreak for the .NET 2.0 profile.
  2049. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  2050. * IThemeResolutionService.cs: this is now added to the
  2051. sources file, but some other stuff does not compile yet as the
  2052. interface changed after the beta.
  2053. * ObjectConverter.cs: removed extra attribute.
  2054. * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
  2055. * ICallbackEventHandler.cs: update the interface, but commented the
  2056. 'good' stuff out, since other files need to be fixed too.
  2057. 2006-02-07 Chris Toshok <[email protected]>
  2058. * ControlBuilder.cs: rename flushOutputStatements to
  2059. methodStatements to at least reflect that they're in that method.
  2060. 2006-02-07 Chris Toshok <[email protected]>
  2061. * MasterPage.cs (CreateMasterPage): don't nullref on null
  2062. contentTemplateCollection.
  2063. * ControlBuilder.cs: add a flushOutputStatements field.
  2064. * PageParser.cs (ProcessMainAttributes): handle Title attribute.
  2065. (Title): add getter.
  2066. * Page.cs (Title): implement getter/setter.
  2067. (InternalProcessRequest): after calling ApplyMasterPage, apply the
  2068. page's Title directive if there is one.
  2069. (AddContentTemplate): make the EditorBrowsable attribute apply to
  2070. the method, not the field.
  2071. 2006-02-07 Chris Toshok <[email protected]>
  2072. * MasterPage.cs: rework this file, adding some static methods
  2073. gleaned from MS stack traces, and clear up the propogation of
  2074. content templates between nested master pages.
  2075. * Control.cs (TemplateControl): implement.
  2076. * TemplateControl.cs: re-indent some of the code.
  2077. (ReadStringRecource): according to msdn2, these throw
  2078. NotSupportedException.
  2079. * MasterPageParser.cs (HandleOption): implement. assign our
  2080. master page's MasterPageFile from the UserControl property.
  2081. * UserControl.cs (InitializeAsUserControlInternal): new method
  2082. that allows initialization without a page.
  2083. * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
  2084. MasterPageFile attributes, so we can have nested master pages.
  2085. (MasterPageFile): add a 2.0 specific property.
  2086. * TemplateControlParser.cs: in .net 2.0, our base class is
  2087. BaseTemplateParser.
  2088. (HandleOptions): be consistent and call base.HandleOptions.
  2089. * BaseTemplateParser.cs: new (stubbed) class.
  2090. * MasterPageControlBuilder.cs: new file, not filled in (and really
  2091. not used either.)
  2092. * Page.cs (InternalProcessRequest): call ApplyMasterPage.
  2093. (SaveExistingContentTemplates): nuke.
  2094. (ReapplyExistingContentTemplate): nuke.
  2095. (ApplyMasterPage): if we have a master page, call
  2096. MasterPage.ApplyMasterPageRecursive with it and add it to our
  2097. controls.
  2098. (set_MasterPageFile): remove call to SaveExistingContentTemplates.
  2099. (get_Master): call MasterPage.CreateMasterPage.
  2100. (AddContentTemplate): keep track of the page's content templates
  2101. in a local Hashtable - they aren't our master page's content
  2102. templates.
  2103. 2006-02-01 Chris Toshok <[email protected]>
  2104. * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
  2105. calls to GetWebApplicationSection with GetSection.
  2106. * SimpleWebHandlerParser.cs: same.
  2107. * Page.cs: same.
  2108. * PageParser.cs: same.
  2109. * BaseParser.cs: same.
  2110. 2006-01-27 Chris Toshok <[email protected]>
  2111. * MasterPage.cs (ContentTemplatesInternal): add get/set for the
  2112. actual Hashtable.
  2113. * Page.cs (SaveExistingContentTemplates): store off the existing
  2114. MasterPage content templates so they can be reapplied when setting
  2115. MasterPageFile to something else.
  2116. (ReapplyExistingContentTemplates): set masterPage's
  2117. ContentTemplates to our saved copy.
  2118. (set_MasterPageFile): save off the current content templates
  2119. before clearing masterPage.
  2120. (get_Master): reapply the saved content templates after we create
  2121. the new MasterPage.
  2122. 2006-01-25 Chris Toshok <[email protected]>
  2123. * ClientScriptManager.cs (RegisterClientScriptResource): last
  2124. patch, I swear. How can 1 line of code have 3 bugs?
  2125. 2006-01-25 Chris Toshok <[email protected]>
  2126. * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
  2127. problem with last commit - unquote "resourceName" so it uses the
  2128. parameter instead of the string constant.
  2129. 2006-01-22 Chris Toshok <[email protected]>
  2130. * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
  2131. quiet mcs.
  2132. * PageParser.cs (ProcessMainAttributes): i missed a
  2133. CONFIGURATION_2_0 block.
  2134. * BoundPropertyEntry.cs (.ctor): mark as internal to fix
  2135. corcompare.
  2136. 2006-01-18 Konstantin Triger <[email protected]>
  2137. * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
  2138. 2006-01-18 Konstantin Triger <[email protected]>
  2139. * HtmlTextWriter.cs: perform case insensitive compare;
  2140. return correct key in default case.
  2141. 2006-01-11 Chris Toshok <[email protected]>
  2142. * ClientScriptManager.cs (RegisterClientScriptResource):
  2143. implement.
  2144. 2006-01-11 Vladimir Krasnov <[email protected]>
  2145. * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
  2146. TypeFormatter.Read
  2147. 2006-01-10 Chris Toshok <[email protected]>
  2148. * Page.cs (ValidateCollection): in NET_2_0 if event validation is
  2149. off, return true.
  2150. 2006-01-09 Chris Toshok <[email protected]>
  2151. * Page.cs: fix a lot of indentation, and add the
  2152. EnableEventValidation .net 2.0 property.
  2153. 2006-01-09 Vladimir Krasnov <[email protected]>
  2154. * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
  2155. TypeFormatter.Read, TypeFormatter.Write from /main/5
  2156. 2006-01-09 Konstantin Triger <[email protected]>
  2157. * Page.cs: make ProcessRequest virtual under TARGET_JVM.
  2158. 2006-01-04 Chris Toshok <[email protected]>
  2159. * TemplateParser.cs (.ctor): kinda gross, but handle the
  2160. AddAssembliesInBin case here.
  2161. * SimpleWebHandlerParser.cs (.ctor): same.
  2162. 2006-01-04 Chris Toshok <[email protected]>
  2163. * SimpleWebHandlerParser.cs: Remove the declaration of
  2164. compilationConfig in the CONFIGURATION_2_0 case. it's
  2165. unnecessary.
  2166. (.ctor): ifdef out the AddAssembliesInBin call in the
  2167. CONFIGURATION_2_0 case. need to revisit this.
  2168. (CompilationConfig): add a CONFIGURATION_2_0 version.
  2169. * BaseParser.cs: Remove the declaration of compilationConfig in
  2170. the CONFIGURATION_2_0 case. it's unnecessary.
  2171. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  2172. * Control.cs: use _controls instead of the property wherever possible.
  2173. 2005-12-05 Gonzalo Paniagua Javier <[email protected]>
  2174. * Control.cs: use the _controls field instead of the Controls property.
  2175. Fixes bug #76919.
  2176. 2005-11-30 Sebastien Pouliot <[email protected]>
  2177. * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
  2178. Now internal.
  2179. * KeyedListEnumerator.cs: Now internal.
  2180. 2005-11-29 Gonzalo Paniagua Javier <[email protected]>
  2181. * ControlCollection.cs: allow 'null' in Remove.
  2182. 2005-11-28 Chris Toshok <[email protected]>
  2183. * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
  2184. * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
  2185. (PagesConfig): add a CONFIGURATION_2_0 version that returns a
  2186. PagesSection.
  2187. * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
  2188. * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
  2189. version that returns a CompilationSection.
  2190. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  2191. * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
  2192. 2005-11-09 Chris Toshok <[email protected]>
  2193. * ViewStateEncryptionMode.cs: new 2.0 enum.
  2194. 2005-11-08 Gonzalo Paniagua Javier <[email protected]>
  2195. * TemplateParser.cs: fixes #76423. Not tested properly.
  2196. 2005-11-07 Gonzalo Paniagua Javier <[email protected]>
  2197. * Page.cs: call LoadViewStateRecursive when the Form collection has
  2198. not been used by a different page (GetTypeHashCode). This fixes problems
  2199. when calling Server.Transfer while preserving Form and QueryString,
  2200. as the page we transfer to used the view state stored in the Form, which
  2201. contained the serialized data for the page calling Server.Transfer
  2202. instead.
  2203. 2005-10-31 Gonzalo Paniagua Javier <[email protected]>
  2204. * Page.cs: add/remove the error before/after invoking OnError.
  2205. 2005-10-27 Gonzalo Paniagua Javier <[email protected]>
  2206. * Page.cs: call OnError when there's an exception (not for TAE). Fixes
  2207. bug #76572.
  2208. 2005-10-25 Gonzalo Paniagua Javier <[email protected]>
  2209. * TemplateControl.cs:
  2210. * PartialCachingControl.cs: if a control is cacheable, LoadControl
  2211. returns a PartialCachingControl that holds the VaryBy* and takes care
  2212. of partial caching and rendering. Fixes bug #76547.
  2213. 2005-10-17 Gonzalo Paniagua Javier <[email protected]>
  2214. * Page.cs: don't cache the 'Validate()' results. IsValid retests
  2215. the validators again.
  2216. 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
  2217. * DesignerDataBoundLiteralControl.cs: changed autoid api.
  2218. * DataBoundLiteralControl.cs: changed autoid api.
  2219. * Control.cs: fixlet for UniqueID and weird test case. Removed
  2220. PreventAutoID and only use the property to set that value.
  2221. * LiteralControl.cs: changed autoid api.
  2222. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  2223. * AttributeCollection.cs: avoid code duplication and
  2224. don't add "style" to the bag, or it will overwrite the settings made
  2225. by CssStyleCollection.
  2226. * CssStyleCollection.cs: make it throw where MS throws.
  2227. Minimize the number of times we create the "style" string and take
  2228. care of updating it for the AttributeCollection. FillStyle and
  2229. BagToString are now private. One should use the 2.0 (internal in <2.0)
  2230. Value property.
  2231. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  2232. * Control.cs: fix HasChildViewStates.
  2233. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  2234. * LosFormatter.cs: when the default ctor is used, MAC is disabled.
  2235. Fixes bug #76240.
  2236. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  2237. * ObjectTagBuilder.cs: only fail when no id and no attributes.
  2238. 2005-09-23 Sebastien Pouliot <[email protected]>
  2239. * DataBindingCollection.cs: Using an hashtable is a nice trick but
  2240. we need to copy values (not the DictionaryEntry) in CopyTo.
  2241. * Page.cs: IsValid throws an exception if the page hasn't be
  2242. validated. VerifyRenderingInServerForm doesn't throw an exception
  2243. during unit testing (without a context?) but does in normal ops.
  2244. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  2245. * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
  2246. save the allocation of new MemoryStreams when possible. Thanks to
  2247. Sebastien again.
  2248. 2005-09-23 Ben Maurer <[email protected]>
  2249. * HtmlTextWriter.cs: Initial support for escaping.
  2250. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  2251. * ViewStateOutputHashStream.cs: Removed. It didn't last long.
  2252. * Page.cs: almost restored to its previous state, but now that we found
  2253. that LosFormatter ctor that takes 'enableMac', moved the logic to
  2254. add the hash and validate there. Thanks to Sebastien for his input.
  2255. * LosFormatter.cs: implemented the missing ctors and support for
  2256. "MAC" validation of the data.
  2257. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  2258. * Page.cs:
  2259. * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
  2260. prevents the viewstate being altered on the client and it's disabled
  2261. by default as per the documentation, but MS machine.config has it
  2262. enabled in machine.config.
  2263. 2005-09-22 Miguel de Icaza <[email protected]>
  2264. * DataBindingCollection.cs: Raise the event, remove MonoTODO.
  2265. * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
  2266. string.
  2267. 2005-09-21 Sebastien Pouliot <[email protected]>
  2268. * Control.cs: Added null checks for Trace as it can be null when
  2269. rendering (like it was for 39 unit tests).
  2270. 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
  2271. * Page.cs: reverted hacks used with the wrong method of getting a
  2272. control rendered size.
  2273. * Control.cs: if the trace is enabled, save control rendered size.
  2274. 2005-09-19 Sebastien Pouliot <[email protected]>
  2275. * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
  2276. now use HtmlHeader directly.
  2277. * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
  2278. rewrote Equals to avoid dual type cast.
  2279. 2005-09-19 Sebastien Pouliot <[email protected]>
  2280. * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
  2281. 2005-09-19 Sebastien Pouliot <[email protected]>
  2282. * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
  2283. * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
  2284. with Minimal level. Fixed checks on ctor.
  2285. * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
  2286. AspNetHostingPermission with Minimal level.
  2287. * TemplateContainerAttribute.cs: Added LinkDemand for
  2288. AspNetHostingPermission with Minimal level.
  2289. * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
  2290. AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
  2291. Stubbed IFilterResolutionService for CAS testing.
  2292. * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
  2293. AspNetHostingPermission with Minimal level.
  2294. * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
  2295. AspNetHostingPermission with Minimal level.
  2296. * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
  2297. with Minimal level. Removed IDispose interface.
  2298. * ToolboxDataAttribute.cs: Added LinkDemand for
  2299. AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
  2300. to work on both 1.x and 2.0 profiles.
  2301. * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
  2302. for AspNetHostingPermission with Minimal level.
  2303. * UserControl.cs: Added LinkDemand and InheritanceDemand for
  2304. AspNetHostingPermission with Minimal level. Stubbed
  2305. IFilterResolutionService for CAS testing.
  2306. * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
  2307. for AspNetHostingPermission with Minimal level.
  2308. * ValidationPropertyAttribute.cs: Added LinkDemand for
  2309. AspNetHostingPermission with Minimal level.
  2310. * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
  2311. with Minimal level.
  2312. * WebResourceAttribute.cs: Removed extra ctor and added setter to
  2313. PerformSubstitution.
  2314. * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
  2315. AspNetHostingPermission with Minimal level.
  2316. 2005-09-15 Sebastien Pouliot <[email protected]>
  2317. * ParseChildrenAttribute.cs: Added LinkDemand for
  2318. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  2319. casting. Added new ctor and public fields (2.0). Changed
  2320. ChildControlType setter visibility to internal.
  2321. * PartialCachingAttribute.cs: Added LinkDemand for
  2322. AspNetHostingPermission with Minimal level. Added new ctor and
  2323. SqlDependency property (2.0).
  2324. * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
  2325. AspNetHostingPermission with Minimal level.
  2326. * PersistenceModeAttribute.cs: Added LinkDemand for
  2327. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  2328. casting.
  2329. * PersistChildrenAttribute.cs: Added LinkDemand for
  2330. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  2331. casting.
  2332. * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
  2333. with Minimal level. Class is static in 2.0.
  2334. * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
  2335. AspNetHostingPermission with Minimal level. Class is no more sealed in
  2336. 2.0. Added new (2.0) BuiltObjects property.
  2337. * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
  2338. for AspNetHostingPermission with Minimal level.
  2339. * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
  2340. Minimal level.
  2341. * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
  2342. Minimal level. Removed SetDirty() which was called (2.0) but did
  2343. nothing.
  2344. * StaticPartialCachingControl.cs: Added LinkDemand and
  2345. InheritanceDemand for AspNetHostingPermission with Minimal level.
  2346. 2005-09-15 Sebastien Pouliot <[email protected]>
  2347. * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
  2348. AspNetHostingPermission with Minimal level. Added new 2.0 properties
  2349. (but the generated HTML doesn't use them).
  2350. * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
  2351. AspNetHostingPermission with Minimal level.
  2352. * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
  2353. with Minimal level.
  2354. * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
  2355. AspNetHostingPermission with Minimal level. Default Text is null.
  2356. * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
  2357. AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
  2358. * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
  2359. AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
  2360. * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
  2361. with Minimal level. Added check for null id (HttpException).
  2362. * Page.cs: Added LinkDemand and InheritanceDemand for
  2363. AspNetHostingPermission with Minimal level. Throw some HttpException
  2364. when no context is available.
  2365. * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
  2366. level. InheritanceDemand too for 1.x.
  2367. * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
  2368. Minimal level.
  2369. 2005-09-14 Sebastien Pouliot <[email protected]>
  2370. * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
  2371. Minimal level. Fixed some exceptions.
  2372. * DataBindingCollection.cs: Added LinkDemand for
  2373. AspNetHostingPermission with Minimal level. Added 2.0 method and
  2374. event.
  2375. * DataBindingHandlerAttribute.cs: Added LinkDemand for
  2376. AspNetHostingPermission with Minimal level.
  2377. * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
  2378. Minimal level. Simplified Equals (reduced casts).
  2379. * DataBoundLiteralControl.cs: Added LinkDemand for
  2380. AspNetHostingPermission with Minimal level. Implemented ITextControl
  2381. for 2.0.
  2382. * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
  2383. AspNetHostingPermission with Minimal level.
  2384. * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
  2385. with Minimal level. Added new 2.0 properties.
  2386. * DesignTimeTemplateParser.cs: Added LinkDemand for
  2387. AspNetHostingPermission with Minimal level. Made class static and
  2388. stubbed missing methods (2.0).
  2389. * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
  2390. for AspNetHostingPermission with Minimal level. Changed Add* methods
  2391. exceptions to HttpException.
  2392. 2005-09-14 Sebastien Pouliot <[email protected]>
  2393. * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
  2394. with Minimal level.
  2395. * BaseParser.cs: Added LinkDemand and InheritanceDemand for
  2396. AspNetHostingPermission with Minimal level.
  2397. * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
  2398. for AspNetHostingPermission with Minimal level.
  2399. * CompiledTemplateBuilder.cs: Added LinkDemand for
  2400. AspNetHostingPermission with Minimal level.
  2401. * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
  2402. AspNetHostingPermission with Minimal level.
  2403. * ControlBuilderAttribute.cs: Added LinkDemand for
  2404. AspNetHostingPermission with Minimal level. Simplified Equals and
  2405. IsDefaultAttribute.
  2406. * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
  2407. AspNetHostingPermission with Minimal level.
  2408. * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
  2409. * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
  2410. AspNetHostingPermission with Minimal level. Fixed possible stack
  2411. overflow in Add* methods. Fixed CopyTo as we're not allocating the
  2412. array based on the number of items.
  2413. * Control.cs: Added LinkDemand and InheritanceDemand for
  2414. AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
  2415. * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
  2416. with Minimal level.
  2417. * IStyleSheet.cs: Fixed parameter orders (2.0).
  2418. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  2419. * TemplateParser.cs: default VS 2005 pages are compiled fine now.
  2420. 2005-09-07 Chris Toshok <[email protected]>
  2421. * MinimizableAttributeTypeConverter.cs: new class, whose existence
  2422. we know about because of corcompare, and for whose implementation
  2423. we have exclusively nunit to thank.
  2424. 2005-09-06 Chris Toshok <[email protected]>
  2425. * RootBuilder.cs (.cctor): doh, add all the new html controls
  2426. here.
  2427. 2005-08-31 Chris Toshok <[email protected]>
  2428. * DataSourceSelectArguments.cs (Empty): this is apparently,
  2429. according to corcompare, a property, not a field. go figure.
  2430. (Equals): implement.
  2431. (IsEmpty): remove all mention of it.
  2432. 2005-08-29 Chris Toshok <[email protected]>
  2433. * StateBag.cs (GetChar): add.
  2434. 2005-08-28 Chris Toshok <[email protected]>
  2435. * Page.cs: more random corcompare work.
  2436. (PageAdapter): implement.
  2437. 2005-08-28 Chris Toshok <[email protected]>
  2438. * Page.cs (.ctor): set our initial ID to "__Page".
  2439. (SmartNavigation): obsolete in 2.0.
  2440. (FindControl): new implementation. Just check our own ID against
  2441. the control we're looking for. otherwise pass it along to
  2442. base.FindControl.
  2443. (GetPostBackClientHyperlink): obsolete in 2.0.
  2444. 2005-08-28 Chris Toshok <[email protected]>
  2445. * ClientScriptManager.cs: public sealed in 2.0
  2446. * IAdaptableTextWriter.cs: new 2.0 interface.
  2447. * IHierarchyData.cs: fix return type for GetParent.
  2448. 2005-08-28 Chris Toshok <[email protected]>
  2449. * Pair.cs: mark serializable and sealed in 2.0.
  2450. 2005-08-26 Sebastien Pouliot <[email protected]>
  2451. * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
  2452. existing (but internal) FillStyle method. Rewrote BagToString to use an
  2453. HtmlTextWriter so we get the "right" format for background-image url.
  2454. 2005-08-26 Sebastien Pouliot <[email protected]>
  2455. * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
  2456. Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
  2457. the extra space from last patch because they break some unit tests.
  2458. 2005-08-26 Lluis Sanchez Gual <[email protected]>
  2459. * CssStyleCollection.cs: Added some spacing.
  2460. * HtmlTextWriter.cs: Made style and attribute tables static.
  2461. Implemented StaticGetStyleName().
  2462. 2005-08-26 Sebastien Pouliot <[email protected]>
  2463. * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
  2464. compilation.
  2465. * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
  2466. The new rendering formats the value as "url(" + original + ")".
  2467. 2005-08-26 Sebastien Pouliot <[email protected]>
  2468. * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
  2469. depends on the HtmlTextWriterStyle ordering).
  2470. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  2471. * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
  2472. 2005-08-25 Sebastien Pouliot <[email protected]>
  2473. * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
  2474. fixed the rest of the enum values).
  2475. * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
  2476. parameter to match 2.0 API. Added a setter to the AllowedTypes
  2477. property.
  2478. 2005-08-24 Chris Toshok <[email protected]>
  2479. * Control.cs (get_Adapter): Instead of throwing an exception, just
  2480. return null, so we can write the rest of the Control specific
  2481. Adapter code and just not enable any of those code paths until we
  2482. have actual adapters. Also flag TODO.
  2483. (EnsureChildControls): Call out to Adapter.CreateChildControls if
  2484. we have an adapter.
  2485. (RenderChildren): call "RenderControl (writer, adapter)" if we
  2486. have an adapter.
  2487. (RenderControl): implement the adapter case naively.
  2488. (LoadRecursive): call out to Adapter.OnLoad if we have one.
  2489. (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
  2490. we have one.
  2491. (InitRecursive): call out to Adapter.OnInit if we have one.
  2492. 2005-08-24 Chris Toshok <[email protected]>
  2493. * Page.cs (GetPostBackEventReference): track change to
  2494. ClientScriptManager and don't call a removed method.
  2495. * ClientScriptManager.cs: track more recent docs and corcompare
  2496. output.
  2497. 2005-08-24 Sebastien Pouliot <[email protected]>
  2498. * KeyedList.cs: Fixed bug when removing an unexisting object.
  2499. * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
  2500. in implementing RoleGroupCollection.
  2501. 2005-08-22 Sebastien Pouliot <[email protected]>
  2502. * Page.cs: Use Control property (and not the _control variable) to get
  2503. the User (so the virtual Control property can be overriden properly).
  2504. Sadly this doesn't seems to be the case for other properties (like
  2505. Request).
  2506. 2005-08-18 Dick Porter <[email protected]>
  2507. * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
  2508. UserControl.cs, DesignerDataBoundLiteralControl.cs,
  2509. PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
  2510. BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
  2511. stubs and attribute fixes
  2512. 2005-08-13 Sebastien Pouliot <[email protected]>
  2513. * Control.cs: Add protected virtual SetDesignModeState, in 2.0
  2514. profile, as this is required for the Login control.
  2515. 2005-08-11 Dick Porter <[email protected]>
  2516. * CssStyleCollection.cs: Tweak the css string format to pass a
  2517. unit test
  2518. * AttributeCollection.cs: Don't NRE if someone sets the "style"
  2519. attribute to null.
  2520. 2005-08-05 Ben Maurer <[email protected]>
  2521. * HtmlTextWriter.cs: Revert the patch below, see test case
  2522. 2005-08-05 Dick Porter <[email protected]>
  2523. * HtmlTextWriter.cs: Make <option> tags render inline, to match
  2524. the ms output
  2525. 2005-08-03 Ben Maurer <[email protected]>
  2526. * HtmlTextWriter.cs: Optmize this not to do insane amounts of
  2527. allocation for large pages, etc.
  2528. 2005-07-30 Chris Toshok <[email protected]>
  2529. * Page.cs (VerifyRenderingInServerForm): copy MS's error message
  2530. since our form-errors jsunit tests depend on it.
  2531. 2005-07-30 Chris Toshok <[email protected]>
  2532. * DataBinder.cs (FormatResult): make internal, not private.
  2533. 2005-07-29 Ben Maurer <[email protected]>
  2534. * StateBag.cs: Don't remove when tracking viewstate, as per msft
  2535. docs.
  2536. 2005-07-29 Ben Maurer <[email protected]>
  2537. * StateBag.cs: Actually *remove* items that are null. Duh.
  2538. 2005-07-21 Peter Dennis Bartok <[email protected]>
  2539. * Page.cs: Need to throw exception when accessing Request but no
  2540. context exists
  2541. 2005-07-20 Chris Toshok <[email protected]>
  2542. * ClientScriptManager.cs (GetClientValidationEvent): the JS we
  2543. stick in onclick handlers for buttons/links/etc.
  2544. * Page.cs (GetSubmitStatements): new function to return
  2545. scriptManager.WriteSubmitStatements. Used by HtmlForm.
  2546. (AreValidatorsUplevel): used by many of the button/linkbutton
  2547. controls (the ones that can CauseValidation) to tell whether or
  2548. not to emit client side validation calls.
  2549. 2005-07-20 Chris Toshok <[email protected]>
  2550. * WebResourceAttribute.cs: make internal (and available) in
  2551. !NET_2_0.
  2552. 2005-07-20 Chris Toshok <[email protected]>
  2553. * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
  2554. available) in !NET_2_0.
  2555. 2005-07-18 Peter Dennis Bartok <[email protected]>
  2556. * Control.cs: Added IDataBindingsAccessor interface methods
  2557. 2005-07-18 Ben Maurer <[email protected]>
  2558. * HtmlTextWriter.cs: Fix nested indentation
  2559. 2005-07-18 Peter Dennis Bartok <[email protected]>
  2560. * Control.cs: Added missing IParserAccessor.AddParsedSubObject
  2561. interface method
  2562. 2005-07-18 Ben Maurer <[email protected]>
  2563. * HtmlTextWriter.cs: Fix indentation (somewhat at least)
  2564. 2005-07-18 Peter Dennis Bartok <[email protected]>
  2565. * Control.cs:
  2566. - Default name for controls on MS.Net is "_ctl" not "_ctrl"
  2567. - MS does not append 'a' for auto-generated names
  2568. 2005-07-17 Ben Maurer <[email protected]>
  2569. * AttributeCollection.cs: Use the invariant culture.
  2570. * StateBag.cs: "Duh" optimization: return null when there are no
  2571. dirty items in the view state
  2572. 2005-07-14 Ben Maurer <[email protected]>
  2573. * StateBag.cs: A "short" version of my favorite method.
  2574. * HtmlTextWriter.cs: New method to get the tag name staticly.
  2575. 2005-07-14 Duncan Mak <[email protected]>
  2576. * DataBindingHandlerAttribute.cs: Fixed after receiving some
  2577. comments from Gonzalo.
  2578. 2005-07-13 Jackson Harper <[email protected]>
  2579. * PropertyConverter.cs: No public constructors.
  2580. 2005-07-13 Ben Maurer <[email protected]>
  2581. * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
  2582. 2005-07-12 Ben Maurer <[email protected]>
  2583. * HtmlTextWriter.cs: Make styles work.
  2584. 2005-07-11 Peter Dennis Bartok <[email protected]>
  2585. * AttributeCollection.cs:
  2586. - Changes to match MS behaviour, the "style" attribute is always
  2587. added to the list, in addition to being added to the
  2588. CssStyleCollection. Also added check for "style" attribute when
  2589. setting via index setter
  2590. - When "Style" attribute is added, CssStyleCollection is
  2591. automatically created
  2592. - The style keyword needs to be lowercase
  2593. 2005-07-11 Ben Maurer <[email protected]>
  2594. * HtmlTextWriter.cs: Missing a PopEndTag here.
  2595. * PropertyConverter.cs: Pass tests
  2596. 2005-07-09 Miguel de Icaza <[email protected]>
  2597. * DataBindingHandlerAttribute.cs: Create the "Default" property.
  2598. 2005-07-09 Duncan Mak <[email protected]>
  2599. * DataBindingHandlerAttribute.cs: Implemented.
  2600. 2005-07-08 Ben Maurer <[email protected]>
  2601. * HtmlTextWriter.cs: Much better compliance with msft
  2602. 2005-07-08 Jackson Harper <[email protected]>
  2603. * ToolbarDataAttribute.cs: New implementation.
  2604. 2005-07-07 Jackson Harper <[email protected]>
  2605. * PropertyConverter.cs: New implementation.
  2606. 2005-07-07 Ben Maurer <[email protected]>
  2607. * StateBag.cs: Noticed an issue where SetDirty was called when the
  2608. key did not exist.
  2609. 2005-07-07 Ben Maurer <[email protected]>
  2610. * StateBag.cs: Add a method that gets a string or else a default
  2611. value.
  2612. 2005-07-07 Dick Porter <[email protected]>
  2613. * StateBag.cs: Added internal SetDirty (void) method to fix the
  2614. build
  2615. 2005-07-07 Sebastien Pouliot <[email protected]>
  2616. * HtmlTextWriter.cs: Small fixlet when attribute has no value.
  2617. 2005-07-07 Miguel de Icaza <[email protected]>
  2618. * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
  2619. tests.
  2620. * StateBag.cs: Add NET_2_0 SetDirty method to get the build
  2621. going.
  2622. 2005-07-07 Sebastien Pouliot <[email protected]>
  2623. * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
  2624. 2005-07-06 Ben Maurer <[email protected]>
  2625. * HtmlTextWriter.cs: Make sure to clear attributes when they are
  2626. written.
  2627. * StateBag.cs: New impl
  2628. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  2629. * Page.cs:
  2630. * Control.cs: avoid the creation of the EventHandlerList and accessing
  2631. to it whenever possible. Fix ENABLE_THEMING constant.
  2632. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  2633. * TemplateParser.cs:
  2634. * TemplateControlParser.cs:
  2635. * UserControlParser.cs: detect circular references when a control tries
  2636. to register itself as a tag. Fixes bug #75376.
  2637. 2005-06-14 Gonzalo Paniagua Javier <[email protected]>
  2638. * PageParser.cs: don't try to compile the master page if it wan't
  2639. provided. Use MapPath from the base classes instead of the long
  2640. version. Fixes bug #75269 that prevented xsp2 from working properly.
  2641. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  2642. * MasterPage.cs: Clear the default content of placeholders before
  2643. adding the page content. Fixes bug #75193.
  2644. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  2645. * PageParser.cs: Added MasterType property. Get the type from the
  2646. MasterType directive.
  2647. * MasterPageParser.cs: Added GetCompiledMasterType method.
  2648. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  2649. * UserControl.cs:
  2650. * Page.cs:
  2651. * Control.cs: updates for 1.1 SP1
  2652. 2005-06-06 Lluis Sanchez Gual <[email protected]>
  2653. * Control.cs: Added new DataBind() overload for 2.0. The old
  2654. method calls this new overload.
  2655. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  2656. * TemplateParser.cs: ignore empty assembly.Location for in-memory
  2657. generated assemblies.
  2658. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  2659. * Page.cs: added AddContentTemplate method.
  2660. 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
  2661. * AttributeCollection.cs: html-encode attribute values. Fixes
  2662. bug #73771.
  2663. 2005-05-26 Lluis Sanchez Gual <[email protected]>
  2664. * DataSourceView.cs: Fix api.
  2665. * NonVisualControlAttribute.cs: Implemented.
  2666. * IDataItemContainer.cs: Added missing properties.
  2667. * Control.cs: Added new EnableTheming and SkinID properties.
  2668. * HierarchicalDataSourceControl.cs: Implemented missing methods.
  2669. 2005-05-13 Lluis Sanchez Gual <[email protected]>
  2670. * ControlCollection.cs: Added internal setter for ReadOnly.
  2671. 2005-05-09 Geoff Norotn <[email protected]>
  2672. * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
  2673. uses instead of codebehind.
  2674. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  2675. * Page.cs: as setting CurrentCulture is slow, don't set it if the
  2676. culture has not changed since before the page started processing.
  2677. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  2678. * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
  2679. not found.
  2680. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  2681. * TemplateParser.cs:
  2682. * SimpleWebHandlerParser.cs: removed values assigned and neved used.
  2683. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  2684. * SimpleWebHandlerParser.cs:
  2685. * TemplateParser.cs: always get the location (full path) for assemblies,
  2686. even the ones from the GAC.
  2687. * BaseCompiler.cs: check that DynamicBase directory exists before
  2688. creating the TempFileCollection.
  2689. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  2690. * ClientScriptManager.cs: Use a linked list instead of a Hashtable
  2691. to store the scripts. In this way, scripts will be rendered in the
  2692. same order as they have been registered. It shouldn't be slower
  2693. since pages don't have many scripts.
  2694. 2005-04-21 Lluis Sanchez Gual <[email protected]>
  2695. * IEditableTextControl.cs: Implemented.
  2696. * DataBinder.cs: Marked constructor as obsolete in 2.0.
  2697. In GetDataItem, check for the IDataItemContainer interface
  2698. in the container.
  2699. * TemplateControl.cs: Improved check for data item.
  2700. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  2701. * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
  2702. * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
  2703. for second postback.
  2704. 2005-04-20 Rafael Teixeira <[email protected]>
  2705. * TemplateParser.cs: Adding support for Strict/Explicit attributes
  2706. for @Page/@Control directives as documented at
  2707. http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
  2708. First step don't choke on them. Fixing #74671
  2709. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  2710. * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
  2711. there from the time when Load wasn't working properly. First part of the
  2712. fix to 74500.
  2713. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  2714. * ControlBuilder.cs: The BindingContainerType property happens
  2715. to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
  2716. which is used to get the binding container that is managing
  2717. the current two-way binding context.
  2718. * TemplateBuilder.cs: Added some methods and an internal class
  2719. to support two-way bindings.
  2720. * CompiledBindableTemplateBuilder.cs: Implemented.
  2721. * IBindableTemplate.cs: This interface inherits from ITemplate.
  2722. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  2723. * ControlBuilder.cs: Added BindingContainerType property,
  2724. which works like NamingContainerType but takes into account
  2725. template builders with a specific container type (specified
  2726. using the TemplateContainerAttribute.
  2727. * StateManagedCollection.cs: Reimplemented Save/Load view
  2728. state methods. The existing implementation was not correct
  2729. in all cases.
  2730. 2005-04-08 Lluis Sanchez Gual <[email protected]>
  2731. * DataSourceView.cs: Added null check.
  2732. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  2733. * TemplateControl.cs:
  2734. * Page.cs: Moved Eval and XPath from Page
  2735. to TemplateControl.
  2736. * StateManagedCollection.cs: Avoid saving null state.
  2737. 2005-04-01 Lluis Sanchez Gual <[email protected]>
  2738. * DataSourceView.cs: Rethrow exceptions not handled by operation
  2739. callbacks.
  2740. * ITextControl.cs: Removed event.
  2741. * CollectionBuilder.cs: Don't crash when a collection has more
  2742. than one indexer.
  2743. 2005-03-23 Lluis Sanchez Gual <[email protected]>
  2744. * Control.cs: Added a new internal property: HasRenderMethodDelegate.
  2745. * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
  2746. * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
  2747. 2005-03-16 Lluis Sanchez Gual <[email protected]>
  2748. * ClientScriptManager.cs: Fix build.
  2749. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  2750. * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
  2751. since it is deprecated in 2.0.
  2752. * Page.cs: Deprecated GetPostBackClientEvent and similar methods
  2753. in 2.0. Moved callback management methods to ClientScriptManager.
  2754. * ClientScriptManager.cs: Moved here deprecated methods from Page.
  2755. In GetPostBackEventReference (PostBackOptions), don't use the
  2756. WebForm_DoPostback script if the post can be done with a simple
  2757. __doPostBack call.
  2758. * PostBackOptions.cs: Fixed default values for some properties.
  2759. 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
  2760. * Control.cs: in FindControl, throw if there's more than one control
  2761. with the same ID. Fixes bug #73479.
  2762. 2005-03-04 Lluis Sanchez Gual <[email protected]>
  2763. * Page.cs: Load control state before loading view state, and the
  2764. same for saving.
  2765. * DataSourceSelectArguments.cs: Fix recursive property call.
  2766. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  2767. * DataSourceView.cs: Fixed incorrect implementation of
  2768. RaiseUnsupportedCapabilityError.
  2769. * IDataItemContainer.cs: Added new properties.
  2770. * Page.cs: Implemented Form property.
  2771. * Control.cs: Fixed formatting.
  2772. * StateManagedCollection.cs: Track view state of items loaded
  2773. in LoadViewState.
  2774. 2005-02-22 Lluis Sanchez Gual <[email protected]>
  2775. * FilterableAttribute.cs: Fix endless loop.
  2776. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  2777. * Page.cs: Implemented missing events.
  2778. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  2779. * BoundPropertyEntry.cs:
  2780. * PropertyEntry.cs:
  2781. * TwoWayBoundPropertyEntry.cs: implemented.
  2782. 2005-02-10 Lluis Sanchez Gual <[email protected]>
  2783. * Page.cs: Added support for validation groups. Some fixes in
  2784. SavePageControlState().
  2785. * IFilterResolutionService.cs: Removed extra field.
  2786. * INavigateUIData.cs: Added missing field.
  2787. * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
  2788. Implemented new interfaces.
  2789. 2005-02-04 Lluis Sanchez Gual <[email protected]>
  2790. * Page.cs: Implemented support for cross page postback. Implemented
  2791. support for postback with options. Fixed several method and property
  2792. signatures for 2.0.
  2793. * PostBackOptions.cs: Added some TODOs.
  2794. 2005-02-02 Lluis Sanchez Gual <[email protected]>
  2795. * ParseChildrenAttribute.cs: Set the correct default value for the
  2796. childType property.
  2797. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  2798. * ParseChildrenAttribute.cs: Added 2.0 property.
  2799. * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
  2800. * Page.cs: Added support for control state.
  2801. * TemplateBuilder.cs: ContainerType should be internal.
  2802. * Control.cs: Added some new 2.0 methods.
  2803. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  2804. * PageParser.cs: Read the MasterPageFile attribute.
  2805. * UserControlParser.cs: Not sealed any more since we need to inherit from
  2806. it. Added new constructor with an additional "type" parameter.
  2807. * MasterPageParser.cs: Parser for master pages.
  2808. * Page.cs: Added support for master pages.
  2809. * MasterPage.cs: Implemented.
  2810. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  2811. * TemplateBuilder.cs: Added a special constructor that takes an
  2812. attribute provider as parameter. The container type for the template
  2813. may be defined in a TemplateContainerAttribute.
  2814. * ControlBuilder.cs: Create the TemplateBuilder using that special
  2815. constructor.
  2816. * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
  2817. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  2818. * IStyleSheet.cs: Added missing "using".
  2819. * Page.cs: Implemented Header property.
  2820. * CssStyleCollection.cs: Made BagToString method internal.
  2821. * RootBuilder.cs: Register HtmlHead control.
  2822. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  2823. * CssStyleCollection.cs: Minor (!) fix.
  2824. * HtmlTextWriter.cs: Register names for new 2.0 styles.
  2825. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  2826. * CssStyleCollection.cs: Make it work as a standalone collection.
  2827. * HtmlTextWriter.cs: Added static method for getting style names.
  2828. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  2829. * ControlCollection.cs: fix off-by-one and store a null at the end to
  2830. remove the reference to the removed control.
  2831. 2004-12-10 Lluis Sanchez Gual <[email protected]>
  2832. * ClientScriptManager.cs: Added GetScriptLiteral helper method.
  2833. 2004-12-02 Lluis Sanchez Gual <[email protected]>
  2834. * Page.cs: Added support for callback events. Moved theform variable
  2835. outside the __doPostBack function, so it can be used by other
  2836. scripts.
  2837. * StateBag.cs: Implemented SetDirty().
  2838. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  2839. * Control.cs: when saving "Visible" into the ViewState, save the value
  2840. for this precise control, as using the Visible property might give us
  2841. Control's parent visibility. Fixes bug #69200.
  2842. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  2843. * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
  2844. sessions.
  2845. * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
  2846. the appRoot + SessionID + vpath format.
  2847. Fixes the 3 issues reported in bug #66623.
  2848. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  2849. * Page.cs: Moved code for managing client scripts to ClientScriptManager,
  2850. which is public in 2.0 and internal in 1.1.
  2851. * ClientScriptManager.cs: Implemented.
  2852. 2004-11-25 Sanjay Gupta <[email protected]>
  2853. * DataSourceView.cs: Removed extra method.
  2854. 2004-11-24 Sanjay Gupta <[email protected]>
  2855. * DataSourveViewSelectCallback.cs: Corrected method signature.
  2856. 2004-11-23 Lluis Sanchez Gual <[email protected]>
  2857. * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
  2858. even if the class doesn't implement IParserAccessor.
  2859. * WebResourceAttribute.cs: Allow multiple attributes of this type.
  2860. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  2861. * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
  2862. from SqlDataSourceView.cs.
  2863. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  2864. * Control.cs: unified a few bool fields into an int one.
  2865. * ControlCollection.cs: use an array internally instead of always
  2866. allocating an arraylist. Also added our own enumerator.
  2867. * EmptyControlCollection.cs: there's no 'special' ctor now in the base
  2868. class.
  2869. 2004-11-05 Sanjay Gupta <[email protected]>
  2870. * DataSourceView.cs: Changes in access modifiers of methods.
  2871. 2004-10-20 Sanjay Gupta <[email protected]>
  2872. * DataSourceCapabilities.cs: Added Flags attribute.
  2873. * DataSourceSelectArguments.cs: Updated.
  2874. * DataSourveView.cs: Updated.
  2875. 2004-10-19 Sanjay Gupta <[email protected]>
  2876. * HierarchicalDataSourceView.cs: Corrected class definition and updated.
  2877. 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
  2878. * HierarchicalDataSourceView.cs: fix typo.
  2879. 2004-10-18 Sanjay Gupta <[email protected]>
  2880. * HierarchicalDataSourceView.cs: Updated.
  2881. 2004-10-18 Sanjay Gupta <[email protected]>
  2882. * DataSourceSelectArguments.cs: Initial implementation.
  2883. 2004-10-12 Sanjay Gupta <[email protected]>
  2884. * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
  2885. 2004-10-12 Sanjay Gupta <[email protected]>
  2886. * UrlTypes.cs: Updated.
  2887. 2004-10-12 Sanjay Gupta <[email protected]>
  2888. * UrlPropertyAttribute.cs: Added new file.
  2889. 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
  2890. * Control.cs: even if the control has no children the naming container
  2891. may contain the control we're looking for. Fixes bug #67304.
  2892. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  2893. * AspGenerator.cs: added OtherTags.
  2894. 2004-09-24 Sanjay Gupta <[email protected]>
  2895. * ControlValuePropertyAttribute.cs: Initial implementation.
  2896. 2004-09-24 Sanjay Gupta <[email protected]>
  2897. * IPaginationContainer.cs: Corrected name of class.
  2898. 2004-09-24 Sanjay Gupta <[email protected]>
  2899. * IDReferencePropertyAttribute.cs: Completed implementation.
  2900. 2004-09-24 Sanjay Gupta <[email protected]>
  2901. * ThemeableAttribute.cs:
  2902. * FilterableAttribute.cs: Code scrubbing and optimization.
  2903. 2004-09-14 Sanjay Gupta <[email protected]>
  2904. * ThemeableAttribute.cs: Completed implementation.
  2905. 2004-09-14 Sanjay Gupta <[email protected]>
  2906. * FilterableAttribute.cs: Completed implementation.
  2907. 2004-09-14 Sanjay Gupta <[email protected]>
  2908. * Control.cs: Added new attributes and a method.
  2909. * FilterableAttribute.cs: New attribute, initial implementation.
  2910. * ThemeableAttribute.cs: New attribute, initial implemenataion.
  2911. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  2912. * TemplateParser.cs: ensure bin directory exists before trying to access
  2913. it. Fixes bug #65446 (not closed yet due to dependencies).
  2914. 2004-09-09 Sanjay Gupta <[email protected]>
  2915. * Control.cs: Implemented methods of interface IExpressionAccessor.
  2916. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2917. * SimpleWebHandlerParser.cs: correctly cache Type instead of the
  2918. assembly for ashx/asmx. Otherwise we need to open the file and check
  2919. for the class name in there. Thanks to Ben for pointing this out.
  2920. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  2921. * TemplateParser.cs: removed creation of StringWriter. It's not used.
  2922. * Control.cs: don't create the EventHandlerList until requested.
  2923. 2004-09-03 Sanjay Gupta <[email protected]>
  2924. * Control.cs: Added new interfaces implemented in .Net 2.0.
  2925. * ExpressionBinding.cs: Added new class.
  2926. * ExpressionBindingCollection.cs: Added new class.
  2927. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  2928. * LiteralControl.cs: stylized. This control has EnableViewState disabled
  2929. by default and doesn't get an automatic ID. When text is null -> "".
  2930. 2004-08-31 Sanjay Gupta <[email protected]>
  2931. * ControlSkinProc.cs:
  2932. * DataSourceViewOperationCallback.cs:
  2933. * DataSourceViewSelectCallback.cs:
  2934. * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
  2935. required in definition as delegates by default are sealed.
  2936. 2004-08-31 Sanjay Gupta <[email protected]>
  2937. * IDReferencePropertyAttribute.cs: Corrected and changed from interface
  2938. to class.
  2939. * IMobileTextWriter.cs: Corrected method signatures.
  2940. 2004-08-09 Sanjay Gupta <[email protected]>
  2941. * ControlSkinProc.cs:
  2942. * DataSourceViewOperationCallback.cs:
  2943. * DataSourceViewSelectCallback.cs:
  2944. * ExtractTemplateValuesMethod.cs: Added new delegates.
  2945. 2004-08-06 Sanjay Gupta <[email protected]>
  2946. * IBindableTemplate.cs:
  2947. * ICallbackEventHandler.cs:
  2948. * IControlBuilderAccessor.cs:
  2949. * IControlDesignerAccessor.cs:
  2950. * IControlTypeFilter.cs:
  2951. * IDataItemContainer.cs:
  2952. * IDataSourceViewSchemaAccessor.cs:
  2953. * IDReferencePropertyAttribute.cs:
  2954. * IExpressionsAccessor.cs:
  2955. * IFilterResolutionService.cs:
  2956. * IItemPaginationInfo.cs:
  2957. * IMobileTextWriter.cs:
  2958. * IPageHeader.cs:
  2959. * IPaginationContainer.cs:
  2960. * IPaginationInfo.cs:
  2961. * IResourceResolutionService.cs:
  2962. * IResourceUrlGenerator.cs:
  2963. * IStateFormatter.cs:
  2964. * IStyleSheet.cs:
  2965. * IThemeResolutionService.cs:
  2966. * IUrlResolutionService.cs:
  2967. * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
  2968. 2004-08-05 Sanjay Gupta <[email protected]>
  2969. * PostBackOptions.cs: Added new file and implemented the class.
  2970. 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
  2971. * HtmlTextWriterTag.cs: readded author name.
  2972. 2004-08-04 Sanjay Gupta <[email protected]>
  2973. * HtmlTextWriterAttribute.cs:
  2974. * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
  2975. * CompilationMode.cs:
  2976. * ConflictOptions.cs:
  2977. * DataSourceCacheExpiry.cs:
  2978. * DataSourceCapabilities.cs:
  2979. * DataSourceOperation.cs:
  2980. * TemplateContentType.cs:
  2981. * TemplateInstance.cs:
  2982. * UrlTypes.cs:
  2983. * VerificationConditionalOperator.cs:
  2984. * VerificationReportLevel.cs:
  2985. * VerificationRule.cs:
  2986. * XhtmlMobileDocType.cs: Added enumerations.
  2987. 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
  2988. * Control.cs: style. Reverted previous patch modification of
  2989. TemplateSourceDirectory (failed when the control is reparented). Use
  2990. HasControls() and Controls all over instead of _controls, as Controls
  2991. property and HasControls() might be overriden.
  2992. 2004-07-27 Alon Gazit <[email protected]>
  2993. * Control.cs: Changed the implementation of TemplateSourceDirectory
  2994. and GetDefaultName(). replaced foreach statements with for statements,
  2995. in order to improve performence.
  2996. 2004-07-27 Alon Gazit <[email protected]>
  2997. * Page.cs: changed the implementation of GetViewStateString().
  2998. if the view state object is null there is no need to perform
  2999. Serialization.
  3000. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  3001. * TemplateControl.cs: don't include private methods of base classes when
  3002. auto-attaching events. Fixes bug 61569.
  3003. 2004-07-14 Alon Gazit <[email protected]>
  3004. * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
  3005. 2004-07-08 Pablo Baena <[email protected]>
  3006. * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
  3007. 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
  3008. * Page.cs: added additional checks for saving/displaying trace data.
  3009. * PageParser.cs: removed checks for trace enabled in configuration
  3010. files.
  3011. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  3012. * ControlCollection.cs: when clearing the control collection, tell the
  3013. owners about the removal. Fixes bug #60800.
  3014. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  3015. * Page.cs: don't nullify _context after processing the request as there
  3016. are events not triggered yet. Fixes bug #60726.
  3017. 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
  3018. * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
  3019. bug #60681.
  3020. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  3021. * PageParser.cs:
  3022. * UserControlParser.cs: set the page/user control base type even when no
  3023. default directive provided. Fixes bug #60572.
  3024. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  3025. * PageParser.cs: use default trace settings from web.config and check
  3026. if trace is only requested for local connections. Fixes bug #60180.
  3027. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  3028. * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
  3029. we read the default directive, check the cache for the Type and if
  3030. present, don't keep reading and store the type found.
  3031. * WebHandlerParser.cs:
  3032. * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
  3033. compiling.
  3034. 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
  3035. * Control.cs: properly fixed bug #59794.
  3036. 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
  3037. * Control.cs:
  3038. (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
  3039. #59794.
  3040. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  3041. * SimpleWebHandlerParser.cs:
  3042. * TemplateParser.cs: pass the language when compiling from a file.
  3043. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  3044. * SimpleWebHandlerParser.cs: if we have a global.asax, move its
  3045. reference to the end to help mcs loading the assemblies. Fixes bug
  3046. #58768.
  3047. * TemplateParser.cs: same as above. Removed some kludges to workaround
  3048. loading assemblies from bin path that are now in the runtime. Don't
  3049. load the assemblies in bin if not needed, but still reference them
  3050. when compiling.
  3051. 2004-06-07 Alon Gazit <[email protected]>
  3052. * Page.cs: Changed Page.ProcessPostData().
  3053. After the change ,the state of controls that aren't visible is saved
  3054. during a postback.
  3055. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  3056. * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
  3057. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  3058. * Page.cs: IsPostBack also returns true when method is GET and we have
  3059. viewstate information in the query string. Fixes bug #58151.
  3060. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  3061. * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
  3062. HttpRutime.TraceManager.
  3063. * PageParser.cs: for 'trace' we have 2 variables now. Added support
  3064. for 'buffer' attribute.
  3065. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  3066. * Page.cs: implemented ClientTarget.
  3067. * PageParser.cs: support for clientTarget and check for validity.
  3068. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  3069. * Control.cs:
  3070. * Html32TextWriter.cs:
  3071. * HtmlTextWriter.cs:
  3072. * SimpleWebHandlerParser.cs:
  3073. * TemplateControl.cs: Added protected missing members and attributes.
  3074. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  3075. * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
  3076. calling a protected method of another object.
  3077. 2004-06-03 Atsushi Enomoto <[email protected]>
  3078. * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
  3079. (of other objects) are called in TypeConverterFormatter.
  3080. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  3081. * ObjectStateFormatter.cs: before choosing the binary formatter, check
  3082. if the object type has a TypeConverter that can convert to/from string.
  3083. Fixes bug #59495.
  3084. * Page.cs: call GetViewStateString from outside the WriteLine. This
  3085. allows writing to the Response when getting the string without breaking
  3086. the HTML generated.
  3087. 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
  3088. * HtmlTextWriter.cs: render end tag for unknown tags.
  3089. Patch frmo Markus Krutner. Fixes bug #59466.
  3090. 2004-05-24 Gonzalo Paniagua Javier <[email protected]>
  3091. * Page.cs: call DeterminePostBackMode only once per request. Patch by
  3092. Evain Jb.
  3093. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  3094. * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
  3095. [meddochat].
  3096. * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
  3097. that.
  3098. 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
  3099. * SimpleWebHandlerParser.cs:
  3100. * TemplateParser.cs: for the assembly names given in the 'assembly'
  3101. attribute, use LoadWithPartialName instead of Load.
  3102. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  3103. * Page.cs: return HttpContext.Current if _context has not yet been
  3104. assigned to. Fixes bug #55245.
  3105. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  3106. * TemplateParser.cs: don't add import statement or assemblies from
  3107. global.asax to every file. Fixes bug #55496.
  3108. 2004-03-09 Juraj Skripsky <[email protected]>
  3109. * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
  3110. handle single quotes and a few corner cases correctly (see test cases).
  3111. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  3112. * TemplateControl.cs: fixed typos and added new method names to the set
  3113. of page events.
  3114. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  3115. * ControlBuilder.cs: added SetTagName().
  3116. * ObjectTagBuilder.cs: use SetTagName so that we can properly close
  3117. <object> builders if the closing tag is provided.
  3118. 2004-02-16 Jackson Harper <[email protected]>
  3119. * Page.cs: Set cacheability for Location.DownStream.
  3120. 2004-02-10 Jackson Harper <[email protected]>
  3121. * TemplateParser.cs: Use full path if the assembly is in the
  3122. private bin directory. Patch by Gonzalo Paniagua Javier.
  3123. 2004-02-09 Jackson Harper <[email protected]>
  3124. * Page.cs: Set cacheability for server side caching.
  3125. 2004-01-30 Jackson Harper <[email protected]>
  3126. * Control.cs: Ensure that dynamically loaded controls are
  3127. initialized.
  3128. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  3129. * ApplicationFileParser.cs: check for error in directives. Use
  3130. GlobalAsaxCompiler.CompileApplicationType for compiling.
  3131. * ObjectTagBuilder.cs: load the Type and check for errors.
  3132. * TemplateParser.cs: add assemblies and imports from global.asax.
  3133. Now we properly create accessors for session and application objects in
  3134. the application itself, pages and controls. First step for fixing
  3135. bug #53387.
  3136. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  3137. * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
  3138. to Eric Lindvall for pointing this out.
  3139. 2004-01-15 Jackson Harper <[email protected]>
  3140. * TemplateParser.cs: Detect if we are parsing a control or page
  3141. properly.
  3142. * Page.cs: vary by params and vary by headers can be null now.
  3143. 2004-01-15 Martin Willemoes Hansen <[email protected]>
  3144. * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
  3145. indention.
  3146. 2004-01-14 Jackson Harper <[email protected]>
  3147. * Page.cs: If we have a postback that wasn't sent through a
  3148. postback script (ie user hit submit on a input type=submit) call
  3149. Validate so page validation occurs. This fixes bug #52770.
  3150. 2004-01-14 Jackson Harper <[email protected]>
  3151. * Page.cs: Don't tell the response to cache anymore. This is done
  3152. when the cacheability is modified by a callback. Set the cache's
  3153. duration.
  3154. 2004-01-14 Jackson Harper <[email protected]>
  3155. * TemplateParser.cs: If varybyparam is set to "none" make it null
  3156. so we dont get a param named null in the outputcache key.
  3157. 2004-01-14 Jackson Harper <[email protected]>
  3158. * BasePartialCachingControl.cs: Use varyby attributes in key
  3159. generation.
  3160. 2004-01-14 Jackson Harper <[email protected]>
  3161. * TemplateParser.cs: Add all the outputcache attribute error
  3162. messages.
  3163. 2004-01-13 Jackson Harper <[email protected]>
  3164. * TemplateParser.cs: Add VaryByControls and Shared output cache
  3165. properties. These are not assigned yet.
  3166. * TemplateControlParser.cs: Do not ignore the OutputCache
  3167. attribute.
  3168. * BasePartialCachingControl.cs: Initial implementation. Keys are
  3169. still not created properly.
  3170. * StaticPartialCachingControl.cs: Assign properties in base class,
  3171. implement CreateControl.
  3172. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  3173. * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
  3174. * PageParser.cs: support validateRequest.
  3175. * TemplateControlParser.cs: get default values from system.web/pages
  3176. section.
  3177. * TemplateParser.cs: added separate method for changing base type
  3178. (Inherits or system.web/pages).
  3179. * UserControlParser.cs: support system.web/pages defined base type.
  3180. 2004-01-11 Andreas Nahr <[email protected]>
  3181. * UserControl.cs: Added missing attribute, implemented method
  3182. * Page.cs: Added missing attribute, implemented method
  3183. 2004-01-10 Jackson Harper <[email protected]>
  3184. * Page.cs: Handle trace being enabled in the config file.
  3185. 2004-01-10 Jackson Harper <[email protected]>
  3186. * Page.cs: Save trace data before rendering it.
  3187. * System.Web.dll.sources: Add TraceData.cs
  3188. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  3189. * Page.cs: removed a couple of MonoTODO on methods we're not gonna
  3190. implement. Applied patch from Jan Jaros ([email protected]) to
  3191. ensure that Unload event is raised. Fixes bug #52555.
  3192. 2004-01-02 Zoltan Varga <[email protected]>
  3193. * KeyedList.cs: 'private' is not allowed on explicit interface
  3194. implementations. Fixes 1.2 build.
  3195. 2003-12-31 Jackson Harper <[email protected]>
  3196. * TemplateControlParser.cs: When registering tag prefixs make sure
  3197. the file exists and throw the correct error if it does not.
  3198. 2003-12-25 Jackson Harper <[email protected]>
  3199. * Page.cs: Throw error if the session is accessed when sessions
  3200. are disabled.
  3201. 2003-12-18 Jackson Harper <[email protected]>
  3202. * Page.cs: Write Trace info.
  3203. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  3204. * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
  3205. * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
  3206. internal.
  3207. * PageParser.cs: the ctor is public.
  3208. * PartialCachingAttribute.cs: added new ctor and Shared property.
  3209. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  3210. * Page.cs: assign the ErrorPage to the context if we get an exception
  3211. when processing the page which only calls Unload.
  3212. * PageParser.cs: handle ErrorPage.
  3213. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  3214. * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
  3215. are not [Serializable]. Fixes bug #52244.
  3216. 2003-12-16 Jackson Harper <[email protected]>
  3217. * Page.cs: Render trace data when tracing is enabled.
  3218. 2003-12-15 Jackson Harper <[email protected]>
  3219. * PageParser.cs: Add Trace and Trace mode attributes.
  3220. 2003-12-15 Jackson Harper <[email protected]>
  3221. * Page.cs: Use the context trace object.
  3222. 2003-12-14 Alon Gazit <[email protected]>
  3223. * AttributeCollection.cs: Changed AttributeCollection.Render().
  3224. After the change attributes ,that their value is null, aren't
  3225. rendered.
  3226. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  3227. * Control.cs: remove a few dangling ^M, don't set values for fields
  3228. that has the default value. If Visible is modified and we're tracking
  3229. viewstate, save and restore it. Fixes bug #48689.
  3230. 2003-12-11 Jackson Harper <[email protected]>
  3231. * Control.cs: Give null for the ID if it hasn't been explicitly
  3232. set. This fixes bug #51520.
  3233. 2003-12-08 Jackson Harper <[email protected]>
  3234. * PageParser.cs: Ignore the SmartNavigation attribute for now.
  3235. 2003-12-05 Jackson Harper <[email protected]>
  3236. * DataBinder.cs (GetIndexedPropertyValue): Check if container is
  3237. an IList and use a cast instead of reflection to retrieve the item
  3238. if it is. Fixes bug #51759.
  3239. 2003-12-04 Alon Gazit <[email protected]>
  3240. * Page.cs: Changed Page.ID so it will call Control.ID.
  3241. Fixed Bug 51682.
  3242. 2003-12-02 Jackson Harper <[email protected]>
  3243. * Page.cs: Implemented registered array declarations. Patch by
  3244. Benjamin Jemlich <[email protected]>
  3245. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  3246. * TemplateParser.cs: basic check for 'classname' attribute and added
  3247. patch by [email protected] for bug #51568, which fixes automatic class
  3248. names for pages starting with a number.
  3249. 2003-11-30 Ben Maurer <[email protected]>
  3250. * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
  3251. reduction.
  3252. * ObjectStateFormatter.cs: Comment out tracing.
  3253. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  3254. * Page.cs: fixed UICulture, LCID and Culture. Set the thread
  3255. [UI]Culture before processing the request.
  3256. * PageParser.cs: read Culture, UICulture and LCID attributes. Added
  3257. properties for these. Partially contributed by Mohammad Damt.
  3258. Fixes bug #51511.
  3259. 2003-11-27 Jackson Harper <[email protected]>
  3260. * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
  3261. 51434.
  3262. 2003-11-22 Ben Maurer <[email protected]>
  3263. * ObjectStateFormatter.cs: Fix bug when reading small ints.
  3264. Add some tracing so we can see what is going on.
  3265. 2003-11-21 Jackson Harper <[email protected]>
  3266. * Page.cs: Set vary by params when cache location is Server.
  3267. 2003-11-21 Ben Maurer <[email protected]>
  3268. * ObjectStateFormatter.cs: v2 file. In v1.x this will be
  3269. internal as LosFormatter will eventually use it to save
  3270. the view state.
  3271. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  3272. * PersistChildrenAttribute.cs:
  3273. * PersistenceModeAttribute.cs: implemented.
  3274. * TODO: Removed file.
  3275. * OutputCacheLocation.cs:
  3276. * TemplateControlParser.cs:
  3277. * HtmlInputFile.cs: class status based fixes.
  3278. 2003-11-19 Jackson Harper <[email protected]>
  3279. * Page.cs: Always set the cache expire time. Tell the response to
  3280. cache itself for server side cached pages.
  3281. 2003-11-19 Jackson Harper <[email protected]>
  3282. * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
  3283. thing, some corner cases still need work though. Was this the
  3284. shortest lived method in the history of mono?
  3285. 2003-11-19 Jackson Harper <[email protected]>
  3286. * Control.cs: New method for resolving urls that use ~/ to denote
  3287. the applications base directory.
  3288. 2003-11-19 Jackson Harper <[email protected]>
  3289. * TemplateParser.cs: Fix typo in error message.
  3290. 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
  3291. * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
  3292. to Sanjay Gupta.
  3293. 2003-11-19 Todd Berman <[email protected]>
  3294. * KeyedList.cs:
  3295. * KeyedListEnumerator.cs: New v2 implementations.
  3296. 2003-11-17 Ben Maurer <[email protected]>
  3297. * StateManagedCollection.cs: Implement.
  3298. 2003-11-13 Jackson Harper <[email protected]>
  3299. * Page.cs: Initial implementation of InitOutputCache.
  3300. * TemplateParser.cs: Page OutputCache options
  3301. 2003-11-09 Ben Maurer <[email protected]>
  3302. * HierarchicalDataSourceControl.cs: Implement.
  3303. 2003-11-09 Ben Maurer <[email protected]>
  3304. * XPathBinder.cs: Implemented.
  3305. 2003-11-08 Ben Maurer <[email protected]>
  3306. * DataSourceView.cs:
  3307. * IDataSource.cs:
  3308. * ListSourceHelper.cs:
  3309. * DataSourceControl.cs:
  3310. * HierarchicalDataSourceView.cs:
  3311. * IHierarchicalDataSource.cs: Move v2 stuff.
  3312. 2003-11-07 Jackson Harper <[email protected]>
  3313. * Control.cs (ResolveUrl): Special case for urls that consist of
  3314. only a page anchor. ie <a href="#top">. This fixes bug #50165.
  3315. 2003-11-07 Ben Maurer <[email protected]>
  3316. * IHierarchicalEnumerable.cs:
  3317. * IHierarchyData.cs:
  3318. * INavigateUIData.cs: New v2 interfaces.
  3319. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  3320. * Page.cs: patch by Alon Gazit <[email protected]> to remove extra
  3321. space in generated javascript.
  3322. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  3323. * LosFormatter.cs: encoding updates.
  3324. * Page.cs: implemented CodePage and ContentType.
  3325. * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
  3326. attributes.
  3327. 2003-11-04 Ben Maurer <[email protected]>
  3328. * Control.cs (GetWebResourceUrl): new v2 function
  3329. * Page.cs (GetWebResourceUrl): ditto.
  3330. make the JS we generate work with moz if the form is not a child
  3331. of document.
  3332. * WebResourceAttribute.cs: Added, new v2 attribute.
  3333. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  3334. * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
  3335. * PageParser.cs: initialize the parser in the constructor, not just
  3336. before compiling and reference the application assembly.
  3337. * SimpleWebHandlerParser.cs: reference the assembly that contains the
  3338. application Type.
  3339. * TemplateControl.cs:
  3340. * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
  3341. path and physical path when compiling a user control.
  3342. * TemplateParser.cs: new AddApplicationAssembly ().
  3343. * UserControlParser.cs: now we get valid values in the ctor.
  3344. Referencing the application assembly fixes bug #49652.
  3345. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  3346. * TemplateControl.cs: moved NoParamsInvoker class to its own file.
  3347. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  3348. * BaseParser.cs: added CompilationConfig property.
  3349. * TemplateParser.cs:
  3350. * SimpleWebHandlerParser.cs: added CompilationConfig property.
  3351. Don't hardcode assembly names any more, assemblies in bin are added
  3352. depending on the configuration. The default language is also taken
  3353. from the configuration.
  3354. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  3355. * LosFormatter.cs: fixed bug #49604. Patch by [email protected].
  3356. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  3357. * Control.cs: removed some debug lines.
  3358. * Page.cs: implemented RegisterOnSubmitStatement
  3359. * TemplateControl.cs: fixed wire up for methods with no parameters.
  3360. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  3361. * PageParser.cs: ignore ValidateRequest by now.
  3362. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  3363. * System.Web.UI/TemplateControl.cs: support for wiring up events without
  3364. parameters.
  3365. 2003-10-08 Pedro Martnez Juli <[email protected]>
  3366. * PageParser.cs: drop some useless code.
  3367. 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
  3368. * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
  3369. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  3370. * System.Web.UI/PageParser.cs:
  3371. * System.Web.UI/TemplateControlParser.cs: honour the input file given
  3372. as argument.
  3373. 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
  3374. * Control.cs:
  3375. (ClearChildViewState): doh! Don't clear control viewstate but the
  3376. viewstate of possible children.
  3377. (LoadViewStateRecursive): load viewstate even when control is not
  3378. visible.
  3379. Fixes bug #49024.
  3380. The rest are just dangling ^M removed.
  3381. * DataBoundLiteralControl.cs:
  3382. (LoadViewState): we get an object [], not a string [].
  3383. 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
  3384. * Control.cs: implemented ClearChildViewState ().
  3385. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  3386. * Page.cs: store unique IDs for controls requiring postback. Fixes bug
  3387. #47985.
  3388. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  3389. * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
  3390. dependencies so that it's recompiled when changed.
  3391. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  3392. * LosFormatter.cs: fixed Deserialize for empty viewstate.
  3393. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  3394. * Page.cs: check if controls that require postback have
  3395. been changed by an event and register them to be notified of data
  3396. changed event.
  3397. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  3398. * Control.cs: patch by [email protected] (Yaron Shkop) that fixes
  3399. bug #47866.
  3400. 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
  3401. * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
  3402. are not serializable. Fixes bug #47784.
  3403. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  3404. * Control.cs: index the viewstates saved by the control position, not
  3405. the control name. Fixes bug #47697.
  3406. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  3407. * ControlCollection.cs:
  3408. * EmptyControlCollection.cs: create a minimum ArrayList for this.
  3409. * BaseParser.cs: added setter for BaseVirtualDir.
  3410. * Page.cs: fixed message when restoring view state fails.
  3411. * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
  3412. when a relative path to the control is given. Fixes bug #47685.
  3413. 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
  3414. * Control.cs: when we load the viewstate for a control that has children
  3415. viewstates and the child is not found, keep its viewstate around and
  3416. wait until the child is added to load the viewstate. Fixes bug #47697.
  3417. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  3418. * TemplateControl.cs: more Delegate.CreateDelegate fixes.
  3419. 2003-08-01 Andreas Nahr <[email protected]>
  3420. * PartialCachingControl.cs: is not abstract
  3421. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  3422. * SimpleHandlerFactory.cs: implemented GetHandler.
  3423. * WebHandlerParser.cs: new file that parses .ashx files.
  3424. 2003-07-30 Andreas Nahr <[email protected]>
  3425. * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
  3426. 2003-07-30 Andreas Nahr <[email protected]>
  3427. * UserControl.cs: Added attribute
  3428. * BasePartialCachingControl.cs: New class and paritally implemented
  3429. * DesignerDataBoundLiteralControl.cs: New class and implemented
  3430. * DesignTimeTemplateParser.cs:
  3431. * PartialCachingControl.cs:
  3432. * StaticPartialCachingControl.cs: New class and paritally implemented
  3433. 2003-07-27 Andreas Nahr <[email protected]>
  3434. * ApplicationFileParser.cs: Fixed signature
  3435. * DesignTimeParseData.cs: Added missing properties, implemented
  3436. * Page.cs: Added attributes
  3437. * PageParser.cs:
  3438. * TemplateControlParser.cs:
  3439. * TemplateParser.cs:
  3440. * UserControlParser.cs: Fixed signature
  3441. 2003-07-17 Andreas Nahr <[email protected]>
  3442. * HtmlControlPersistableAttribute.cs: Added
  3443. * IgnoreUnknownContentAttribute.cs: Added
  3444. 2003-07-17 Andreas Nahr <[email protected]>
  3445. * IUserControlDesignerAccessor.cs: Added and implemented
  3446. * Control.cs: Missing member added, added all attributes
  3447. * Page.cs: Added attributes, fixed signature
  3448. * TemplateControl.cs: Fixed signature, added all attributes
  3449. * UserControl.cs: Added all attributes, added and implemented missing interface
  3450. 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
  3451. * ControlCollection.cs: fixed bug #46472.
  3452. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  3453. * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
  3454. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  3455. * SimpleWebHandlerParser.cs: updated to new compilation interface.
  3456. * TemplateParser.cs: use the new parameter when compiling.
  3457. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  3458. * Page.cs: also keep the value for the second try on handling postback
  3459. events.
  3460. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  3461. * BaseParser.cs: fixed MapPath for non-rooted files.
  3462. * PageParser.cs: don't pass a non-virtual file around.
  3463. * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
  3464. the exception teh may be throw by MapPath on an invalid path.
  3465. * TemplateParser.cs: removed unused method.
  3466. * UserControlParser.cs: modified inputfile. The result is the same, but
  3467. this one is better.
  3468. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  3469. * RootBuilder.cs: throw exception when the tagprefix is not valid or
  3470. not found.
  3471. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  3472. * TemplateControlParser.cs: return after processing @Register.
  3473. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  3474. * TemplateParser.cs: Added support for server side includes.
  3475. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  3476. * TemplateControl.cs: fixed the flags used to find the methods that
  3477. are automatically hooked up on events.
  3478. * TemplateParser.cs: don't compile a source file directly. Use the
  3479. cache instead.
  3480. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  3481. * BaseParser.cs: Location property is now here. Added a couple of
  3482. convenience methods to throw a ParseException.
  3483. * TemplateParser.cs:
  3484. * TemplateControlParser.cs:
  3485. * PageParser.cs: throw ParseException where appropiate.
  3486. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  3487. * ApplicationFileParser.cs: use the generator to actually parse the
  3488. file.
  3489. * ControlBuilder.cs: small fix in NamingContainerType because
  3490. TemplateBuilders have a null ControlType. When a control is appended
  3491. to a parent, assign the child's parent.
  3492. * UserControlParser.cs: fixed the value of InputFile.
  3493. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  3494. * ApplicationFileParser.cs: store the Context and override
  3495. BaseVirtualDir so that it's the application path.
  3496. * BaseParser.cs: removed CurrentVirtualPath property.
  3497. * TemplateControlParser.cs: use BaseVirtualDir.
  3498. * UserControlParser.cs: removed CurrentVirtualPath.
  3499. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  3500. * TemplateParser.cs: always reference all the assemblies in bin
  3501. directory.
  3502. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  3503. * ApplicationFileParser.cs: it works now. Prior to these changes, we
  3504. were using the compiler directly.
  3505. * BaseParser.cs: added some useful properties and methods.
  3506. * CodeBuilder.cs: use ILocation.
  3507. * CodeRenderBuilder.cs: use ILocation.
  3508. * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
  3509. * ControlBuilder.cs: made it useful.
  3510. * DataBindingBuilder.cs: the control type for data bound text is
  3511. DataBoundLiteralControl now.
  3512. * ObjectTagBuilder.cs: store some object tag attributes.
  3513. * PageParser.cs: handle page-only directives.
  3514. * RootBuilder.cs: bah.
  3515. * SimpleWebHandlerParser.cs: made it dummy.
  3516. * TemplateControl.cs: Modified file.
  3517. * TemplateControlParser.cs: handle directives that are common to pages
  3518. and user controls.
  3519. * TemplateParser.cs: utility methods and handling of directives that
  3520. are common to app, page and user controls.
  3521. * UserControl.cs: added ControlBuilderAttribute.
  3522. * UserControlControlBuilder.cs: builder for user controls.
  3523. * UserControlParser.cs: use the new interfaces.
  3524. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  3525. * ControlBuilder.cs: line and fileName are protected now.
  3526. * CodeBuilder.cs: base class for the next 2 files.
  3527. * CodeRenderBuilder.cs: builder for code render.
  3528. * DataBindingBuilder.cs: builder for data binding.
  3529. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  3530. * ITagNameToTypeMapper.cs: made it internal.
  3531. * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
  3532. * ObjectTag.cs:
  3533. * RootBuilder.cs: initial builder.
  3534. 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
  3535. * CollectionBuilder.cs:
  3536. * TemplateBuilder.cs: new classes derived from ControlBuilder that
  3537. represent a property or a ITemplate.
  3538. * ControlBuilder.cs: implemented all the missing bits.
  3539. * TemplateParser.cs: added mapping from tag name to Type feature.
  3540. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  3541. * Control.cs: have i definitely fixed naming container stuff this time?
  3542. * LosFormatter.cs: activated binary serialization code.
  3543. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  3544. * Control.cs:
  3545. (AddedControl): fixed default id assignation when the sequence of
  3546. AddedControl until it's included in the page or one of its controls
  3547. does not pass through a naming container.
  3548. 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
  3549. * Control.cs: give different default names depending on the place where
  3550. it is assigned. Implemented ResolveURl (no more ~ rendered in
  3551. attributes!).
  3552. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  3553. * Control.cs: when adding a control, assign default names to th
  3554. children that don't have one.
  3555. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  3556. * SimpleWebHandlerParser.cs: modified to use the new parser interface.
  3557. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  3558. * Control.cs: some more tweaks to naming containers stuff.
  3559. * DataBinder.cs: don't throw exception if the container is null.
  3560. * Page.cs: now we can render client scripts, startup scripts and hidden
  3561. fields. Only render __VIEWSTATE if there is someone that will take care
  3562. of it.
  3563. (RaisePostBackEvents): first try the last one that required raise event,
  3564. then try __EVENTTARGET.
  3565. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  3566. * Control.cs: fixes in UniqueID, FindControl, AddedControl,
  3567. UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
  3568. FindControl work with NamingContainers.
  3569. * ControlCollection.cs: notify the parent when clearing the collection.
  3570. * LosFormatter.cs: Added debugging output and generate a valid
  3571. viewstate even for unknown types.
  3572. * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
  3573. viewstate.
  3574. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  3575. * Page.cs: make it fire the LoadData related events also for controls
  3576. such as ImageButton, whose variable(s) in the query string are of the
  3577. form ctrl_name.x and only fire them once per control.
  3578. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  3579. * DataBinder.cs:
  3580. (GetPropertyValue): don't try to get the property as indexed
  3581. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  3582. * DataBinder.cs: use TypeDescriptor to get the properties and their
  3583. values.
  3584. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  3585. * Control.cs:
  3586. (AddedControl): take the children to the same state of the parent.
  3587. (InitRecursive): set the page of the children.
  3588. * Page.cs: removed one line (it's done a few lines above).
  3589. * UserControl.cs:
  3590. (OnInit): always call InitializeAsUserControl
  3591. (InitializeAsUserControl): sets the page for the control.
  3592. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  3593. * Control.cs: fixed bug #36037.
  3594. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  3595. * BaseParser.cs: a couple of path fixes to make it work
  3596. when the page is not in the root directory.
  3597. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  3598. * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
  3599. reporting the bug.
  3600. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  3601. * BaseParser.cs: use MapPath and context to locate files.
  3602. * Control.cs: implemented MapPathSecure.
  3603. * TemplateControl.cs: use UrlUtils to generate the path.
  3604. * TemplateControlParser.cs: use the context and MapPath.
  3605. * UserControl.cs: implemented MapPath.
  3606. * UserControlParser.cs: added context parameter to constructor.
  3607. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  3608. * Control.cs: implemented MapPathSecure.
  3609. * Page.cs: fixed Server property.
  3610. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  3611. * DataBinder.cs: try the indexer if the property is not found in
  3612. GetPropertyValue ().
  3613. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  3614. * Control.cs: added AutoEventWireup internal property.
  3615. * Page.cs: removed page events wire up from here.
  3616. * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
  3617. and user controls events.
  3618. * TemplateControlParser.cs: process the options that are applicable
  3619. once we have the instance of the control.
  3620. * TemplateParser.cs: also stores the options.
  3621. * UserControl.cs: hook up events before initializing the control.
  3622. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  3623. * Control.cs: new method to set bindingContainer value.
  3624. * TemplateControl.cs: added controls are not binding containers.
  3625. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  3626. * Control.cs: implemented TemplateSourceDirectory.
  3627. * TemplateControl.cs: implemented LoadControl and LoadTemplate.
  3628. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  3629. * UserControl.cs: fixed SetAttribute.
  3630. * UserControlParser.cs: set the correct base type.
  3631. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  3632. * TemplateParser.cs: fixed BaseType.
  3633. * UserControlParser.cs: helper class to compile user controls.
  3634. 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
  3635. * LosFormatter.cs: added DateTime to special types.
  3636. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  3637. * LosFormatter.cs: added array serialization support. Disabled binary
  3638. serialization and add some debugging code.
  3639. * StateBag.cs: the length of the list of value can be less than the
  3640. length if the list of keys when remaining values are null.
  3641. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  3642. * Page.cs: return something useful in GetPostBackClientEvent.
  3643. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  3644. * Page.cs: implemented FileDependecies and made it protected.
  3645. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  3646. * Control.cs: save control names instead of the controls
  3647. themselves to the ViewState.
  3648. * LosFormatter.cs: added support for serializing unknown
  3649. types. BinaryFormatter does not work so you better don't store anything
  3650. of unknown Type in ViewState.
  3651. * Page.cs: GetViewStateString works now using LosFormatter.
  3652. Complete "Control execution lifecycle" by unloading all the child
  3653. controls. Check for null in RaisePostBackEvents.
  3654. LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
  3655. 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
  3656. * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
  3657. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  3658. * LosFormatter.cs: Use WebEncoding.Encoding.
  3659. * Control.cs:
  3660. * Page.cs: fixed namespace.
  3661. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  3662. * Page.cs: set the context in ProcessRequest. Added a few trace calls.
  3663. * Control.cs: added some trace information.
  3664. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  3665. * SimpleHandlerFactory.cs: new handler for .ashx files.
  3666. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  3667. * System.Web.UI/PageHandlerFactory.cs: new file.
  3668. * System.Web.UI/PageParser.cs:
  3669. * System.Web.UI/TemplateControlParser.cs: we are now able to compile
  3670. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  3671. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  3672. * Control.cs: implemented ObBubbleEvent.
  3673. * Page.cs: temporary workaround to make POST work with xsp server.
  3674. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  3675. * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
  3676. return pvt methods.
  3677. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  3678. * SimpleWebHandlerParser.cs: New file.
  3679. * WebServiceParser.cs: New file.
  3680. 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
  3681. * LosFormatter.cs: almost fully implemented.
  3682. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  3683. * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
  3684. * EmptyControlCollection.cs: throw correct exception.
  3685. * LosFormatter.cs: stubbed out.
  3686. * OutputCacheLocation.cs: little fix.
  3687. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  3688. * System.Web.UI/ApplicationFileParser.cs:
  3689. * System.Web.UI/BaseParser.cs:
  3690. * System.Web.UI/PageParser.cs:
  3691. * System.Web.UI/TemplateControl.cs:
  3692. * System.Web.UI/TemplateControlParser.cs:
  3693. * System.Web.UI/TemplateParser.cs: first steps to move xsp into
  3694. System.Web.
  3695. 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
  3696. * Page.cs: request to render postback script can be after form started
  3697. rendering.
  3698. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  3699. * Page.cs: added more page events to invoke automagically if some
  3700. methods are defined.
  3701. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  3702. * Control.cs:
  3703. (SaveViewState): save state even when control is not visible.
  3704. (SaveViewStateRecursive):
  3705. (LoadViewStateRecursive): made internal.
  3706. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  3707. * Page.cs: improved event raising to allow client postback for a wider
  3708. variety of actions (clicking an hyperlink, ...).
  3709. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  3710. * UserControl.cs: implemented Load/SaveViewState.
  3711. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  3712. * AttributeCollection.cs:
  3713. (Add): handle 'style' through styleCollection.
  3714. * CssStyleCollection.cs:
  3715. (fillStyle): renamed to FillStyle and made it internal.
  3716. * Page.cs:
  3717. (GetViewStateString): fixed, broken after other recent changes.
  3718. (ProcessPostData): allow a second try for postback data after OnLoad.
  3719. (ProcessRequest): clear controls collection, removed call to
  3720. UnloadRecursive.
  3721. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  3722. * Control.cs: uncommented Dispose.
  3723. * Page.cs:
  3724. (DeterminePostBackMode): more checkings.
  3725. (GetPostBackClientHyperLink): implemented.
  3726. (GetPostBackEventReference): added some comments with the HTML that MS
  3727. generates for that.
  3728. (ProcessRequest): fixed processing order. The page is unloaded after
  3729. a request and regenerated from view state on subsequents posts.
  3730. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  3731. * Control.cs: fixed related to ViewState. Added RemovedControl.
  3732. * ControlCollection.cs: notify owner of control removal.
  3733. * CssStyleCollection.cs: almost rewritten to make it render the style
  3734. attribute after changes to it.
  3735. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  3736. Removed Xml code.
  3737. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  3738. HybridDictionary: it makes the program give an InvalidCastException at
  3739. runtime. Why?
  3740. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  3741. * Page.cs: fire Init and Load events for all children.
  3742. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  3743. * UserControl.cs: New file.
  3744. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  3745. * ControlBuilderAttribute.cs: finished implementation.
  3746. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  3747. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  3748. property to false.
  3749. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  3750. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  3751. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  3752. Hashtable. Added internal .ctor.
  3753. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  3754. Equals and GetHashCode.
  3755. * System.Web.UI/DataBoundLiteralControl.cs:
  3756. (LoadViewState):
  3757. (SaveViewState): implemented.
  3758. * System.Web.UI/Page.cs: FileDependencies is not public.
  3759. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  3760. (GetHashCode):
  3761. (Equals):
  3762. (IsDefaultAttribute): implemented.
  3763. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  3764. * Control.cs: fixed Visible property.
  3765. * Page.cs: fixed GetViewStateString.
  3766. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  3767. * System.Web.UI/Page.cs:
  3768. (GetViewStateString): new function to give the server access to the
  3769. generated view state string.
  3770. (Validate): d'oh!
  3771. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  3772. * Control.cs:
  3773. (SaveViewstateRecursive): implemented.
  3774. (SaveViewState): fixed.
  3775. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  3776. * Page.cs: added code to save view state to an xml file. It's not
  3777. being used right now.
  3778. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  3779. * System.Web.UI/LiteralControl.cs:
  3780. Fixes based on class status page:
  3781. - Add attributes (DefaultEvent, ParseChildren).
  3782. - Fix declarations.
  3783. - Explicitly implement some interfaces (IPostBackDataHandler
  3784. and IPostBackEventHandler).
  3785. - Implemented some missing methods.
  3786. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  3787. * Control.cs: reimplemented FindControls.
  3788. * Page.cs:
  3789. (.ctor): set the page for this control.
  3790. (IsPostBack): return valid value.
  3791. (DeterminePostBackMode): finished.
  3792. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  3793. (ProcessPostData): implemented. Raises change and postback events.
  3794. (ProcessRequest): changed to support reuse of the instance.
  3795. (RegisterRequiresPostBack): implemented.
  3796. * ValidatorCollection.cs: implemented all methods.
  3797. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  3798. * Control.cs:
  3799. * Page.cs: first attemp to save view state.
  3800. * HtmlForm.cs: don't render Action.
  3801. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  3802. * Page.cs: implemented more properties using information we already
  3803. have in Context.
  3804. (OnFormRender):
  3805. (OnFormPostRender):
  3806. (VerifyRenderingInServerForm): implemented.
  3807. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  3808. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  3809. out runtime. Renamed Page_Init and Page_Load.
  3810. After this, we can load a dll and render HTML in linux.
  3811. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  3812. * Control.cs:
  3813. (AddedControl): new function that is called whenever a control is
  3814. added to a collection of controls in a container. It sets the defaults
  3815. except for Page.
  3816. * ControlCollection.cs: call AddedControl in Add/AddAt.
  3817. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  3818. SetStaticString and SetDataBoundString.
  3819. * Page.cs: removed SetDefaults.
  3820. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  3821. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  3822. by xsp.
  3823. * Control.cs:
  3824. (BindingContainer): implemented.
  3825. (EnsureChildControls): avoid stack overflow.
  3826. * DataBinder.cs: implemented Eval and PropertyValue.
  3827. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  3828. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  3829. bug as in regular attributes).
  3830. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  3831. * Control.cs: implemented PreventAutoID.
  3832. * Page.cs:
  3833. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  3834. been called.
  3835. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3836. * Page.cs:
  3837. (Validators): if the collection is null, create one.
  3838. (GetPostBackEventReference 2): don't throw exception.
  3839. (GetPostBackClientEvent): return a string with containing the method
  3840. name, the control name and the argument.
  3841. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3842. * Page.cs: SetPage is now called SetDefaults and also sets a default
  3843. ID for controls that don't have one yet.
  3844. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  3845. * Page.cs:
  3846. (GetPostBackClient):
  3847. (RegisterRequiresPostBack): don't throw NotImplementedException to
  3848. keep going.
  3849. (ProcessRequest): set the current page as the Page property for *all*
  3850. the controls, not just the direct children of the page.
  3851. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  3852. * Control.cs:
  3853. (MapPathSecure): until security is implemented, return the same path
  3854. received as argument.
  3855. (RenderControl): call OnPreRender before rendering the control. So
  3856. AdRotator can read its configuration file.Is there any other place
  3857. where this should be done?
  3858. * HtmlTextWriter.cs:
  3859. (AddAttribute): fixed. Now it really stores attributes.
  3860. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  3861. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  3862. * ControlCollection.cs:
  3863. (AddAt): if index is -1 behave as a plain Add.
  3864. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  3865. * Page.cs: for each child control to render, assign Control.Page.
  3866. Probably also needed in HtmlContainerControl derived classes.
  3867. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  3868. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  3869. fine and takes care of the details.
  3870. * Control.cs: added HasChildren property.
  3871. * StateBag.cs: fixed a couple of nasty bugs.
  3872. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  3873. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  3874. Invoke Page_Init and/or Page_Load if the user supplied them (though
  3875. this should depend on AutoEventWireUp attribute of Page directive).
  3876. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  3877. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  3878. * Page.cs:
  3879. (ProcessRequest): implemented.
  3880. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  3881. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  3882. methods.
  3883. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  3884. * Page.cs:
  3885. (FileDependencies): now is public public.
  3886. (EnableViewStateMAC): uncommented and made protected.
  3887. (GetTypeHashCode): added method.
  3888. 2002-05-24 Duncan Mak <[email protected]>
  3889. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  3890. * StateBag.cs (Item): Changed the visibility level of the this
  3891. [object] indexer.
  3892. Misc. formatting edits, fixing some bugs introduced by the indentation.
  3893. * DataBinder.cs (Eval)
  3894. (GetIndexedPropertyValue)
  3895. (GetPropertyValue): Fixed return types.
  3896. 2002-05-21 Miguel de Icaza <[email protected]>
  3897. * HtmlTextWriter.cs: Use this to change the member instances.
  3898. 2002-05-17 Duncan Mak <[email protected]>
  3899. * AttributeCollection.cs:
  3900. * ControlCollection.cs:
  3901. * CssStyleCollection.cs:
  3902. * DataBindingCollection.cs:
  3903. * EmptyControlCollection.cs: Added missing Collection classes.
  3904. 2002-05-17 Duncan Mak <[email protected]>
  3905. * BaseParser.cs:
  3906. * TemplateParser.cs: Implemented. BaseParser is weird because
  3907. there is no documentation on what it does.
  3908. * ControlBuilder.cs:
  3909. * DataBinder.cs:
  3910. * DataBinding.cs: Added.
  3911. * DataBoundLiteralControl.cs:
  3912. * Triplet.cs: Added.
  3913. * RenderMethod.cs: Added this delegate for Control.cs
  3914. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  3915. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  3916. 2002-05-14 Duncan Mak <[email protected]>
  3917. * ValidationPropertyAttribute.cs: Added to CVS.
  3918. 2002-05-10 Duncan Mak <[email protected]>
  3919. * ConstructorNeedsTagAttribute.cs:
  3920. * ControlBuilderAttribute.cs:
  3921. * ImageClickEventArgs.cs:
  3922. * ParseChildrenAttribute.cs:
  3923. * PartialCachingAttribute.cs:
  3924. * PersistChildrenAttribute.cs:
  3925. * PersistenceModeAttribute.cs:
  3926. * TemplateContainerAttribute.cs: Added to CVS.
  3927. * PersistanceMode.cs: Removed, fixed typo.
  3928. * PersistenceMode.cs: Replacing above.
  3929. * StateBag.cs (this): Fixed indexer, it takes a string as the
  3930. index, not an object.
  3931. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  3932. * Page.cs (Validators): return type should be ValidatorCollection,
  3933. not ValidatedCollection.
  3934. * TagPrefixAttribute.cs: Added to CVS.
  3935. 2002-05-07 Duncan Mak <[email protected]>
  3936. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  3937. 2002-03-26 Gaurav Vaish <[email protected]>
  3938. * DataBindingHandlerAttribute.cs
  3939. - Completed
  3940. * ToolboxDataAttribute.cs - Completed
  3941. 2002-01-03 Nick Drochak <[email protected]>
  3942. * DesignTimeParseData.cs: initialze static member to avoid compile
  3943. error
  3944. * PropertyConverter.cs: remove uneeded exception variables from
  3945. catch blocks.
  3946. 2002-01-02 Nick Drochak <[email protected]>
  3947. * DesignTimeParseData.cs: fix header to show correct class name
  3948. 2001-12-21 Gaurav Vaish <[email protected]>
  3949. * StateBag.cs - Completed
  3950. 2001-12-19 Gaurav Vaish <[email protected]>
  3951. * Pair.cs - Small undocumented class. Completed.
  3952. 2001-12-18 Gaurav Vaish <[email protected]>
  3953. * DesignTimeParseData.cs - Initial implementation
  3954. * StateBag.cs - Initial implementation
  3955. 2001-12-17 Gaurav Vaish <[email protected]>
  3956. * PropertyConverter.cs - Undocumented class. Completed.
  3957. * Utils.cs - Undocumented, private class.
  3958. Initial implementation
  3959. 2001-08-28 Bob Smith <[email protected]>
  3960. * Control.cs: Figured out some undocumented API.
  3961. * Added TODO.
  3962. * BuildMethod.cs: Initial implementation.
  3963. * BuildTemplateMethod.cs: Initial implementation.
  3964. * HtmlTextWriterAttribute.cs: Initial implementation.
  3965. * HtmlTextWriterStyle.cs: Initial implementation.
  3966. * HtmlTextWriterTag.cs: Initial implementation.
  3967. * IAttributeAccessor.cs: Initial implementation.
  3968. * IDataBindingsAccessor.cs: Initial implementation.
  3969. * ImageClickEventHandler.cs: Initial implementation.
  3970. * INamingContainer.cs: Initial implementation.
  3971. * IParserAccessor.cs: Initial implementation.
  3972. * IPostBackDataHandler.cs: Initial implementation.
  3973. * IPostBackEventHandler.cs: Initial implementation.
  3974. * IStateManager.cs: Initial implementation.
  3975. * ITagNameToTypeMapper.cs: Initial implementation.
  3976. * ITemplate.cs: Initial implementation.
  3977. * IValidator.cs: Initial implementation.
  3978. * OutputCacheLocation.cs: Initial implementation.
  3979. * PersistanceMode.cs: Initial implementation.
  3980. * StateItem.cs: Initial implementation.
  3981. 2001-08-27 Bob Smith <[email protected]>
  3982. * Control.cs: Bug fixes and implementations.
  3983. 2001-08-24 Bob Smith <[email protected]>
  3984. * Control.cs: Bug fixes.
  3985. 2001-08-23 Bob Smith <[email protected]>
  3986. * Control.cs: More implementation. Events reworked for performance.
  3987. 2001-08-22 Bob Smith <[email protected]>
  3988. * LiteralControl.cs: Implemented.
  3989. * Control.cs: Even more implementation (Events). What a beast.
  3990. 2001-08-20 Bob Smith <[email protected]>
  3991. * Control.cs: More implementation. Not done yet. Shutter.
  3992. 2001-08-17 Bob Smith <[email protected]>
  3993. * Control.cs: Partial implementation.