ChangeLog 181 KB

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