ChangeLog 35 KB

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