2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
index 0a077659191c7653aecde2d2b2945c6ebc5ee190..ee27c519c77d2c640072bcf744d8fcb97f7c1313 100644 (file)
@@ -1,3 +1,398 @@
+2005-01-10  Lluis Sanchez Gual <lluis@novell.com>
+       
+       * TemplateBuilder.cs: Added a special constructor that takes an
+       attribute provider as parameter. The container type for the template
+       may be defined in a TemplateContainerAttribute.
+       * ControlBuilder.cs: Create the TemplateBuilder using that special
+       constructor.
+       * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
+
+2004-12-20 Lluis Sanchez Gual  <lluis@novell.com>
+
+       * IStyleSheet.cs: Added missing "using".
+       * Page.cs: Implemented Header property.
+       * CssStyleCollection.cs: Made BagToString method internal.
+       * RootBuilder.cs: Register HtmlHead control.
+       
+2004-12-17 Lluis Sanchez Gual  <lluis@novell.com>
+
+       * CssStyleCollection.cs: Minor (!) fix.
+       * HtmlTextWriter.cs: Register names for new 2.0 styles.
+
+2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
+
+       * CssStyleCollection.cs: Make it work as a standalone collection.
+       * HtmlTextWriter.cs: Added static method for getting style names.
+
+2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ControlCollection.cs: fix off-by-one and store a null at the end to
+       remove the reference to the removed control.
+
+2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
+
+       * ClientScriptManager.cs: Added GetScriptLiteral helper method.
+       
+2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
+
+       * Page.cs: Added support for callback events. Moved theform variable
+       outside the __doPostBack function, so it can be used by other
+       scripts.
+       * StateBag.cs: Implemented SetDirty().
+
+2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: when saving "Visible" into the ViewState, save the value
+       for this precise control, as using the Visible property might give us
+       Control's parent visibility. Fixes bug #69200.
+
+2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
+       sessions.
+
+       * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
+       the appRoot + SessionID + vpath format.
+
+       Fixes the 3 issues reported in bug #66623.
+
+2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
+
+       * Page.cs: Moved code for managing client scripts to ClientScriptManager,
+       which is public in 2.0 and internal in 1.1.
+       * ClientScriptManager.cs: Implemented.
+
+2004-11-25 Sanjay Gupta <gsanjay@novell.com>
+
+       * DataSourceView.cs: Removed extra method.
+
+2004-11-24 Sanjay Gupta <gsanjay@novell.com>
+       
+       * DataSourveViewSelectCallback.cs: Corrected method signature.
+
+2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
+
+       * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
+       even if the class doesn't implement IParserAccessor.
+       * WebResourceAttribute.cs: Allow multiple attributes of this type.
+
+2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
+
+       * DataSourceView.cs: Moved here implementation of DataSourceViewChanged 
+       from SqlDataSourceView.cs.
+
+2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: unified a few bool fields into an int one.
+
+       * ControlCollection.cs: use an array internally instead of always
+       allocating an arraylist. Also added our own enumerator.
+       
+       * EmptyControlCollection.cs: there's no 'special' ctor now in the base
+       class.
+
+2004-11-05 Sanjay Gupta <gsanjay@novell.com>
+
+       * DataSourceView.cs: Changes in access modifiers of methods.
+
+2004-10-20 Sanjay Gupta <gsanjay@novell.com>
+
+       * DataSourceCapabilities.cs: Added Flags attribute.
+       * DataSourceSelectArguments.cs: Updated.
+       * DataSourveView.cs: Updated.
+
+2004-10-19 Sanjay Gupta <gsanjay@novell.com>
+
+       * HierarchicalDataSourceView.cs: Corrected class definition and updated.
+
+2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HierarchicalDataSourceView.cs: fix typo.
+
+2004-10-18 Sanjay Gupta <gsanjay@novell.com>
+
+       * HierarchicalDataSourceView.cs: Updated.
+
+2004-10-18 Sanjay Gupta <gsanjay@novell.com>
+
+       * DataSourceSelectArguments.cs: Initial implementation.
+
+2004-10-12 Sanjay Gupta <gsanjay@novell.com>
+
+       * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
+
+2004-10-12 Sanjay Gupta <gsanjay@novell.com>
+
+       * UrlTypes.cs: Updated.
+
+2004-10-12 Sanjay Gupta <gsanjay@novell.com>
+
+       * UrlPropertyAttribute.cs: Added new file.
+
+2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: even if the control has no children the naming container
+       may contain the control we're looking for. Fixes bug #67304.
+
+2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * AspGenerator.cs: added OtherTags.
+
+2004-09-24 Sanjay Gupta <gsanjay@novell.com>
+
+       * ControlValuePropertyAttribute.cs: Initial implementation.
+
+2004-09-24 Sanjay Gupta <gsanjay@novell.com>
+
+       * IPaginationContainer.cs: Corrected name of class.
+
+2004-09-24 Sanjay Gupta <gsanjay@novell.com>
+
+       * IDReferencePropertyAttribute.cs: Completed implementation.
+
+2004-09-24 Sanjay Gupta <gsanjay@novell.com>
+
+       * ThemeableAttribute.cs:
+       * FilterableAttribute.cs: Code scrubbing and optimization.
+
+2004-09-14 Sanjay Gupta <gsanjay@novell.com>
+
+       * ThemeableAttribute.cs: Completed implementation.
+
+2004-09-14 Sanjay Gupta <gsanjay@novell.com>
+
+       * FilterableAttribute.cs: Completed implementation.
+
+2004-09-14 Sanjay Gupta <gsanjay@novell.com>
+
+       * Control.cs: Added new attributes and a method.
+       * FilterableAttribute.cs: New attribute, initial implementation.
+       * ThemeableAttribute.cs: New attribute, initial implemenataion.
+
+2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateParser.cs: ensure bin directory exists before trying to access
+       it. Fixes bug #65446 (not closed yet due to dependencies).
+
+2004-09-09 Sanjay Gupta <gsanjay@novell.com>
+
+       * Control.cs: Implemented methods of interface IExpressionAccessor.
+
+2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SimpleWebHandlerParser.cs: correctly cache Type instead of the
+       assembly for ashx/asmx. Otherwise we need to open the file and check
+       for the class name in there. Thanks to Ben for pointing this out.
+
+2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateParser.cs: removed creation of StringWriter.  It's not used.
+       * Control.cs: don't create the EventHandlerList until requested.
+
+2004-09-03 Sanjay Gupta <gsanjay@novell.com>
+       
+       * Control.cs: Added new interfaces implemented in .Net 2.0. 
+       * ExpressionBinding.cs: Added new class.
+       * ExpressionBindingCollection.cs: Added new class.
+       
+2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * LiteralControl.cs: stylized. This control has EnableViewState disabled
+       by default and doesn't get an automatic ID. When text is null -> "".
+
+2004-08-31 Sanjay Gupta <gsanjay@novell.com>
+       
+       * ControlSkinProc.cs:
+       * DataSourceViewOperationCallback.cs:
+       * DataSourceViewSelectCallback.cs:
+       * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not 
+       required in definition as delegates by default are sealed.
+       
+2004-08-31 Sanjay Gupta <gsanjay@novell.com>
+
+       * IDReferencePropertyAttribute.cs: Corrected and changed from interface
+       to class.
+       * IMobileTextWriter.cs: Corrected method signatures.
+
+2004-08-09 Sanjay Gupta <gsanjay@novell.com>
+
+       * ControlSkinProc.cs:
+       * DataSourceViewOperationCallback.cs:
+       * DataSourceViewSelectCallback.cs:
+       * ExtractTemplateValuesMethod.cs: Added new delegates.
+
+2004-08-06 Sanjay Gupta <gsanjay@novell.com>
+
+       * IBindableTemplate.cs:
+       * ICallbackEventHandler.cs:
+       * IControlBuilderAccessor.cs:
+       * IControlDesignerAccessor.cs:
+       * IControlTypeFilter.cs:
+       * IDataItemContainer.cs:
+       * IDataSourceViewSchemaAccessor.cs:
+       * IDReferencePropertyAttribute.cs:
+       * IExpressionsAccessor.cs:
+       * IFilterResolutionService.cs:
+       * IItemPaginationInfo.cs:
+       * IMobileTextWriter.cs:
+       * IPageHeader.cs:
+       * IPaginationContainer.cs:
+       * IPaginationInfo.cs:
+       * IResourceResolutionService.cs:
+       * IResourceUrlGenerator.cs:
+       * IStateFormatter.cs:
+       * IStyleSheet.cs:
+       * IThemeResolutionService.cs:
+       * IUrlResolutionService.cs:
+       * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
+
+2004-08-05 Sanjay Gupta <gsanjay@novell.com>
+
+       * PostBackOptions.cs: Added new file and implemented the class.
+
+2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HtmlTextWriterTag.cs: readded author name.
+
+2004-08-04 Sanjay Gupta <gsanjay@novell.com>
+
+       * HtmlTextWriterAttribute.cs:
+       * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
+       * CompilationMode.cs:
+       * ConflictOptions.cs:
+       * DataSourceCacheExpiry.cs:
+       * DataSourceCapabilities.cs:
+       * DataSourceOperation.cs:
+       * TemplateContentType.cs:
+       * TemplateInstance.cs:
+       * UrlTypes.cs:
+       * VerificationConditionalOperator.cs:
+       * VerificationReportLevel.cs:
+       * VerificationRule.cs:
+       * XhtmlMobileDocType.cs: Added enumerations.
+
+2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: style. Reverted previous patch modification of
+       TemplateSourceDirectory (failed when the control is reparented). Use
+       HasControls() and Controls all over instead of _controls, as Controls
+       property and HasControls() might be overriden.
+
+2004-07-27 Alon Gazit <along@mainsoft.com>
+
+       * Control.cs: Changed the implementation of TemplateSourceDirectory
+       and GetDefaultName(). replaced foreach statements with for statements, 
+       in order to improve performence.
+
+2004-07-27 Alon Gazit <along@mainsoft.com>
+
+       * Page.cs: changed the implementation of GetViewStateString().
+       if the view state object is null there is no need to perform 
+       Serialization.
+       
+2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateControl.cs: don't include private methods of base classes when
+       auto-attaching events. Fixes bug 61569.
+
+2004-07-14 Alon Gazit <along@mainsoft.com>
+
+       * HtmlTextWriter.cs: changed the Hashtables to case insensitive.         
+2004-07-08 Pablo Baena <pbaena@gmail.com>
+
+       * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
+       
+2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: added additional checks for saving/displaying trace data.
+
+       * PageParser.cs: removed checks for trace enabled in configuration
+       files.
+
+2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ControlCollection.cs: when clearing the control collection, tell the
+       owners about the removal. Fixes bug #60800.
+
+2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: don't nullify _context after processing the request as there
+       are events not triggered yet. Fixes bug #60726.
+
+2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
+       bug #60681.
+
+2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * PageParser.cs:
+       * UserControlParser.cs: set the page/user control base type even when no
+       default directive provided. Fixes bug #60572.
+
+2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * PageParser.cs: use default trace settings from web.config and check
+       if trace is only requested for local connections. Fixes bug #60180.
+
+2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When 
+       we read the default directive, check the cache for the Type and if
+       present, don't keep reading and store the type found.
+
+       * WebHandlerParser.cs:
+       * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
+       compiling.
+
+2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: properly fixed bug #59794.
+
+2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs:
+       (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
+       #59794.
+
+2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SimpleWebHandlerParser.cs:
+       * TemplateParser.cs: pass the language when compiling from a file.
+
+2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SimpleWebHandlerParser.cs: if we have a global.asax, move its
+       reference to the end to help mcs loading the assemblies. Fixes bug
+       #58768.
+
+       * TemplateParser.cs: same as above. Removed some kludges to workaround
+       loading assemblies from bin path that are now in the runtime. Don't
+       load the assemblies in bin if not needed, but still reference them
+       when compiling.
+
+2004-06-07  Alon Gazit <along@mainsoft.com>
+       * Page.cs: Changed Page.ProcessPostData().
+       After the change ,the state of controls that aren't visible is saved 
+       during a postback.
+       
+2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
+
+2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: IsPostBack also returns true when method is GET and we have
+       viewstate information in the query string. Fixes bug #58151.
+
+2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
+       HttpRutime.TraceManager.
+
+       * PageParser.cs: for 'trace' we have 2 variables now.  Added support
+       for 'buffer' attribute.
+
 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * Page.cs: implemented ClientTarget.