ChangeLog 17 KB

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