ChangeLog 14 KB

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