ChangeLog 14 KB

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