ChangeLog 199 KB

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