ChangeLog 196 KB

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