ChangeLog 18 KB

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