ChangeLog 37 KB

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