ChangeLog 92 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848
  1. 2006-01-22 Chris Toshok <[email protected]>
  2. * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
  3. quiet mcs.
  4. * PageParser.cs (ProcessMainAttributes): i missed a
  5. CONFIGURATION_2_0 block.
  6. * BoundPropertyEntry.cs (.ctor): mark as internal to fix
  7. corcompare.
  8. 2006-01-18 Konstantin Triger <[email protected]>
  9. * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
  10. 2006-01-18 Konstantin Triger <[email protected]>
  11. * HtmlTextWriter.cs: perform case insensitive compare;
  12. return correct key in default case.
  13. 2006-01-11 Chris Toshok <[email protected]>
  14. * ClientScriptManager.cs (RegisterClientScriptResource):
  15. implement.
  16. 2006-01-11 Vladimir Krasnov <[email protected]>
  17. * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
  18. TypeFormatter.Read
  19. 2006-01-10 Chris Toshok <[email protected]>
  20. * Page.cs (ValidateCollection): in NET_2_0 if event validation is
  21. off, return true.
  22. 2006-01-09 Chris Toshok <[email protected]>
  23. * Page.cs: fix a lot of indentation, and add the
  24. EnableEventValidation .net 2.0 property.
  25. 2006-01-09 Vladimir Krasnov <[email protected]>
  26. * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
  27. TypeFormatter.Read, TypeFormatter.Write from /main/5
  28. 2006-01-09 Konstantin Triger <[email protected]>
  29. * Page.cs: make ProcessRequest virtual under TARGET_JVM.
  30. 2006-01-04 Chris Toshok <[email protected]>
  31. * TemplateParser.cs (.ctor): kinda gross, but handle the
  32. AddAssembliesInBin case here.
  33. * SimpleWebHandlerParser.cs (.ctor): same.
  34. 2006-01-04 Chris Toshok <[email protected]>
  35. * SimpleWebHandlerParser.cs: Remove the declaration of
  36. compilationConfig in the CONFIGURATION_2_0 case. it's
  37. unnecessary.
  38. (.ctor): ifdef out the AddAssembliesInBin call in the
  39. CONFIGURATION_2_0 case. need to revisit this.
  40. (CompilationConfig): add a CONFIGURATION_2_0 version.
  41. * BaseParser.cs: Remove the declaration of compilationConfig in
  42. the CONFIGURATION_2_0 case. it's unnecessary.
  43. 2005-12-08 Gonzalo Paniagua Javier <[email protected]>
  44. * Control.cs: use _controls instead of the property wherever possible.
  45. 2005-12-05 Gonzalo Paniagua Javier <[email protected]>
  46. * Control.cs: use the _controls field instead of the Controls property.
  47. Fixes bug #76919.
  48. 2005-11-30 Sebastien Pouliot <[email protected]>
  49. * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
  50. Now internal.
  51. * KeyedListEnumerator.cs: Now internal.
  52. 2005-11-29 Gonzalo Paniagua Javier <[email protected]>
  53. * ControlCollection.cs: allow 'null' in Remove.
  54. 2005-11-28 Chris Toshok <[email protected]>
  55. * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
  56. * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
  57. (PagesConfig): add a CONFIGURATION_2_0 version that returns a
  58. PagesSection.
  59. * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
  60. * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
  61. version that returns a CompilationSection.
  62. 2005-11-22 Gonzalo Paniagua Javier <[email protected]>
  63. * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
  64. 2005-11-09 Chris Toshok <[email protected]>
  65. * ViewStateEncryptionMode.cs: new 2.0 enum.
  66. 2005-11-08 Gonzalo Paniagua Javier <[email protected]>
  67. * TemplateParser.cs: fixes #76423. Not tested properly.
  68. 2005-11-07 Gonzalo Paniagua Javier <[email protected]>
  69. * Page.cs: call LoadViewStateRecursive when the Form collection has
  70. not been used by a different page (GetTypeHashCode). This fixes problems
  71. when calling Server.Transfer while preserving Form and QueryString,
  72. as the page we transfer to used the view state stored in the Form, which
  73. contained the serialized data for the page calling Server.Transfer
  74. instead.
  75. 2005-10-31 Gonzalo Paniagua Javier <[email protected]>
  76. * Page.cs: add/remove the error before/after invoking OnError.
  77. 2005-10-27 Gonzalo Paniagua Javier <[email protected]>
  78. * Page.cs: call OnError when there's an exception (not for TAE). Fixes
  79. bug #76572.
  80. 2005-10-25 Gonzalo Paniagua Javier <[email protected]>
  81. * TemplateControl.cs:
  82. * PartialCachingControl.cs: if a control is cacheable, LoadControl
  83. returns a PartialCachingControl that holds the VaryBy* and takes care
  84. of partial caching and rendering. Fixes bug #76547.
  85. 2005-10-17 Gonzalo Paniagua Javier <[email protected]>
  86. * Page.cs: don't cache the 'Validate()' results. IsValid retests
  87. the validators again.
  88. 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
  89. * DesignerDataBoundLiteralControl.cs: changed autoid api.
  90. * DataBoundLiteralControl.cs: changed autoid api.
  91. * Control.cs: fixlet for UniqueID and weird test case. Removed
  92. PreventAutoID and only use the property to set that value.
  93. * LiteralControl.cs: changed autoid api.
  94. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  95. * AttributeCollection.cs: avoid code duplication and
  96. don't add "style" to the bag, or it will overwrite the settings made
  97. by CssStyleCollection.
  98. * CssStyleCollection.cs: make it throw where MS throws.
  99. Minimize the number of times we create the "style" string and take
  100. care of updating it for the AttributeCollection. FillStyle and
  101. BagToString are now private. One should use the 2.0 (internal in <2.0)
  102. Value property.
  103. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  104. * Control.cs: fix HasChildViewStates.
  105. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  106. * LosFormatter.cs: when the default ctor is used, MAC is disabled.
  107. Fixes bug #76240.
  108. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  109. * ObjectTagBuilder.cs: only fail when no id and no attributes.
  110. 2005-09-23 Sebastien Pouliot <[email protected]>
  111. * DataBindingCollection.cs: Using an hashtable is a nice trick but
  112. we need to copy values (not the DictionaryEntry) in CopyTo.
  113. * Page.cs: IsValid throws an exception if the page hasn't be
  114. validated. VerifyRenderingInServerForm doesn't throw an exception
  115. during unit testing (without a context?) but does in normal ops.
  116. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  117. * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
  118. save the allocation of new MemoryStreams when possible. Thanks to
  119. Sebastien again.
  120. 2005-09-23 Ben Maurer <[email protected]>
  121. * HtmlTextWriter.cs: Initial support for escaping.
  122. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  123. * ViewStateOutputHashStream.cs: Removed. It didn't last long.
  124. * Page.cs: almost restored to its previous state, but now that we found
  125. that LosFormatter ctor that takes 'enableMac', moved the logic to
  126. add the hash and validate there. Thanks to Sebastien for his input.
  127. * LosFormatter.cs: implemented the missing ctors and support for
  128. "MAC" validation of the data.
  129. 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
  130. * Page.cs:
  131. * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
  132. prevents the viewstate being altered on the client and it's disabled
  133. by default as per the documentation, but MS machine.config has it
  134. enabled in machine.config.
  135. 2005-09-22 Miguel de Icaza <[email protected]>
  136. * DataBindingCollection.cs: Raise the event, remove MonoTODO.
  137. * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
  138. string.
  139. 2005-09-21 Sebastien Pouliot <[email protected]>
  140. * Control.cs: Added null checks for Trace as it can be null when
  141. rendering (like it was for 39 unit tests).
  142. 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
  143. * Page.cs: reverted hacks used with the wrong method of getting a
  144. control rendered size.
  145. * Control.cs: if the trace is enabled, save control rendered size.
  146. 2005-09-19 Sebastien Pouliot <[email protected]>
  147. * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
  148. now use HtmlHeader directly.
  149. * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
  150. rewrote Equals to avoid dual type cast.
  151. 2005-09-19 Sebastien Pouliot <[email protected]>
  152. * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
  153. 2005-09-19 Sebastien Pouliot <[email protected]>
  154. * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
  155. * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
  156. with Minimal level. Fixed checks on ctor.
  157. * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
  158. AspNetHostingPermission with Minimal level.
  159. * TemplateContainerAttribute.cs: Added LinkDemand for
  160. AspNetHostingPermission with Minimal level.
  161. * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
  162. AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
  163. Stubbed IFilterResolutionService for CAS testing.
  164. * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
  165. AspNetHostingPermission with Minimal level.
  166. * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
  167. AspNetHostingPermission with Minimal level.
  168. * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
  169. with Minimal level. Removed IDispose interface.
  170. * ToolboxDataAttribute.cs: Added LinkDemand for
  171. AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
  172. to work on both 1.x and 2.0 profiles.
  173. * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
  174. for AspNetHostingPermission with Minimal level.
  175. * UserControl.cs: Added LinkDemand and InheritanceDemand for
  176. AspNetHostingPermission with Minimal level. Stubbed
  177. IFilterResolutionService for CAS testing.
  178. * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
  179. for AspNetHostingPermission with Minimal level.
  180. * ValidationPropertyAttribute.cs: Added LinkDemand for
  181. AspNetHostingPermission with Minimal level.
  182. * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
  183. with Minimal level.
  184. * WebResourceAttribute.cs: Removed extra ctor and added setter to
  185. PerformSubstitution.
  186. * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
  187. AspNetHostingPermission with Minimal level.
  188. 2005-09-15 Sebastien Pouliot <[email protected]>
  189. * ParseChildrenAttribute.cs: Added LinkDemand for
  190. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  191. casting. Added new ctor and public fields (2.0). Changed
  192. ChildControlType setter visibility to internal.
  193. * PartialCachingAttribute.cs: Added LinkDemand for
  194. AspNetHostingPermission with Minimal level. Added new ctor and
  195. SqlDependency property (2.0).
  196. * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
  197. AspNetHostingPermission with Minimal level.
  198. * PersistenceModeAttribute.cs: Added LinkDemand for
  199. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  200. casting.
  201. * PersistChildrenAttribute.cs: Added LinkDemand for
  202. AspNetHostingPermission with Minimal level. Simplified Equals to avoid
  203. casting.
  204. * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
  205. with Minimal level. Class is static in 2.0.
  206. * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
  207. AspNetHostingPermission with Minimal level. Class is no more sealed in
  208. 2.0. Added new (2.0) BuiltObjects property.
  209. * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
  210. for AspNetHostingPermission with Minimal level.
  211. * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
  212. Minimal level.
  213. * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
  214. Minimal level. Removed SetDirty() which was called (2.0) but did
  215. nothing.
  216. * StaticPartialCachingControl.cs: Added LinkDemand and
  217. InheritanceDemand for AspNetHostingPermission with Minimal level.
  218. 2005-09-15 Sebastien Pouliot <[email protected]>
  219. * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
  220. AspNetHostingPermission with Minimal level. Added new 2.0 properties
  221. (but the generated HTML doesn't use them).
  222. * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
  223. AspNetHostingPermission with Minimal level.
  224. * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
  225. with Minimal level.
  226. * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
  227. AspNetHostingPermission with Minimal level. Default Text is null.
  228. * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
  229. AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
  230. * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
  231. AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
  232. * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
  233. with Minimal level. Added check for null id (HttpException).
  234. * Page.cs: Added LinkDemand and InheritanceDemand for
  235. AspNetHostingPermission with Minimal level. Throw some HttpException
  236. when no context is available.
  237. * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
  238. level. InheritanceDemand too for 1.x.
  239. * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
  240. Minimal level.
  241. 2005-09-14 Sebastien Pouliot <[email protected]>
  242. * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
  243. Minimal level. Fixed some exceptions.
  244. * DataBindingCollection.cs: Added LinkDemand for
  245. AspNetHostingPermission with Minimal level. Added 2.0 method and
  246. event.
  247. * DataBindingHandlerAttribute.cs: Added LinkDemand for
  248. AspNetHostingPermission with Minimal level.
  249. * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
  250. Minimal level. Simplified Equals (reduced casts).
  251. * DataBoundLiteralControl.cs: Added LinkDemand for
  252. AspNetHostingPermission with Minimal level. Implemented ITextControl
  253. for 2.0.
  254. * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
  255. AspNetHostingPermission with Minimal level.
  256. * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
  257. with Minimal level. Added new 2.0 properties.
  258. * DesignTimeTemplateParser.cs: Added LinkDemand for
  259. AspNetHostingPermission with Minimal level. Made class static and
  260. stubbed missing methods (2.0).
  261. * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
  262. for AspNetHostingPermission with Minimal level. Changed Add* methods
  263. exceptions to HttpException.
  264. 2005-09-14 Sebastien Pouliot <[email protected]>
  265. * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
  266. with Minimal level.
  267. * BaseParser.cs: Added LinkDemand and InheritanceDemand for
  268. AspNetHostingPermission with Minimal level.
  269. * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
  270. for AspNetHostingPermission with Minimal level.
  271. * CompiledTemplateBuilder.cs: Added LinkDemand for
  272. AspNetHostingPermission with Minimal level.
  273. * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
  274. AspNetHostingPermission with Minimal level.
  275. * ControlBuilderAttribute.cs: Added LinkDemand for
  276. AspNetHostingPermission with Minimal level. Simplified Equals and
  277. IsDefaultAttribute.
  278. * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
  279. AspNetHostingPermission with Minimal level.
  280. * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
  281. * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
  282. AspNetHostingPermission with Minimal level. Fixed possible stack
  283. overflow in Add* methods. Fixed CopyTo as we're not allocating the
  284. array based on the number of items.
  285. * Control.cs: Added LinkDemand and InheritanceDemand for
  286. AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
  287. * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
  288. with Minimal level.
  289. * IStyleSheet.cs: Fixed parameter orders (2.0).
  290. 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
  291. * TemplateParser.cs: default VS 2005 pages are compiled fine now.
  292. 2005-09-07 Chris Toshok <[email protected]>
  293. * MinimizableAttributeTypeConverter.cs: new class, whose existence
  294. we know about because of corcompare, and for whose implementation
  295. we have exclusively nunit to thank.
  296. 2005-09-06 Chris Toshok <[email protected]>
  297. * RootBuilder.cs (.cctor): doh, add all the new html controls
  298. here.
  299. 2005-08-31 Chris Toshok <[email protected]>
  300. * DataSourceSelectArguments.cs (Empty): this is apparently,
  301. according to corcompare, a property, not a field. go figure.
  302. (Equals): implement.
  303. (IsEmpty): remove all mention of it.
  304. 2005-08-29 Chris Toshok <[email protected]>
  305. * StateBag.cs (GetChar): add.
  306. 2005-08-28 Chris Toshok <[email protected]>
  307. * Page.cs: more random corcompare work.
  308. (PageAdapter): implement.
  309. 2005-08-28 Chris Toshok <[email protected]>
  310. * Page.cs (.ctor): set our initial ID to "__Page".
  311. (SmartNavigation): obsolete in 2.0.
  312. (FindControl): new implementation. Just check our own ID against
  313. the control we're looking for. otherwise pass it along to
  314. base.FindControl.
  315. (GetPostBackClientHyperlink): obsolete in 2.0.
  316. 2005-08-28 Chris Toshok <[email protected]>
  317. * ClientScriptManager.cs: public sealed in 2.0
  318. * IAdaptableTextWriter.cs: new 2.0 interface.
  319. * IHierarchyData.cs: fix return type for GetParent.
  320. 2005-08-28 Chris Toshok <[email protected]>
  321. * Pair.cs: mark serializable and sealed in 2.0.
  322. 2005-08-26 Sebastien Pouliot <[email protected]>
  323. * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
  324. existing (but internal) FillStyle method. Rewrote BagToString to use an
  325. HtmlTextWriter so we get the "right" format for background-image url.
  326. 2005-08-26 Sebastien Pouliot <[email protected]>
  327. * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
  328. Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
  329. the extra space from last patch because they break some unit tests.
  330. 2005-08-26 Lluis Sanchez Gual <[email protected]>
  331. * CssStyleCollection.cs: Added some spacing.
  332. * HtmlTextWriter.cs: Made style and attribute tables static.
  333. Implemented StaticGetStyleName().
  334. 2005-08-26 Sebastien Pouliot <[email protected]>
  335. * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
  336. compilation.
  337. * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
  338. The new rendering formats the value as "url(" + original + ")".
  339. 2005-08-26 Sebastien Pouliot <[email protected]>
  340. * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
  341. depends on the HtmlTextWriterStyle ordering).
  342. 2005-08-26 Gonzalo Paniagua Javier <[email protected]>
  343. * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
  344. 2005-08-25 Sebastien Pouliot <[email protected]>
  345. * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
  346. fixed the rest of the enum values).
  347. * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
  348. parameter to match 2.0 API. Added a setter to the AllowedTypes
  349. property.
  350. 2005-08-24 Chris Toshok <[email protected]>
  351. * Control.cs (get_Adapter): Instead of throwing an exception, just
  352. return null, so we can write the rest of the Control specific
  353. Adapter code and just not enable any of those code paths until we
  354. have actual adapters. Also flag TODO.
  355. (EnsureChildControls): Call out to Adapter.CreateChildControls if
  356. we have an adapter.
  357. (RenderChildren): call "RenderControl (writer, adapter)" if we
  358. have an adapter.
  359. (RenderControl): implement the adapter case naively.
  360. (LoadRecursive): call out to Adapter.OnLoad if we have one.
  361. (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
  362. we have one.
  363. (InitRecursive): call out to Adapter.OnInit if we have one.
  364. 2005-08-24 Chris Toshok <[email protected]>
  365. * Page.cs (GetPostBackEventReference): track change to
  366. ClientScriptManager and don't call a removed method.
  367. * ClientScriptManager.cs: track more recent docs and corcompare
  368. output.
  369. 2005-08-24 Sebastien Pouliot <[email protected]>
  370. * KeyedList.cs: Fixed bug when removing an unexisting object.
  371. * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
  372. in implementing RoleGroupCollection.
  373. 2005-08-22 Sebastien Pouliot <[email protected]>
  374. * Page.cs: Use Control property (and not the _control variable) to get
  375. the User (so the virtual Control property can be overriden properly).
  376. Sadly this doesn't seems to be the case for other properties (like
  377. Request).
  378. 2005-08-18 Dick Porter <[email protected]>
  379. * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
  380. UserControl.cs, DesignerDataBoundLiteralControl.cs,
  381. PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
  382. BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
  383. stubs and attribute fixes
  384. 2005-08-13 Sebastien Pouliot <[email protected]>
  385. * Control.cs: Add protected virtual SetDesignModeState, in 2.0
  386. profile, as this is required for the Login control.
  387. 2005-08-11 Dick Porter <[email protected]>
  388. * CssStyleCollection.cs: Tweak the css string format to pass a
  389. unit test
  390. * AttributeCollection.cs: Don't NRE if someone sets the "style"
  391. attribute to null.
  392. 2005-08-05 Ben Maurer <[email protected]>
  393. * HtmlTextWriter.cs: Revert the patch below, see test case
  394. 2005-08-05 Dick Porter <[email protected]>
  395. * HtmlTextWriter.cs: Make <option> tags render inline, to match
  396. the ms output
  397. 2005-08-03 Ben Maurer <[email protected]>
  398. * HtmlTextWriter.cs: Optmize this not to do insane amounts of
  399. allocation for large pages, etc.
  400. 2005-07-30 Chris Toshok <[email protected]>
  401. * Page.cs (VerifyRenderingInServerForm): copy MS's error message
  402. since our form-errors jsunit tests depend on it.
  403. 2005-07-30 Chris Toshok <[email protected]>
  404. * DataBinder.cs (FormatResult): make internal, not private.
  405. 2005-07-29 Ben Maurer <[email protected]>
  406. * StateBag.cs: Don't remove when tracking viewstate, as per msft
  407. docs.
  408. 2005-07-29 Ben Maurer <[email protected]>
  409. * StateBag.cs: Actually *remove* items that are null. Duh.
  410. 2005-07-21 Peter Dennis Bartok <[email protected]>
  411. * Page.cs: Need to throw exception when accessing Request but no
  412. context exists
  413. 2005-07-20 Chris Toshok <[email protected]>
  414. * ClientScriptManager.cs (GetClientValidationEvent): the JS we
  415. stick in onclick handlers for buttons/links/etc.
  416. * Page.cs (GetSubmitStatements): new function to return
  417. scriptManager.WriteSubmitStatements. Used by HtmlForm.
  418. (AreValidatorsUplevel): used by many of the button/linkbutton
  419. controls (the ones that can CauseValidation) to tell whether or
  420. not to emit client side validation calls.
  421. 2005-07-20 Chris Toshok <[email protected]>
  422. * WebResourceAttribute.cs: make internal (and available) in
  423. !NET_2_0.
  424. 2005-07-20 Chris Toshok <[email protected]>
  425. * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
  426. available) in !NET_2_0.
  427. 2005-07-18 Peter Dennis Bartok <[email protected]>
  428. * Control.cs: Added IDataBindingsAccessor interface methods
  429. 2005-07-18 Ben Maurer <[email protected]>
  430. * HtmlTextWriter.cs: Fix nested indentation
  431. 2005-07-18 Peter Dennis Bartok <[email protected]>
  432. * Control.cs: Added missing IParserAccessor.AddParsedSubObject
  433. interface method
  434. 2005-07-18 Ben Maurer <[email protected]>
  435. * HtmlTextWriter.cs: Fix indentation (somewhat at least)
  436. 2005-07-18 Peter Dennis Bartok <[email protected]>
  437. * Control.cs:
  438. - Default name for controls on MS.Net is "_ctl" not "_ctrl"
  439. - MS does not append 'a' for auto-generated names
  440. 2005-07-17 Ben Maurer <[email protected]>
  441. * AttributeCollection.cs: Use the invariant culture.
  442. * StateBag.cs: "Duh" optimization: return null when there are no
  443. dirty items in the view state
  444. 2005-07-14 Ben Maurer <[email protected]>
  445. * StateBag.cs: A "short" version of my favorite method.
  446. * HtmlTextWriter.cs: New method to get the tag name staticly.
  447. 2005-07-14 Duncan Mak <[email protected]>
  448. * DataBindingHandlerAttribute.cs: Fixed after receiving some
  449. comments from Gonzalo.
  450. 2005-07-13 Jackson Harper <[email protected]>
  451. * PropertyConverter.cs: No public constructors.
  452. 2005-07-13 Ben Maurer <[email protected]>
  453. * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
  454. 2005-07-12 Ben Maurer <[email protected]>
  455. * HtmlTextWriter.cs: Make styles work.
  456. 2005-07-11 Peter Dennis Bartok <[email protected]>
  457. * AttributeCollection.cs:
  458. - Changes to match MS behaviour, the "style" attribute is always
  459. added to the list, in addition to being added to the
  460. CssStyleCollection. Also added check for "style" attribute when
  461. setting via index setter
  462. - When "Style" attribute is added, CssStyleCollection is
  463. automatically created
  464. - The style keyword needs to be lowercase
  465. 2005-07-11 Ben Maurer <[email protected]>
  466. * HtmlTextWriter.cs: Missing a PopEndTag here.
  467. * PropertyConverter.cs: Pass tests
  468. 2005-07-09 Miguel de Icaza <[email protected]>
  469. * DataBindingHandlerAttribute.cs: Create the "Default" property.
  470. 2005-07-09 Duncan Mak <[email protected]>
  471. * DataBindingHandlerAttribute.cs: Implemented.
  472. 2005-07-08 Ben Maurer <[email protected]>
  473. * HtmlTextWriter.cs: Much better compliance with msft
  474. 2005-07-08 Jackson Harper <[email protected]>
  475. * ToolbarDataAttribute.cs: New implementation.
  476. 2005-07-07 Jackson Harper <[email protected]>
  477. * PropertyConverter.cs: New implementation.
  478. 2005-07-07 Ben Maurer <[email protected]>
  479. * StateBag.cs: Noticed an issue where SetDirty was called when the
  480. key did not exist.
  481. 2005-07-07 Ben Maurer <[email protected]>
  482. * StateBag.cs: Add a method that gets a string or else a default
  483. value.
  484. 2005-07-07 Dick Porter <[email protected]>
  485. * StateBag.cs: Added internal SetDirty (void) method to fix the
  486. build
  487. 2005-07-07 Sebastien Pouliot <[email protected]>
  488. * HtmlTextWriter.cs: Small fixlet when attribute has no value.
  489. 2005-07-07 Miguel de Icaza <[email protected]>
  490. * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
  491. tests.
  492. * StateBag.cs: Add NET_2_0 SetDirty method to get the build
  493. going.
  494. 2005-07-07 Sebastien Pouliot <[email protected]>
  495. * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
  496. 2005-07-06 Ben Maurer <[email protected]>
  497. * HtmlTextWriter.cs: Make sure to clear attributes when they are
  498. written.
  499. * StateBag.cs: New impl
  500. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  501. * Page.cs:
  502. * Control.cs: avoid the creation of the EventHandlerList and accessing
  503. to it whenever possible. Fix ENABLE_THEMING constant.
  504. 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
  505. * TemplateParser.cs:
  506. * TemplateControlParser.cs:
  507. * UserControlParser.cs: detect circular references when a control tries
  508. to register itself as a tag. Fixes bug #75376.
  509. 2005-06-14 Gonzalo Paniagua Javier <[email protected]>
  510. * PageParser.cs: don't try to compile the master page if it wan't
  511. provided. Use MapPath from the base classes instead of the long
  512. version. Fixes bug #75269 that prevented xsp2 from working properly.
  513. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  514. * MasterPage.cs: Clear the default content of placeholders before
  515. adding the page content. Fixes bug #75193.
  516. 2005-06-13 Lluis Sanchez Gual <[email protected]>
  517. * PageParser.cs: Added MasterType property. Get the type from the
  518. MasterType directive.
  519. * MasterPageParser.cs: Added GetCompiledMasterType method.
  520. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  521. * UserControl.cs:
  522. * Page.cs:
  523. * Control.cs: updates for 1.1 SP1
  524. 2005-06-06 Lluis Sanchez Gual <[email protected]>
  525. * Control.cs: Added new DataBind() overload for 2.0. The old
  526. method calls this new overload.
  527. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  528. * TemplateParser.cs: ignore empty assembly.Location for in-memory
  529. generated assemblies.
  530. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  531. * Page.cs: added AddContentTemplate method.
  532. 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
  533. * AttributeCollection.cs: html-encode attribute values. Fixes
  534. bug #73771.
  535. 2005-05-26 Lluis Sanchez Gual <[email protected]>
  536. * DataSourceView.cs: Fix api.
  537. * NonVisualControlAttribute.cs: Implemented.
  538. * IDataItemContainer.cs: Added missing properties.
  539. * Control.cs: Added new EnableTheming and SkinID properties.
  540. * HierarchicalDataSourceControl.cs: Implemented missing methods.
  541. 2005-05-13 Lluis Sanchez Gual <[email protected]>
  542. * ControlCollection.cs: Added internal setter for ReadOnly.
  543. 2005-05-09 Geoff Norotn <[email protected]>
  544. * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
  545. uses instead of codebehind.
  546. 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
  547. * Page.cs: as setting CurrentCulture is slow, don't set it if the
  548. culture has not changed since before the page started processing.
  549. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  550. * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
  551. not found.
  552. 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
  553. * TemplateParser.cs:
  554. * SimpleWebHandlerParser.cs: removed values assigned and neved used.
  555. 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
  556. * SimpleWebHandlerParser.cs:
  557. * TemplateParser.cs: always get the location (full path) for assemblies,
  558. even the ones from the GAC.
  559. * BaseCompiler.cs: check that DynamicBase directory exists before
  560. creating the TempFileCollection.
  561. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  562. * ClientScriptManager.cs: Use a linked list instead of a Hashtable
  563. to store the scripts. In this way, scripts will be rendered in the
  564. same order as they have been registered. It shouldn't be slower
  565. since pages don't have many scripts.
  566. 2005-04-21 Lluis Sanchez Gual <[email protected]>
  567. * IEditableTextControl.cs: Implemented.
  568. * DataBinder.cs: Marked constructor as obsolete in 2.0.
  569. In GetDataItem, check for the IDataItemContainer interface
  570. in the container.
  571. * TemplateControl.cs: Improved check for data item.
  572. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  573. * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
  574. * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
  575. for second postback.
  576. 2005-04-20 Rafael Teixeira <[email protected]>
  577. * TemplateParser.cs: Adding support for Strict/Explicit attributes
  578. for @Page/@Control directives as documented at
  579. http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
  580. First step don't choke on them. Fixing #74671
  581. 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
  582. * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
  583. there from the time when Load wasn't working properly. First part of the
  584. fix to 74500.
  585. 2005-04-15 Lluis Sanchez Gual <[email protected]>
  586. * ControlBuilder.cs: The BindingContainerType property happens
  587. to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
  588. which is used to get the binding container that is managing
  589. the current two-way binding context.
  590. * TemplateBuilder.cs: Added some methods and an internal class
  591. to support two-way bindings.
  592. * CompiledBindableTemplateBuilder.cs: Implemented.
  593. * IBindableTemplate.cs: This interface inherits from ITemplate.
  594. 2005-04-14 Lluis Sanchez Gual <[email protected]>
  595. * ControlBuilder.cs: Added BindingContainerType property,
  596. which works like NamingContainerType but takes into account
  597. template builders with a specific container type (specified
  598. using the TemplateContainerAttribute.
  599. * StateManagedCollection.cs: Reimplemented Save/Load view
  600. state methods. The existing implementation was not correct
  601. in all cases.
  602. 2005-04-08 Lluis Sanchez Gual <[email protected]>
  603. * DataSourceView.cs: Added null check.
  604. 2005-04-07 Lluis Sanchez Gual <[email protected]>
  605. * TemplateControl.cs:
  606. * Page.cs: Moved Eval and XPath from Page
  607. to TemplateControl.
  608. * StateManagedCollection.cs: Avoid saving null state.
  609. 2005-04-01 Lluis Sanchez Gual <[email protected]>
  610. * DataSourceView.cs: Rethrow exceptions not handled by operation
  611. callbacks.
  612. * ITextControl.cs: Removed event.
  613. * CollectionBuilder.cs: Don't crash when a collection has more
  614. than one indexer.
  615. 2005-03-23 Lluis Sanchez Gual <[email protected]>
  616. * Control.cs: Added a new internal property: HasRenderMethodDelegate.
  617. * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
  618. * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
  619. 2005-03-16 Lluis Sanchez Gual <[email protected]>
  620. * ClientScriptManager.cs: Fix build.
  621. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  622. * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
  623. since it is deprecated in 2.0.
  624. * Page.cs: Deprecated GetPostBackClientEvent and similar methods
  625. in 2.0. Moved callback management methods to ClientScriptManager.
  626. * ClientScriptManager.cs: Moved here deprecated methods from Page.
  627. In GetPostBackEventReference (PostBackOptions), don't use the
  628. WebForm_DoPostback script if the post can be done with a simple
  629. __doPostBack call.
  630. * PostBackOptions.cs: Fixed default values for some properties.
  631. 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
  632. * Control.cs: in FindControl, throw if there's more than one control
  633. with the same ID. Fixes bug #73479.
  634. 2005-03-04 Lluis Sanchez Gual <[email protected]>
  635. * Page.cs: Load control state before loading view state, and the
  636. same for saving.
  637. * DataSourceSelectArguments.cs: Fix recursive property call.
  638. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  639. * DataSourceView.cs: Fixed incorrect implementation of
  640. RaiseUnsupportedCapabilityError.
  641. * IDataItemContainer.cs: Added new properties.
  642. * Page.cs: Implemented Form property.
  643. * Control.cs: Fixed formatting.
  644. * StateManagedCollection.cs: Track view state of items loaded
  645. in LoadViewState.
  646. 2005-02-22 Lluis Sanchez Gual <[email protected]>
  647. * FilterableAttribute.cs: Fix endless loop.
  648. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  649. * Page.cs: Implemented missing events.
  650. 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
  651. * BoundPropertyEntry.cs:
  652. * PropertyEntry.cs:
  653. * TwoWayBoundPropertyEntry.cs: implemented.
  654. 2005-02-10 Lluis Sanchez Gual <[email protected]>
  655. * Page.cs: Added support for validation groups. Some fixes in
  656. SavePageControlState().
  657. * IFilterResolutionService.cs: Removed extra field.
  658. * INavigateUIData.cs: Added missing field.
  659. * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
  660. Implemented new interfaces.
  661. 2005-02-04 Lluis Sanchez Gual <[email protected]>
  662. * Page.cs: Implemented support for cross page postback. Implemented
  663. support for postback with options. Fixed several method and property
  664. signatures for 2.0.
  665. * PostBackOptions.cs: Added some TODOs.
  666. 2005-02-02 Lluis Sanchez Gual <[email protected]>
  667. * ParseChildrenAttribute.cs: Set the correct default value for the
  668. childType property.
  669. 2005-01-28 Lluis Sanchez Gual <[email protected]>
  670. * ParseChildrenAttribute.cs: Added 2.0 property.
  671. * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
  672. * Page.cs: Added support for control state.
  673. * TemplateBuilder.cs: ContainerType should be internal.
  674. * Control.cs: Added some new 2.0 methods.
  675. 2005-01-21 Lluis Sanchez Gual <[email protected]>
  676. * PageParser.cs: Read the MasterPageFile attribute.
  677. * UserControlParser.cs: Not sealed any more since we need to inherit from
  678. it. Added new constructor with an additional "type" parameter.
  679. * MasterPageParser.cs: Parser for master pages.
  680. * Page.cs: Added support for master pages.
  681. * MasterPage.cs: Implemented.
  682. 2005-01-10 Lluis Sanchez Gual <[email protected]>
  683. * TemplateBuilder.cs: Added a special constructor that takes an
  684. attribute provider as parameter. The container type for the template
  685. may be defined in a TemplateContainerAttribute.
  686. * ControlBuilder.cs: Create the TemplateBuilder using that special
  687. constructor.
  688. * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
  689. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  690. * IStyleSheet.cs: Added missing "using".
  691. * Page.cs: Implemented Header property.
  692. * CssStyleCollection.cs: Made BagToString method internal.
  693. * RootBuilder.cs: Register HtmlHead control.
  694. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  695. * CssStyleCollection.cs: Minor (!) fix.
  696. * HtmlTextWriter.cs: Register names for new 2.0 styles.
  697. 2004-12-17 Lluis Sanchez Gual <[email protected]>
  698. * CssStyleCollection.cs: Make it work as a standalone collection.
  699. * HtmlTextWriter.cs: Added static method for getting style names.
  700. 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
  701. * ControlCollection.cs: fix off-by-one and store a null at the end to
  702. remove the reference to the removed control.
  703. 2004-12-10 Lluis Sanchez Gual <[email protected]>
  704. * ClientScriptManager.cs: Added GetScriptLiteral helper method.
  705. 2004-12-02 Lluis Sanchez Gual <[email protected]>
  706. * Page.cs: Added support for callback events. Moved theform variable
  707. outside the __doPostBack function, so it can be used by other
  708. scripts.
  709. * StateBag.cs: Implemented SetDirty().
  710. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  711. * Control.cs: when saving "Visible" into the ViewState, save the value
  712. for this precise control, as using the Visible property might give us
  713. Control's parent visibility. Fixes bug #69200.
  714. 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
  715. * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
  716. sessions.
  717. * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
  718. the appRoot + SessionID + vpath format.
  719. Fixes the 3 issues reported in bug #66623.
  720. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  721. * Page.cs: Moved code for managing client scripts to ClientScriptManager,
  722. which is public in 2.0 and internal in 1.1.
  723. * ClientScriptManager.cs: Implemented.
  724. 2004-11-25 Sanjay Gupta <[email protected]>
  725. * DataSourceView.cs: Removed extra method.
  726. 2004-11-24 Sanjay Gupta <[email protected]>
  727. * DataSourveViewSelectCallback.cs: Corrected method signature.
  728. 2004-11-23 Lluis Sanchez Gual <[email protected]>
  729. * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
  730. even if the class doesn't implement IParserAccessor.
  731. * WebResourceAttribute.cs: Allow multiple attributes of this type.
  732. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  733. * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
  734. from SqlDataSourceView.cs.
  735. 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
  736. * Control.cs: unified a few bool fields into an int one.
  737. * ControlCollection.cs: use an array internally instead of always
  738. allocating an arraylist. Also added our own enumerator.
  739. * EmptyControlCollection.cs: there's no 'special' ctor now in the base
  740. class.
  741. 2004-11-05 Sanjay Gupta <[email protected]>
  742. * DataSourceView.cs: Changes in access modifiers of methods.
  743. 2004-10-20 Sanjay Gupta <[email protected]>
  744. * DataSourceCapabilities.cs: Added Flags attribute.
  745. * DataSourceSelectArguments.cs: Updated.
  746. * DataSourveView.cs: Updated.
  747. 2004-10-19 Sanjay Gupta <[email protected]>
  748. * HierarchicalDataSourceView.cs: Corrected class definition and updated.
  749. 2004-10-18 Gonzalo Paniagua Javier <[email protected]>
  750. * HierarchicalDataSourceView.cs: fix typo.
  751. 2004-10-18 Sanjay Gupta <[email protected]>
  752. * HierarchicalDataSourceView.cs: Updated.
  753. 2004-10-18 Sanjay Gupta <[email protected]>
  754. * DataSourceSelectArguments.cs: Initial implementation.
  755. 2004-10-12 Sanjay Gupta <[email protected]>
  756. * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
  757. 2004-10-12 Sanjay Gupta <[email protected]>
  758. * UrlTypes.cs: Updated.
  759. 2004-10-12 Sanjay Gupta <[email protected]>
  760. * UrlPropertyAttribute.cs: Added new file.
  761. 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
  762. * Control.cs: even if the control has no children the naming container
  763. may contain the control we're looking for. Fixes bug #67304.
  764. 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
  765. * AspGenerator.cs: added OtherTags.
  766. 2004-09-24 Sanjay Gupta <[email protected]>
  767. * ControlValuePropertyAttribute.cs: Initial implementation.
  768. 2004-09-24 Sanjay Gupta <[email protected]>
  769. * IPaginationContainer.cs: Corrected name of class.
  770. 2004-09-24 Sanjay Gupta <[email protected]>
  771. * IDReferencePropertyAttribute.cs: Completed implementation.
  772. 2004-09-24 Sanjay Gupta <[email protected]>
  773. * ThemeableAttribute.cs:
  774. * FilterableAttribute.cs: Code scrubbing and optimization.
  775. 2004-09-14 Sanjay Gupta <[email protected]>
  776. * ThemeableAttribute.cs: Completed implementation.
  777. 2004-09-14 Sanjay Gupta <[email protected]>
  778. * FilterableAttribute.cs: Completed implementation.
  779. 2004-09-14 Sanjay Gupta <[email protected]>
  780. * Control.cs: Added new attributes and a method.
  781. * FilterableAttribute.cs: New attribute, initial implementation.
  782. * ThemeableAttribute.cs: New attribute, initial implemenataion.
  783. 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
  784. * TemplateParser.cs: ensure bin directory exists before trying to access
  785. it. Fixes bug #65446 (not closed yet due to dependencies).
  786. 2004-09-09 Sanjay Gupta <[email protected]>
  787. * Control.cs: Implemented methods of interface IExpressionAccessor.
  788. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  789. * SimpleWebHandlerParser.cs: correctly cache Type instead of the
  790. assembly for ashx/asmx. Otherwise we need to open the file and check
  791. for the class name in there. Thanks to Ben for pointing this out.
  792. 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
  793. * TemplateParser.cs: removed creation of StringWriter. It's not used.
  794. * Control.cs: don't create the EventHandlerList until requested.
  795. 2004-09-03 Sanjay Gupta <[email protected]>
  796. * Control.cs: Added new interfaces implemented in .Net 2.0.
  797. * ExpressionBinding.cs: Added new class.
  798. * ExpressionBindingCollection.cs: Added new class.
  799. 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
  800. * LiteralControl.cs: stylized. This control has EnableViewState disabled
  801. by default and doesn't get an automatic ID. When text is null -> "".
  802. 2004-08-31 Sanjay Gupta <[email protected]>
  803. * ControlSkinProc.cs:
  804. * DataSourceViewOperationCallback.cs:
  805. * DataSourceViewSelectCallback.cs:
  806. * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
  807. required in definition as delegates by default are sealed.
  808. 2004-08-31 Sanjay Gupta <[email protected]>
  809. * IDReferencePropertyAttribute.cs: Corrected and changed from interface
  810. to class.
  811. * IMobileTextWriter.cs: Corrected method signatures.
  812. 2004-08-09 Sanjay Gupta <[email protected]>
  813. * ControlSkinProc.cs:
  814. * DataSourceViewOperationCallback.cs:
  815. * DataSourceViewSelectCallback.cs:
  816. * ExtractTemplateValuesMethod.cs: Added new delegates.
  817. 2004-08-06 Sanjay Gupta <[email protected]>
  818. * IBindableTemplate.cs:
  819. * ICallbackEventHandler.cs:
  820. * IControlBuilderAccessor.cs:
  821. * IControlDesignerAccessor.cs:
  822. * IControlTypeFilter.cs:
  823. * IDataItemContainer.cs:
  824. * IDataSourceViewSchemaAccessor.cs:
  825. * IDReferencePropertyAttribute.cs:
  826. * IExpressionsAccessor.cs:
  827. * IFilterResolutionService.cs:
  828. * IItemPaginationInfo.cs:
  829. * IMobileTextWriter.cs:
  830. * IPageHeader.cs:
  831. * IPaginationContainer.cs:
  832. * IPaginationInfo.cs:
  833. * IResourceResolutionService.cs:
  834. * IResourceUrlGenerator.cs:
  835. * IStateFormatter.cs:
  836. * IStyleSheet.cs:
  837. * IThemeResolutionService.cs:
  838. * IUrlResolutionService.cs:
  839. * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
  840. 2004-08-05 Sanjay Gupta <[email protected]>
  841. * PostBackOptions.cs: Added new file and implemented the class.
  842. 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
  843. * HtmlTextWriterTag.cs: readded author name.
  844. 2004-08-04 Sanjay Gupta <[email protected]>
  845. * HtmlTextWriterAttribute.cs:
  846. * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
  847. * CompilationMode.cs:
  848. * ConflictOptions.cs:
  849. * DataSourceCacheExpiry.cs:
  850. * DataSourceCapabilities.cs:
  851. * DataSourceOperation.cs:
  852. * TemplateContentType.cs:
  853. * TemplateInstance.cs:
  854. * UrlTypes.cs:
  855. * VerificationConditionalOperator.cs:
  856. * VerificationReportLevel.cs:
  857. * VerificationRule.cs:
  858. * XhtmlMobileDocType.cs: Added enumerations.
  859. 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
  860. * Control.cs: style. Reverted previous patch modification of
  861. TemplateSourceDirectory (failed when the control is reparented). Use
  862. HasControls() and Controls all over instead of _controls, as Controls
  863. property and HasControls() might be overriden.
  864. 2004-07-27 Alon Gazit <[email protected]>
  865. * Control.cs: Changed the implementation of TemplateSourceDirectory
  866. and GetDefaultName(). replaced foreach statements with for statements,
  867. in order to improve performence.
  868. 2004-07-27 Alon Gazit <[email protected]>
  869. * Page.cs: changed the implementation of GetViewStateString().
  870. if the view state object is null there is no need to perform
  871. Serialization.
  872. 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
  873. * TemplateControl.cs: don't include private methods of base classes when
  874. auto-attaching events. Fixes bug 61569.
  875. 2004-07-14 Alon Gazit <[email protected]>
  876. * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
  877. 2004-07-08 Pablo Baena <[email protected]>
  878. * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
  879. 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
  880. * Page.cs: added additional checks for saving/displaying trace data.
  881. * PageParser.cs: removed checks for trace enabled in configuration
  882. files.
  883. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  884. * ControlCollection.cs: when clearing the control collection, tell the
  885. owners about the removal. Fixes bug #60800.
  886. 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
  887. * Page.cs: don't nullify _context after processing the request as there
  888. are events not triggered yet. Fixes bug #60726.
  889. 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
  890. * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
  891. bug #60681.
  892. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  893. * PageParser.cs:
  894. * UserControlParser.cs: set the page/user control base type even when no
  895. default directive provided. Fixes bug #60572.
  896. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  897. * PageParser.cs: use default trace settings from web.config and check
  898. if trace is only requested for local connections. Fixes bug #60180.
  899. 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
  900. * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
  901. we read the default directive, check the cache for the Type and if
  902. present, don't keep reading and store the type found.
  903. * WebHandlerParser.cs:
  904. * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
  905. compiling.
  906. 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
  907. * Control.cs: properly fixed bug #59794.
  908. 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
  909. * Control.cs:
  910. (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
  911. #59794.
  912. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  913. * SimpleWebHandlerParser.cs:
  914. * TemplateParser.cs: pass the language when compiling from a file.
  915. 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
  916. * SimpleWebHandlerParser.cs: if we have a global.asax, move its
  917. reference to the end to help mcs loading the assemblies. Fixes bug
  918. #58768.
  919. * TemplateParser.cs: same as above. Removed some kludges to workaround
  920. loading assemblies from bin path that are now in the runtime. Don't
  921. load the assemblies in bin if not needed, but still reference them
  922. when compiling.
  923. 2004-06-07 Alon Gazit <[email protected]>
  924. * Page.cs: Changed Page.ProcessPostData().
  925. After the change ,the state of controls that aren't visible is saved
  926. during a postback.
  927. 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
  928. * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
  929. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  930. * Page.cs: IsPostBack also returns true when method is GET and we have
  931. viewstate information in the query string. Fixes bug #58151.
  932. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  933. * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
  934. HttpRutime.TraceManager.
  935. * PageParser.cs: for 'trace' we have 2 variables now. Added support
  936. for 'buffer' attribute.
  937. 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
  938. * Page.cs: implemented ClientTarget.
  939. * PageParser.cs: support for clientTarget and check for validity.
  940. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  941. * Control.cs:
  942. * Html32TextWriter.cs:
  943. * HtmlTextWriter.cs:
  944. * SimpleWebHandlerParser.cs:
  945. * TemplateControl.cs: Added protected missing members and attributes.
  946. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  947. * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
  948. calling a protected method of another object.
  949. 2004-06-03 Atsushi Enomoto <[email protected]>
  950. * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
  951. (of other objects) are called in TypeConverterFormatter.
  952. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  953. * ObjectStateFormatter.cs: before choosing the binary formatter, check
  954. if the object type has a TypeConverter that can convert to/from string.
  955. Fixes bug #59495.
  956. * Page.cs: call GetViewStateString from outside the WriteLine. This
  957. allows writing to the Response when getting the string without breaking
  958. the HTML generated.
  959. 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
  960. * HtmlTextWriter.cs: render end tag for unknown tags.
  961. Patch frmo Markus Krutner. Fixes bug #59466.
  962. 2004-05-24 Gonzalo Paniagua Javier <[email protected]>
  963. * Page.cs: call DeterminePostBackMode only once per request. Patch by
  964. Evain Jb.
  965. 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
  966. * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
  967. [meddochat].
  968. * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
  969. that.
  970. 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
  971. * SimpleWebHandlerParser.cs:
  972. * TemplateParser.cs: for the assembly names given in the 'assembly'
  973. attribute, use LoadWithPartialName instead of Load.
  974. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  975. * Page.cs: return HttpContext.Current if _context has not yet been
  976. assigned to. Fixes bug #55245.
  977. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  978. * TemplateParser.cs: don't add import statement or assemblies from
  979. global.asax to every file. Fixes bug #55496.
  980. 2004-03-09 Juraj Skripsky <[email protected]>
  981. * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
  982. handle single quotes and a few corner cases correctly (see test cases).
  983. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  984. * TemplateControl.cs: fixed typos and added new method names to the set
  985. of page events.
  986. 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
  987. * ControlBuilder.cs: added SetTagName().
  988. * ObjectTagBuilder.cs: use SetTagName so that we can properly close
  989. <object> builders if the closing tag is provided.
  990. 2004-02-16 Jackson Harper <[email protected]>
  991. * Page.cs: Set cacheability for Location.DownStream.
  992. 2004-02-10 Jackson Harper <[email protected]>
  993. * TemplateParser.cs: Use full path if the assembly is in the
  994. private bin directory. Patch by Gonzalo Paniagua Javier.
  995. 2004-02-09 Jackson Harper <[email protected]>
  996. * Page.cs: Set cacheability for server side caching.
  997. 2004-01-30 Jackson Harper <[email protected]>
  998. * Control.cs: Ensure that dynamically loaded controls are
  999. initialized.
  1000. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  1001. * ApplicationFileParser.cs: check for error in directives. Use
  1002. GlobalAsaxCompiler.CompileApplicationType for compiling.
  1003. * ObjectTagBuilder.cs: load the Type and check for errors.
  1004. * TemplateParser.cs: add assemblies and imports from global.asax.
  1005. Now we properly create accessors for session and application objects in
  1006. the application itself, pages and controls. First step for fixing
  1007. bug #53387.
  1008. 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
  1009. * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
  1010. to Eric Lindvall for pointing this out.
  1011. 2004-01-15 Jackson Harper <[email protected]>
  1012. * TemplateParser.cs: Detect if we are parsing a control or page
  1013. properly.
  1014. * Page.cs: vary by params and vary by headers can be null now.
  1015. 2004-01-15 Martin Willemoes Hansen <[email protected]>
  1016. * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
  1017. indention.
  1018. 2004-01-14 Jackson Harper <[email protected]>
  1019. * Page.cs: If we have a postback that wasn't sent through a
  1020. postback script (ie user hit submit on a input type=submit) call
  1021. Validate so page validation occurs. This fixes bug #52770.
  1022. 2004-01-14 Jackson Harper <[email protected]>
  1023. * Page.cs: Don't tell the response to cache anymore. This is done
  1024. when the cacheability is modified by a callback. Set the cache's
  1025. duration.
  1026. 2004-01-14 Jackson Harper <[email protected]>
  1027. * TemplateParser.cs: If varybyparam is set to "none" make it null
  1028. so we dont get a param named null in the outputcache key.
  1029. 2004-01-14 Jackson Harper <[email protected]>
  1030. * BasePartialCachingControl.cs: Use varyby attributes in key
  1031. generation.
  1032. 2004-01-14 Jackson Harper <[email protected]>
  1033. * TemplateParser.cs: Add all the outputcache attribute error
  1034. messages.
  1035. 2004-01-13 Jackson Harper <[email protected]>
  1036. * TemplateParser.cs: Add VaryByControls and Shared output cache
  1037. properties. These are not assigned yet.
  1038. * TemplateControlParser.cs: Do not ignore the OutputCache
  1039. attribute.
  1040. * BasePartialCachingControl.cs: Initial implementation. Keys are
  1041. still not created properly.
  1042. * StaticPartialCachingControl.cs: Assign properties in base class,
  1043. implement CreateControl.
  1044. 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
  1045. * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
  1046. * PageParser.cs: support validateRequest.
  1047. * TemplateControlParser.cs: get default values from system.web/pages
  1048. section.
  1049. * TemplateParser.cs: added separate method for changing base type
  1050. (Inherits or system.web/pages).
  1051. * UserControlParser.cs: support system.web/pages defined base type.
  1052. 2004-01-11 Andreas Nahr <[email protected]>
  1053. * UserControl.cs: Added missing attribute, implemented method
  1054. * Page.cs: Added missing attribute, implemented method
  1055. 2004-01-10 Jackson Harper <[email protected]>
  1056. * Page.cs: Handle trace being enabled in the config file.
  1057. 2004-01-10 Jackson Harper <[email protected]>
  1058. * Page.cs: Save trace data before rendering it.
  1059. * System.Web.dll.sources: Add TraceData.cs
  1060. 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
  1061. * Page.cs: removed a couple of MonoTODO on methods we're not gonna
  1062. implement. Applied patch from Jan Jaros ([email protected]) to
  1063. ensure that Unload event is raised. Fixes bug #52555.
  1064. 2004-01-02 Zoltan Varga <[email protected]>
  1065. * KeyedList.cs: 'private' is not allowed on explicit interface
  1066. implementations. Fixes 1.2 build.
  1067. 2003-12-31 Jackson Harper <[email protected]>
  1068. * TemplateControlParser.cs: When registering tag prefixs make sure
  1069. the file exists and throw the correct error if it does not.
  1070. 2003-12-25 Jackson Harper <[email protected]>
  1071. * Page.cs: Throw error if the session is accessed when sessions
  1072. are disabled.
  1073. 2003-12-18 Jackson Harper <[email protected]>
  1074. * Page.cs: Write Trace info.
  1075. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  1076. * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
  1077. * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
  1078. internal.
  1079. * PageParser.cs: the ctor is public.
  1080. * PartialCachingAttribute.cs: added new ctor and Shared property.
  1081. 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
  1082. * Page.cs: assign the ErrorPage to the context if we get an exception
  1083. when processing the page which only calls Unload.
  1084. * PageParser.cs: handle ErrorPage.
  1085. 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
  1086. * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
  1087. are not [Serializable]. Fixes bug #52244.
  1088. 2003-12-16 Jackson Harper <[email protected]>
  1089. * Page.cs: Render trace data when tracing is enabled.
  1090. 2003-12-15 Jackson Harper <[email protected]>
  1091. * PageParser.cs: Add Trace and Trace mode attributes.
  1092. 2003-12-15 Jackson Harper <[email protected]>
  1093. * Page.cs: Use the context trace object.
  1094. 2003-12-14 Alon Gazit <[email protected]>
  1095. * AttributeCollection.cs: Changed AttributeCollection.Render().
  1096. After the change attributes ,that their value is null, aren't
  1097. rendered.
  1098. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  1099. * Control.cs: remove a few dangling ^M, don't set values for fields
  1100. that has the default value. If Visible is modified and we're tracking
  1101. viewstate, save and restore it. Fixes bug #48689.
  1102. 2003-12-11 Jackson Harper <[email protected]>
  1103. * Control.cs: Give null for the ID if it hasn't been explicitly
  1104. set. This fixes bug #51520.
  1105. 2003-12-08 Jackson Harper <[email protected]>
  1106. * PageParser.cs: Ignore the SmartNavigation attribute for now.
  1107. 2003-12-05 Jackson Harper <[email protected]>
  1108. * DataBinder.cs (GetIndexedPropertyValue): Check if container is
  1109. an IList and use a cast instead of reflection to retrieve the item
  1110. if it is. Fixes bug #51759.
  1111. 2003-12-04 Alon Gazit <[email protected]>
  1112. * Page.cs: Changed Page.ID so it will call Control.ID.
  1113. Fixed Bug 51682.
  1114. 2003-12-02 Jackson Harper <[email protected]>
  1115. * Page.cs: Implemented registered array declarations. Patch by
  1116. Benjamin Jemlich <[email protected]>
  1117. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  1118. * TemplateParser.cs: basic check for 'classname' attribute and added
  1119. patch by [email protected] for bug #51568, which fixes automatic class
  1120. names for pages starting with a number.
  1121. 2003-11-30 Ben Maurer <[email protected]>
  1122. * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
  1123. reduction.
  1124. * ObjectStateFormatter.cs: Comment out tracing.
  1125. 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
  1126. * Page.cs: fixed UICulture, LCID and Culture. Set the thread
  1127. [UI]Culture before processing the request.
  1128. * PageParser.cs: read Culture, UICulture and LCID attributes. Added
  1129. properties for these. Partially contributed by Mohammad Damt.
  1130. Fixes bug #51511.
  1131. 2003-11-27 Jackson Harper <[email protected]>
  1132. * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
  1133. 51434.
  1134. 2003-11-22 Ben Maurer <[email protected]>
  1135. * ObjectStateFormatter.cs: Fix bug when reading small ints.
  1136. Add some tracing so we can see what is going on.
  1137. 2003-11-21 Jackson Harper <[email protected]>
  1138. * Page.cs: Set vary by params when cache location is Server.
  1139. 2003-11-21 Ben Maurer <[email protected]>
  1140. * ObjectStateFormatter.cs: v2 file. In v1.x this will be
  1141. internal as LosFormatter will eventually use it to save
  1142. the view state.
  1143. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  1144. * PersistChildrenAttribute.cs:
  1145. * PersistenceModeAttribute.cs: implemented.
  1146. * TODO: Removed file.
  1147. * OutputCacheLocation.cs:
  1148. * TemplateControlParser.cs:
  1149. * HtmlInputFile.cs: class status based fixes.
  1150. 2003-11-19 Jackson Harper <[email protected]>
  1151. * Page.cs: Always set the cache expire time. Tell the response to
  1152. cache itself for server side cached pages.
  1153. 2003-11-19 Jackson Harper <[email protected]>
  1154. * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
  1155. thing, some corner cases still need work though. Was this the
  1156. shortest lived method in the history of mono?
  1157. 2003-11-19 Jackson Harper <[email protected]>
  1158. * Control.cs: New method for resolving urls that use ~/ to denote
  1159. the applications base directory.
  1160. 2003-11-19 Jackson Harper <[email protected]>
  1161. * TemplateParser.cs: Fix typo in error message.
  1162. 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
  1163. * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
  1164. to Sanjay Gupta.
  1165. 2003-11-19 Todd Berman <[email protected]>
  1166. * KeyedList.cs:
  1167. * KeyedListEnumerator.cs: New v2 implementations.
  1168. 2003-11-17 Ben Maurer <[email protected]>
  1169. * StateManagedCollection.cs: Implement.
  1170. 2003-11-13 Jackson Harper <[email protected]>
  1171. * Page.cs: Initial implementation of InitOutputCache.
  1172. * TemplateParser.cs: Page OutputCache options
  1173. 2003-11-09 Ben Maurer <[email protected]>
  1174. * HierarchicalDataSourceControl.cs: Implement.
  1175. 2003-11-09 Ben Maurer <[email protected]>
  1176. * XPathBinder.cs: Implemented.
  1177. 2003-11-08 Ben Maurer <[email protected]>
  1178. * DataSourceView.cs:
  1179. * IDataSource.cs:
  1180. * ListSourceHelper.cs:
  1181. * DataSourceControl.cs:
  1182. * HierarchicalDataSourceView.cs:
  1183. * IHierarchicalDataSource.cs: Move v2 stuff.
  1184. 2003-11-07 Jackson Harper <[email protected]>
  1185. * Control.cs (ResolveUrl): Special case for urls that consist of
  1186. only a page anchor. ie <a href="#top">. This fixes bug #50165.
  1187. 2003-11-07 Ben Maurer <[email protected]>
  1188. * IHierarchicalEnumerable.cs:
  1189. * IHierarchyData.cs:
  1190. * INavigateUIData.cs: New v2 interfaces.
  1191. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  1192. * Page.cs: patch by Alon Gazit <[email protected]> to remove extra
  1193. space in generated javascript.
  1194. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  1195. * LosFormatter.cs: encoding updates.
  1196. * Page.cs: implemented CodePage and ContentType.
  1197. * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
  1198. attributes.
  1199. 2003-11-04 Ben Maurer <[email protected]>
  1200. * Control.cs (GetWebResourceUrl): new v2 function
  1201. * Page.cs (GetWebResourceUrl): ditto.
  1202. make the JS we generate work with moz if the form is not a child
  1203. of document.
  1204. * WebResourceAttribute.cs: Added, new v2 attribute.
  1205. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  1206. * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
  1207. * PageParser.cs: initialize the parser in the constructor, not just
  1208. before compiling and reference the application assembly.
  1209. * SimpleWebHandlerParser.cs: reference the assembly that contains the
  1210. application Type.
  1211. * TemplateControl.cs:
  1212. * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
  1213. path and physical path when compiling a user control.
  1214. * TemplateParser.cs: new AddApplicationAssembly ().
  1215. * UserControlParser.cs: now we get valid values in the ctor.
  1216. Referencing the application assembly fixes bug #49652.
  1217. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  1218. * TemplateControl.cs: moved NoParamsInvoker class to its own file.
  1219. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  1220. * BaseParser.cs: added CompilationConfig property.
  1221. * TemplateParser.cs:
  1222. * SimpleWebHandlerParser.cs: added CompilationConfig property.
  1223. Don't hardcode assembly names any more, assemblies in bin are added
  1224. depending on the configuration. The default language is also taken
  1225. from the configuration.
  1226. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1227. * LosFormatter.cs: fixed bug #49604. Patch by [email protected].
  1228. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1229. * Control.cs: removed some debug lines.
  1230. * Page.cs: implemented RegisterOnSubmitStatement
  1231. * TemplateControl.cs: fixed wire up for methods with no parameters.
  1232. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  1233. * PageParser.cs: ignore ValidateRequest by now.
  1234. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  1235. * System.Web.UI/TemplateControl.cs: support for wiring up events without
  1236. parameters.
  1237. 2003-10-08 Pedro Martnez Juli <[email protected]>
  1238. * PageParser.cs: drop some useless code.
  1239. 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
  1240. * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
  1241. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  1242. * System.Web.UI/PageParser.cs:
  1243. * System.Web.UI/TemplateControlParser.cs: honour the input file given
  1244. as argument.
  1245. 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
  1246. * Control.cs:
  1247. (ClearChildViewState): doh! Don't clear control viewstate but the
  1248. viewstate of possible children.
  1249. (LoadViewStateRecursive): load viewstate even when control is not
  1250. visible.
  1251. Fixes bug #49024.
  1252. The rest are just dangling ^M removed.
  1253. * DataBoundLiteralControl.cs:
  1254. (LoadViewState): we get an object [], not a string [].
  1255. 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
  1256. * Control.cs: implemented ClearChildViewState ().
  1257. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  1258. * Page.cs: store unique IDs for controls requiring postback. Fixes bug
  1259. #47985.
  1260. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  1261. * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
  1262. dependencies so that it's recompiled when changed.
  1263. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  1264. * LosFormatter.cs: fixed Deserialize for empty viewstate.
  1265. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  1266. * Page.cs: check if controls that require postback have
  1267. been changed by an event and register them to be notified of data
  1268. changed event.
  1269. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  1270. * Control.cs: patch by [email protected] (Yaron Shkop) that fixes
  1271. bug #47866.
  1272. 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
  1273. * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
  1274. are not serializable. Fixes bug #47784.
  1275. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  1276. * Control.cs: index the viewstates saved by the control position, not
  1277. the control name. Fixes bug #47697.
  1278. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  1279. * ControlCollection.cs:
  1280. * EmptyControlCollection.cs: create a minimum ArrayList for this.
  1281. * BaseParser.cs: added setter for BaseVirtualDir.
  1282. * Page.cs: fixed message when restoring view state fails.
  1283. * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
  1284. when a relative path to the control is given. Fixes bug #47685.
  1285. 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
  1286. * Control.cs: when we load the viewstate for a control that has children
  1287. viewstates and the child is not found, keep its viewstate around and
  1288. wait until the child is added to load the viewstate. Fixes bug #47697.
  1289. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  1290. * TemplateControl.cs: more Delegate.CreateDelegate fixes.
  1291. 2003-08-01 Andreas Nahr <[email protected]>
  1292. * PartialCachingControl.cs: is not abstract
  1293. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  1294. * SimpleHandlerFactory.cs: implemented GetHandler.
  1295. * WebHandlerParser.cs: new file that parses .ashx files.
  1296. 2003-07-30 Andreas Nahr <[email protected]>
  1297. * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
  1298. 2003-07-30 Andreas Nahr <[email protected]>
  1299. * UserControl.cs: Added attribute
  1300. * BasePartialCachingControl.cs: New class and paritally implemented
  1301. * DesignerDataBoundLiteralControl.cs: New class and implemented
  1302. * DesignTimeTemplateParser.cs:
  1303. * PartialCachingControl.cs:
  1304. * StaticPartialCachingControl.cs: New class and paritally implemented
  1305. 2003-07-27 Andreas Nahr <[email protected]>
  1306. * ApplicationFileParser.cs: Fixed signature
  1307. * DesignTimeParseData.cs: Added missing properties, implemented
  1308. * Page.cs: Added attributes
  1309. * PageParser.cs:
  1310. * TemplateControlParser.cs:
  1311. * TemplateParser.cs:
  1312. * UserControlParser.cs: Fixed signature
  1313. 2003-07-17 Andreas Nahr <[email protected]>
  1314. * HtmlControlPersistableAttribute.cs: Added
  1315. * IgnoreUnknownContentAttribute.cs: Added
  1316. 2003-07-17 Andreas Nahr <[email protected]>
  1317. * IUserControlDesignerAccessor.cs: Added and implemented
  1318. * Control.cs: Missing member added, added all attributes
  1319. * Page.cs: Added attributes, fixed signature
  1320. * TemplateControl.cs: Fixed signature, added all attributes
  1321. * UserControl.cs: Added all attributes, added and implemented missing interface
  1322. 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
  1323. * ControlCollection.cs: fixed bug #46472.
  1324. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  1325. * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
  1326. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  1327. * SimpleWebHandlerParser.cs: updated to new compilation interface.
  1328. * TemplateParser.cs: use the new parameter when compiling.
  1329. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  1330. * Page.cs: also keep the value for the second try on handling postback
  1331. events.
  1332. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  1333. * BaseParser.cs: fixed MapPath for non-rooted files.
  1334. * PageParser.cs: don't pass a non-virtual file around.
  1335. * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
  1336. the exception teh may be throw by MapPath on an invalid path.
  1337. * TemplateParser.cs: removed unused method.
  1338. * UserControlParser.cs: modified inputfile. The result is the same, but
  1339. this one is better.
  1340. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  1341. * RootBuilder.cs: throw exception when the tagprefix is not valid or
  1342. not found.
  1343. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  1344. * TemplateControlParser.cs: return after processing @Register.
  1345. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  1346. * TemplateParser.cs: Added support for server side includes.
  1347. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  1348. * TemplateControl.cs: fixed the flags used to find the methods that
  1349. are automatically hooked up on events.
  1350. * TemplateParser.cs: don't compile a source file directly. Use the
  1351. cache instead.
  1352. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1353. * BaseParser.cs: Location property is now here. Added a couple of
  1354. convenience methods to throw a ParseException.
  1355. * TemplateParser.cs:
  1356. * TemplateControlParser.cs:
  1357. * PageParser.cs: throw ParseException where appropiate.
  1358. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  1359. * ApplicationFileParser.cs: use the generator to actually parse the
  1360. file.
  1361. * ControlBuilder.cs: small fix in NamingContainerType because
  1362. TemplateBuilders have a null ControlType. When a control is appended
  1363. to a parent, assign the child's parent.
  1364. * UserControlParser.cs: fixed the value of InputFile.
  1365. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1366. * ApplicationFileParser.cs: store the Context and override
  1367. BaseVirtualDir so that it's the application path.
  1368. * BaseParser.cs: removed CurrentVirtualPath property.
  1369. * TemplateControlParser.cs: use BaseVirtualDir.
  1370. * UserControlParser.cs: removed CurrentVirtualPath.
  1371. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1372. * TemplateParser.cs: always reference all the assemblies in bin
  1373. directory.
  1374. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  1375. * ApplicationFileParser.cs: it works now. Prior to these changes, we
  1376. were using the compiler directly.
  1377. * BaseParser.cs: added some useful properties and methods.
  1378. * CodeBuilder.cs: use ILocation.
  1379. * CodeRenderBuilder.cs: use ILocation.
  1380. * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
  1381. * ControlBuilder.cs: made it useful.
  1382. * DataBindingBuilder.cs: the control type for data bound text is
  1383. DataBoundLiteralControl now.
  1384. * ObjectTagBuilder.cs: store some object tag attributes.
  1385. * PageParser.cs: handle page-only directives.
  1386. * RootBuilder.cs: bah.
  1387. * SimpleWebHandlerParser.cs: made it dummy.
  1388. * TemplateControl.cs: Modified file.
  1389. * TemplateControlParser.cs: handle directives that are common to pages
  1390. and user controls.
  1391. * TemplateParser.cs: utility methods and handling of directives that
  1392. are common to app, page and user controls.
  1393. * UserControl.cs: added ControlBuilderAttribute.
  1394. * UserControlControlBuilder.cs: builder for user controls.
  1395. * UserControlParser.cs: use the new interfaces.
  1396. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  1397. * ControlBuilder.cs: line and fileName are protected now.
  1398. * CodeBuilder.cs: base class for the next 2 files.
  1399. * CodeRenderBuilder.cs: builder for code render.
  1400. * DataBindingBuilder.cs: builder for data binding.
  1401. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  1402. * ITagNameToTypeMapper.cs: made it internal.
  1403. * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
  1404. * ObjectTag.cs:
  1405. * RootBuilder.cs: initial builder.
  1406. 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
  1407. * CollectionBuilder.cs:
  1408. * TemplateBuilder.cs: new classes derived from ControlBuilder that
  1409. represent a property or a ITemplate.
  1410. * ControlBuilder.cs: implemented all the missing bits.
  1411. * TemplateParser.cs: added mapping from tag name to Type feature.
  1412. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  1413. * Control.cs: have i definitely fixed naming container stuff this time?
  1414. * LosFormatter.cs: activated binary serialization code.
  1415. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  1416. * Control.cs:
  1417. (AddedControl): fixed default id assignation when the sequence of
  1418. AddedControl until it's included in the page or one of its controls
  1419. does not pass through a naming container.
  1420. 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
  1421. * Control.cs: give different default names depending on the place where
  1422. it is assigned. Implemented ResolveURl (no more ~ rendered in
  1423. attributes!).
  1424. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  1425. * Control.cs: when adding a control, assign default names to th
  1426. children that don't have one.
  1427. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  1428. * SimpleWebHandlerParser.cs: modified to use the new parser interface.
  1429. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  1430. * Control.cs: some more tweaks to naming containers stuff.
  1431. * DataBinder.cs: don't throw exception if the container is null.
  1432. * Page.cs: now we can render client scripts, startup scripts and hidden
  1433. fields. Only render __VIEWSTATE if there is someone that will take care
  1434. of it.
  1435. (RaisePostBackEvents): first try the last one that required raise event,
  1436. then try __EVENTTARGET.
  1437. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  1438. * Control.cs: fixes in UniqueID, FindControl, AddedControl,
  1439. UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
  1440. FindControl work with NamingContainers.
  1441. * ControlCollection.cs: notify the parent when clearing the collection.
  1442. * LosFormatter.cs: Added debugging output and generate a valid
  1443. viewstate even for unknown types.
  1444. * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
  1445. viewstate.
  1446. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  1447. * Page.cs: make it fire the LoadData related events also for controls
  1448. such as ImageButton, whose variable(s) in the query string are of the
  1449. form ctrl_name.x and only fire them once per control.
  1450. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  1451. * DataBinder.cs:
  1452. (GetPropertyValue): don't try to get the property as indexed
  1453. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  1454. * DataBinder.cs: use TypeDescriptor to get the properties and their
  1455. values.
  1456. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  1457. * Control.cs:
  1458. (AddedControl): take the children to the same state of the parent.
  1459. (InitRecursive): set the page of the children.
  1460. * Page.cs: removed one line (it's done a few lines above).
  1461. * UserControl.cs:
  1462. (OnInit): always call InitializeAsUserControl
  1463. (InitializeAsUserControl): sets the page for the control.
  1464. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  1465. * Control.cs: fixed bug #36037.
  1466. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  1467. * BaseParser.cs: a couple of path fixes to make it work
  1468. when the page is not in the root directory.
  1469. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  1470. * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
  1471. reporting the bug.
  1472. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  1473. * BaseParser.cs: use MapPath and context to locate files.
  1474. * Control.cs: implemented MapPathSecure.
  1475. * TemplateControl.cs: use UrlUtils to generate the path.
  1476. * TemplateControlParser.cs: use the context and MapPath.
  1477. * UserControl.cs: implemented MapPath.
  1478. * UserControlParser.cs: added context parameter to constructor.
  1479. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  1480. * Control.cs: implemented MapPathSecure.
  1481. * Page.cs: fixed Server property.
  1482. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  1483. * DataBinder.cs: try the indexer if the property is not found in
  1484. GetPropertyValue ().
  1485. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  1486. * Control.cs: added AutoEventWireup internal property.
  1487. * Page.cs: removed page events wire up from here.
  1488. * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
  1489. and user controls events.
  1490. * TemplateControlParser.cs: process the options that are applicable
  1491. once we have the instance of the control.
  1492. * TemplateParser.cs: also stores the options.
  1493. * UserControl.cs: hook up events before initializing the control.
  1494. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  1495. * Control.cs: new method to set bindingContainer value.
  1496. * TemplateControl.cs: added controls are not binding containers.
  1497. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  1498. * Control.cs: implemented TemplateSourceDirectory.
  1499. * TemplateControl.cs: implemented LoadControl and LoadTemplate.
  1500. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  1501. * UserControl.cs: fixed SetAttribute.
  1502. * UserControlParser.cs: set the correct base type.
  1503. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  1504. * TemplateParser.cs: fixed BaseType.
  1505. * UserControlParser.cs: helper class to compile user controls.
  1506. 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
  1507. * LosFormatter.cs: added DateTime to special types.
  1508. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  1509. * LosFormatter.cs: added array serialization support. Disabled binary
  1510. serialization and add some debugging code.
  1511. * StateBag.cs: the length of the list of value can be less than the
  1512. length if the list of keys when remaining values are null.
  1513. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  1514. * Page.cs: return something useful in GetPostBackClientEvent.
  1515. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  1516. * Page.cs: implemented FileDependecies and made it protected.
  1517. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  1518. * Control.cs: save control names instead of the controls
  1519. themselves to the ViewState.
  1520. * LosFormatter.cs: added support for serializing unknown
  1521. types. BinaryFormatter does not work so you better don't store anything
  1522. of unknown Type in ViewState.
  1523. * Page.cs: GetViewStateString works now using LosFormatter.
  1524. Complete "Control execution lifecycle" by unloading all the child
  1525. controls. Check for null in RaisePostBackEvents.
  1526. LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
  1527. 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
  1528. * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
  1529. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  1530. * LosFormatter.cs: Use WebEncoding.Encoding.
  1531. * Control.cs:
  1532. * Page.cs: fixed namespace.
  1533. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  1534. * Page.cs: set the context in ProcessRequest. Added a few trace calls.
  1535. * Control.cs: added some trace information.
  1536. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  1537. * SimpleHandlerFactory.cs: new handler for .ashx files.
  1538. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  1539. * System.Web.UI/PageHandlerFactory.cs: new file.
  1540. * System.Web.UI/PageParser.cs:
  1541. * System.Web.UI/TemplateControlParser.cs: we are now able to compile
  1542. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  1543. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  1544. * Control.cs: implemented ObBubbleEvent.
  1545. * Page.cs: temporary workaround to make POST work with xsp server.
  1546. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  1547. * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
  1548. return pvt methods.
  1549. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  1550. * SimpleWebHandlerParser.cs: New file.
  1551. * WebServiceParser.cs: New file.
  1552. 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
  1553. * LosFormatter.cs: almost fully implemented.
  1554. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  1555. * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
  1556. * EmptyControlCollection.cs: throw correct exception.
  1557. * LosFormatter.cs: stubbed out.
  1558. * OutputCacheLocation.cs: little fix.
  1559. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  1560. * System.Web.UI/ApplicationFileParser.cs:
  1561. * System.Web.UI/BaseParser.cs:
  1562. * System.Web.UI/PageParser.cs:
  1563. * System.Web.UI/TemplateControl.cs:
  1564. * System.Web.UI/TemplateControlParser.cs:
  1565. * System.Web.UI/TemplateParser.cs: first steps to move xsp into
  1566. System.Web.
  1567. 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
  1568. * Page.cs: request to render postback script can be after form started
  1569. rendering.
  1570. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  1571. * Page.cs: added more page events to invoke automagically if some
  1572. methods are defined.
  1573. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  1574. * Control.cs:
  1575. (SaveViewState): save state even when control is not visible.
  1576. (SaveViewStateRecursive):
  1577. (LoadViewStateRecursive): made internal.
  1578. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  1579. * Page.cs: improved event raising to allow client postback for a wider
  1580. variety of actions (clicking an hyperlink, ...).
  1581. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  1582. * UserControl.cs: implemented Load/SaveViewState.
  1583. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  1584. * AttributeCollection.cs:
  1585. (Add): handle 'style' through styleCollection.
  1586. * CssStyleCollection.cs:
  1587. (fillStyle): renamed to FillStyle and made it internal.
  1588. * Page.cs:
  1589. (GetViewStateString): fixed, broken after other recent changes.
  1590. (ProcessPostData): allow a second try for postback data after OnLoad.
  1591. (ProcessRequest): clear controls collection, removed call to
  1592. UnloadRecursive.
  1593. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  1594. * Control.cs: uncommented Dispose.
  1595. * Page.cs:
  1596. (DeterminePostBackMode): more checkings.
  1597. (GetPostBackClientHyperLink): implemented.
  1598. (GetPostBackEventReference): added some comments with the HTML that MS
  1599. generates for that.
  1600. (ProcessRequest): fixed processing order. The page is unloaded after
  1601. a request and regenerated from view state on subsequents posts.
  1602. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  1603. * Control.cs: fixed related to ViewState. Added RemovedControl.
  1604. * ControlCollection.cs: notify owner of control removal.
  1605. * CssStyleCollection.cs: almost rewritten to make it render the style
  1606. attribute after changes to it.
  1607. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  1608. Removed Xml code.
  1609. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  1610. HybridDictionary: it makes the program give an InvalidCastException at
  1611. runtime. Why?
  1612. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  1613. * Page.cs: fire Init and Load events for all children.
  1614. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  1615. * UserControl.cs: New file.
  1616. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  1617. * ControlBuilderAttribute.cs: finished implementation.
  1618. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  1619. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  1620. property to false.
  1621. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  1622. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  1623. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  1624. Hashtable. Added internal .ctor.
  1625. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  1626. Equals and GetHashCode.
  1627. * System.Web.UI/DataBoundLiteralControl.cs:
  1628. (LoadViewState):
  1629. (SaveViewState): implemented.
  1630. * System.Web.UI/Page.cs: FileDependencies is not public.
  1631. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  1632. (GetHashCode):
  1633. (Equals):
  1634. (IsDefaultAttribute): implemented.
  1635. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  1636. * Control.cs: fixed Visible property.
  1637. * Page.cs: fixed GetViewStateString.
  1638. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  1639. * System.Web.UI/Page.cs:
  1640. (GetViewStateString): new function to give the server access to the
  1641. generated view state string.
  1642. (Validate): d'oh!
  1643. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  1644. * Control.cs:
  1645. (SaveViewstateRecursive): implemented.
  1646. (SaveViewState): fixed.
  1647. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  1648. * Page.cs: added code to save view state to an xml file. It's not
  1649. being used right now.
  1650. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  1651. * System.Web.UI/LiteralControl.cs:
  1652. Fixes based on class status page:
  1653. - Add attributes (DefaultEvent, ParseChildren).
  1654. - Fix declarations.
  1655. - Explicitly implement some interfaces (IPostBackDataHandler
  1656. and IPostBackEventHandler).
  1657. - Implemented some missing methods.
  1658. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  1659. * Control.cs: reimplemented FindControls.
  1660. * Page.cs:
  1661. (.ctor): set the page for this control.
  1662. (IsPostBack): return valid value.
  1663. (DeterminePostBackMode): finished.
  1664. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  1665. (ProcessPostData): implemented. Raises change and postback events.
  1666. (ProcessRequest): changed to support reuse of the instance.
  1667. (RegisterRequiresPostBack): implemented.
  1668. * ValidatorCollection.cs: implemented all methods.
  1669. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  1670. * Control.cs:
  1671. * Page.cs: first attemp to save view state.
  1672. * HtmlForm.cs: don't render Action.
  1673. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  1674. * Page.cs: implemented more properties using information we already
  1675. have in Context.
  1676. (OnFormRender):
  1677. (OnFormPostRender):
  1678. (VerifyRenderingInServerForm): implemented.
  1679. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  1680. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  1681. out runtime. Renamed Page_Init and Page_Load.
  1682. After this, we can load a dll and render HTML in linux.
  1683. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  1684. * Control.cs:
  1685. (AddedControl): new function that is called whenever a control is
  1686. added to a collection of controls in a container. It sets the defaults
  1687. except for Page.
  1688. * ControlCollection.cs: call AddedControl in Add/AddAt.
  1689. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  1690. SetStaticString and SetDataBoundString.
  1691. * Page.cs: removed SetDefaults.
  1692. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  1693. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  1694. by xsp.
  1695. * Control.cs:
  1696. (BindingContainer): implemented.
  1697. (EnsureChildControls): avoid stack overflow.
  1698. * DataBinder.cs: implemented Eval and PropertyValue.
  1699. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  1700. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  1701. bug as in regular attributes).
  1702. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  1703. * Control.cs: implemented PreventAutoID.
  1704. * Page.cs:
  1705. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  1706. been called.
  1707. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  1708. * Page.cs:
  1709. (Validators): if the collection is null, create one.
  1710. (GetPostBackEventReference 2): don't throw exception.
  1711. (GetPostBackClientEvent): return a string with containing the method
  1712. name, the control name and the argument.
  1713. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  1714. * Page.cs: SetPage is now called SetDefaults and also sets a default
  1715. ID for controls that don't have one yet.
  1716. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  1717. * Page.cs:
  1718. (GetPostBackClient):
  1719. (RegisterRequiresPostBack): don't throw NotImplementedException to
  1720. keep going.
  1721. (ProcessRequest): set the current page as the Page property for *all*
  1722. the controls, not just the direct children of the page.
  1723. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  1724. * Control.cs:
  1725. (MapPathSecure): until security is implemented, return the same path
  1726. received as argument.
  1727. (RenderControl): call OnPreRender before rendering the control. So
  1728. AdRotator can read its configuration file.Is there any other place
  1729. where this should be done?
  1730. * HtmlTextWriter.cs:
  1731. (AddAttribute): fixed. Now it really stores attributes.
  1732. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  1733. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  1734. * ControlCollection.cs:
  1735. (AddAt): if index is -1 behave as a plain Add.
  1736. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  1737. * Page.cs: for each child control to render, assign Control.Page.
  1738. Probably also needed in HtmlContainerControl derived classes.
  1739. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  1740. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  1741. fine and takes care of the details.
  1742. * Control.cs: added HasChildren property.
  1743. * StateBag.cs: fixed a couple of nasty bugs.
  1744. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  1745. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  1746. Invoke Page_Init and/or Page_Load if the user supplied them (though
  1747. this should depend on AutoEventWireUp attribute of Page directive).
  1748. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  1749. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  1750. * Page.cs:
  1751. (ProcessRequest): implemented.
  1752. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  1753. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  1754. methods.
  1755. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  1756. * Page.cs:
  1757. (FileDependencies): now is public public.
  1758. (EnableViewStateMAC): uncommented and made protected.
  1759. (GetTypeHashCode): added method.
  1760. 2002-05-24 Duncan Mak <[email protected]>
  1761. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  1762. * StateBag.cs (Item): Changed the visibility level of the this
  1763. [object] indexer.
  1764. Misc. formatting edits, fixing some bugs introduced by the indentation.
  1765. * DataBinder.cs (Eval)
  1766. (GetIndexedPropertyValue)
  1767. (GetPropertyValue): Fixed return types.
  1768. 2002-05-21 Miguel de Icaza <[email protected]>
  1769. * HtmlTextWriter.cs: Use this to change the member instances.
  1770. 2002-05-17 Duncan Mak <[email protected]>
  1771. * AttributeCollection.cs:
  1772. * ControlCollection.cs:
  1773. * CssStyleCollection.cs:
  1774. * DataBindingCollection.cs:
  1775. * EmptyControlCollection.cs: Added missing Collection classes.
  1776. 2002-05-17 Duncan Mak <[email protected]>
  1777. * BaseParser.cs:
  1778. * TemplateParser.cs: Implemented. BaseParser is weird because
  1779. there is no documentation on what it does.
  1780. * ControlBuilder.cs:
  1781. * DataBinder.cs:
  1782. * DataBinding.cs: Added.
  1783. * DataBoundLiteralControl.cs:
  1784. * Triplet.cs: Added.
  1785. * RenderMethod.cs: Added this delegate for Control.cs
  1786. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  1787. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  1788. 2002-05-14 Duncan Mak <[email protected]>
  1789. * ValidationPropertyAttribute.cs: Added to CVS.
  1790. 2002-05-10 Duncan Mak <[email protected]>
  1791. * ConstructorNeedsTagAttribute.cs:
  1792. * ControlBuilderAttribute.cs:
  1793. * ImageClickEventArgs.cs:
  1794. * ParseChildrenAttribute.cs:
  1795. * PartialCachingAttribute.cs:
  1796. * PersistChildrenAttribute.cs:
  1797. * PersistenceModeAttribute.cs:
  1798. * TemplateContainerAttribute.cs: Added to CVS.
  1799. * PersistanceMode.cs: Removed, fixed typo.
  1800. * PersistenceMode.cs: Replacing above.
  1801. * StateBag.cs (this): Fixed indexer, it takes a string as the
  1802. index, not an object.
  1803. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  1804. * Page.cs (Validators): return type should be ValidatorCollection,
  1805. not ValidatedCollection.
  1806. * TagPrefixAttribute.cs: Added to CVS.
  1807. 2002-05-07 Duncan Mak <[email protected]>
  1808. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  1809. 2002-03-26 Gaurav Vaish <[email protected]>
  1810. * DataBindingHandlerAttribute.cs
  1811. - Completed
  1812. * ToolboxDataAttribute.cs - Completed
  1813. 2002-01-03 Nick Drochak <[email protected]>
  1814. * DesignTimeParseData.cs: initialze static member to avoid compile
  1815. error
  1816. * PropertyConverter.cs: remove uneeded exception variables from
  1817. catch blocks.
  1818. 2002-01-02 Nick Drochak <[email protected]>
  1819. * DesignTimeParseData.cs: fix header to show correct class name
  1820. 2001-12-21 Gaurav Vaish <[email protected]>
  1821. * StateBag.cs - Completed
  1822. 2001-12-19 Gaurav Vaish <[email protected]>
  1823. * Pair.cs - Small undocumented class. Completed.
  1824. 2001-12-18 Gaurav Vaish <[email protected]>
  1825. * DesignTimeParseData.cs - Initial implementation
  1826. * StateBag.cs - Initial implementation
  1827. 2001-12-17 Gaurav Vaish <[email protected]>
  1828. * PropertyConverter.cs - Undocumented class. Completed.
  1829. * Utils.cs - Undocumented, private class.
  1830. Initial implementation
  1831. 2001-08-28 Bob Smith <[email protected]>
  1832. * Control.cs: Figured out some undocumented API.
  1833. * Added TODO.
  1834. * BuildMethod.cs: Initial implementation.
  1835. * BuildTemplateMethod.cs: Initial implementation.
  1836. * HtmlTextWriterAttribute.cs: Initial implementation.
  1837. * HtmlTextWriterStyle.cs: Initial implementation.
  1838. * HtmlTextWriterTag.cs: Initial implementation.
  1839. * IAttributeAccessor.cs: Initial implementation.
  1840. * IDataBindingsAccessor.cs: Initial implementation.
  1841. * ImageClickEventHandler.cs: Initial implementation.
  1842. * INamingContainer.cs: Initial implementation.
  1843. * IParserAccessor.cs: Initial implementation.
  1844. * IPostBackDataHandler.cs: Initial implementation.
  1845. * IPostBackEventHandler.cs: Initial implementation.
  1846. * IStateManager.cs: Initial implementation.
  1847. * ITagNameToTypeMapper.cs: Initial implementation.
  1848. * ITemplate.cs: Initial implementation.
  1849. * IValidator.cs: Initial implementation.
  1850. * OutputCacheLocation.cs: Initial implementation.
  1851. * PersistanceMode.cs: Initial implementation.
  1852. * StateItem.cs: Initial implementation.
  1853. 2001-08-27 Bob Smith <[email protected]>
  1854. * Control.cs: Bug fixes and implementations.
  1855. 2001-08-24 Bob Smith <[email protected]>
  1856. * Control.cs: Bug fixes.
  1857. 2001-08-23 Bob Smith <[email protected]>
  1858. * Control.cs: More implementation. Events reworked for performance.
  1859. 2001-08-22 Bob Smith <[email protected]>
  1860. * LiteralControl.cs: Implemented.
  1861. * Control.cs: Even more implementation (Events). What a beast.
  1862. 2001-08-20 Bob Smith <[email protected]>
  1863. * Control.cs: More implementation. Not done yet. Shutter.
  1864. 2001-08-17 Bob Smith <[email protected]>
  1865. * Control.cs: Partial implementation.