ChangeLog 184 KB

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