ChangeLog 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  2. * Page.cs: improved event raising to allow client postback for a wider
  3. variety of actions (clicking an hyperlink, ...).
  4. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  5. * UserControl.cs: implemented Load/SaveViewState.
  6. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  7. * AttributeCollection.cs:
  8. (Add): handle 'style' through styleCollection.
  9. * CssStyleCollection.cs:
  10. (fillStyle): renamed to FillStyle and made it internal.
  11. * Page.cs:
  12. (GetViewStateString): fixed, broken after other recent changes.
  13. (ProcessPostData): allow a second try for postback data after OnLoad.
  14. (ProcessRequest): clear controls collection, removed call to
  15. UnloadRecursive.
  16. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  17. * Control.cs: uncommented Dispose.
  18. * Page.cs:
  19. (DeterminePostBackMode): more checkings.
  20. (GetPostBackClientHyperLink): implemented.
  21. (GetPostBackEventReference): added some comments with the HTML that MS
  22. generates for that.
  23. (ProcessRequest): fixed processing order. The page is unloaded after
  24. a request and regenerated from view state on subsequents posts.
  25. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  26. * Control.cs: fixed related to ViewState. Added RemovedControl.
  27. * ControlCollection.cs: notify owner of control removal.
  28. * CssStyleCollection.cs: almost rewritten to make it render the style
  29. attribute after changes to it.
  30. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  31. Removed Xml code.
  32. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  33. HybridDictionary: it makes the program give an InvalidCastException at
  34. runtime. Why?
  35. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  36. * Page.cs: fire Init and Load events for all children.
  37. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  38. * UserControl.cs: New file.
  39. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  40. * ControlBuilderAttribute.cs: finished implementation.
  41. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  42. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  43. property to false.
  44. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  45. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  46. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  47. Hashtable. Added internal .ctor.
  48. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  49. Equals and GetHashCode.
  50. * System.Web.UI/DataBoundLiteralControl.cs:
  51. (LoadViewState):
  52. (SaveViewState): implemented.
  53. * System.Web.UI/Page.cs: FileDependencies is not public.
  54. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  55. (GetHashCode):
  56. (Equals):
  57. (IsDefaultAttribute): implemented.
  58. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  59. * Control.cs: fixed Visible property.
  60. * Page.cs: fixed GetViewStateString.
  61. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  62. * System.Web.UI/Page.cs:
  63. (GetViewStateString): new function to give the server access to the
  64. generated view state string.
  65. (Validate): d'oh!
  66. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  67. * Control.cs:
  68. (SaveViewstateRecursive): implemented.
  69. (SaveViewState): fixed.
  70. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  71. * Page.cs: added code to save view state to an xml file. It's not
  72. being used right now.
  73. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  74. * System.Web.UI/LiteralControl.cs:
  75. Fixes based on class status page:
  76. - Add attributes (DefaultEvent, ParseChildren).
  77. - Fix declarations.
  78. - Explicitly implement some interfaces (IPostBackDataHandler
  79. and IPostBackEventHandler).
  80. - Implemented some missing methods.
  81. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  82. * Control.cs: reimplemented FindControls.
  83. * Page.cs:
  84. (.ctor): set the page for this control.
  85. (IsPostBack): return valid value.
  86. (DeterminePostBackMode): finished.
  87. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  88. (ProcessPostData): implemented. Raises change and postback events.
  89. (ProcessRequest): changed to support reuse of the instance.
  90. (RegisterRequiresPostBack): implemented.
  91. * ValidatorCollection.cs: implemented all methods.
  92. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  93. * Control.cs:
  94. * Page.cs: first attemp to save view state.
  95. * HtmlForm.cs: don't render Action.
  96. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  97. * Page.cs: implemented more properties using information we already
  98. have in Context.
  99. (OnFormRender):
  100. (OnFormPostRender):
  101. (VerifyRenderingInServerForm): implemented.
  102. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  103. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  104. out runtime. Renamed Page_Init and Page_Load.
  105. After this, we can load a dll and render HTML in linux.
  106. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  107. * Control.cs:
  108. (AddedControl): new function that is called whenever a control is
  109. added to a collection of controls in a container. It sets the defaults
  110. except for Page.
  111. * ControlCollection.cs: call AddedControl in Add/AddAt.
  112. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  113. SetStaticString and SetDataBoundString.
  114. * Page.cs: removed SetDefaults.
  115. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  116. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  117. by xsp.
  118. * Control.cs:
  119. (BindingContainer): implemented.
  120. (EnsureChildControls): avoid stack overflow.
  121. * DataBinder.cs: implemented Eval and PropertyValue.
  122. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  123. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  124. bug as in regular attributes).
  125. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  126. * Control.cs: implemented PreventAutoID.
  127. * Page.cs:
  128. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  129. been called.
  130. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  131. * Page.cs:
  132. (Validators): if the collection is null, create one.
  133. (GetPostBackEventReference 2): don't throw exception.
  134. (GetPostBackClientEvent): return a string with containing the method
  135. name, the control name and the argument.
  136. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  137. * Page.cs: SetPage is now called SetDefaults and also sets a default
  138. ID for controls that don't have one yet.
  139. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  140. * Page.cs:
  141. (GetPostBackClient):
  142. (RegisterRequiresPostBack): don't throw NotImplementedException to
  143. keep going.
  144. (ProcessRequest): set the current page as the Page property for *all*
  145. the controls, not just the direct children of the page.
  146. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  147. * Control.cs:
  148. (MapPathSecure): until security is implemented, return the same path
  149. received as argument.
  150. (RenderControl): call OnPreRender before rendering the control. So
  151. AdRotator can read its configuration file.Is there any other place
  152. where this should be done?
  153. * HtmlTextWriter.cs:
  154. (AddAttribute): fixed. Now it really stores attributes.
  155. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  156. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  157. * ControlCollection.cs:
  158. (AddAt): if index is -1 behave as a plain Add.
  159. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  160. * Page.cs: for each child control to render, assign Control.Page.
  161. Probably also needed in HtmlContainerControl derived classes.
  162. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  163. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  164. fine and takes care of the details.
  165. * Control.cs: added HasChildren property.
  166. * StateBag.cs: fixed a couple of nasty bugs.
  167. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  168. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  169. Invoke Page_Init and/or Page_Load if the user supplied them (though
  170. this should depend on AutoEventWireUp attribute of Page directive).
  171. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  172. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  173. * Page.cs:
  174. (ProcessRequest): implemented.
  175. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  176. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  177. methods.
  178. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  179. * Page.cs:
  180. (FileDependencies): now is public public.
  181. (EnableViewStateMAC): uncommented and made protected.
  182. (GetTypeHashCode): added method.
  183. 2002-05-24 Duncan Mak <[email protected]>
  184. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  185. * StateBag.cs (Item): Changed the visibility level of the this
  186. [object] indexer.
  187. Misc. formatting edits, fixing some bugs introduced by the indentation.
  188. * DataBinder.cs (Eval)
  189. (GetIndexedPropertyValue)
  190. (GetPropertyValue): Fixed return types.
  191. 2002-05-21 Miguel de Icaza <[email protected]>
  192. * HtmlTextWriter.cs: Use this to change the member instances.
  193. 2002-05-17 Duncan Mak <[email protected]>
  194. * AttributeCollection.cs:
  195. * ControlCollection.cs:
  196. * CssStyleCollection.cs:
  197. * DataBindingCollection.cs:
  198. * EmptyControlCollection.cs: Added missing Collection classes.
  199. 2002-05-17 Duncan Mak <[email protected]>
  200. * BaseParser.cs:
  201. * TemplateParser.cs: Implemented. BaseParser is weird because
  202. there is no documentation on what it does.
  203. * ControlBuilder.cs:
  204. * DataBinder.cs:
  205. * DataBinding.cs: Added.
  206. * DataBoundLiteralControl.cs:
  207. * Triplet.cs: Added.
  208. * RenderMethod.cs: Added this delegate for Control.cs
  209. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  210. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  211. 2002-05-14 Duncan Mak <[email protected]>
  212. * ValidationPropertyAttribute.cs: Added to CVS.
  213. 2002-05-10 Duncan Mak <[email protected]>
  214. * ConstructorNeedsTagAttribute.cs:
  215. * ControlBuilderAttribute.cs:
  216. * ImageClickEventArgs.cs:
  217. * ParseChildrenAttribute.cs:
  218. * PartialCachingAttribute.cs:
  219. * PersistChildrenAttribute.cs:
  220. * PersistenceModeAttribute.cs:
  221. * TemplateContainerAttribute.cs: Added to CVS.
  222. * PersistanceMode.cs: Removed, fixed typo.
  223. * PersistenceMode.cs: Replacing above.
  224. * StateBag.cs (this): Fixed indexer, it takes a string as the
  225. index, not an object.
  226. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  227. * Page.cs (Validators): return type should be ValidatorCollection,
  228. not ValidatedCollection.
  229. * TagPrefixAttribute.cs: Added to CVS.
  230. 2002-05-07 Duncan Mak <[email protected]>
  231. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  232. 2002-03-26 Gaurav Vaish <[email protected]>
  233. * DataBindingHandlerAttribute.cs
  234. - Completed
  235. * ToolboxDataAttribute.cs - Completed
  236. 2002-01-03 Nick Drochak <[email protected]>
  237. * DesignTimeParseData.cs: initialze static member to avoid compile
  238. error
  239. * PropertyConverter.cs: remove uneeded exception variables from
  240. catch blocks.
  241. 2002-01-02 Nick Drochak <[email protected]>
  242. * DesignTimeParseData.cs: fix header to show correct class name
  243. 2001-12-21 Gaurav Vaish <[email protected]>
  244. * StateBag.cs - Completed
  245. 2001-12-19 Gaurav Vaish <[email protected]>
  246. * Pair.cs - Small undocumented class. Completed.
  247. 2001-12-18 Gaurav Vaish <[email protected]>
  248. * DesignTimeParseData.cs - Initial implementation
  249. * StateBag.cs - Initial implementation
  250. 2001-12-17 Gaurav Vaish <[email protected]>
  251. * PropertyConverter.cs - Undocumented class. Completed.
  252. * Utils.cs - Undocumented, private class.
  253. Initial implementation
  254. 2001-08-28 Bob Smith <[email protected]>
  255. * Control.cs: Figured out some undocumented API.
  256. * Added TODO.
  257. * BuildMethod.cs: Initial implementation.
  258. * BuildTemplateMethod.cs: Initial implementation.
  259. * HtmlTextWriterAttribute.cs: Initial implementation.
  260. * HtmlTextWriterStyle.cs: Initial implementation.
  261. * HtmlTextWriterTag.cs: Initial implementation.
  262. * IAttributeAccessor.cs: Initial implementation.
  263. * IDataBindingsAccessor.cs: Initial implementation.
  264. * ImageClickEventHandler.cs: Initial implementation.
  265. * INamingContainer.cs: Initial implementation.
  266. * IParserAccessor.cs: Initial implementation.
  267. * IPostBackDataHandler.cs: Initial implementation.
  268. * IPostBackEventHandler.cs: Initial implementation.
  269. * IStateManager.cs: Initial implementation.
  270. * ITagNameToTypeMapper.cs: Initial implementation.
  271. * ITemplate.cs: Initial implementation.
  272. * IValidator.cs: Initial implementation.
  273. * OutputCacheLocation.cs: Initial implementation.
  274. * PersistanceMode.cs: Initial implementation.
  275. * StateItem.cs: Initial implementation.
  276. 2001-08-27 Bob Smith <[email protected]>
  277. * Control.cs: Bug fixes and implementations.
  278. 2001-08-24 Bob Smith <[email protected]>
  279. * Control.cs: Bug fixes.
  280. 2001-08-23 Bob Smith <[email protected]>
  281. * Control.cs: More implementation. Events reworked for performance.
  282. 2001-08-22 Bob Smith <[email protected]>
  283. * LiteralControl.cs: Implemented.
  284. * Control.cs: Even more implementation (Events). What a beast.
  285. 2001-08-20 Bob Smith <[email protected]>
  286. * Control.cs: More implementation. Not done yet. Shutter.
  287. 2001-08-17 Bob Smith <[email protected]>
  288. * Control.cs: Partial implementation.