ChangeLog 18 KB

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