ChangeLog 124 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876
  1. 2007-02-04 Igor Zelmanovich <[email protected]>
  2. * Page.cs:
  3. http://msdn2.microsoft.com/en-us/library/ms178141.aspx
  4. LAMESPEC: on Callback IsPostBack is set to false, but true.
  5. 2007-02-04 Igor Zelmanovich <[email protected]>
  6. * Page.cs:
  7. VerifyRenderingInServerForm does not fire exception when IsCallback
  8. 2007-02-04 Igor Zelmanovich <[email protected]>
  9. * Page.cs:
  10. * ClientScriptManager.cs:
  11. fixed RegisterClientScriptInclude: all includes that was registered before
  12. rendering are rendered at begin form.
  13. 2007-02-02 Marek Habersack <[email protected]>
  14. * TemplateParser.cs: Do not register controls here.
  15. 2007-02-02 Adar Wesley <[email protected]>
  16. * Control.cs: Changed UniqueId implementation to have '$' and not ':'
  17. to conform to MS. This led to updating several Tests that referenced
  18. the UniqueId as string.
  19. 2007-01-30 Eyal Alaluf <[email protected]>
  20. * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
  21. 2007-01-29 Igor Zelmanovich <[email protected]>
  22. * Page.cs:
  23. * ClientScriptManager.cs:
  24. CallBack works with EvantValidation.
  25. 2007-01-25 Eyal Alaluf <[email protected]>
  26. * Page.cs: Change code to use the 'theForm' property when generating
  27. JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
  28. * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
  29. the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
  30. * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
  31. saving hidden fields for TARGET_J2EE Portlets re-render.
  32. * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
  33. to all the control IDs to ensure they different between portlets.
  34. 2007-01-24 Vladimir Krasnov <[email protected]>
  35. * Page.cs: fixed CheckForValidationSupport,
  36. SupportsEventValidationAttribute should be checked at only one level
  37. 2007-01-23 Vladimir Krasnov <[email protected]>
  38. * TemplateControl.jvm.cs: ParseControl not supported, added limited
  39. implementation if TestDeviceFilter
  40. 2007-01-22 Konstantin Triger <[email protected]>
  41. * ClientScriptManager.cs: ensure the callback client script is
  42. registered before the client script includes are rendered.
  43. 2007-01-22 Konstantin Triger <[email protected]>
  44. * Page.cs, ClientScriptManager.cs: ensure the web form client script is
  45. registerd before the client script includes are rendered.
  46. 2007-01-21 Konstantin Triger <[email protected]>
  47. * Page.cs: move the WriteClientScriptIncludes to the top of the form,
  48. according to the MSDN.
  49. 2007-01-20 Miguel de Icaza <[email protected]>
  50. * XhtmlTextWriter.cs: comment out unused code.
  51. * ThemeProvider.cs: comment out unused code.
  52. * DataSourceView.cs: Comment unused variable.
  53. * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
  54. code
  55. * Control.cs: Put _templateControl inside the NET_2_0 ifdef
  56. 2007-01-20 Marek Habersack <[email protected]>
  57. * TemplateParser.cs: Check whether the base type is in the root
  58. namespace.
  59. 2007-01-18 Eyal Alaluf <[email protected]>
  60. * Control.jvm.cs: Added PortletNamespace property.
  61. 2007-01-16 Vladimir Krasnov <[email protected]>
  62. * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
  63. * Control.cs: moved TemplateSourceDirectory from TemplateControl for
  64. TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
  65. 2007-01-16 Vladimir Krasnov <[email protected]>
  66. * TemplateControl.jvm.cs: added 2.0 event names for wiring up
  67. 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
  68. * Control.cs:
  69. - IsViewStateEnabled - removed check for non-null page, since
  70. the control by definition should come with enabled
  71. view state, even if it not 'attached' to the page
  72. - HasEvents() - implementation (still could produce bug in exotic scenarios
  73. when all events added to 'this' control has been removed
  74. through the property 'Events', but currently we can't see
  75. better implementation)
  76. 2007-01-14 Eyal Alaluf <[email protected]>
  77. * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
  78. * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
  79. support for TARGET_J2EE.
  80. 2007-01-12 Miguel de Icaza <[email protected]>
  81. * Control.cs: Remove comment, it provides no information about
  82. what could be wrong.
  83. 2007-01-08 Vladimir Krasnov <[email protected]>
  84. * PageTheme.cs: implemented
  85. * Page.cs: fixed InitializeTheme, added PageTheme page initialization
  86. * TemplateControl.cs,
  87. * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
  88. IXmlNamespaceResolver parameter
  89. * XPathBinder.cs: added Eval, Select overloads with
  90. IXmlNamespaceResolver parameter, refactored
  91. 2007-01-08 Vladimir Krasnov <[email protected]>
  92. * TemplateControl.jvm.cs: added GetGlobalResourceObject
  93. 2007-01-07 Igor Zelmanovich <[email protected]>
  94. * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
  95. 2007-01-04 Igor Zelmanovich <[email protected]>
  96. * Control.cs: ensure 'id' attribute will be rendered if
  97. ClientID was accessed but ID is generated by the Page,
  98. important for custom controls developing.
  99. 2007-01-04 Igor Zelmanovich <[email protected]>
  100. * Page.cs: fixed: InitializeCulture should be called
  101. before creating controls.
  102. 2007-01-03 Marek Habersack <[email protected]>
  103. * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
  104. document before attempting to use it.
  105. 2007-01-01 Vladimir Krasnov <[email protected]>
  106. * Control.cs: fixed ResolveClientUrl, wrong when control that calls
  107. this method and the page are in different folders
  108. 2006-12-31 Gonzalo Paniagua Javier <[email protected]>
  109. * Page.cs: show the validation summary when client validation and
  110. linkbuttons are used. Patch by Juraj Skripsky.
  111. 2006-12-31 Igor Zelmanovich <[email protected]>
  112. * Page.cs: fixed: EventValidation is not performed for CallBack request.
  113. 2006-12-27 Igor Zelmanovich <[email protected]>
  114. * Page.cs: fixed: RegisterRequiresPostBack feature.
  115. 2006-12-21 Marek Habersack <[email protected]>
  116. * ControlBuilder.cs: Add support for tag mapping in 2.0
  117. 2006-12-20 Marek Habersack <[email protected]>
  118. * TemplateParser.cs: make sure Context.ApplicationInstance is not
  119. valid before adding application assembly.
  120. 2006-12-11 Igor Zelmanovich <[email protected]>
  121. * Page.cs: fixed and optimized ProcessPostData
  122. The "second try" used for controls that created at OnLoad.
  123. fixed for controls that use RgisterRequeresPostBack to handle post data.
  124. 2006-11-29 Igor Zelmanovich <[email protected]>
  125. * Page.cs: The specified theme must exist as either an application theme.
  126. If the theme does not exist, an HttpException exception s thrown.
  127. 2006-12-09 Marek Habersack <[email protected]>
  128. * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
  129. also in the 1.x profile)
  130. * ObjectStateFormatter.cs: Implement the IStateFormatter interface
  131. * ClientScriptManager.cs: Use IStateFormatter instead of
  132. LosFormatter.
  133. Use the IStateFormatter interface when registering the hidden
  134. field with the state.
  135. * LosFormatter.cs: Use ObjectStateFormatter
  136. * PageStatePersister.cs: Make the class available as internal for
  137. 1.x profile.
  138. Constructor throws an exception on its page parameter being null.
  139. Implemented several properties: ControlState, ViewState, Page,
  140. StateFormatter
  141. * Page.cs: Use new state persister for all the profiles.
  142. Use the new HiddenFieldPageStatePersister class.
  143. * IStateFormatter.cs: Make the class available as internal for 1.x profile.
  144. 2006-12-04 Vladimir Krasnov <[email protected]>
  145. * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
  146. 2006-11-29 Marek Habersack <[email protected]>
  147. * TemplateParser.cs: if the OutputCache directive is present, make
  148. sure the cache does not expire the current output.
  149. 2006-11-29 Igor Zelmanovich <[email protected]>
  150. * Page.cs: added missing methods and properties:
  151. AsyncMode
  152. AsyncTimeout
  153. IsAsync
  154. UniqueFilePathSuffix
  155. MaxPageStateFieldLength
  156. ViewStateEncryptionMode
  157. AddOnPreRenderCompleteAsync
  158. AddOnPreRenderCompleteAsync
  159. ExecuteRegisteredAsyncTasks
  160. CreateHtmlTextWriterFromType
  161. RegisterRequiresViewStateEncryption
  162. 2006-11-29 Igor Zelmanovich <[email protected]>
  163. * Page.cs: Master property returns null when no HttpContext.
  164. 2006-11-29 Igor Zelmanovich <[email protected]>
  165. * Page.cs: InitializeCulture method is called before OnPreInit.
  166. 2006-11-28 Marek Habersack <[email protected]>
  167. * TemplateControlParser.cs: Use the new TemplateParser methods to
  168. register controls/namespaces
  169. * TemplateParser.cs: Implement support for the
  170. system.web/pages/namespaces collection instead of hard-coding the
  171. namespaces into the source.
  172. Refactoring: added two internal methods to handle both the
  173. system.web/pages/controls registration and the Register directive.
  174. Added a new internal method to pull the system.web/pages/controls
  175. collection before parsing.
  176. 2006-11-27 Marek Habersack <[email protected]>
  177. * SimpleWebHandlerParser.cs: Added support for looking up types in
  178. the top-level assemblies (App_Code et al)
  179. 2006-11-27 Igor Zelmanovich <[email protected]>
  180. * Control.cs: implemented EnsureID method.
  181. 2006-11-27 Igor Zelmanovich <[email protected]>
  182. * Control.cs: implemented Focus methods.
  183. 2006-11-27 Igor Zelmanovich <[email protected]>
  184. * Page.cs: implemented SetFocus methods.
  185. * PageLifeCycle.cs:
  186. 2006-11-27 Igor Zelmanovich <[email protected]>
  187. * ClientScriptManager.cs: refactoring:
  188. extracted method RegisterWebFormClientScript
  189. 2006-11-27 Igor Zelmanovich <[email protected]>
  190. * Control.cs: implemented OpenFile()
  191. 2006-11-26 Igor Zelmanovich <[email protected]>
  192. * Page.cs:
  193. * Control.cs:
  194. implemented ClearChildState(), ClearChildControlState() and
  195. IsChildControlStateCleared
  196. 2006-11-26 Igor Zelmanovich <[email protected]>
  197. * Page.cs:
  198. * ClientScriptManager.cs:
  199. implemented RegisterExpandoAttribute feature
  200. 2006-11-23 Igor Zelmanovich <[email protected]>
  201. * ListSourceHelper.cs: optimization of implementation
  202. 2006-11-23 Igor Zelmanovich <[email protected]>
  203. * ListSourceHelper.cs: implemented
  204. 2006-11-21 Igor Zelmanovich <[email protected]>
  205. * DataSourceView.cs: fixed: constructor throws ArgumentNullException
  206. 2006-11-21 Igor Zelmanovich <[email protected]>
  207. * Page.cs: fixed: PreviousPage property
  208. when CrossPostBack is processed PreviousPage is initialized
  209. only if PreviousPage property is called.
  210. 2006-11-21 Igor Zelmanovich <[email protected]>
  211. * DataSourceControl.cs: fixed: Focus(), EnableTheming
  212. 2006-11-21 Marek Habersack <[email protected]>
  213. * Control.cs: Make ClientIDSeparator private for !NET_2_0
  214. 2006-11-21 Igor Zelmanovich <[email protected]>
  215. * Page.cs: fixed: LoadControlState is called for controls
  216. that added on Load and latter
  217. 2006-11-20 Marek Habersack <[email protected]>
  218. * Control.cs: Implementations of a few missing properties.
  219. * Page.cs: Added support for automatic culture detection from the
  220. user's browser.
  221. * PageParser.cs: Added support for "auto" cultures in the Page
  222. directive.
  223. 2006-11-20 Igor Zelmanovich <[email protected]>
  224. * ClientScriptManager.cs: fixed: ValidateEvent feature:
  225. client side return eventArgument as empty string
  226. for controls that set it as null
  227. 2006-11-18 Marek Habersack <[email protected]>
  228. * ClientScriptManager.cs: Implemented two missing
  229. GetPostBackEventReference overloads. Made one of the overloads
  230. internal for .NET < 2.0.
  231. 2006-11-17 Marek Habersack <[email protected]>
  232. * PostBackOptions.cs: Renamed the constructors parameters to match
  233. those Microsoft .NET uses.
  234. targetControl must not be passed null to the constructor.
  235. * ClientScriptManager.cs: Support for event validation.
  236. Implemented a GetPostBackHyperlink overload.
  237. Implemented the RegisterForEventValidation methods.
  238. Implemented the ValidateEvent method.
  239. Added support for saving/restoring event validation state.
  240. * Page.cs: EnableEventValidation can be set only from the config
  241. files (the <pages> element), the Page directive or from
  242. Page_Init. After Page_Init returns, an exception is thrown.
  243. Made GetFormatter internal, so that ClientScriptManager can use
  244. it.
  245. Added the internal LifeCycle property which contains the current
  246. life cycle stage of the page request processing.
  247. Added calls to save/restore event validation state.
  248. Added checks for whether child controls of the page support event
  249. validation or not.
  250. Added calls to ClientScriptManager.ValidateEvent in appropriate
  251. places.
  252. * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
  253. validation.
  254. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  255. * LosFormatter.cs:
  256. * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
  257. empty strings.
  258. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  259. * SimpleWebHandlerParser.cs: 'using' for file reading.
  260. 2006-11-16 Gonzalo Paniagua Javier <[email protected]>
  261. * Page.cs: revert r67514 until after tagging for the next release.
  262. 2006-11-12 Igor Zelmanovich <[email protected]>
  263. * LiteralControl.cs: fixed: constructors & Text property
  264. 2006-11-09 Igor Zelmanovich <[email protected]>
  265. * Page.cs: fixed: LoadControlState is called for controls
  266. that added on Load and latter, for 1.x refactoring only
  267. 2006-11-02 Igor Zelmanovich <[email protected]>
  268. * ClientScriptManager.cs:
  269. fixed: checks arguments for null in public methods,
  270. fixed public interface.
  271. 2006-10-23 Igor Zelmanovich <[email protected]>
  272. * PostBackOptions.cs: fixed: default values of properties
  273. 2006-10-22 Igor Zelmanovich <[email protected]>
  274. * CssStyleCollection.cs:
  275. * AttributeCollection.cs:
  276. fixed: style collection is synchronized with style attribute
  277. 2006-10-19 Igor Zelmanovich <[email protected]>
  278. * ClientScriptManager.cs: fixed: renders id attribute in hidden field
  279. 2006-10-18 Marek Habersack <[email protected]>
  280. * TemplateParser.cs: reference System.Resources when compiling a
  281. control.
  282. * TemplateControl.cs: implement the GetGlobalResourceObject
  283. ASP.NET 2.0 APIs.
  284. 2006-10-12 Igor Zelmanovich <[email protected]>
  285. * Page.cs: fixed: for 2.0 only
  286. When Page processes Callback IsPostBack = false, but it still needs
  287. LoadViewState/ControlState and ProcessPostData
  288. 2006-10-11 Igor Zelmanovich <[email protected]>
  289. * DataSourceSelectArguments.cs: fixed:
  290. SortExpression not returns null,
  291. Empty property returns new instance each time
  292. 2006-10-10 Igor Zelmanovich <[email protected]>
  293. * DataSourceSelectArguments.cs:
  294. fixed: RaiseUnsupportedCapabilitiesError method.
  295. 2006-10-09 Igor Zelmanovich <[email protected]>
  296. * DataSourceSelectArguments.cs: fixed: Equals method.
  297. 2006-10-09 Gonzalo Paniagua Javier <[email protected]>
  298. * CssStyleCollection.cs: don't clear the collection of properties, but
  299. create a new one.
  300. 2006-10-06 Gonzalo Paniagua Javier <[email protected]>
  301. * CssStyleCollection.cs: 'style' can be modified on our back, so build
  302. the style table every time instead of keeping one that is not in sync.
  303. Fixes bug #79587.
  304. 2006-09-25 Igor Zelmanovich <[email protected]>
  305. * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
  306. When page is invoked by cross-page posting, PreviousPage processed all
  307. live-cycle up to OnLoadComplite included.
  308. IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
  309. 2006-09-20 Gonzalo Paniagua Javier <[email protected]>
  310. * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
  311. collection from the PagesConfiguration to add new namespaces when
  312. generating the page/control code.
  313. 2006-09-18 Gonzalo Paniagua Javier <[email protected]>
  314. * PageParser.cs: support the EnableEventValidation attribute.
  315. 2006-09-18 Igor Zelmanovich <[email protected]>
  316. * Page.cs: fixed: Title property works properly
  317. 2006-09-17 Igor Zelmanovich <[email protected]>
  318. * ClientScriptManager.cs: added helper method
  319. 2006-09-14 Igor Zelmanovich <[email protected]>
  320. * Page.cs: fixed: GetValidators(string), Validate(string) works properly
  321. 2006-09-08 Robert Jordan <[email protected]>
  322. * Page.cs: assure that RenderTrace is called even if an
  323. exception occurred. Fixes bug #78930.
  324. 2006-09-08 Gonzalo Paniagua Javier <[email protected]>
  325. * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
  326. Patch by Marek Habersack that fixes bug #78268.
  327. 2006-09-07 Lluis Sanchez Gual <[email protected]>
  328. * Page.cs: Use lowercase getElementById in the javascript that
  329. checks the browser.
  330. 2006-08-22 Vladimir Krasnov <[email protected]>
  331. * KeyedListEnumerator.cs: fixed Current property to return real object
  332. instead of DictionaryEntry
  333. 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
  334. * Page.cs: don't use the Browser object, as it slows down process
  335. request time *a lot*. Fixes bug #79206.
  336. 2006-09-05 Konstantin Triger <[email protected]>
  337. * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
  338. * OutputCacheParameters.cs: added an implementation.
  339. 2006-09-04 Igor Zelmanovich <[email protected]>
  340. * CssStyleCollection.cs: fixed: background-image style attribute
  341. 2006-08-31 Konstantin Triger <[email protected]>
  342. * StaticPartialCachingControl.cs: added forwarding implementation for
  343. 2.0 version of BuildCachedControl().
  344. 2006-08-30 Igor Zelmanovich <[email protected]>
  345. * Page.cs: added internal method
  346. * ClientScriptManager.cs:
  347. 2006-08-30 Igor Zelmanovich <[email protected]>
  348. * ClientScriptManager.cs: added helper method
  349. 2006-08-22 Vladimir Krasnov <[email protected]>
  350. * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
  351. if compiled with .net aspx parser
  352. fixed OnInit, GetStyleSheets may return null if no css files found by
  353. .net aspx parser
  354. 2006-08-22 Vladimir Krasnov <[email protected]>
  355. * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
  356. modifiers check on event handlers
  357. 2006-08-22 Vladimir Krasnov <[email protected]>
  358. * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
  359. parser 2.0
  360. * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
  361. fixed TemplateSourceDirectory, should not work on master pages.
  362. 2006-08-20 Vladimir Krasnov <[email protected]>
  363. * MasterPageParser.jvm.cs: fixed path resolving
  364. GetCompiledMasterInstance
  365. 2006-08-17 Vladimir Krasnov <[email protected]>
  366. * TemplateControl.jvm.cs: fixed data binding API, implemented
  367. AppRelativeVirtualPath, ReadStringResource
  368. 2006-08-17 Vladimir Krasnov <[email protected]>
  369. * Page.cs: added stubs to run aspx files compiled by .net
  370. 2006-08-17 Vladimir Krasnov <[email protected]>
  371. * MasterPageParser.jvm.cs: implemented
  372. 2006-08-10 Andrew Skiba <[email protected]>
  373. * Page.cs: render css path as a virtual path.
  374. 2006-08-09 Robert Jordan <[email protected]>
  375. * Control.cs: add the 2.0 ResolveClientUrl method.
  376. Expose ResolveClientUrl as internal for the 1.1 profile.
  377. Fixes bug #77539.
  378. 2006-08-08 Vladimir Krasnov <[email protected]>
  379. * added MasterPageParser.jvm.cs
  380. 2006-08-08 Vladimir Krasnov <[email protected]>
  381. * ControlBuilder.jvm.cs: added BuildObject method
  382. 2006-08-08 Vladimir Krasnov <[email protected]>
  383. * ParseChildrenAttribute.cs: fixed ChildControlType property to
  384. compliant to .net
  385. * UserControl.cs: fixed ParseChildren attribute to be compliant
  386. to .net
  387. 2006-08-08 Igor Zelmanovich <[email protected]>
  388. * Page.cs: implemented MaintainScrollPositionOnPostBack feature
  389. 2006-08-06 Vladimir Krasnov <[email protected]>
  390. * Control.cs: fixed EnableTheming proprty, fixes bug when child
  391. control has EnableTheming=false and parent has true.
  392. 2006-07-31 Vladimir Krasnov <[email protected]>
  393. * MasterPage.cs: fixed default values, fixed AddContentTemplate
  394. 2006-07-31 Vladimir Krasnov <[email protected]>
  395. * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
  396. are applied even if EnableTheming property was set to false.
  397. 2006-07-24 Andrew Skiba <[email protected]>
  398. * DataSourceView.cs: refactor to keep the original exception stack.
  399. 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
  400. * PostBackOptions.cs: default to String.Empty for several field values.
  401. Patch by Marek Habersack.
  402. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  403. * Page.cs: when ProcessRequest is not called, get the session from
  404. the current context. Fixes bug #78730.
  405. 2006-07-20 Gonzalo Paniagua Javier <[email protected]>
  406. * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
  407. by Peijen Lin that closes bug #78646.
  408. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  409. * TemplateControlParser.cs: fix compilation caching when more than one
  410. @control is compiled from source. Closes bug #78626.
  411. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  412. * Page.cs: add the 2.0 Items property. Fixes bug #78467.
  413. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  414. * Page.cs: use the new internal LosFormatter.SerializeToBase64.
  415. * LosFormatter.cs: always work on base 64 strings even if the
  416. input/output is on a Stream. Fixes bug #78640.
  417. 2006-06-08 Konstantin Triger <[email protected]>
  418. * Page.cs: For loading themes, use '~/App_Themes' instead of
  419. './App_Themes' to enable theme support for files in sub folders.
  420. 2006-05-25 Andrew Skiba <[email protected]>
  421. * Control.cs: move 2.0 stuff into ifdef NET_2_0
  422. 2006-05-25 Andrew Skiba <[email protected]>
  423. * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
  424. created via master page content (see
  425. http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
  426. 2006-05-11 Andrew Skiba <[email protected]>
  427. * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
  428. PageTheme and from StyleSheetPageTheme to insert links in page header.
  429. 2006-05-10 Andrew Skiba <[email protected]>
  430. * TemlpateParser.cs: surround file name with quotes
  431. 2006-05-08 Chris Toshok <[email protected]>
  432. * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
  433. fixes the last thing keeping the test in #76818 from working.
  434. 2006-05-07 Andrew Skiba <[email protected]>
  435. * Page.cs: if no theme is defined in aspx, read default from web.config.
  436. Same for the style sheet theme.
  437. 2006-04-27 Andrew Skiba <[email protected]>
  438. * TemplateParser.cs: format according to
  439. http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
  440. 2006-04-25 Chris Toshok <[email protected]>
  441. * PageThemeParser.cs (LinkedStyleSheets): reformat.
  442. 2006-04-25 Konstantin Triger <[email protected]>
  443. * Control.cs: implementation for IsViewStateEnabled.
  444. 2006-04-25 Andrew Skiba <[email protected]>
  445. * Control.cs: fix null pointer exception
  446. 2006-04-23 Andrew Skiba <[email protected]>
  447. * PageThemeParser.cs: add LinkedStyleSheets property
  448. 2006-04-16 Andrew Skiba <[email protected]>
  449. * TemplateParser.cs: add internal method AddAssemblyByFileName
  450. 2006-04-16 Konstantin Triger <[email protected]>
  451. * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
  452. 2006-04-11 Konstantin Triger <[email protected]>
  453. * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
  454. 2006-04-10 Chris Toshok <[email protected]>
  455. * PageThemeFileParser.cs (AddDirective): allow Register directives
  456. in skin files.
  457. 2006-04-02 Chris Toshok <[email protected]>
  458. * Control.cs (DesignMode): always return false for now. Fixes
  459. #77991.
  460. 2006-03-24 Gonzalo Paniagua Javier <[email protected]>
  461. * ControlBuilder.cs: when creating a default property builder, handle
  462. strings specially.
  463. * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
  464. 2006-03-15 Vladimir Krasnov <[email protected]>
  465. * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
  466. index is not zero
  467. 2006-03-13 Chris Toshok <[email protected]>
  468. * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
  469. * HtmlTextWriterAttribute.cs: same.
  470. * HtmlTextWriterStyle.cs: same.
  471. * VirtualReferenceType.cs: new enum.
  472. 2006-03-13 Chris Toshok <[email protected]>
  473. * UserControl.cs: rework InitializeAsUserControl and
  474. InitializeAsUserControlInternal - the Internal variety doesn't set
  475. this.page to null now.
  476. * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
  477. and also remove a line of spew.
  478. 2006-03-09 Vladimir Krasnov <[email protected]>
  479. * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
  480. 2006-03-07 Chris Toshok <[email protected]>
  481. * Page.cs (InitializeStyleSheet): load the style sheet theme using
  482. ThemeDirectoryCompiler.
  483. (InitializeTheme): load the page's theme using
  484. ThemeDirectoryCompiler.
  485. (InternalProcessRequest): call InitializeTheme after OnPreInit.
  486. (FrameworkInitialize): call InitializeStyleSheet.
  487. (PageTheme,StyleSheetPageTheme): new properties to get the
  488. respective themes.
  489. * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
  490. on the ControlSkin (if there is one) for this control in the
  491. page's StyleSheetSkin.
  492. (ApplyThemeRecursively): applies the page's theme recursively to
  493. the control hierarchy. Must be done this way because the control
  494. tree is already present when we apply the theme (it has to be,
  495. since theme's override settings).
  496. * PageTheme.cs (GetControlSkin): add internal call to do the
  497. lookup for us.
  498. * PageThemeFileParser.cs: the parser object that represents each
  499. individual skin file.
  500. * PageThemeParser.cs: the parser object that represents the entire
  501. theme directory.
  502. * PageThemeBuilder.cs: this class generates the right exception on
  503. the right event, but it's not hooked up yet.
  504. 2006-03-02 Chris Toshok <[email protected]>
  505. * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
  506. a MonoTODO.
  507. * Page.cs (Theme): implement setter/getter.
  508. (StyleSheetTheme): same.
  509. * PageParser.cs (ProcessMainAttributes): parse the Theme and
  510. StyleSheetTheme attributes.
  511. 2006-02-27 Chris Toshok <[email protected]>
  512. * TemplateControl.cs: corcompare work.
  513. * ExpressionBindingCollection.cs: same.
  514. * HierarchicalDataSourceControl.cs: same.
  515. * PostBackOptions.cs: same.
  516. * ClientScriptManager.cs: same.
  517. * FilterableAttribute.cs: same.
  518. * ControlCollection.cs: same.
  519. * DataBindingCollection.cs: same.
  520. * PropertyEntry.cs: mark ctor internal.
  521. * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
  522. * Page.cs: stub out two Theme oriented 2.0 properties.
  523. * DataBinder.cs: remove the obsolete attribute on the ctor.
  524. * TwoWayBoundPropertyEntry.cs: remove this.
  525. * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
  526. * ThemeProvider: new (stubbed) class.
  527. * SkinBuilder.cs: same.
  528. * PageTheme.cs: same.
  529. * ControlSkin.cs: same.
  530. * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
  531. * SimplePropertyEntry.cs: mark ctor as internal.
  532. * IThemeResolutionService.cs: enable the 3 members of this
  533. interface.
  534. 2006-02-27 Chris Toshok <[email protected]>
  535. * ListSourceHelper.cs: this class is static.
  536. * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
  537. 2006-02-27 Chris Toshok <[email protected]>
  538. * DataSourceView.cs: Name isn't virtual.
  539. * DataSourceControl.cs: beat this class over the head with the
  540. corcompare stick.
  541. * DataSourceControlBuilder.cs: new stubbed control builder for
  542. DataSourceControl.
  543. 2006-02-23 Chris Toshok <[email protected]>
  544. * Page.cs: more corcompare work.
  545. 2006-02-23 Chris Toshok <[email protected]>
  546. * Page.cs (ProcessCallbackData): track change to
  547. ICallbackEventHandler iface.
  548. * ICallbackEventHandler.cs: enable the proper members of this
  549. interface.
  550. * DataSourceSelectArguments.cs: reformat getter/setters.
  551. 2006-02-22 Cesar Lopez Nataren <[email protected]>
  552. * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
  553. 2006-02-14 Gonzalo Paniagua Javier <[email protected]>
  554. * WebHandlerParser.cs:
  555. * WebServiceParser.cs:
  556. * UserControlParser.cs:
  557. * PageParser.cs: added new ctor that uses a TextReader as input.
  558. * TemplateControlParser.cs: new Reader property.
  559. * SimpleWebHandlerParser.cs: new Reader property and ctor.
  560. 2006-02-12 Cesar Lopez Nataren <[email protected]>
  561. * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
  562. WriterBreak for the .NET 2.0 profile.
  563. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  564. * IThemeResolutionService.cs: this is now added to the
  565. sources file, but some other stuff does not compile yet as the
  566. interface changed after the beta.
  567. * ObjectConverter.cs: removed extra attribute.
  568. * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
  569. * ICallbackEventHandler.cs: update the interface, but commented the
  570. 'good' stuff out, since other files need to be fixed too.
  571. 2006-02-07 Chris Toshok <[email protected]>
  572. * ControlBuilder.cs: rename flushOutputStatements to
  573. methodStatements to at least reflect that they're in that method.
  574. 2006-02-07 Chris Toshok <[email protected]>
  575. * MasterPage.cs (CreateMasterPage): don't nullref on null
  576. contentTemplateCollection.
  577. * ControlBuilder.cs: add a flushOutputStatements field.
  578. * PageParser.cs (ProcessMainAttributes): handle Title attribute.
  579. (Title): add getter.
  580. * Page.cs (Title): implement getter/setter.
  581. (InternalProcessRequest): after calling ApplyMasterPage, apply the
  582. page's Title directive if there is one.
  583. (AddContentTemplate): make the EditorBrowsable attribute apply to
  584. the method, not the field.
  585. 2006-02-07 Chris Toshok <[email protected]>
  586. * MasterPage.cs: rework this file, adding some static methods
  587. gleaned from MS stack traces, and clear up the propogation of
  588. content templates between nested master pages.
  589. * Control.cs (TemplateControl): implement.
  590. * TemplateControl.cs: re-indent some of the code.
  591. (ReadStringRecource): according to msdn2, these throw
  592. NotSupportedException.
  593. * MasterPageParser.cs (HandleOption): implement. assign our
  594. master page's MasterPageFile from the UserControl property.
  595. * UserControl.cs (InitializeAsUserControlInternal): new method
  596. that allows initialization without a page.
  597. * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
  598. MasterPageFile attributes, so we can have nested master pages.
  599. (MasterPageFile): add a 2.0 specific property.
  600. * TemplateControlParser.cs: in .net 2.0, our base class is
  601. BaseTemplateParser.
  602. (HandleOptions): be consistent and call base.HandleOptions.
  603. * BaseTemplateParser.cs: new (stubbed) class.
  604. * MasterPageControlBuilder.cs: new file, not filled in (and really
  605. not used either.)
  606. * Page.cs (InternalProcessRequest): call ApplyMasterPage.
  607. (SaveExistingContentTemplates): nuke.
  608. (ReapplyExistingContentTemplate): nuke.
  609. (ApplyMasterPage): if we have a master page, call
  610. MasterPage.ApplyMasterPageRecursive with it and add it to our
  611. controls.
  612. (set_MasterPageFile): remove call to SaveExistingContentTemplates.
  613. (get_Master): call MasterPage.CreateMasterPage.
  614. (AddContentTemplate): keep track of the page's content templates
  615. in a local Hashtable - they aren't our master page's content
  616. templates.
  617. 2006-02-01 Chris Toshok <[email protected]>
  618. * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
  619. calls to GetWebApplicationSection with GetSection.
  620. * SimpleWebHandlerParser.cs: same.
  621. * Page.cs: same.
  622. * PageParser.cs: same.
  623. * BaseParser.cs: same.
  624. 2006-01-27 Chris Toshok <[email protected]>
  625. * MasterPage.cs (ContentTemplatesInternal): add get/set for the
  626. actual Hashtable.
  627. * Page.cs (SaveExistingContentTemplates): store off the existing
  628. MasterPage content templates so they can be reapplied when setting
  629. MasterPageFile to something else.
  630. (ReapplyExistingContentTemplates): set masterPage's
  631. ContentTemplates to our saved copy.
  632. (set_MasterPageFile): save off the current content templates
  633. before clearing masterPage.
  634. (get_Master): reapply the saved content templates after we create
  635. the new MasterPage.
  636. 2006-01-25 Chris Toshok <[email protected]>
  637. * ClientScriptManager.cs (RegisterClientScriptResource): last
  638. patch, I swear. How can 1 line of code have 3 bugs?
  639. 2006-01-25 Chris Toshok <[email protected]>
  640. * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
  641. problem with last commit - unquote "resourceName" so it uses the
  642. parameter instead of the string constant.
  643. 2006-01-22 Chris Toshok <[email protected]>
  644. * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
  645. quiet mcs.
  646. * PageParser.cs (ProcessMainAttributes): i missed a
  647. CONFIGURATION_2_0 block.
  648. * BoundPropertyEntry.cs (.ctor): mark as internal to fix
  649. corcompare.
  650. 2006-01-18 Konstantin Triger <[email protected]>
  651. * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
  652. 2006-01-18 Konstantin Triger <[email protected]>
  653. * HtmlTextWriter.cs: perform case insensitive compare;
  654. return correct key in default case.
  655. 2006-01-11 Chris Toshok <[email protected]>
  656. * ClientScriptManager.cs (RegisterClientScriptResource):
  657. implement.
  658. 2006-01-11 Vladimir Krasnov <[email protected]>
  659. * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
  660. TypeFormatter.Read
  661. 2006-01-10 Chris Toshok <[email protected]>
  662. * Page.cs (ValidateCollection): in NET_2_0 if event validation is
  663. off, return true.
  664. 2006-01-09 Chris Toshok <[email protected]>
  665. * Page.cs: fix a lot of indentation, and add the
  666. EnableEventValidation .net 2.0 property.
  667. 2006-01-09 Vladimir Krasnov <[email protected]>
  668. * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
  669. TypeFormatter.Read, TypeFormatter.Write from /main/5
  670. 2006-01-09 Konstantin Triger <[email protected]>
  671. * Page.cs: make ProcessRequest virtual under TARGET_JVM.
  672. 2006-01-04 Chris Toshok <[email protected]>
  673. * TemplateParser.cs (.ctor): kinda gross, but handle the
  674. AddAssembliesInBin case here.
  675. * SimpleWebHandlerParser.cs (.ctor): same.
  676. 2006-01-04 Chris Toshok <[email protected]>
  677. * SimpleWebHandlerParser.cs: Remove the declaration of
  678. compilationConfig in the CONFIGURATION_2_0 case. it's
  679. unnecessary.
  680. (.ctor): ifdef out the AddAssembliesInBin call in the
  681. CONFIGURATION_2_0 case. need to revisit this.
  682. (CompilationConfig): add a CONFIGURATION_2_0 version.
  683. * BaseParser.cs: Remove the declaration of compilationConfig in
  684. the CONFIGURATION_2_0 case. it's unnecessary.
  685. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  686. * Control.cs: use _controls instead of the property wherever possible.
  687. 2005-12-05 Gonzalo Paniagua Javier <[email protected]>
  688. * Control.cs: use the _controls field instead of the Controls property.
  689. Fixes bug #76919.
  690. 2005-11-30 Sebastien Pouliot <[email protected]>
  691. * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
  692. Now internal.
  693. * KeyedListEnumerator.cs: Now internal.
  694. 2005-11-29 Gonzalo Paniagua Javier <[email protected]>
  695. * ControlCollection.cs: allow 'null' in Remove.
  696. 2005-11-28 Chris Toshok <[email protected]>
  697. * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
  698. * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
  699. (PagesConfig): add a CONFIGURATION_2_0 version that returns a
  700. PagesSection.
  701. * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
  702. * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
  703. version that returns a CompilationSection.
  704. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  705. * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
  706. 2005-11-09 Chris Toshok <[email protected]>
  707. * ViewStateEncryptionMode.cs: new 2.0 enum.
  708. 2005-11-08 Gonzalo Paniagua Javier <[email protected]>
  709. * TemplateParser.cs: fixes #76423. Not tested properly.
  710. 2005-11-07 Gonzalo Paniagua Javier <[email protected]>
  711. * Page.cs: call LoadViewStateRecursive when the Form collection has
  712. not been used by a different page (GetTypeHashCode). This fixes problems
  713. when calling Server.Transfer while preserving Form and QueryString,
  714. as the page we transfer to used the view state stored in the Form, which
  715. contained the serialized data for the page calling Server.Transfer
  716. instead.
  717. 2005-10-31 Gonzalo Paniagua Javier <[email protected]>
  718. * Page.cs: add/remove the error before/after invoking OnError.
  719. 2005-10-27 Gonzalo Paniagua Javier <[email protected]>
  720. * Page.cs: call OnError when there's an exception (not for TAE). Fixes
  721. bug #76572.
  722. 2005-10-25 Gonzalo Paniagua Javier <[email protected]>
  723. * TemplateControl.cs:
  724. * PartialCachingControl.cs: if a control is cacheable, LoadControl
  725. returns a PartialCachingControl that holds the VaryBy* and takes care
  726. of partial caching and rendering. Fixes bug #76547.
  727. 2005-10-17 Gonzalo Paniagua Javier <[email protected]>
  728. * Page.cs: don't cache the 'Validate()' results. IsValid retests
  729. the validators again.
  730. 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
  731. * DesignerDataBoundLiteralControl.cs: changed autoid api.
  732. * DataBoundLiteralControl.cs: changed autoid api.
  733. * Control.cs: fixlet for UniqueID and weird test case. Removed
  734. PreventAutoID and only use the property to set that value.
  735. * LiteralControl.cs: changed autoid api.
  736. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  737. * AttributeCollection.cs: avoid code duplication and
  738. don't add "style" to the bag, or it will overwrite the settings made
  739. by CssStyleCollection.
  740. * CssStyleCollection.cs: make it throw where MS throws.
  741. Minimize the number of times we create the "style" string and take
  742. care of updating it for the AttributeCollection. FillStyle and
  743. BagToString are now private. One should use the 2.0 (internal in <2.0)
  744. Value property.
  745. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  746. * Control.cs: fix HasChildViewStates.
  747. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  748. * LosFormatter.cs: when the default ctor is used, MAC is disabled.
  749. Fixes bug #76240.
  750. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  751. * ObjectTagBuilder.cs: only fail when no id and no attributes.
  752. 2005-09-23 Sebastien Pouliot <[email protected]>
  753. * DataBindingCollection.cs: Using an hashtable is a nice trick but
  754. we need to copy values (not the DictionaryEntry) in CopyTo.
  755. * Page.cs: IsValid throws an exception if the page hasn't be
  756. validated. VerifyRenderingInServerForm doesn't throw an exception
  757. during unit testing (without a context?) but does in normal ops.
  758. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  759. * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
  760. save the allocation of new MemoryStreams when possible. Thanks to
  761. Sebastien again.
  762. 2005-09-23 Ben Maurer <[email protected]>
  763. * HtmlTextWriter.cs: Initial support for escaping.
  764. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  765. * ViewStateOutputHashStream.cs: Removed. It didn't last long.
  766. * Page.cs: almost restored to its previous state, but now that we found
  767. that LosFormatter ctor that takes 'enableMac', moved the logic to
  768. add the hash and validate there. Thanks to Sebastien for his input.
  769. * LosFormatter.cs: implemented the missing ctors and support for
  770. "MAC" validation of the data.
  771. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  772. * Page.cs:
  773. * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
  774. prevents the viewstate being altered on the client and it's disabled
  775. by default as per the documentation, but MS machine.config has it
  776. enabled in machine.config.
  777. 2005-09-22 Miguel de Icaza <[email protected]>
  778. * DataBindingCollection.cs: Raise the event, remove MonoTODO.
  779. * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
  780. string.
  781. 2005-09-21 Sebastien Pouliot <[email protected]>
  782. * Control.cs: Added null checks for Trace as it can be null when
  783. rendering (like it was for 39 unit tests).
  784. 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
  785. * Page.cs: reverted hacks used with the wrong method of getting a
  786. control rendered size.
  787. * Control.cs: if the trace is enabled, save control rendered size.
  788. 2005-09-19 Sebastien Pouliot <[email protected]>
  789. * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
  790. now use HtmlHeader directly.
  791. * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
  792. rewrote Equals to avoid dual type cast.
  793. 2005-09-19 Sebastien Pouliot <[email protected]>
  794. * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
  795. 2005-09-19 Sebastien Pouliot <[email protected]>
  796. * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
  797. * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
  798. with Minimal level. Fixed checks on ctor.
  799. * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
  800. AspNetHostingPermission with Minimal level.
  801. * TemplateContainerAttribute.cs: Added LinkDemand for
  802. AspNetHostingPermission with Minimal level.
  803. * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
  804. AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
  805. Stubbed IFilterResolutionService for CAS testing.
  806. * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
  807. AspNetHostingPermission with Minimal level.
  808. * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
  809. AspNetHostingPermission with Minimal level.
  810. * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
  811. with Minimal level. Removed IDispose interface.
  812. * ToolboxDataAttribute.cs: Added LinkDemand for
  813. AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
  814. to work on both 1.x and 2.0 profiles.
  815. * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
  816. for AspNetHostingPermission with Minimal level.
  817. * UserControl.cs: Added LinkDemand and InheritanceDemand for
  818. AspNetHostingPermission with Minimal level. Stubbed
  819. IFilterResolutionService for CAS testing.
  820. * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
  821. for AspNetHostingPermission with Minimal level.
  822. * ValidationPropertyAttribute.cs: Added LinkDemand for
  823. AspNetHostingPermission with Minimal level.
  824. * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
  825. with Minimal level.
  826. * WebResourceAttribute.cs: Removed extra ctor and added setter to
  827. PerformSubstitution.
  828. * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
  829. AspNetHostingPermission with Minimal level.
  830. 2005-09-15 Sebastien Pouliot <[email protected]>
  831. * ParseChildrenAttribute.cs: Added LinkDemand for
  832. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  833. casting. Added new ctor and public fields (2.0). Changed
  834. ChildControlType setter visibility to internal.
  835. * PartialCachingAttribute.cs: Added LinkDemand for
  836. AspNetHostingPermission with Minimal level. Added new ctor and
  837. SqlDependency property (2.0).
  838. * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
  839. AspNetHostingPermission with Minimal level.
  840. * PersistenceModeAttribute.cs: Added LinkDemand for
  841. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  842. casting.
  843. * PersistChildrenAttribute.cs: Added LinkDemand for
  844. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  845. casting.
  846. * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
  847. with Minimal level. Class is static in 2.0.
  848. * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
  849. AspNetHostingPermission with Minimal level. Class is no more sealed in
  850. 2.0. Added new (2.0) BuiltObjects property.
  851. * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
  852. for AspNetHostingPermission with Minimal level.
  853. * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
  854. Minimal level.
  855. * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
  856. Minimal level. Removed SetDirty() which was called (2.0) but did
  857. nothing.
  858. * StaticPartialCachingControl.cs: Added LinkDemand and
  859. InheritanceDemand for AspNetHostingPermission with Minimal level.
  860. 2005-09-15 Sebastien Pouliot <[email protected]>
  861. * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
  862. AspNetHostingPermission with Minimal level. Added new 2.0 properties
  863. (but the generated HTML doesn't use them).
  864. * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
  865. AspNetHostingPermission with Minimal level.
  866. * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
  867. with Minimal level.
  868. * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
  869. AspNetHostingPermission with Minimal level. Default Text is null.
  870. * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
  871. AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
  872. * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
  873. AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
  874. * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
  875. with Minimal level. Added check for null id (HttpException).
  876. * Page.cs: Added LinkDemand and InheritanceDemand for
  877. AspNetHostingPermission with Minimal level. Throw some HttpException
  878. when no context is available.
  879. * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
  880. level. InheritanceDemand too for 1.x.
  881. * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
  882. Minimal level.
  883. 2005-09-14 Sebastien Pouliot <[email protected]>
  884. * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
  885. Minimal level. Fixed some exceptions.
  886. * DataBindingCollection.cs: Added LinkDemand for
  887. AspNetHostingPermission with Minimal level. Added 2.0 method and
  888. event.
  889. * DataBindingHandlerAttribute.cs: Added LinkDemand for
  890. AspNetHostingPermission with Minimal level.
  891. * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
  892. Minimal level. Simplified Equals (reduced casts).
  893. * DataBoundLiteralControl.cs: Added LinkDemand for
  894. AspNetHostingPermission with Minimal level. Implemented ITextControl
  895. for 2.0.
  896. * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
  897. AspNetHostingPermission with Minimal level.
  898. * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
  899. with Minimal level. Added new 2.0 properties.
  900. * DesignTimeTemplateParser.cs: Added LinkDemand for
  901. AspNetHostingPermission with Minimal level. Made class static and
  902. stubbed missing methods (2.0).
  903. * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
  904. for AspNetHostingPermission with Minimal level. Changed Add* methods
  905. exceptions to HttpException.
  906. 2005-09-14 Sebastien Pouliot <[email protected]>
  907. * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
  908. with Minimal level.
  909. * BaseParser.cs: Added LinkDemand and InheritanceDemand for
  910. AspNetHostingPermission with Minimal level.
  911. * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
  912. for AspNetHostingPermission with Minimal level.
  913. * CompiledTemplateBuilder.cs: Added LinkDemand for
  914. AspNetHostingPermission with Minimal level.
  915. * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
  916. AspNetHostingPermission with Minimal level.
  917. * ControlBuilderAttribute.cs: Added LinkDemand for
  918. AspNetHostingPermission with Minimal level. Simplified Equals and
  919. IsDefaultAttribute.
  920. * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
  921. AspNetHostingPermission with Minimal level.
  922. * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
  923. * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
  924. AspNetHostingPermission with Minimal level. Fixed possible stack
  925. overflow in Add* methods. Fixed CopyTo as we're not allocating the
  926. array based on the number of items.
  927. * Control.cs: Added LinkDemand and InheritanceDemand for
  928. AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
  929. * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
  930. with Minimal level.
  931. * IStyleSheet.cs: Fixed parameter orders (2.0).
  932. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  933. * TemplateParser.cs: default VS 2005 pages are compiled fine now.
  934. 2005-09-07 Chris Toshok <[email protected]>
  935. * MinimizableAttributeTypeConverter.cs: new class, whose existence
  936. we know about because of corcompare, and for whose implementation
  937. we have exclusively nunit to thank.
  938. 2005-09-06 Chris Toshok <[email protected]>
  939. * RootBuilder.cs (.cctor): doh, add all the new html controls
  940. here.
  941. 2005-08-31 Chris Toshok <[email protected]>
  942. * DataSourceSelectArguments.cs (Empty): this is apparently,
  943. according to corcompare, a property, not a field. go figure.
  944. (Equals): implement.
  945. (IsEmpty): remove all mention of it.
  946. 2005-08-29 Chris Toshok <[email protected]>
  947. * StateBag.cs (GetChar): add.
  948. 2005-08-28 Chris Toshok <[email protected]>
  949. * Page.cs: more random corcompare work.
  950. (PageAdapter): implement.
  951. 2005-08-28 Chris Toshok <[email protected]>
  952. * Page.cs (.ctor): set our initial ID to "__Page".
  953. (SmartNavigation): obsolete in 2.0.
  954. (FindControl): new implementation. Just check our own ID against
  955. the control we're looking for. otherwise pass it along to
  956. base.FindControl.
  957. (GetPostBackClientHyperlink): obsolete in 2.0.
  958. 2005-08-28 Chris Toshok <[email protected]>
  959. * ClientScriptManager.cs: public sealed in 2.0
  960. * IAdaptableTextWriter.cs: new 2.0 interface.
  961. * IHierarchyData.cs: fix return type for GetParent.
  962. 2005-08-28 Chris Toshok <[email protected]>
  963. * Pair.cs: mark serializable and sealed in 2.0.
  964. 2005-08-26 Sebastien Pouliot <[email protected]>
  965. * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
  966. existing (but internal) FillStyle method. Rewrote BagToString to use an
  967. HtmlTextWriter so we get the "right" format for background-image url.
  968. 2005-08-26 Sebastien Pouliot <[email protected]>
  969. * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
  970. Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
  971. the extra space from last patch because they break some unit tests.
  972. 2005-08-26 Lluis Sanchez Gual <[email protected]>
  973. * CssStyleCollection.cs: Added some spacing.
  974. * HtmlTextWriter.cs: Made style and attribute tables static.
  975. Implemented StaticGetStyleName().
  976. 2005-08-26 Sebastien Pouliot <[email protected]>
  977. * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
  978. compilation.
  979. * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
  980. The new rendering formats the value as "url(" + original + ")".
  981. 2005-08-26 Sebastien Pouliot <[email protected]>
  982. * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
  983. depends on the HtmlTextWriterStyle ordering).
  984. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  985. * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
  986. 2005-08-25 Sebastien Pouliot <[email protected]>
  987. * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
  988. fixed the rest of the enum values).
  989. * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
  990. parameter to match 2.0 API. Added a setter to the AllowedTypes
  991. property.
  992. 2005-08-24 Chris Toshok <[email protected]>
  993. * Control.cs (get_Adapter): Instead of throwing an exception, just
  994. return null, so we can write the rest of the Control specific
  995. Adapter code and just not enable any of those code paths until we
  996. have actual adapters. Also flag TODO.
  997. (EnsureChildControls): Call out to Adapter.CreateChildControls if
  998. we have an adapter.
  999. (RenderChildren): call "RenderControl (writer, adapter)" if we
  1000. have an adapter.
  1001. (RenderControl): implement the adapter case naively.
  1002. (LoadRecursive): call out to Adapter.OnLoad if we have one.
  1003. (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
  1004. we have one.
  1005. (InitRecursive): call out to Adapter.OnInit if we have one.
  1006. 2005-08-24 Chris Toshok <[email protected]>
  1007. * Page.cs (GetPostBackEventReference): track change to
  1008. ClientScriptManager and don't call a removed method.
  1009. * ClientScriptManager.cs: track more recent docs and corcompare
  1010. output.
  1011. 2005-08-24 Sebastien Pouliot <[email protected]>
  1012. * KeyedList.cs: Fixed bug when removing an unexisting object.
  1013. * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
  1014. in implementing RoleGroupCollection.
  1015. 2005-08-22 Sebastien Pouliot <[email protected]>
  1016. * Page.cs: Use Control property (and not the _control variable) to get
  1017. the User (so the virtual Control property can be overriden properly).
  1018. Sadly this doesn't seems to be the case for other properties (like
  1019. Request).
  1020. 2005-08-18 Dick Porter <[email protected]>
  1021. * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
  1022. UserControl.cs, DesignerDataBoundLiteralControl.cs,
  1023. PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
  1024. BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
  1025. stubs and attribute fixes
  1026. 2005-08-13 Sebastien Pouliot <[email protected]>
  1027. * Control.cs: Add protected virtual SetDesignModeState, in 2.0
  1028. profile, as this is required for the Login control.
  1029. 2005-08-11 Dick Porter <[email protected]>
  1030. * CssStyleCollection.cs: Tweak the css string format to pass a
  1031. unit test
  1032. * AttributeCollection.cs: Don't NRE if someone sets the "style"
  1033. attribute to null.
  1034. 2005-08-05 Ben Maurer <[email protected]>
  1035. * HtmlTextWriter.cs: Revert the patch below, see test case
  1036. 2005-08-05 Dick Porter <[email protected]>
  1037. * HtmlTextWriter.cs: Make <option> tags render inline, to match
  1038. the ms output
  1039. 2005-08-03 Ben Maurer <[email protected]>
  1040. * HtmlTextWriter.cs: Optmize this not to do insane amounts of
  1041. allocation for large pages, etc.
  1042. 2005-07-30 Chris Toshok <[email protected]>
  1043. * Page.cs (VerifyRenderingInServerForm): copy MS's error message
  1044. since our form-errors jsunit tests depend on it.
  1045. 2005-07-30 Chris Toshok <[email protected]>
  1046. * DataBinder.cs (FormatResult): make internal, not private.
  1047. 2005-07-29 Ben Maurer <[email protected]>
  1048. * StateBag.cs: Don't remove when tracking viewstate, as per msft
  1049. docs.
  1050. 2005-07-29 Ben Maurer <[email protected]>
  1051. * StateBag.cs: Actually *remove* items that are null. Duh.
  1052. 2005-07-21 Peter Dennis Bartok <[email protected]>
  1053. * Page.cs: Need to throw exception when accessing Request but no
  1054. context exists
  1055. 2005-07-20 Chris Toshok <[email protected]>
  1056. * ClientScriptManager.cs (GetClientValidationEvent): the JS we
  1057. stick in onclick handlers for buttons/links/etc.
  1058. * Page.cs (GetSubmitStatements): new function to return
  1059. scriptManager.WriteSubmitStatements. Used by HtmlForm.
  1060. (AreValidatorsUplevel): used by many of the button/linkbutton
  1061. controls (the ones that can CauseValidation) to tell whether or
  1062. not to emit client side validation calls.
  1063. 2005-07-20 Chris Toshok <[email protected]>
  1064. * WebResourceAttribute.cs: make internal (and available) in
  1065. !NET_2_0.
  1066. 2005-07-20 Chris Toshok <[email protected]>
  1067. * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
  1068. available) in !NET_2_0.
  1069. 2005-07-18 Peter Dennis Bartok <[email protected]>
  1070. * Control.cs: Added IDataBindingsAccessor interface methods
  1071. 2005-07-18 Ben Maurer <[email protected]>
  1072. * HtmlTextWriter.cs: Fix nested indentation
  1073. 2005-07-18 Peter Dennis Bartok <[email protected]>
  1074. * Control.cs: Added missing IParserAccessor.AddParsedSubObject
  1075. interface method
  1076. 2005-07-18 Ben Maurer <[email protected]>
  1077. * HtmlTextWriter.cs: Fix indentation (somewhat at least)
  1078. 2005-07-18 Peter Dennis Bartok <[email protected]>
  1079. * Control.cs:
  1080. - Default name for controls on MS.Net is "_ctl" not "_ctrl"
  1081. - MS does not append 'a' for auto-generated names
  1082. 2005-07-17 Ben Maurer <[email protected]>
  1083. * AttributeCollection.cs: Use the invariant culture.
  1084. * StateBag.cs: "Duh" optimization: return null when there are no
  1085. dirty items in the view state
  1086. 2005-07-14 Ben Maurer <[email protected]>
  1087. * StateBag.cs: A "short" version of my favorite method.
  1088. * HtmlTextWriter.cs: New method to get the tag name staticly.
  1089. 2005-07-14 Duncan Mak <[email protected]>
  1090. * DataBindingHandlerAttribute.cs: Fixed after receiving some
  1091. comments from Gonzalo.
  1092. 2005-07-13 Jackson Harper <[email protected]>
  1093. * PropertyConverter.cs: No public constructors.
  1094. 2005-07-13 Ben Maurer <[email protected]>
  1095. * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
  1096. 2005-07-12 Ben Maurer <[email protected]>
  1097. * HtmlTextWriter.cs: Make styles work.
  1098. 2005-07-11 Peter Dennis Bartok <[email protected]>
  1099. * AttributeCollection.cs:
  1100. - Changes to match MS behaviour, the "style" attribute is always
  1101. added to the list, in addition to being added to the
  1102. CssStyleCollection. Also added check for "style" attribute when
  1103. setting via index setter
  1104. - When "Style" attribute is added, CssStyleCollection is
  1105. automatically created
  1106. - The style keyword needs to be lowercase
  1107. 2005-07-11 Ben Maurer <[email protected]>
  1108. * HtmlTextWriter.cs: Missing a PopEndTag here.
  1109. * PropertyConverter.cs: Pass tests
  1110. 2005-07-09 Miguel de Icaza <[email protected]>
  1111. * DataBindingHandlerAttribute.cs: Create the "Default" property.
  1112. 2005-07-09 Duncan Mak <[email protected]>
  1113. * DataBindingHandlerAttribute.cs: Implemented.
  1114. 2005-07-08 Ben Maurer <[email protected]>
  1115. * HtmlTextWriter.cs: Much better compliance with msft
  1116. 2005-07-08 Jackson Harper <[email protected]>
  1117. * ToolbarDataAttribute.cs: New implementation.
  1118. 2005-07-07 Jackson Harper <[email protected]>
  1119. * PropertyConverter.cs: New implementation.
  1120. 2005-07-07 Ben Maurer <[email protected]>
  1121. * StateBag.cs: Noticed an issue where SetDirty was called when the
  1122. key did not exist.
  1123. 2005-07-07 Ben Maurer <[email protected]>
  1124. * StateBag.cs: Add a method that gets a string or else a default
  1125. value.
  1126. 2005-07-07 Dick Porter <[email protected]>
  1127. * StateBag.cs: Added internal SetDirty (void) method to fix the
  1128. build
  1129. 2005-07-07 Sebastien Pouliot <[email protected]>
  1130. * HtmlTextWriter.cs: Small fixlet when attribute has no value.
  1131. 2005-07-07 Miguel de Icaza <[email protected]>
  1132. * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
  1133. tests.
  1134. * StateBag.cs: Add NET_2_0 SetDirty method to get the build
  1135. going.
  1136. 2005-07-07 Sebastien Pouliot <[email protected]>
  1137. * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
  1138. 2005-07-06 Ben Maurer <[email protected]>
  1139. * HtmlTextWriter.cs: Make sure to clear attributes when they are
  1140. written.
  1141. * StateBag.cs: New impl
  1142. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  1143. * Page.cs:
  1144. * Control.cs: avoid the creation of the EventHandlerList and accessing
  1145. to it whenever possible. Fix ENABLE_THEMING constant.
  1146. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  1147. * TemplateParser.cs:
  1148. * TemplateControlParser.cs:
  1149. * UserControlParser.cs: detect circular references when a control tries
  1150. to register itself as a tag. Fixes bug #75376.
  1151. 2005-06-14 Gonzalo Paniagua Javier <[email protected]>
  1152. * PageParser.cs: don't try to compile the master page if it wan't
  1153. provided. Use MapPath from the base classes instead of the long
  1154. version. Fixes bug #75269 that prevented xsp2 from working properly.
  1155. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  1156. * MasterPage.cs: Clear the default content of placeholders before
  1157. adding the page content. Fixes bug #75193.
  1158. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  1159. * PageParser.cs: Added MasterType property. Get the type from the
  1160. MasterType directive.
  1161. * MasterPageParser.cs: Added GetCompiledMasterType method.
  1162. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  1163. * UserControl.cs:
  1164. * Page.cs:
  1165. * Control.cs: updates for 1.1 SP1
  1166. 2005-06-06 Lluis Sanchez Gual <[email protected]>
  1167. * Control.cs: Added new DataBind() overload for 2.0. The old
  1168. method calls this new overload.
  1169. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  1170. * TemplateParser.cs: ignore empty assembly.Location for in-memory
  1171. generated assemblies.
  1172. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  1173. * Page.cs: added AddContentTemplate method.
  1174. 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
  1175. * AttributeCollection.cs: html-encode attribute values. Fixes
  1176. bug #73771.
  1177. 2005-05-26 Lluis Sanchez Gual <[email protected]>
  1178. * DataSourceView.cs: Fix api.
  1179. * NonVisualControlAttribute.cs: Implemented.
  1180. * IDataItemContainer.cs: Added missing properties.
  1181. * Control.cs: Added new EnableTheming and SkinID properties.
  1182. * HierarchicalDataSourceControl.cs: Implemented missing methods.
  1183. 2005-05-13 Lluis Sanchez Gual <[email protected]>
  1184. * ControlCollection.cs: Added internal setter for ReadOnly.
  1185. 2005-05-09 Geoff Norotn <[email protected]>
  1186. * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
  1187. uses instead of codebehind.
  1188. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  1189. * Page.cs: as setting CurrentCulture is slow, don't set it if the
  1190. culture has not changed since before the page started processing.
  1191. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  1192. * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
  1193. not found.
  1194. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  1195. * TemplateParser.cs:
  1196. * SimpleWebHandlerParser.cs: removed values assigned and neved used.
  1197. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  1198. * SimpleWebHandlerParser.cs:
  1199. * TemplateParser.cs: always get the location (full path) for assemblies,
  1200. even the ones from the GAC.
  1201. * BaseCompiler.cs: check that DynamicBase directory exists before
  1202. creating the TempFileCollection.
  1203. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  1204. * ClientScriptManager.cs: Use a linked list instead of a Hashtable
  1205. to store the scripts. In this way, scripts will be rendered in the
  1206. same order as they have been registered. It shouldn't be slower
  1207. since pages don't have many scripts.
  1208. 2005-04-21 Lluis Sanchez Gual <[email protected]>
  1209. * IEditableTextControl.cs: Implemented.
  1210. * DataBinder.cs: Marked constructor as obsolete in 2.0.
  1211. In GetDataItem, check for the IDataItemContainer interface
  1212. in the container.
  1213. * TemplateControl.cs: Improved check for data item.
  1214. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  1215. * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
  1216. * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
  1217. for second postback.
  1218. 2005-04-20 Rafael Teixeira <[email protected]>
  1219. * TemplateParser.cs: Adding support for Strict/Explicit attributes
  1220. for @Page/@Control directives as documented at
  1221. http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
  1222. First step don't choke on them. Fixing #74671
  1223. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  1224. * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
  1225. there from the time when Load wasn't working properly. First part of the
  1226. fix to 74500.
  1227. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  1228. * ControlBuilder.cs: The BindingContainerType property happens
  1229. to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
  1230. which is used to get the binding container that is managing
  1231. the current two-way binding context.
  1232. * TemplateBuilder.cs: Added some methods and an internal class
  1233. to support two-way bindings.
  1234. * CompiledBindableTemplateBuilder.cs: Implemented.
  1235. * IBindableTemplate.cs: This interface inherits from ITemplate.
  1236. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  1237. * ControlBuilder.cs: Added BindingContainerType property,
  1238. which works like NamingContainerType but takes into account
  1239. template builders with a specific container type (specified
  1240. using the TemplateContainerAttribute.
  1241. * StateManagedCollection.cs: Reimplemented Save/Load view
  1242. state methods. The existing implementation was not correct
  1243. in all cases.
  1244. 2005-04-08 Lluis Sanchez Gual <[email protected]>
  1245. * DataSourceView.cs: Added null check.
  1246. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  1247. * TemplateControl.cs:
  1248. * Page.cs: Moved Eval and XPath from Page
  1249. to TemplateControl.
  1250. * StateManagedCollection.cs: Avoid saving null state.
  1251. 2005-04-01 Lluis Sanchez Gual <[email protected]>
  1252. * DataSourceView.cs: Rethrow exceptions not handled by operation
  1253. callbacks.
  1254. * ITextControl.cs: Removed event.
  1255. * CollectionBuilder.cs: Don't crash when a collection has more
  1256. than one indexer.
  1257. 2005-03-23 Lluis Sanchez Gual <[email protected]>
  1258. * Control.cs: Added a new internal property: HasRenderMethodDelegate.
  1259. * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
  1260. * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
  1261. 2005-03-16 Lluis Sanchez Gual <[email protected]>
  1262. * ClientScriptManager.cs: Fix build.
  1263. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  1264. * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
  1265. since it is deprecated in 2.0.
  1266. * Page.cs: Deprecated GetPostBackClientEvent and similar methods
  1267. in 2.0. Moved callback management methods to ClientScriptManager.
  1268. * ClientScriptManager.cs: Moved here deprecated methods from Page.
  1269. In GetPostBackEventReference (PostBackOptions), don't use the
  1270. WebForm_DoPostback script if the post can be done with a simple
  1271. __doPostBack call.
  1272. * PostBackOptions.cs: Fixed default values for some properties.
  1273. 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
  1274. * Control.cs: in FindControl, throw if there's more than one control
  1275. with the same ID. Fixes bug #73479.
  1276. 2005-03-04 Lluis Sanchez Gual <[email protected]>
  1277. * Page.cs: Load control state before loading view state, and the
  1278. same for saving.
  1279. * DataSourceSelectArguments.cs: Fix recursive property call.
  1280. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  1281. * DataSourceView.cs: Fixed incorrect implementation of
  1282. RaiseUnsupportedCapabilityError.
  1283. * IDataItemContainer.cs: Added new properties.
  1284. * Page.cs: Implemented Form property.
  1285. * Control.cs: Fixed formatting.
  1286. * StateManagedCollection.cs: Track view state of items loaded
  1287. in LoadViewState.
  1288. 2005-02-22 Lluis Sanchez Gual <[email protected]>
  1289. * FilterableAttribute.cs: Fix endless loop.
  1290. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  1291. * Page.cs: Implemented missing events.
  1292. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  1293. * BoundPropertyEntry.cs:
  1294. * PropertyEntry.cs:
  1295. * TwoWayBoundPropertyEntry.cs: implemented.
  1296. 2005-02-10 Lluis Sanchez Gual <[email protected]>
  1297. * Page.cs: Added support for validation groups. Some fixes in
  1298. SavePageControlState().
  1299. * IFilterResolutionService.cs: Removed extra field.
  1300. * INavigateUIData.cs: Added missing field.
  1301. * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
  1302. Implemented new interfaces.
  1303. 2005-02-04 Lluis Sanchez Gual <[email protected]>
  1304. * Page.cs: Implemented support for cross page postback. Implemented
  1305. support for postback with options. Fixed several method and property
  1306. signatures for 2.0.
  1307. * PostBackOptions.cs: Added some TODOs.
  1308. 2005-02-02 Lluis Sanchez Gual <[email protected]>
  1309. * ParseChildrenAttribute.cs: Set the correct default value for the
  1310. childType property.
  1311. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  1312. * ParseChildrenAttribute.cs: Added 2.0 property.
  1313. * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
  1314. * Page.cs: Added support for control state.
  1315. * TemplateBuilder.cs: ContainerType should be internal.
  1316. * Control.cs: Added some new 2.0 methods.
  1317. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  1318. * PageParser.cs: Read the MasterPageFile attribute.
  1319. * UserControlParser.cs: Not sealed any more since we need to inherit from
  1320. it. Added new constructor with an additional "type" parameter.
  1321. * MasterPageParser.cs: Parser for master pages.
  1322. * Page.cs: Added support for master pages.
  1323. * MasterPage.cs: Implemented.
  1324. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  1325. * TemplateBuilder.cs: Added a special constructor that takes an
  1326. attribute provider as parameter. The container type for the template
  1327. may be defined in a TemplateContainerAttribute.
  1328. * ControlBuilder.cs: Create the TemplateBuilder using that special
  1329. constructor.
  1330. * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
  1331. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  1332. * IStyleSheet.cs: Added missing "using".
  1333. * Page.cs: Implemented Header property.
  1334. * CssStyleCollection.cs: Made BagToString method internal.
  1335. * RootBuilder.cs: Register HtmlHead control.
  1336. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  1337. * CssStyleCollection.cs: Minor (!) fix.
  1338. * HtmlTextWriter.cs: Register names for new 2.0 styles.
  1339. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  1340. * CssStyleCollection.cs: Make it work as a standalone collection.
  1341. * HtmlTextWriter.cs: Added static method for getting style names.
  1342. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  1343. * ControlCollection.cs: fix off-by-one and store a null at the end to
  1344. remove the reference to the removed control.
  1345. 2004-12-10 Lluis Sanchez Gual <[email protected]>
  1346. * ClientScriptManager.cs: Added GetScriptLiteral helper method.
  1347. 2004-12-02 Lluis Sanchez Gual <[email protected]>
  1348. * Page.cs: Added support for callback events. Moved theform variable
  1349. outside the __doPostBack function, so it can be used by other
  1350. scripts.
  1351. * StateBag.cs: Implemented SetDirty().
  1352. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  1353. * Control.cs: when saving "Visible" into the ViewState, save the value
  1354. for this precise control, as using the Visible property might give us
  1355. Control's parent visibility. Fixes bug #69200.
  1356. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  1357. * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
  1358. sessions.
  1359. * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
  1360. the appRoot + SessionID + vpath format.
  1361. Fixes the 3 issues reported in bug #66623.
  1362. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  1363. * Page.cs: Moved code for managing client scripts to ClientScriptManager,
  1364. which is public in 2.0 and internal in 1.1.
  1365. * ClientScriptManager.cs: Implemented.
  1366. 2004-11-25 Sanjay Gupta <[email protected]>
  1367. * DataSourceView.cs: Removed extra method.
  1368. 2004-11-24 Sanjay Gupta <[email protected]>
  1369. * DataSourveViewSelectCallback.cs: Corrected method signature.
  1370. 2004-11-23 Lluis Sanchez Gual <[email protected]>
  1371. * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
  1372. even if the class doesn't implement IParserAccessor.
  1373. * WebResourceAttribute.cs: Allow multiple attributes of this type.
  1374. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  1375. * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
  1376. from SqlDataSourceView.cs.
  1377. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  1378. * Control.cs: unified a few bool fields into an int one.
  1379. * ControlCollection.cs: use an array internally instead of always
  1380. allocating an arraylist. Also added our own enumerator.
  1381. * EmptyControlCollection.cs: there's no 'special' ctor now in the base
  1382. class.
  1383. 2004-11-05 Sanjay Gupta <[email protected]>
  1384. * DataSourceView.cs: Changes in access modifiers of methods.
  1385. 2004-10-20 Sanjay Gupta <[email protected]>
  1386. * DataSourceCapabilities.cs: Added Flags attribute.
  1387. * DataSourceSelectArguments.cs: Updated.
  1388. * DataSourveView.cs: Updated.
  1389. 2004-10-19 Sanjay Gupta <[email protected]>
  1390. * HierarchicalDataSourceView.cs: Corrected class definition and updated.
  1391. 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
  1392. * HierarchicalDataSourceView.cs: fix typo.
  1393. 2004-10-18 Sanjay Gupta <[email protected]>
  1394. * HierarchicalDataSourceView.cs: Updated.
  1395. 2004-10-18 Sanjay Gupta <[email protected]>
  1396. * DataSourceSelectArguments.cs: Initial implementation.
  1397. 2004-10-12 Sanjay Gupta <[email protected]>
  1398. * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
  1399. 2004-10-12 Sanjay Gupta <[email protected]>
  1400. * UrlTypes.cs: Updated.
  1401. 2004-10-12 Sanjay Gupta <[email protected]>
  1402. * UrlPropertyAttribute.cs: Added new file.
  1403. 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
  1404. * Control.cs: even if the control has no children the naming container
  1405. may contain the control we're looking for. Fixes bug #67304.
  1406. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  1407. * AspGenerator.cs: added OtherTags.
  1408. 2004-09-24 Sanjay Gupta <[email protected]>
  1409. * ControlValuePropertyAttribute.cs: Initial implementation.
  1410. 2004-09-24 Sanjay Gupta <[email protected]>
  1411. * IPaginationContainer.cs: Corrected name of class.
  1412. 2004-09-24 Sanjay Gupta <[email protected]>
  1413. * IDReferencePropertyAttribute.cs: Completed implementation.
  1414. 2004-09-24 Sanjay Gupta <[email protected]>
  1415. * ThemeableAttribute.cs:
  1416. * FilterableAttribute.cs: Code scrubbing and optimization.
  1417. 2004-09-14 Sanjay Gupta <[email protected]>
  1418. * ThemeableAttribute.cs: Completed implementation.
  1419. 2004-09-14 Sanjay Gupta <[email protected]>
  1420. * FilterableAttribute.cs: Completed implementation.
  1421. 2004-09-14 Sanjay Gupta <[email protected]>
  1422. * Control.cs: Added new attributes and a method.
  1423. * FilterableAttribute.cs: New attribute, initial implementation.
  1424. * ThemeableAttribute.cs: New attribute, initial implemenataion.
  1425. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  1426. * TemplateParser.cs: ensure bin directory exists before trying to access
  1427. it. Fixes bug #65446 (not closed yet due to dependencies).
  1428. 2004-09-09 Sanjay Gupta <[email protected]>
  1429. * Control.cs: Implemented methods of interface IExpressionAccessor.
  1430. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  1431. * SimpleWebHandlerParser.cs: correctly cache Type instead of the
  1432. assembly for ashx/asmx. Otherwise we need to open the file and check
  1433. for the class name in there. Thanks to Ben for pointing this out.
  1434. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  1435. * TemplateParser.cs: removed creation of StringWriter. It's not used.
  1436. * Control.cs: don't create the EventHandlerList until requested.
  1437. 2004-09-03 Sanjay Gupta <[email protected]>
  1438. * Control.cs: Added new interfaces implemented in .Net 2.0.
  1439. * ExpressionBinding.cs: Added new class.
  1440. * ExpressionBindingCollection.cs: Added new class.
  1441. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  1442. * LiteralControl.cs: stylized. This control has EnableViewState disabled
  1443. by default and doesn't get an automatic ID. When text is null -> "".
  1444. 2004-08-31 Sanjay Gupta <[email protected]>
  1445. * ControlSkinProc.cs:
  1446. * DataSourceViewOperationCallback.cs:
  1447. * DataSourceViewSelectCallback.cs:
  1448. * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
  1449. required in definition as delegates by default are sealed.
  1450. 2004-08-31 Sanjay Gupta <[email protected]>
  1451. * IDReferencePropertyAttribute.cs: Corrected and changed from interface
  1452. to class.
  1453. * IMobileTextWriter.cs: Corrected method signatures.
  1454. 2004-08-09 Sanjay Gupta <[email protected]>
  1455. * ControlSkinProc.cs:
  1456. * DataSourceViewOperationCallback.cs:
  1457. * DataSourceViewSelectCallback.cs:
  1458. * ExtractTemplateValuesMethod.cs: Added new delegates.
  1459. 2004-08-06 Sanjay Gupta <[email protected]>
  1460. * IBindableTemplate.cs:
  1461. * ICallbackEventHandler.cs:
  1462. * IControlBuilderAccessor.cs:
  1463. * IControlDesignerAccessor.cs:
  1464. * IControlTypeFilter.cs:
  1465. * IDataItemContainer.cs:
  1466. * IDataSourceViewSchemaAccessor.cs:
  1467. * IDReferencePropertyAttribute.cs:
  1468. * IExpressionsAccessor.cs:
  1469. * IFilterResolutionService.cs:
  1470. * IItemPaginationInfo.cs:
  1471. * IMobileTextWriter.cs:
  1472. * IPageHeader.cs:
  1473. * IPaginationContainer.cs:
  1474. * IPaginationInfo.cs:
  1475. * IResourceResolutionService.cs:
  1476. * IResourceUrlGenerator.cs:
  1477. * IStateFormatter.cs:
  1478. * IStyleSheet.cs:
  1479. * IThemeResolutionService.cs:
  1480. * IUrlResolutionService.cs:
  1481. * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
  1482. 2004-08-05 Sanjay Gupta <[email protected]>
  1483. * PostBackOptions.cs: Added new file and implemented the class.
  1484. 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
  1485. * HtmlTextWriterTag.cs: readded author name.
  1486. 2004-08-04 Sanjay Gupta <[email protected]>
  1487. * HtmlTextWriterAttribute.cs:
  1488. * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
  1489. * CompilationMode.cs:
  1490. * ConflictOptions.cs:
  1491. * DataSourceCacheExpiry.cs:
  1492. * DataSourceCapabilities.cs:
  1493. * DataSourceOperation.cs:
  1494. * TemplateContentType.cs:
  1495. * TemplateInstance.cs:
  1496. * UrlTypes.cs:
  1497. * VerificationConditionalOperator.cs:
  1498. * VerificationReportLevel.cs:
  1499. * VerificationRule.cs:
  1500. * XhtmlMobileDocType.cs: Added enumerations.
  1501. 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
  1502. * Control.cs: style. Reverted previous patch modification of
  1503. TemplateSourceDirectory (failed when the control is reparented). Use
  1504. HasControls() and Controls all over instead of _controls, as Controls
  1505. property and HasControls() might be overriden.
  1506. 2004-07-27 Alon Gazit <[email protected]>
  1507. * Control.cs: Changed the implementation of TemplateSourceDirectory
  1508. and GetDefaultName(). replaced foreach statements with for statements,
  1509. in order to improve performence.
  1510. 2004-07-27 Alon Gazit <[email protected]>
  1511. * Page.cs: changed the implementation of GetViewStateString().
  1512. if the view state object is null there is no need to perform
  1513. Serialization.
  1514. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  1515. * TemplateControl.cs: don't include private methods of base classes when
  1516. auto-attaching events. Fixes bug 61569.
  1517. 2004-07-14 Alon Gazit <[email protected]>
  1518. * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
  1519. 2004-07-08 Pablo Baena <[email protected]>
  1520. * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
  1521. 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
  1522. * Page.cs: added additional checks for saving/displaying trace data.
  1523. * PageParser.cs: removed checks for trace enabled in configuration
  1524. files.
  1525. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  1526. * ControlCollection.cs: when clearing the control collection, tell the
  1527. owners about the removal. Fixes bug #60800.
  1528. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  1529. * Page.cs: don't nullify _context after processing the request as there
  1530. are events not triggered yet. Fixes bug #60726.
  1531. 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
  1532. * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
  1533. bug #60681.
  1534. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  1535. * PageParser.cs:
  1536. * UserControlParser.cs: set the page/user control base type even when no
  1537. default directive provided. Fixes bug #60572.
  1538. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  1539. * PageParser.cs: use default trace settings from web.config and check
  1540. if trace is only requested for local connections. Fixes bug #60180.
  1541. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  1542. * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
  1543. we read the default directive, check the cache for the Type and if
  1544. present, don't keep reading and store the type found.
  1545. * WebHandlerParser.cs:
  1546. * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
  1547. compiling.
  1548. 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
  1549. * Control.cs: properly fixed bug #59794.
  1550. 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
  1551. * Control.cs:
  1552. (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
  1553. #59794.
  1554. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  1555. * SimpleWebHandlerParser.cs:
  1556. * TemplateParser.cs: pass the language when compiling from a file.
  1557. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  1558. * SimpleWebHandlerParser.cs: if we have a global.asax, move its
  1559. reference to the end to help mcs loading the assemblies. Fixes bug
  1560. #58768.
  1561. * TemplateParser.cs: same as above. Removed some kludges to workaround
  1562. loading assemblies from bin path that are now in the runtime. Don't
  1563. load the assemblies in bin if not needed, but still reference them
  1564. when compiling.
  1565. 2004-06-07 Alon Gazit <[email protected]>
  1566. * Page.cs: Changed Page.ProcessPostData().
  1567. After the change ,the state of controls that aren't visible is saved
  1568. during a postback.
  1569. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  1570. * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
  1571. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  1572. * Page.cs: IsPostBack also returns true when method is GET and we have
  1573. viewstate information in the query string. Fixes bug #58151.
  1574. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  1575. * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
  1576. HttpRutime.TraceManager.
  1577. * PageParser.cs: for 'trace' we have 2 variables now. Added support
  1578. for 'buffer' attribute.
  1579. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  1580. * Page.cs: implemented ClientTarget.
  1581. * PageParser.cs: support for clientTarget and check for validity.
  1582. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  1583. * Control.cs:
  1584. * Html32TextWriter.cs:
  1585. * HtmlTextWriter.cs:
  1586. * SimpleWebHandlerParser.cs:
  1587. * TemplateControl.cs: Added protected missing members and attributes.
  1588. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  1589. * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
  1590. calling a protected method of another object.
  1591. 2004-06-03 Atsushi Enomoto <[email protected]>
  1592. * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
  1593. (of other objects) are called in TypeConverterFormatter.
  1594. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  1595. * ObjectStateFormatter.cs: before choosing the binary formatter, check
  1596. if the object type has a TypeConverter that can convert to/from string.
  1597. Fixes bug #59495.
  1598. * Page.cs: call GetViewStateString from outside the WriteLine. This
  1599. allows writing to the Response when getting the string without breaking
  1600. the HTML generated.
  1601. 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
  1602. * HtmlTextWriter.cs: render end tag for unknown tags.
  1603. Patch frmo Markus Krutner. Fixes bug #59466.
  1604. 2004-05-24 Gonzalo Paniagua Javier <[email protected]>
  1605. * Page.cs: call DeterminePostBackMode only once per request. Patch by
  1606. Evain Jb.
  1607. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  1608. * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
  1609. [meddochat].
  1610. * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
  1611. that.
  1612. 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
  1613. * SimpleWebHandlerParser.cs:
  1614. * TemplateParser.cs: for the assembly names given in the 'assembly'
  1615. attribute, use LoadWithPartialName instead of Load.
  1616. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  1617. * Page.cs: return HttpContext.Current if _context has not yet been
  1618. assigned to. Fixes bug #55245.
  1619. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  1620. * TemplateParser.cs: don't add import statement or assemblies from
  1621. global.asax to every file. Fixes bug #55496.
  1622. 2004-03-09 Juraj Skripsky <[email protected]>
  1623. * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
  1624. handle single quotes and a few corner cases correctly (see test cases).
  1625. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  1626. * TemplateControl.cs: fixed typos and added new method names to the set
  1627. of page events.
  1628. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  1629. * ControlBuilder.cs: added SetTagName().
  1630. * ObjectTagBuilder.cs: use SetTagName so that we can properly close
  1631. <object> builders if the closing tag is provided.
  1632. 2004-02-16 Jackson Harper <[email protected]>
  1633. * Page.cs: Set cacheability for Location.DownStream.
  1634. 2004-02-10 Jackson Harper <[email protected]>
  1635. * TemplateParser.cs: Use full path if the assembly is in the
  1636. private bin directory. Patch by Gonzalo Paniagua Javier.
  1637. 2004-02-09 Jackson Harper <[email protected]>
  1638. * Page.cs: Set cacheability for server side caching.
  1639. 2004-01-30 Jackson Harper <[email protected]>
  1640. * Control.cs: Ensure that dynamically loaded controls are
  1641. initialized.
  1642. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  1643. * ApplicationFileParser.cs: check for error in directives. Use
  1644. GlobalAsaxCompiler.CompileApplicationType for compiling.
  1645. * ObjectTagBuilder.cs: load the Type and check for errors.
  1646. * TemplateParser.cs: add assemblies and imports from global.asax.
  1647. Now we properly create accessors for session and application objects in
  1648. the application itself, pages and controls. First step for fixing
  1649. bug #53387.
  1650. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  1651. * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
  1652. to Eric Lindvall for pointing this out.
  1653. 2004-01-15 Jackson Harper <[email protected]>
  1654. * TemplateParser.cs: Detect if we are parsing a control or page
  1655. properly.
  1656. * Page.cs: vary by params and vary by headers can be null now.
  1657. 2004-01-15 Martin Willemoes Hansen <[email protected]>
  1658. * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
  1659. indention.
  1660. 2004-01-14 Jackson Harper <[email protected]>
  1661. * Page.cs: If we have a postback that wasn't sent through a
  1662. postback script (ie user hit submit on a input type=submit) call
  1663. Validate so page validation occurs. This fixes bug #52770.
  1664. 2004-01-14 Jackson Harper <[email protected]>
  1665. * Page.cs: Don't tell the response to cache anymore. This is done
  1666. when the cacheability is modified by a callback. Set the cache's
  1667. duration.
  1668. 2004-01-14 Jackson Harper <[email protected]>
  1669. * TemplateParser.cs: If varybyparam is set to "none" make it null
  1670. so we dont get a param named null in the outputcache key.
  1671. 2004-01-14 Jackson Harper <[email protected]>
  1672. * BasePartialCachingControl.cs: Use varyby attributes in key
  1673. generation.
  1674. 2004-01-14 Jackson Harper <[email protected]>
  1675. * TemplateParser.cs: Add all the outputcache attribute error
  1676. messages.
  1677. 2004-01-13 Jackson Harper <[email protected]>
  1678. * TemplateParser.cs: Add VaryByControls and Shared output cache
  1679. properties. These are not assigned yet.
  1680. * TemplateControlParser.cs: Do not ignore the OutputCache
  1681. attribute.
  1682. * BasePartialCachingControl.cs: Initial implementation. Keys are
  1683. still not created properly.
  1684. * StaticPartialCachingControl.cs: Assign properties in base class,
  1685. implement CreateControl.
  1686. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  1687. * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
  1688. * PageParser.cs: support validateRequest.
  1689. * TemplateControlParser.cs: get default values from system.web/pages
  1690. section.
  1691. * TemplateParser.cs: added separate method for changing base type
  1692. (Inherits or system.web/pages).
  1693. * UserControlParser.cs: support system.web/pages defined base type.
  1694. 2004-01-11 Andreas Nahr <[email protected]>
  1695. * UserControl.cs: Added missing attribute, implemented method
  1696. * Page.cs: Added missing attribute, implemented method
  1697. 2004-01-10 Jackson Harper <[email protected]>
  1698. * Page.cs: Handle trace being enabled in the config file.
  1699. 2004-01-10 Jackson Harper <[email protected]>
  1700. * Page.cs: Save trace data before rendering it.
  1701. * System.Web.dll.sources: Add TraceData.cs
  1702. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  1703. * Page.cs: removed a couple of MonoTODO on methods we're not gonna
  1704. implement. Applied patch from Jan Jaros ([email protected]) to
  1705. ensure that Unload event is raised. Fixes bug #52555.
  1706. 2004-01-02 Zoltan Varga <[email protected]>
  1707. * KeyedList.cs: 'private' is not allowed on explicit interface
  1708. implementations. Fixes 1.2 build.
  1709. 2003-12-31 Jackson Harper <[email protected]>
  1710. * TemplateControlParser.cs: When registering tag prefixs make sure
  1711. the file exists and throw the correct error if it does not.
  1712. 2003-12-25 Jackson Harper <[email protected]>
  1713. * Page.cs: Throw error if the session is accessed when sessions
  1714. are disabled.
  1715. 2003-12-18 Jackson Harper <[email protected]>
  1716. * Page.cs: Write Trace info.
  1717. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  1718. * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
  1719. * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
  1720. internal.
  1721. * PageParser.cs: the ctor is public.
  1722. * PartialCachingAttribute.cs: added new ctor and Shared property.
  1723. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  1724. * Page.cs: assign the ErrorPage to the context if we get an exception
  1725. when processing the page which only calls Unload.
  1726. * PageParser.cs: handle ErrorPage.
  1727. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  1728. * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
  1729. are not [Serializable]. Fixes bug #52244.
  1730. 2003-12-16 Jackson Harper <[email protected]>
  1731. * Page.cs: Render trace data when tracing is enabled.
  1732. 2003-12-15 Jackson Harper <[email protected]>
  1733. * PageParser.cs: Add Trace and Trace mode attributes.
  1734. 2003-12-15 Jackson Harper <[email protected]>
  1735. * Page.cs: Use the context trace object.
  1736. 2003-12-14 Alon Gazit <[email protected]>
  1737. * AttributeCollection.cs: Changed AttributeCollection.Render().
  1738. After the change attributes ,that their value is null, aren't
  1739. rendered.
  1740. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  1741. * Control.cs: remove a few dangling ^M, don't set values for fields
  1742. that has the default value. If Visible is modified and we're tracking
  1743. viewstate, save and restore it. Fixes bug #48689.
  1744. 2003-12-11 Jackson Harper <[email protected]>
  1745. * Control.cs: Give null for the ID if it hasn't been explicitly
  1746. set. This fixes bug #51520.
  1747. 2003-12-08 Jackson Harper <[email protected]>
  1748. * PageParser.cs: Ignore the SmartNavigation attribute for now.
  1749. 2003-12-05 Jackson Harper <[email protected]>
  1750. * DataBinder.cs (GetIndexedPropertyValue): Check if container is
  1751. an IList and use a cast instead of reflection to retrieve the item
  1752. if it is. Fixes bug #51759.
  1753. 2003-12-04 Alon Gazit <[email protected]>
  1754. * Page.cs: Changed Page.ID so it will call Control.ID.
  1755. Fixed Bug 51682.
  1756. 2003-12-02 Jackson Harper <[email protected]>
  1757. * Page.cs: Implemented registered array declarations. Patch by
  1758. Benjamin Jemlich <[email protected]>
  1759. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1760. * TemplateParser.cs: basic check for 'classname' attribute and added
  1761. patch by [email protected] for bug #51568, which fixes automatic class
  1762. names for pages starting with a number.
  1763. 2003-11-30 Ben Maurer <[email protected]>
  1764. * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
  1765. reduction.
  1766. * ObjectStateFormatter.cs: Comment out tracing.
  1767. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  1768. * Page.cs: fixed UICulture, LCID and Culture. Set the thread
  1769. [UI]Culture before processing the request.
  1770. * PageParser.cs: read Culture, UICulture and LCID attributes. Added
  1771. properties for these. Partially contributed by Mohammad Damt.
  1772. Fixes bug #51511.
  1773. 2003-11-27 Jackson Harper <[email protected]>
  1774. * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
  1775. 51434.
  1776. 2003-11-22 Ben Maurer <[email protected]>
  1777. * ObjectStateFormatter.cs: Fix bug when reading small ints.
  1778. Add some tracing so we can see what is going on.
  1779. 2003-11-21 Jackson Harper <[email protected]>
  1780. * Page.cs: Set vary by params when cache location is Server.
  1781. 2003-11-21 Ben Maurer <[email protected]>
  1782. * ObjectStateFormatter.cs: v2 file. In v1.x this will be
  1783. internal as LosFormatter will eventually use it to save
  1784. the view state.
  1785. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  1786. * PersistChildrenAttribute.cs:
  1787. * PersistenceModeAttribute.cs: implemented.
  1788. * TODO: Removed file.
  1789. * OutputCacheLocation.cs:
  1790. * TemplateControlParser.cs:
  1791. * HtmlInputFile.cs: class status based fixes.
  1792. 2003-11-19 Jackson Harper <[email protected]>
  1793. * Page.cs: Always set the cache expire time. Tell the response to
  1794. cache itself for server side cached pages.
  1795. 2003-11-19 Jackson Harper <[email protected]>
  1796. * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
  1797. thing, some corner cases still need work though. Was this the
  1798. shortest lived method in the history of mono?
  1799. 2003-11-19 Jackson Harper <[email protected]>
  1800. * Control.cs: New method for resolving urls that use ~/ to denote
  1801. the applications base directory.
  1802. 2003-11-19 Jackson Harper <[email protected]>
  1803. * TemplateParser.cs: Fix typo in error message.
  1804. 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
  1805. * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
  1806. to Sanjay Gupta.
  1807. 2003-11-19 Todd Berman <[email protected]>
  1808. * KeyedList.cs:
  1809. * KeyedListEnumerator.cs: New v2 implementations.
  1810. 2003-11-17 Ben Maurer <[email protected]>
  1811. * StateManagedCollection.cs: Implement.
  1812. 2003-11-13 Jackson Harper <[email protected]>
  1813. * Page.cs: Initial implementation of InitOutputCache.
  1814. * TemplateParser.cs: Page OutputCache options
  1815. 2003-11-09 Ben Maurer <[email protected]>
  1816. * HierarchicalDataSourceControl.cs: Implement.
  1817. 2003-11-09 Ben Maurer <[email protected]>
  1818. * XPathBinder.cs: Implemented.
  1819. 2003-11-08 Ben Maurer <[email protected]>
  1820. * DataSourceView.cs:
  1821. * IDataSource.cs:
  1822. * ListSourceHelper.cs:
  1823. * DataSourceControl.cs:
  1824. * HierarchicalDataSourceView.cs:
  1825. * IHierarchicalDataSource.cs: Move v2 stuff.
  1826. 2003-11-07 Jackson Harper <[email protected]>
  1827. * Control.cs (ResolveUrl): Special case for urls that consist of
  1828. only a page anchor. ie <a href="#top">. This fixes bug #50165.
  1829. 2003-11-07 Ben Maurer <[email protected]>
  1830. * IHierarchicalEnumerable.cs:
  1831. * IHierarchyData.cs:
  1832. * INavigateUIData.cs: New v2 interfaces.
  1833. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  1834. * Page.cs: patch by Alon Gazit <[email protected]> to remove extra
  1835. space in generated javascript.
  1836. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  1837. * LosFormatter.cs: encoding updates.
  1838. * Page.cs: implemented CodePage and ContentType.
  1839. * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
  1840. attributes.
  1841. 2003-11-04 Ben Maurer <[email protected]>
  1842. * Control.cs (GetWebResourceUrl): new v2 function
  1843. * Page.cs (GetWebResourceUrl): ditto.
  1844. make the JS we generate work with moz if the form is not a child
  1845. of document.
  1846. * WebResourceAttribute.cs: Added, new v2 attribute.
  1847. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  1848. * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
  1849. * PageParser.cs: initialize the parser in the constructor, not just
  1850. before compiling and reference the application assembly.
  1851. * SimpleWebHandlerParser.cs: reference the assembly that contains the
  1852. application Type.
  1853. * TemplateControl.cs:
  1854. * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
  1855. path and physical path when compiling a user control.
  1856. * TemplateParser.cs: new AddApplicationAssembly ().
  1857. * UserControlParser.cs: now we get valid values in the ctor.
  1858. Referencing the application assembly fixes bug #49652.
  1859. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  1860. * TemplateControl.cs: moved NoParamsInvoker class to its own file.
  1861. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  1862. * BaseParser.cs: added CompilationConfig property.
  1863. * TemplateParser.cs:
  1864. * SimpleWebHandlerParser.cs: added CompilationConfig property.
  1865. Don't hardcode assembly names any more, assemblies in bin are added
  1866. depending on the configuration. The default language is also taken
  1867. from the configuration.
  1868. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1869. * LosFormatter.cs: fixed bug #49604. Patch by [email protected].
  1870. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1871. * Control.cs: removed some debug lines.
  1872. * Page.cs: implemented RegisterOnSubmitStatement
  1873. * TemplateControl.cs: fixed wire up for methods with no parameters.
  1874. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1875. * PageParser.cs: ignore ValidateRequest by now.
  1876. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  1877. * System.Web.UI/TemplateControl.cs: support for wiring up events without
  1878. parameters.
  1879. 2003-10-08 Pedro Martnez Juli <[email protected]>
  1880. * PageParser.cs: drop some useless code.
  1881. 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
  1882. * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
  1883. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  1884. * System.Web.UI/PageParser.cs:
  1885. * System.Web.UI/TemplateControlParser.cs: honour the input file given
  1886. as argument.
  1887. 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
  1888. * Control.cs:
  1889. (ClearChildViewState): doh! Don't clear control viewstate but the
  1890. viewstate of possible children.
  1891. (LoadViewStateRecursive): load viewstate even when control is not
  1892. visible.
  1893. Fixes bug #49024.
  1894. The rest are just dangling ^M removed.
  1895. * DataBoundLiteralControl.cs:
  1896. (LoadViewState): we get an object [], not a string [].
  1897. 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
  1898. * Control.cs: implemented ClearChildViewState ().
  1899. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  1900. * Page.cs: store unique IDs for controls requiring postback. Fixes bug
  1901. #47985.
  1902. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  1903. * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
  1904. dependencies so that it's recompiled when changed.
  1905. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  1906. * LosFormatter.cs: fixed Deserialize for empty viewstate.
  1907. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  1908. * Page.cs: check if controls that require postback have
  1909. been changed by an event and register them to be notified of data
  1910. changed event.
  1911. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  1912. * Control.cs: patch by [email protected] (Yaron Shkop) that fixes
  1913. bug #47866.
  1914. 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
  1915. * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
  1916. are not serializable. Fixes bug #47784.
  1917. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  1918. * Control.cs: index the viewstates saved by the control position, not
  1919. the control name. Fixes bug #47697.
  1920. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  1921. * ControlCollection.cs:
  1922. * EmptyControlCollection.cs: create a minimum ArrayList for this.
  1923. * BaseParser.cs: added setter for BaseVirtualDir.
  1924. * Page.cs: fixed message when restoring view state fails.
  1925. * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
  1926. when a relative path to the control is given. Fixes bug #47685.
  1927. 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
  1928. * Control.cs: when we load the viewstate for a control that has children
  1929. viewstates and the child is not found, keep its viewstate around and
  1930. wait until the child is added to load the viewstate. Fixes bug #47697.
  1931. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  1932. * TemplateControl.cs: more Delegate.CreateDelegate fixes.
  1933. 2003-08-01 Andreas Nahr <[email protected]>
  1934. * PartialCachingControl.cs: is not abstract
  1935. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  1936. * SimpleHandlerFactory.cs: implemented GetHandler.
  1937. * WebHandlerParser.cs: new file that parses .ashx files.
  1938. 2003-07-30 Andreas Nahr <[email protected]>
  1939. * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
  1940. 2003-07-30 Andreas Nahr <[email protected]>
  1941. * UserControl.cs: Added attribute
  1942. * BasePartialCachingControl.cs: New class and paritally implemented
  1943. * DesignerDataBoundLiteralControl.cs: New class and implemented
  1944. * DesignTimeTemplateParser.cs:
  1945. * PartialCachingControl.cs:
  1946. * StaticPartialCachingControl.cs: New class and paritally implemented
  1947. 2003-07-27 Andreas Nahr <[email protected]>
  1948. * ApplicationFileParser.cs: Fixed signature
  1949. * DesignTimeParseData.cs: Added missing properties, implemented
  1950. * Page.cs: Added attributes
  1951. * PageParser.cs:
  1952. * TemplateControlParser.cs:
  1953. * TemplateParser.cs:
  1954. * UserControlParser.cs: Fixed signature
  1955. 2003-07-17 Andreas Nahr <[email protected]>
  1956. * HtmlControlPersistableAttribute.cs: Added
  1957. * IgnoreUnknownContentAttribute.cs: Added
  1958. 2003-07-17 Andreas Nahr <[email protected]>
  1959. * IUserControlDesignerAccessor.cs: Added and implemented
  1960. * Control.cs: Missing member added, added all attributes
  1961. * Page.cs: Added attributes, fixed signature
  1962. * TemplateControl.cs: Fixed signature, added all attributes
  1963. * UserControl.cs: Added all attributes, added and implemented missing interface
  1964. 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
  1965. * ControlCollection.cs: fixed bug #46472.
  1966. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  1967. * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
  1968. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  1969. * SimpleWebHandlerParser.cs: updated to new compilation interface.
  1970. * TemplateParser.cs: use the new parameter when compiling.
  1971. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  1972. * Page.cs: also keep the value for the second try on handling postback
  1973. events.
  1974. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  1975. * BaseParser.cs: fixed MapPath for non-rooted files.
  1976. * PageParser.cs: don't pass a non-virtual file around.
  1977. * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
  1978. the exception teh may be throw by MapPath on an invalid path.
  1979. * TemplateParser.cs: removed unused method.
  1980. * UserControlParser.cs: modified inputfile. The result is the same, but
  1981. this one is better.
  1982. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  1983. * RootBuilder.cs: throw exception when the tagprefix is not valid or
  1984. not found.
  1985. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  1986. * TemplateControlParser.cs: return after processing @Register.
  1987. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  1988. * TemplateParser.cs: Added support for server side includes.
  1989. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  1990. * TemplateControl.cs: fixed the flags used to find the methods that
  1991. are automatically hooked up on events.
  1992. * TemplateParser.cs: don't compile a source file directly. Use the
  1993. cache instead.
  1994. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1995. * BaseParser.cs: Location property is now here. Added a couple of
  1996. convenience methods to throw a ParseException.
  1997. * TemplateParser.cs:
  1998. * TemplateControlParser.cs:
  1999. * PageParser.cs: throw ParseException where appropiate.
  2000. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  2001. * ApplicationFileParser.cs: use the generator to actually parse the
  2002. file.
  2003. * ControlBuilder.cs: small fix in NamingContainerType because
  2004. TemplateBuilders have a null ControlType. When a control is appended
  2005. to a parent, assign the child's parent.
  2006. * UserControlParser.cs: fixed the value of InputFile.
  2007. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  2008. * ApplicationFileParser.cs: store the Context and override
  2009. BaseVirtualDir so that it's the application path.
  2010. * BaseParser.cs: removed CurrentVirtualPath property.
  2011. * TemplateControlParser.cs: use BaseVirtualDir.
  2012. * UserControlParser.cs: removed CurrentVirtualPath.
  2013. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  2014. * TemplateParser.cs: always reference all the assemblies in bin
  2015. directory.
  2016. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  2017. * ApplicationFileParser.cs: it works now. Prior to these changes, we
  2018. were using the compiler directly.
  2019. * BaseParser.cs: added some useful properties and methods.
  2020. * CodeBuilder.cs: use ILocation.
  2021. * CodeRenderBuilder.cs: use ILocation.
  2022. * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
  2023. * ControlBuilder.cs: made it useful.
  2024. * DataBindingBuilder.cs: the control type for data bound text is
  2025. DataBoundLiteralControl now.
  2026. * ObjectTagBuilder.cs: store some object tag attributes.
  2027. * PageParser.cs: handle page-only directives.
  2028. * RootBuilder.cs: bah.
  2029. * SimpleWebHandlerParser.cs: made it dummy.
  2030. * TemplateControl.cs: Modified file.
  2031. * TemplateControlParser.cs: handle directives that are common to pages
  2032. and user controls.
  2033. * TemplateParser.cs: utility methods and handling of directives that
  2034. are common to app, page and user controls.
  2035. * UserControl.cs: added ControlBuilderAttribute.
  2036. * UserControlControlBuilder.cs: builder for user controls.
  2037. * UserControlParser.cs: use the new interfaces.
  2038. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  2039. * ControlBuilder.cs: line and fileName are protected now.
  2040. * CodeBuilder.cs: base class for the next 2 files.
  2041. * CodeRenderBuilder.cs: builder for code render.
  2042. * DataBindingBuilder.cs: builder for data binding.
  2043. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  2044. * ITagNameToTypeMapper.cs: made it internal.
  2045. * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
  2046. * ObjectTag.cs:
  2047. * RootBuilder.cs: initial builder.
  2048. 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
  2049. * CollectionBuilder.cs:
  2050. * TemplateBuilder.cs: new classes derived from ControlBuilder that
  2051. represent a property or a ITemplate.
  2052. * ControlBuilder.cs: implemented all the missing bits.
  2053. * TemplateParser.cs: added mapping from tag name to Type feature.
  2054. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  2055. * Control.cs: have i definitely fixed naming container stuff this time?
  2056. * LosFormatter.cs: activated binary serialization code.
  2057. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  2058. * Control.cs:
  2059. (AddedControl): fixed default id assignation when the sequence of
  2060. AddedControl until it's included in the page or one of its controls
  2061. does not pass through a naming container.
  2062. 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
  2063. * Control.cs: give different default names depending on the place where
  2064. it is assigned. Implemented ResolveURl (no more ~ rendered in
  2065. attributes!).
  2066. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  2067. * Control.cs: when adding a control, assign default names to th
  2068. children that don't have one.
  2069. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  2070. * SimpleWebHandlerParser.cs: modified to use the new parser interface.
  2071. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  2072. * Control.cs: some more tweaks to naming containers stuff.
  2073. * DataBinder.cs: don't throw exception if the container is null.
  2074. * Page.cs: now we can render client scripts, startup scripts and hidden
  2075. fields. Only render __VIEWSTATE if there is someone that will take care
  2076. of it.
  2077. (RaisePostBackEvents): first try the last one that required raise event,
  2078. then try __EVENTTARGET.
  2079. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  2080. * Control.cs: fixes in UniqueID, FindControl, AddedControl,
  2081. UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
  2082. FindControl work with NamingContainers.
  2083. * ControlCollection.cs: notify the parent when clearing the collection.
  2084. * LosFormatter.cs: Added debugging output and generate a valid
  2085. viewstate even for unknown types.
  2086. * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
  2087. viewstate.
  2088. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  2089. * Page.cs: make it fire the LoadData related events also for controls
  2090. such as ImageButton, whose variable(s) in the query string are of the
  2091. form ctrl_name.x and only fire them once per control.
  2092. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  2093. * DataBinder.cs:
  2094. (GetPropertyValue): don't try to get the property as indexed
  2095. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  2096. * DataBinder.cs: use TypeDescriptor to get the properties and their
  2097. values.
  2098. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  2099. * Control.cs:
  2100. (AddedControl): take the children to the same state of the parent.
  2101. (InitRecursive): set the page of the children.
  2102. * Page.cs: removed one line (it's done a few lines above).
  2103. * UserControl.cs:
  2104. (OnInit): always call InitializeAsUserControl
  2105. (InitializeAsUserControl): sets the page for the control.
  2106. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  2107. * Control.cs: fixed bug #36037.
  2108. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  2109. * BaseParser.cs: a couple of path fixes to make it work
  2110. when the page is not in the root directory.
  2111. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  2112. * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
  2113. reporting the bug.
  2114. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  2115. * BaseParser.cs: use MapPath and context to locate files.
  2116. * Control.cs: implemented MapPathSecure.
  2117. * TemplateControl.cs: use UrlUtils to generate the path.
  2118. * TemplateControlParser.cs: use the context and MapPath.
  2119. * UserControl.cs: implemented MapPath.
  2120. * UserControlParser.cs: added context parameter to constructor.
  2121. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  2122. * Control.cs: implemented MapPathSecure.
  2123. * Page.cs: fixed Server property.
  2124. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  2125. * DataBinder.cs: try the indexer if the property is not found in
  2126. GetPropertyValue ().
  2127. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  2128. * Control.cs: added AutoEventWireup internal property.
  2129. * Page.cs: removed page events wire up from here.
  2130. * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
  2131. and user controls events.
  2132. * TemplateControlParser.cs: process the options that are applicable
  2133. once we have the instance of the control.
  2134. * TemplateParser.cs: also stores the options.
  2135. * UserControl.cs: hook up events before initializing the control.
  2136. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  2137. * Control.cs: new method to set bindingContainer value.
  2138. * TemplateControl.cs: added controls are not binding containers.
  2139. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  2140. * Control.cs: implemented TemplateSourceDirectory.
  2141. * TemplateControl.cs: implemented LoadControl and LoadTemplate.
  2142. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  2143. * UserControl.cs: fixed SetAttribute.
  2144. * UserControlParser.cs: set the correct base type.
  2145. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  2146. * TemplateParser.cs: fixed BaseType.
  2147. * UserControlParser.cs: helper class to compile user controls.
  2148. 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
  2149. * LosFormatter.cs: added DateTime to special types.
  2150. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  2151. * LosFormatter.cs: added array serialization support. Disabled binary
  2152. serialization and add some debugging code.
  2153. * StateBag.cs: the length of the list of value can be less than the
  2154. length if the list of keys when remaining values are null.
  2155. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  2156. * Page.cs: return something useful in GetPostBackClientEvent.
  2157. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  2158. * Page.cs: implemented FileDependecies and made it protected.
  2159. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  2160. * Control.cs: save control names instead of the controls
  2161. themselves to the ViewState.
  2162. * LosFormatter.cs: added support for serializing unknown
  2163. types. BinaryFormatter does not work so you better don't store anything
  2164. of unknown Type in ViewState.
  2165. * Page.cs: GetViewStateString works now using LosFormatter.
  2166. Complete "Control execution lifecycle" by unloading all the child
  2167. controls. Check for null in RaisePostBackEvents.
  2168. LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
  2169. 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
  2170. * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
  2171. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  2172. * LosFormatter.cs: Use WebEncoding.Encoding.
  2173. * Control.cs:
  2174. * Page.cs: fixed namespace.
  2175. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  2176. * Page.cs: set the context in ProcessRequest. Added a few trace calls.
  2177. * Control.cs: added some trace information.
  2178. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  2179. * SimpleHandlerFactory.cs: new handler for .ashx files.
  2180. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  2181. * System.Web.UI/PageHandlerFactory.cs: new file.
  2182. * System.Web.UI/PageParser.cs:
  2183. * System.Web.UI/TemplateControlParser.cs: we are now able to compile
  2184. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  2185. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  2186. * Control.cs: implemented ObBubbleEvent.
  2187. * Page.cs: temporary workaround to make POST work with xsp server.
  2188. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  2189. * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
  2190. return pvt methods.
  2191. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  2192. * SimpleWebHandlerParser.cs: New file.
  2193. * WebServiceParser.cs: New file.
  2194. 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
  2195. * LosFormatter.cs: almost fully implemented.
  2196. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  2197. * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
  2198. * EmptyControlCollection.cs: throw correct exception.
  2199. * LosFormatter.cs: stubbed out.
  2200. * OutputCacheLocation.cs: little fix.
  2201. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  2202. * System.Web.UI/ApplicationFileParser.cs:
  2203. * System.Web.UI/BaseParser.cs:
  2204. * System.Web.UI/PageParser.cs:
  2205. * System.Web.UI/TemplateControl.cs:
  2206. * System.Web.UI/TemplateControlParser.cs:
  2207. * System.Web.UI/TemplateParser.cs: first steps to move xsp into
  2208. System.Web.
  2209. 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
  2210. * Page.cs: request to render postback script can be after form started
  2211. rendering.
  2212. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  2213. * Page.cs: added more page events to invoke automagically if some
  2214. methods are defined.
  2215. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  2216. * Control.cs:
  2217. (SaveViewState): save state even when control is not visible.
  2218. (SaveViewStateRecursive):
  2219. (LoadViewStateRecursive): made internal.
  2220. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  2221. * Page.cs: improved event raising to allow client postback for a wider
  2222. variety of actions (clicking an hyperlink, ...).
  2223. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  2224. * UserControl.cs: implemented Load/SaveViewState.
  2225. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  2226. * AttributeCollection.cs:
  2227. (Add): handle 'style' through styleCollection.
  2228. * CssStyleCollection.cs:
  2229. (fillStyle): renamed to FillStyle and made it internal.
  2230. * Page.cs:
  2231. (GetViewStateString): fixed, broken after other recent changes.
  2232. (ProcessPostData): allow a second try for postback data after OnLoad.
  2233. (ProcessRequest): clear controls collection, removed call to
  2234. UnloadRecursive.
  2235. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  2236. * Control.cs: uncommented Dispose.
  2237. * Page.cs:
  2238. (DeterminePostBackMode): more checkings.
  2239. (GetPostBackClientHyperLink): implemented.
  2240. (GetPostBackEventReference): added some comments with the HTML that MS
  2241. generates for that.
  2242. (ProcessRequest): fixed processing order. The page is unloaded after
  2243. a request and regenerated from view state on subsequents posts.
  2244. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  2245. * Control.cs: fixed related to ViewState. Added RemovedControl.
  2246. * ControlCollection.cs: notify owner of control removal.
  2247. * CssStyleCollection.cs: almost rewritten to make it render the style
  2248. attribute after changes to it.
  2249. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  2250. Removed Xml code.
  2251. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  2252. HybridDictionary: it makes the program give an InvalidCastException at
  2253. runtime. Why?
  2254. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  2255. * Page.cs: fire Init and Load events for all children.
  2256. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  2257. * UserControl.cs: New file.
  2258. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  2259. * ControlBuilderAttribute.cs: finished implementation.
  2260. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  2261. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  2262. property to false.
  2263. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  2264. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  2265. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  2266. Hashtable. Added internal .ctor.
  2267. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  2268. Equals and GetHashCode.
  2269. * System.Web.UI/DataBoundLiteralControl.cs:
  2270. (LoadViewState):
  2271. (SaveViewState): implemented.
  2272. * System.Web.UI/Page.cs: FileDependencies is not public.
  2273. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  2274. (GetHashCode):
  2275. (Equals):
  2276. (IsDefaultAttribute): implemented.
  2277. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  2278. * Control.cs: fixed Visible property.
  2279. * Page.cs: fixed GetViewStateString.
  2280. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  2281. * System.Web.UI/Page.cs:
  2282. (GetViewStateString): new function to give the server access to the
  2283. generated view state string.
  2284. (Validate): d'oh!
  2285. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  2286. * Control.cs:
  2287. (SaveViewstateRecursive): implemented.
  2288. (SaveViewState): fixed.
  2289. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  2290. * Page.cs: added code to save view state to an xml file. It's not
  2291. being used right now.
  2292. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  2293. * System.Web.UI/LiteralControl.cs:
  2294. Fixes based on class status page:
  2295. - Add attributes (DefaultEvent, ParseChildren).
  2296. - Fix declarations.
  2297. - Explicitly implement some interfaces (IPostBackDataHandler
  2298. and IPostBackEventHandler).
  2299. - Implemented some missing methods.
  2300. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  2301. * Control.cs: reimplemented FindControls.
  2302. * Page.cs:
  2303. (.ctor): set the page for this control.
  2304. (IsPostBack): return valid value.
  2305. (DeterminePostBackMode): finished.
  2306. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  2307. (ProcessPostData): implemented. Raises change and postback events.
  2308. (ProcessRequest): changed to support reuse of the instance.
  2309. (RegisterRequiresPostBack): implemented.
  2310. * ValidatorCollection.cs: implemented all methods.
  2311. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  2312. * Control.cs:
  2313. * Page.cs: first attemp to save view state.
  2314. * HtmlForm.cs: don't render Action.
  2315. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  2316. * Page.cs: implemented more properties using information we already
  2317. have in Context.
  2318. (OnFormRender):
  2319. (OnFormPostRender):
  2320. (VerifyRenderingInServerForm): implemented.
  2321. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  2322. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  2323. out runtime. Renamed Page_Init and Page_Load.
  2324. After this, we can load a dll and render HTML in linux.
  2325. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  2326. * Control.cs:
  2327. (AddedControl): new function that is called whenever a control is
  2328. added to a collection of controls in a container. It sets the defaults
  2329. except for Page.
  2330. * ControlCollection.cs: call AddedControl in Add/AddAt.
  2331. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  2332. SetStaticString and SetDataBoundString.
  2333. * Page.cs: removed SetDefaults.
  2334. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  2335. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  2336. by xsp.
  2337. * Control.cs:
  2338. (BindingContainer): implemented.
  2339. (EnsureChildControls): avoid stack overflow.
  2340. * DataBinder.cs: implemented Eval and PropertyValue.
  2341. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  2342. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  2343. bug as in regular attributes).
  2344. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  2345. * Control.cs: implemented PreventAutoID.
  2346. * Page.cs:
  2347. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  2348. been called.
  2349. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  2350. * Page.cs:
  2351. (Validators): if the collection is null, create one.
  2352. (GetPostBackEventReference 2): don't throw exception.
  2353. (GetPostBackClientEvent): return a string with containing the method
  2354. name, the control name and the argument.
  2355. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  2356. * Page.cs: SetPage is now called SetDefaults and also sets a default
  2357. ID for controls that don't have one yet.
  2358. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  2359. * Page.cs:
  2360. (GetPostBackClient):
  2361. (RegisterRequiresPostBack): don't throw NotImplementedException to
  2362. keep going.
  2363. (ProcessRequest): set the current page as the Page property for *all*
  2364. the controls, not just the direct children of the page.
  2365. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  2366. * Control.cs:
  2367. (MapPathSecure): until security is implemented, return the same path
  2368. received as argument.
  2369. (RenderControl): call OnPreRender before rendering the control. So
  2370. AdRotator can read its configuration file.Is there any other place
  2371. where this should be done?
  2372. * HtmlTextWriter.cs:
  2373. (AddAttribute): fixed. Now it really stores attributes.
  2374. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  2375. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  2376. * ControlCollection.cs:
  2377. (AddAt): if index is -1 behave as a plain Add.
  2378. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  2379. * Page.cs: for each child control to render, assign Control.Page.
  2380. Probably also needed in HtmlContainerControl derived classes.
  2381. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  2382. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  2383. fine and takes care of the details.
  2384. * Control.cs: added HasChildren property.
  2385. * StateBag.cs: fixed a couple of nasty bugs.
  2386. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  2387. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  2388. Invoke Page_Init and/or Page_Load if the user supplied them (though
  2389. this should depend on AutoEventWireUp attribute of Page directive).
  2390. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  2391. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  2392. * Page.cs:
  2393. (ProcessRequest): implemented.
  2394. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  2395. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  2396. methods.
  2397. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  2398. * Page.cs:
  2399. (FileDependencies): now is public public.
  2400. (EnableViewStateMAC): uncommented and made protected.
  2401. (GetTypeHashCode): added method.
  2402. 2002-05-24 Duncan Mak <[email protected]>
  2403. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  2404. * StateBag.cs (Item): Changed the visibility level of the this
  2405. [object] indexer.
  2406. Misc. formatting edits, fixing some bugs introduced by the indentation.
  2407. * DataBinder.cs (Eval)
  2408. (GetIndexedPropertyValue)
  2409. (GetPropertyValue): Fixed return types.
  2410. 2002-05-21 Miguel de Icaza <[email protected]>
  2411. * HtmlTextWriter.cs: Use this to change the member instances.
  2412. 2002-05-17 Duncan Mak <[email protected]>
  2413. * AttributeCollection.cs:
  2414. * ControlCollection.cs:
  2415. * CssStyleCollection.cs:
  2416. * DataBindingCollection.cs:
  2417. * EmptyControlCollection.cs: Added missing Collection classes.
  2418. 2002-05-17 Duncan Mak <[email protected]>
  2419. * BaseParser.cs:
  2420. * TemplateParser.cs: Implemented. BaseParser is weird because
  2421. there is no documentation on what it does.
  2422. * ControlBuilder.cs:
  2423. * DataBinder.cs:
  2424. * DataBinding.cs: Added.
  2425. * DataBoundLiteralControl.cs:
  2426. * Triplet.cs: Added.
  2427. * RenderMethod.cs: Added this delegate for Control.cs
  2428. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  2429. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  2430. 2002-05-14 Duncan Mak <[email protected]>
  2431. * ValidationPropertyAttribute.cs: Added to CVS.
  2432. 2002-05-10 Duncan Mak <[email protected]>
  2433. * ConstructorNeedsTagAttribute.cs:
  2434. * ControlBuilderAttribute.cs:
  2435. * ImageClickEventArgs.cs:
  2436. * ParseChildrenAttribute.cs:
  2437. * PartialCachingAttribute.cs:
  2438. * PersistChildrenAttribute.cs:
  2439. * PersistenceModeAttribute.cs:
  2440. * TemplateContainerAttribute.cs: Added to CVS.
  2441. * PersistanceMode.cs: Removed, fixed typo.
  2442. * PersistenceMode.cs: Replacing above.
  2443. * StateBag.cs (this): Fixed indexer, it takes a string as the
  2444. index, not an object.
  2445. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  2446. * Page.cs (Validators): return type should be ValidatorCollection,
  2447. not ValidatedCollection.
  2448. * TagPrefixAttribute.cs: Added to CVS.
  2449. 2002-05-07 Duncan Mak <[email protected]>
  2450. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  2451. 2002-03-26 Gaurav Vaish <[email protected]>
  2452. * DataBindingHandlerAttribute.cs
  2453. - Completed
  2454. * ToolboxDataAttribute.cs - Completed
  2455. 2002-01-03 Nick Drochak <[email protected]>
  2456. * DesignTimeParseData.cs: initialze static member to avoid compile
  2457. error
  2458. * PropertyConverter.cs: remove uneeded exception variables from
  2459. catch blocks.
  2460. 2002-01-02 Nick Drochak <[email protected]>
  2461. * DesignTimeParseData.cs: fix header to show correct class name
  2462. 2001-12-21 Gaurav Vaish <[email protected]>
  2463. * StateBag.cs - Completed
  2464. 2001-12-19 Gaurav Vaish <[email protected]>
  2465. * Pair.cs - Small undocumented class. Completed.
  2466. 2001-12-18 Gaurav Vaish <[email protected]>
  2467. * DesignTimeParseData.cs - Initial implementation
  2468. * StateBag.cs - Initial implementation
  2469. 2001-12-17 Gaurav Vaish <[email protected]>
  2470. * PropertyConverter.cs - Undocumented class. Completed.
  2471. * Utils.cs - Undocumented, private class.
  2472. Initial implementation
  2473. 2001-08-28 Bob Smith <[email protected]>
  2474. * Control.cs: Figured out some undocumented API.
  2475. * Added TODO.
  2476. * BuildMethod.cs: Initial implementation.
  2477. * BuildTemplateMethod.cs: Initial implementation.
  2478. * HtmlTextWriterAttribute.cs: Initial implementation.
  2479. * HtmlTextWriterStyle.cs: Initial implementation.
  2480. * HtmlTextWriterTag.cs: Initial implementation.
  2481. * IAttributeAccessor.cs: Initial implementation.
  2482. * IDataBindingsAccessor.cs: Initial implementation.
  2483. * ImageClickEventHandler.cs: Initial implementation.
  2484. * INamingContainer.cs: Initial implementation.
  2485. * IParserAccessor.cs: Initial implementation.
  2486. * IPostBackDataHandler.cs: Initial implementation.
  2487. * IPostBackEventHandler.cs: Initial implementation.
  2488. * IStateManager.cs: Initial implementation.
  2489. * ITagNameToTypeMapper.cs: Initial implementation.
  2490. * ITemplate.cs: Initial implementation.
  2491. * IValidator.cs: Initial implementation.
  2492. * OutputCacheLocation.cs: Initial implementation.
  2493. * PersistanceMode.cs: Initial implementation.
  2494. * StateItem.cs: Initial implementation.
  2495. 2001-08-27 Bob Smith <[email protected]>
  2496. * Control.cs: Bug fixes and implementations.
  2497. 2001-08-24 Bob Smith <[email protected]>
  2498. * Control.cs: Bug fixes.
  2499. 2001-08-23 Bob Smith <[email protected]>
  2500. * Control.cs: More implementation. Events reworked for performance.
  2501. 2001-08-22 Bob Smith <[email protected]>
  2502. * LiteralControl.cs: Implemented.
  2503. * Control.cs: Even more implementation (Events). What a beast.
  2504. 2001-08-20 Bob Smith <[email protected]>
  2505. * Control.cs: More implementation. Not done yet. Shutter.
  2506. 2001-08-17 Bob Smith <[email protected]>
  2507. * Control.cs: Partial implementation.