ChangeLog 199 KB

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