ChangeLog 29 KB

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