ChangeLog 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999
  1. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  2. * LosFormatter.cs: fixed bug #49604. Patch by [email protected].
  3. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  4. * Control.cs: removed some debug lines.
  5. * Page.cs: implemented RegisterOnSubmitStatement
  6. * TemplateControl.cs: fixed wire up for methods with no parameters.
  7. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  8. * PageParser.cs: ignore ValidateRequest by now.
  9. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  10. * System.Web.UI/TemplateControl.cs: support for wiring up events without
  11. parameters.
  12. 2003-10-08 Pedro Martínez Juliá <[email protected]>
  13. * PageParser.cs: drop some useless code.
  14. 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
  15. * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
  16. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  17. * System.Web.UI/PageParser.cs:
  18. * System.Web.UI/TemplateControlParser.cs: honour the input file given
  19. as argument.
  20. 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
  21. * Control.cs:
  22. (ClearChildViewState): doh! Don't clear control viewstate but the
  23. viewstate of possible children.
  24. (LoadViewStateRecursive): load viewstate even when control is not
  25. visible.
  26. Fixes bug #49024.
  27. The rest are just dangling ^M removed.
  28. * DataBoundLiteralControl.cs:
  29. (LoadViewState): we get an object [], not a string [].
  30. 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
  31. * Control.cs: implemented ClearChildViewState ().
  32. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  33. * Page.cs: store unique IDs for controls requiring postback. Fixes bug
  34. #47985.
  35. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  36. * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
  37. dependencies so that it's recompiled when changed.
  38. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  39. * LosFormatter.cs: fixed Deserialize for empty viewstate.
  40. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  41. * Page.cs: check if controls that require postback have
  42. been changed by an event and register them to be notified of data
  43. changed event.
  44. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  45. * Control.cs: patch by [email protected] (Yaron Shkop) that fixes
  46. bug #47866.
  47. 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
  48. * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
  49. are not serializable. Fixes bug #47784.
  50. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  51. * Control.cs: index the viewstates saved by the control position, not
  52. the control name. Fixes bug #47697.
  53. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  54. * ControlCollection.cs:
  55. * EmptyControlCollection.cs: create a minimum ArrayList for this.
  56. * BaseParser.cs: added setter for BaseVirtualDir.
  57. * Page.cs: fixed message when restoring view state fails.
  58. * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
  59. when a relative path to the control is given. Fixes bug #47685.
  60. 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
  61. * Control.cs: when we load the viewstate for a control that has children
  62. viewstates and the child is not found, keep its viewstate around and
  63. wait until the child is added to load the viewstate. Fixes bug #47697.
  64. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  65. * TemplateControl.cs: more Delegate.CreateDelegate fixes.
  66. 2003-08-01 Andreas Nahr <[email protected]>
  67. * PartialCachingControl.cs: is not abstract
  68. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  69. * SimpleHandlerFactory.cs: implemented GetHandler.
  70. * WebHandlerParser.cs: new file that parses .ashx files.
  71. 2003-07-30 Andreas Nahr <[email protected]>
  72. * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
  73. 2003-07-30 Andreas Nahr <[email protected]>
  74. * UserControl.cs: Added attribute
  75. * BasePartialCachingControl.cs: New class and paritally implemented
  76. * DesignerDataBoundLiteralControl.cs: New class and implemented
  77. * DesignTimeTemplateParser.cs:
  78. * PartialCachingControl.cs:
  79. * StaticPartialCachingControl.cs: New class and paritally implemented
  80. 2003-07-27 Andreas Nahr <[email protected]>
  81. * ApplicationFileParser.cs: Fixed signature
  82. * DesignTimeParseData.cs: Added missing properties, implemented
  83. * Page.cs: Added attributes
  84. * PageParser.cs:
  85. * TemplateControlParser.cs:
  86. * TemplateParser.cs:
  87. * UserControlParser.cs: Fixed signature
  88. 2003-07-17 Andreas Nahr <[email protected]>
  89. * HtmlControlPersistableAttribute.cs: Added
  90. * IgnoreUnknownContentAttribute.cs: Added
  91. 2003-07-17 Andreas Nahr <[email protected]>
  92. * IUserControlDesignerAccessor.cs: Added and implemented
  93. * Control.cs: Missing member added, added all attributes
  94. * Page.cs: Added attributes, fixed signature
  95. * TemplateControl.cs: Fixed signature, added all attributes
  96. * UserControl.cs: Added all attributes, added and implemented missing interface
  97. 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
  98. * ControlCollection.cs: fixed bug #46472.
  99. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  100. * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
  101. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  102. * SimpleWebHandlerParser.cs: updated to new compilation interface.
  103. * TemplateParser.cs: use the new parameter when compiling.
  104. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  105. * Page.cs: also keep the value for the second try on handling postback
  106. events.
  107. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  108. * BaseParser.cs: fixed MapPath for non-rooted files.
  109. * PageParser.cs: don't pass a non-virtual file around.
  110. * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
  111. the exception teh may be throw by MapPath on an invalid path.
  112. * TemplateParser.cs: removed unused method.
  113. * UserControlParser.cs: modified inputfile. The result is the same, but
  114. this one is better.
  115. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  116. * RootBuilder.cs: throw exception when the tagprefix is not valid or
  117. not found.
  118. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  119. * TemplateControlParser.cs: return after processing @Register.
  120. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  121. * TemplateParser.cs: Added support for server side includes.
  122. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  123. * TemplateControl.cs: fixed the flags used to find the methods that
  124. are automatically hooked up on events.
  125. * TemplateParser.cs: don't compile a source file directly. Use the
  126. cache instead.
  127. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  128. * BaseParser.cs: Location property is now here. Added a couple of
  129. convenience methods to throw a ParseException.
  130. * TemplateParser.cs:
  131. * TemplateControlParser.cs:
  132. * PageParser.cs: throw ParseException where appropiate.
  133. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  134. * ApplicationFileParser.cs: use the generator to actually parse the
  135. file.
  136. * ControlBuilder.cs: small fix in NamingContainerType because
  137. TemplateBuilders have a null ControlType. When a control is appended
  138. to a parent, assign the child's parent.
  139. * UserControlParser.cs: fixed the value of InputFile.
  140. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  141. * ApplicationFileParser.cs: store the Context and override
  142. BaseVirtualDir so that it's the application path.
  143. * BaseParser.cs: removed CurrentVirtualPath property.
  144. * TemplateControlParser.cs: use BaseVirtualDir.
  145. * UserControlParser.cs: removed CurrentVirtualPath.
  146. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  147. * TemplateParser.cs: always reference all the assemblies in bin
  148. directory.
  149. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  150. * ApplicationFileParser.cs: it works now. Prior to these changes, we
  151. were using the compiler directly.
  152. * BaseParser.cs: added some useful properties and methods.
  153. * CodeBuilder.cs: use ILocation.
  154. * CodeRenderBuilder.cs: use ILocation.
  155. * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
  156. * ControlBuilder.cs: made it useful.
  157. * DataBindingBuilder.cs: the control type for data bound text is
  158. DataBoundLiteralControl now.
  159. * ObjectTagBuilder.cs: store some object tag attributes.
  160. * PageParser.cs: handle page-only directives.
  161. * RootBuilder.cs: bah.
  162. * SimpleWebHandlerParser.cs: made it dummy.
  163. * TemplateControl.cs: Modified file.
  164. * TemplateControlParser.cs: handle directives that are common to pages
  165. and user controls.
  166. * TemplateParser.cs: utility methods and handling of directives that
  167. are common to app, page and user controls.
  168. * UserControl.cs: added ControlBuilderAttribute.
  169. * UserControlControlBuilder.cs: builder for user controls.
  170. * UserControlParser.cs: use the new interfaces.
  171. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  172. * ControlBuilder.cs: line and fileName are protected now.
  173. * CodeBuilder.cs: base class for the next 2 files.
  174. * CodeRenderBuilder.cs: builder for code render.
  175. * DataBindingBuilder.cs: builder for data binding.
  176. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  177. * ITagNameToTypeMapper.cs: made it internal.
  178. * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
  179. * ObjectTag.cs:
  180. * RootBuilder.cs: initial builder.
  181. 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
  182. * CollectionBuilder.cs:
  183. * TemplateBuilder.cs: new classes derived from ControlBuilder that
  184. represent a property or a ITemplate.
  185. * ControlBuilder.cs: implemented all the missing bits.
  186. * TemplateParser.cs: added mapping from tag name to Type feature.
  187. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  188. * Control.cs: have i definitely fixed naming container stuff this time?
  189. * LosFormatter.cs: activated binary serialization code.
  190. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  191. * Control.cs:
  192. (AddedControl): fixed default id assignation when the sequence of
  193. AddedControl until it's included in the page or one of its controls
  194. does not pass through a naming container.
  195. 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
  196. * Control.cs: give different default names depending on the place where
  197. it is assigned. Implemented ResolveURl (no more ~ rendered in
  198. attributes!).
  199. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  200. * Control.cs: when adding a control, assign default names to th
  201. children that don't have one.
  202. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  203. * SimpleWebHandlerParser.cs: modified to use the new parser interface.
  204. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  205. * Control.cs: some more tweaks to naming containers stuff.
  206. * DataBinder.cs: don't throw exception if the container is null.
  207. * Page.cs: now we can render client scripts, startup scripts and hidden
  208. fields. Only render __VIEWSTATE if there is someone that will take care
  209. of it.
  210. (RaisePostBackEvents): first try the last one that required raise event,
  211. then try __EVENTTARGET.
  212. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  213. * Control.cs: fixes in UniqueID, FindControl, AddedControl,
  214. UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
  215. FindControl work with NamingContainers.
  216. * ControlCollection.cs: notify the parent when clearing the collection.
  217. * LosFormatter.cs: Added debugging output and generate a valid
  218. viewstate even for unknown types.
  219. * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
  220. viewstate.
  221. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  222. * Page.cs: make it fire the LoadData related events also for controls
  223. such as ImageButton, whose variable(s) in the query string are of the
  224. form ctrl_name.x and only fire them once per control.
  225. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  226. * DataBinder.cs:
  227. (GetPropertyValue): don't try to get the property as indexed
  228. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  229. * DataBinder.cs: use TypeDescriptor to get the properties and their
  230. values.
  231. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  232. * Control.cs:
  233. (AddedControl): take the children to the same state of the parent.
  234. (InitRecursive): set the page of the children.
  235. * Page.cs: removed one line (it's done a few lines above).
  236. * UserControl.cs:
  237. (OnInit): always call InitializeAsUserControl
  238. (InitializeAsUserControl): sets the page for the control.
  239. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  240. * Control.cs: fixed bug #36037.
  241. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  242. * BaseParser.cs: a couple of path fixes to make it work
  243. when the page is not in the root directory.
  244. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  245. * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
  246. reporting the bug.
  247. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  248. * BaseParser.cs: use MapPath and context to locate files.
  249. * Control.cs: implemented MapPathSecure.
  250. * TemplateControl.cs: use UrlUtils to generate the path.
  251. * TemplateControlParser.cs: use the context and MapPath.
  252. * UserControl.cs: implemented MapPath.
  253. * UserControlParser.cs: added context parameter to constructor.
  254. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  255. * Control.cs: implemented MapPathSecure.
  256. * Page.cs: fixed Server property.
  257. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  258. * DataBinder.cs: try the indexer if the property is not found in
  259. GetPropertyValue ().
  260. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  261. * Control.cs: added AutoEventWireup internal property.
  262. * Page.cs: removed page events wire up from here.
  263. * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
  264. and user controls events.
  265. * TemplateControlParser.cs: process the options that are applicable
  266. once we have the instance of the control.
  267. * TemplateParser.cs: also stores the options.
  268. * UserControl.cs: hook up events before initializing the control.
  269. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  270. * Control.cs: new method to set bindingContainer value.
  271. * TemplateControl.cs: added controls are not binding containers.
  272. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  273. * Control.cs: implemented TemplateSourceDirectory.
  274. * TemplateControl.cs: implemented LoadControl and LoadTemplate.
  275. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  276. * UserControl.cs: fixed SetAttribute.
  277. * UserControlParser.cs: set the correct base type.
  278. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  279. * TemplateParser.cs: fixed BaseType.
  280. * UserControlParser.cs: helper class to compile user controls.
  281. 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
  282. * LosFormatter.cs: added DateTime to special types.
  283. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  284. * LosFormatter.cs: added array serialization support. Disabled binary
  285. serialization and add some debugging code.
  286. * StateBag.cs: the length of the list of value can be less than the
  287. length if the list of keys when remaining values are null.
  288. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  289. * Page.cs: return something useful in GetPostBackClientEvent.
  290. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  291. * Page.cs: implemented FileDependecies and made it protected.
  292. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  293. * Control.cs: save control names instead of the controls
  294. themselves to the ViewState.
  295. * LosFormatter.cs: added support for serializing unknown
  296. types. BinaryFormatter does not work so you better don't store anything
  297. of unknown Type in ViewState.
  298. * Page.cs: GetViewStateString works now using LosFormatter.
  299. Complete "Control execution lifecycle" by unloading all the child
  300. controls. Check for null in RaisePostBackEvents.
  301. LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
  302. 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
  303. * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
  304. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  305. * LosFormatter.cs: Use WebEncoding.Encoding.
  306. * Control.cs:
  307. * Page.cs: fixed namespace.
  308. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  309. * Page.cs: set the context in ProcessRequest. Added a few trace calls.
  310. * Control.cs: added some trace information.
  311. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  312. * SimpleHandlerFactory.cs: new handler for .ashx files.
  313. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  314. * System.Web.UI/PageHandlerFactory.cs: new file.
  315. * System.Web.UI/PageParser.cs:
  316. * System.Web.UI/TemplateControlParser.cs: we are now able to compile
  317. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  318. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  319. * Control.cs: implemented ObBubbleEvent.
  320. * Page.cs: temporary workaround to make POST work with xsp server.
  321. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  322. * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
  323. return pvt methods.
  324. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  325. * SimpleWebHandlerParser.cs: New file.
  326. * WebServiceParser.cs: New file.
  327. 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
  328. * LosFormatter.cs: almost fully implemented.
  329. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  330. * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
  331. * EmptyControlCollection.cs: throw correct exception.
  332. * LosFormatter.cs: stubbed out.
  333. * OutputCacheLocation.cs: little fix.
  334. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  335. * System.Web.UI/ApplicationFileParser.cs:
  336. * System.Web.UI/BaseParser.cs:
  337. * System.Web.UI/PageParser.cs:
  338. * System.Web.UI/TemplateControl.cs:
  339. * System.Web.UI/TemplateControlParser.cs:
  340. * System.Web.UI/TemplateParser.cs: first steps to move xsp into
  341. System.Web.
  342. 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
  343. * Page.cs: request to render postback script can be after form started
  344. rendering.
  345. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  346. * Page.cs: added more page events to invoke automagically if some
  347. methods are defined.
  348. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  349. * Control.cs:
  350. (SaveViewState): save state even when control is not visible.
  351. (SaveViewStateRecursive):
  352. (LoadViewStateRecursive): made internal.
  353. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  354. * Page.cs: improved event raising to allow client postback for a wider
  355. variety of actions (clicking an hyperlink, ...).
  356. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  357. * UserControl.cs: implemented Load/SaveViewState.
  358. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  359. * AttributeCollection.cs:
  360. (Add): handle 'style' through styleCollection.
  361. * CssStyleCollection.cs:
  362. (fillStyle): renamed to FillStyle and made it internal.
  363. * Page.cs:
  364. (GetViewStateString): fixed, broken after other recent changes.
  365. (ProcessPostData): allow a second try for postback data after OnLoad.
  366. (ProcessRequest): clear controls collection, removed call to
  367. UnloadRecursive.
  368. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  369. * Control.cs: uncommented Dispose.
  370. * Page.cs:
  371. (DeterminePostBackMode): more checkings.
  372. (GetPostBackClientHyperLink): implemented.
  373. (GetPostBackEventReference): added some comments with the HTML that MS
  374. generates for that.
  375. (ProcessRequest): fixed processing order. The page is unloaded after
  376. a request and regenerated from view state on subsequents posts.
  377. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  378. * Control.cs: fixed related to ViewState. Added RemovedControl.
  379. * ControlCollection.cs: notify owner of control removal.
  380. * CssStyleCollection.cs: almost rewritten to make it render the style
  381. attribute after changes to it.
  382. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  383. Removed Xml code.
  384. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  385. HybridDictionary: it makes the program give an InvalidCastException at
  386. runtime. Why?
  387. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  388. * Page.cs: fire Init and Load events for all children.
  389. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  390. * UserControl.cs: New file.
  391. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  392. * ControlBuilderAttribute.cs: finished implementation.
  393. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  394. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  395. property to false.
  396. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  397. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  398. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  399. Hashtable. Added internal .ctor.
  400. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  401. Equals and GetHashCode.
  402. * System.Web.UI/DataBoundLiteralControl.cs:
  403. (LoadViewState):
  404. (SaveViewState): implemented.
  405. * System.Web.UI/Page.cs: FileDependencies is not public.
  406. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  407. (GetHashCode):
  408. (Equals):
  409. (IsDefaultAttribute): implemented.
  410. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  411. * Control.cs: fixed Visible property.
  412. * Page.cs: fixed GetViewStateString.
  413. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  414. * System.Web.UI/Page.cs:
  415. (GetViewStateString): new function to give the server access to the
  416. generated view state string.
  417. (Validate): d'oh!
  418. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  419. * Control.cs:
  420. (SaveViewstateRecursive): implemented.
  421. (SaveViewState): fixed.
  422. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  423. * Page.cs: added code to save view state to an xml file. It's not
  424. being used right now.
  425. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  426. * System.Web.UI/LiteralControl.cs:
  427. Fixes based on class status page:
  428. - Add attributes (DefaultEvent, ParseChildren).
  429. - Fix declarations.
  430. - Explicitly implement some interfaces (IPostBackDataHandler
  431. and IPostBackEventHandler).
  432. - Implemented some missing methods.
  433. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  434. * Control.cs: reimplemented FindControls.
  435. * Page.cs:
  436. (.ctor): set the page for this control.
  437. (IsPostBack): return valid value.
  438. (DeterminePostBackMode): finished.
  439. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  440. (ProcessPostData): implemented. Raises change and postback events.
  441. (ProcessRequest): changed to support reuse of the instance.
  442. (RegisterRequiresPostBack): implemented.
  443. * ValidatorCollection.cs: implemented all methods.
  444. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  445. * Control.cs:
  446. * Page.cs: first attemp to save view state.
  447. * HtmlForm.cs: don't render Action.
  448. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  449. * Page.cs: implemented more properties using information we already
  450. have in Context.
  451. (OnFormRender):
  452. (OnFormPostRender):
  453. (VerifyRenderingInServerForm): implemented.
  454. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  455. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  456. out runtime. Renamed Page_Init and Page_Load.
  457. After this, we can load a dll and render HTML in linux.
  458. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  459. * Control.cs:
  460. (AddedControl): new function that is called whenever a control is
  461. added to a collection of controls in a container. It sets the defaults
  462. except for Page.
  463. * ControlCollection.cs: call AddedControl in Add/AddAt.
  464. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  465. SetStaticString and SetDataBoundString.
  466. * Page.cs: removed SetDefaults.
  467. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  468. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  469. by xsp.
  470. * Control.cs:
  471. (BindingContainer): implemented.
  472. (EnsureChildControls): avoid stack overflow.
  473. * DataBinder.cs: implemented Eval and PropertyValue.
  474. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  475. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  476. bug as in regular attributes).
  477. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  478. * Control.cs: implemented PreventAutoID.
  479. * Page.cs:
  480. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  481. been called.
  482. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  483. * Page.cs:
  484. (Validators): if the collection is null, create one.
  485. (GetPostBackEventReference 2): don't throw exception.
  486. (GetPostBackClientEvent): return a string with containing the method
  487. name, the control name and the argument.
  488. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  489. * Page.cs: SetPage is now called SetDefaults and also sets a default
  490. ID for controls that don't have one yet.
  491. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  492. * Page.cs:
  493. (GetPostBackClient):
  494. (RegisterRequiresPostBack): don't throw NotImplementedException to
  495. keep going.
  496. (ProcessRequest): set the current page as the Page property for *all*
  497. the controls, not just the direct children of the page.
  498. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  499. * Control.cs:
  500. (MapPathSecure): until security is implemented, return the same path
  501. received as argument.
  502. (RenderControl): call OnPreRender before rendering the control. So
  503. AdRotator can read its configuration file.Is there any other place
  504. where this should be done?
  505. * HtmlTextWriter.cs:
  506. (AddAttribute): fixed. Now it really stores attributes.
  507. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  508. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  509. * ControlCollection.cs:
  510. (AddAt): if index is -1 behave as a plain Add.
  511. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  512. * Page.cs: for each child control to render, assign Control.Page.
  513. Probably also needed in HtmlContainerControl derived classes.
  514. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  515. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  516. fine and takes care of the details.
  517. * Control.cs: added HasChildren property.
  518. * StateBag.cs: fixed a couple of nasty bugs.
  519. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  520. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  521. Invoke Page_Init and/or Page_Load if the user supplied them (though
  522. this should depend on AutoEventWireUp attribute of Page directive).
  523. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  524. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  525. * Page.cs:
  526. (ProcessRequest): implemented.
  527. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  528. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  529. methods.
  530. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  531. * Page.cs:
  532. (FileDependencies): now is public public.
  533. (EnableViewStateMAC): uncommented and made protected.
  534. (GetTypeHashCode): added method.
  535. 2002-05-24 Duncan Mak <[email protected]>
  536. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  537. * StateBag.cs (Item): Changed the visibility level of the this
  538. [object] indexer.
  539. Misc. formatting edits, fixing some bugs introduced by the indentation.
  540. * DataBinder.cs (Eval)
  541. (GetIndexedPropertyValue)
  542. (GetPropertyValue): Fixed return types.
  543. 2002-05-21 Miguel de Icaza <[email protected]>
  544. * HtmlTextWriter.cs: Use this to change the member instances.
  545. 2002-05-17 Duncan Mak <[email protected]>
  546. * AttributeCollection.cs:
  547. * ControlCollection.cs:
  548. * CssStyleCollection.cs:
  549. * DataBindingCollection.cs:
  550. * EmptyControlCollection.cs: Added missing Collection classes.
  551. 2002-05-17 Duncan Mak <[email protected]>
  552. * BaseParser.cs:
  553. * TemplateParser.cs: Implemented. BaseParser is weird because
  554. there is no documentation on what it does.
  555. * ControlBuilder.cs:
  556. * DataBinder.cs:
  557. * DataBinding.cs: Added.
  558. * DataBoundLiteralControl.cs:
  559. * Triplet.cs: Added.
  560. * RenderMethod.cs: Added this delegate for Control.cs
  561. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  562. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  563. 2002-05-14 Duncan Mak <[email protected]>
  564. * ValidationPropertyAttribute.cs: Added to CVS.
  565. 2002-05-10 Duncan Mak <[email protected]>
  566. * ConstructorNeedsTagAttribute.cs:
  567. * ControlBuilderAttribute.cs:
  568. * ImageClickEventArgs.cs:
  569. * ParseChildrenAttribute.cs:
  570. * PartialCachingAttribute.cs:
  571. * PersistChildrenAttribute.cs:
  572. * PersistenceModeAttribute.cs:
  573. * TemplateContainerAttribute.cs: Added to CVS.
  574. * PersistanceMode.cs: Removed, fixed typo.
  575. * PersistenceMode.cs: Replacing above.
  576. * StateBag.cs (this): Fixed indexer, it takes a string as the
  577. index, not an object.
  578. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  579. * Page.cs (Validators): return type should be ValidatorCollection,
  580. not ValidatedCollection.
  581. * TagPrefixAttribute.cs: Added to CVS.
  582. 2002-05-07 Duncan Mak <[email protected]>
  583. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  584. 2002-03-26 Gaurav Vaish <[email protected]>
  585. * DataBindingHandlerAttribute.cs
  586. - Completed
  587. * ToolboxDataAttribute.cs - Completed
  588. 2002-01-03 Nick Drochak <[email protected]>
  589. * DesignTimeParseData.cs: initialze static member to avoid compile
  590. error
  591. * PropertyConverter.cs: remove uneeded exception variables from
  592. catch blocks.
  593. 2002-01-02 Nick Drochak <[email protected]>
  594. * DesignTimeParseData.cs: fix header to show correct class name
  595. 2001-12-21 Gaurav Vaish <[email protected]>
  596. * StateBag.cs - Completed
  597. 2001-12-19 Gaurav Vaish <[email protected]>
  598. * Pair.cs - Small undocumented class. Completed.
  599. 2001-12-18 Gaurav Vaish <[email protected]>
  600. * DesignTimeParseData.cs - Initial implementation
  601. * StateBag.cs - Initial implementation
  602. 2001-12-17 Gaurav Vaish <[email protected]>
  603. * PropertyConverter.cs - Undocumented class. Completed.
  604. * Utils.cs - Undocumented, private class.
  605. Initial implementation
  606. 2001-08-28 Bob Smith <[email protected]>
  607. * Control.cs: Figured out some undocumented API.
  608. * Added TODO.
  609. * BuildMethod.cs: Initial implementation.
  610. * BuildTemplateMethod.cs: Initial implementation.
  611. * HtmlTextWriterAttribute.cs: Initial implementation.
  612. * HtmlTextWriterStyle.cs: Initial implementation.
  613. * HtmlTextWriterTag.cs: Initial implementation.
  614. * IAttributeAccessor.cs: Initial implementation.
  615. * IDataBindingsAccessor.cs: Initial implementation.
  616. * ImageClickEventHandler.cs: Initial implementation.
  617. * INamingContainer.cs: Initial implementation.
  618. * IParserAccessor.cs: Initial implementation.
  619. * IPostBackDataHandler.cs: Initial implementation.
  620. * IPostBackEventHandler.cs: Initial implementation.
  621. * IStateManager.cs: Initial implementation.
  622. * ITagNameToTypeMapper.cs: Initial implementation.
  623. * ITemplate.cs: Initial implementation.
  624. * IValidator.cs: Initial implementation.
  625. * OutputCacheLocation.cs: Initial implementation.
  626. * PersistanceMode.cs: Initial implementation.
  627. * StateItem.cs: Initial implementation.
  628. 2001-08-27 Bob Smith <[email protected]>
  629. * Control.cs: Bug fixes and implementations.
  630. 2001-08-24 Bob Smith <[email protected]>
  631. * Control.cs: Bug fixes.
  632. 2001-08-23 Bob Smith <[email protected]>
  633. * Control.cs: More implementation. Events reworked for performance.
  634. 2001-08-22 Bob Smith <[email protected]>
  635. * LiteralControl.cs: Implemented.
  636. * Control.cs: Even more implementation (Events). What a beast.
  637. 2001-08-20 Bob Smith <[email protected]>
  638. * Control.cs: More implementation. Not done yet. Shutter.
  639. 2001-08-17 Bob Smith <[email protected]>
  640. * Control.cs: Partial implementation.