ChangeLog 185 KB

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