ChangeLog 29 KB

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