ChangeLog 19 KB

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