ChangeLog 196 KB

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