ChangeLog 14 KB

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