* ObjectStateFormatter.cs: Merged TARGET_JVM parts in
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
index 93829e3a1d6e851e4ee9cc7496c828dc99255497..7089e5cb38d11d77d1146742de03240a5208f074 100644 (file)
@@ -1,3 +1,363 @@
+2006-01-09  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * ObjectStateFormatter.cs: Merged TARGET_JVM parts in 
+       TypeFormatter.Read, TypeFormatter.Write from /main/5
+
+2006-01-09  Konstantin Triger <kostat@mainsoft.com>
+
+       * Page.cs: make ProcessRequest virtual under TARGET_JVM.
+
+2006-01-04  Chris Toshok  <toshok@ximian.com>
+
+       * TemplateParser.cs (.ctor): kinda gross, but handle the
+       AddAssembliesInBin case here.
+       
+       * SimpleWebHandlerParser.cs (.ctor): same.
+
+2006-01-04  Chris Toshok  <toshok@ximian.com>
+
+       * SimpleWebHandlerParser.cs: Remove the declaration of
+       compilationConfig in the CONFIGURATION_2_0 case.  it's
+       unnecessary.
+       (.ctor): ifdef out the AddAssembliesInBin call in the
+       CONFIGURATION_2_0 case.  need to revisit this.
+       (CompilationConfig): add a CONFIGURATION_2_0 version.
+
+       * BaseParser.cs: Remove the declaration of compilationConfig in
+       the CONFIGURATION_2_0 case.  it's unnecessary.
+
+2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: use _controls instead of the property wherever possible.
+
+2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: use the _controls field instead of the Controls property.
+       Fixes bug #76919.
+
+2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
+       Now internal.
+       * KeyedListEnumerator.cs: Now internal.
+
+2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ControlCollection.cs: allow 'null' in Remove.
+
+2005-11-28  Chris Toshok  <toshok@ximian.com>
+
+       * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
+
+       * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
+       (PagesConfig): add a CONFIGURATION_2_0 version that returns a
+       PagesSection.
+
+       * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
+
+       * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
+       version that returns a CompilationSection.
+
+2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
+
+2005-11-09  Chris Toshok  <toshok@ximian.com>
+
+       * ViewStateEncryptionMode.cs: new 2.0 enum.
+
+2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateParser.cs: fixes #76423. Not tested properly.
+
+2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: call LoadViewStateRecursive when the Form collection has
+       not been used by a different page (GetTypeHashCode). This fixes problems
+       when calling Server.Transfer while preserving Form and QueryString,
+       as the page we transfer to used the view state stored in the Form, which
+       contained the serialized data for the page calling Server.Transfer
+       instead.
+
+2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: add/remove the error before/after invoking OnError.
+
+2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: call OnError when there's an exception (not for TAE). Fixes
+       bug #76572.
+
+2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateControl.cs:
+       * PartialCachingControl.cs: if a control is cacheable, LoadControl
+       returns a PartialCachingControl that holds the VaryBy* and takes care
+       of partial caching and rendering. Fixes bug #76547.
+
+2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: don't cache the 'Validate()' results. IsValid retests
+       the validators again.
+
+2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DesignerDataBoundLiteralControl.cs: changed autoid api.
+       * DataBoundLiteralControl.cs: changed autoid api.
+
+       * Control.cs: fixlet for UniqueID and weird test case.  Removed
+       PreventAutoID and only use the property to set that value.
+
+       * LiteralControl.cs: changed autoid api.
+
+2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * AttributeCollection.cs: avoid code duplication and
+       don't add "style" to the bag, or it will overwrite the settings made
+       by CssStyleCollection.
+
+       * CssStyleCollection.cs: make it throw where MS throws.
+       Minimize the number of times we create the "style" string and take
+       care of updating it for the AttributeCollection. FillStyle and
+       BagToString are now private. One should use the 2.0 (internal in <2.0)
+       Value property.
+
+2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Control.cs: fix HasChildViewStates.
+
+2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * LosFormatter.cs: when the default ctor is used, MAC is disabled.
+       Fixes bug #76240.
+
+2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ObjectTagBuilder.cs: only fail when no id and no attributes.
+
+2005-09-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * DataBindingCollection.cs: Using an hashtable is a nice trick but
+       we need to copy values (not the DictionaryEntry) in CopyTo.
+       * Page.cs: IsValid throws an exception if the page hasn't be 
+       validated. VerifyRenderingInServerForm doesn't throw an exception
+       during unit testing (without a context?) but does in normal ops.
+
+2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
+       save the allocation of new MemoryStreams when possible. Thanks to
+       Sebastien again.
+
+2005-09-23  Ben Maurer  <bmaurer@ximian.com>
+
+       * HtmlTextWriter.cs: Initial support for escaping.
+
+2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ViewStateOutputHashStream.cs: Removed. It didn't last long.
+
+       * Page.cs: almost restored to its previous state, but now that we found
+       that LosFormatter ctor that takes 'enableMac', moved the logic to
+       add the hash and validate there. Thanks to Sebastien for his input.
+       
+       * LosFormatter.cs: implemented the missing ctors and support for
+       "MAC" validation of the data.
+
+2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs:
+       * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
+       prevents the viewstate being altered on the client and it's disabled
+       by default as per the documentation, but MS machine.config has it
+       enabled in machine.config.
+
+2005-09-22  Miguel de Icaza  <miguel@novell.com>
+
+       * DataBindingCollection.cs: Raise the event, remove MonoTODO.
+
+       * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
+       string. 
+
+2005-09-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Control.cs: Added null checks for Trace as it can be null when 
+       rendering (like it was for 39 unit tests).
+
+2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Page.cs: reverted hacks used with the wrong method of getting a
+       control rendered size.
+       * Control.cs: if the trace is enabled, save control rendered size.
+
+2005-09-19  Sebastien Pouliot  <sebastien@ximian.com> 
+       * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
+       now use HtmlHeader directly.
+       * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
+       rewrote Equals to avoid dual type cast.
+
+2005-09-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
+
+2005-09-19  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
+       * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
+       with Minimal level. Fixed checks on ctor.
+       * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level.
+       * TemplateContainerAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level.
+       * TemplateControl.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Fixed checks/exceptions. 
+       Stubbed IFilterResolutionService for CAS testing.
+       * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
+       AspNetHostingPermission with Minimal level.
+       * TemplateParser.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level.
+       * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
+       with Minimal level. Removed IDispose interface.
+       * ToolboxDataAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute 
+       to work on both 1.x and 2.0 profiles.
+       * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand 
+       for AspNetHostingPermission with Minimal level.
+       * UserControl.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Stubbed 
+       IFilterResolutionService for CAS testing.
+       * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
+       for AspNetHostingPermission with Minimal level.
+       * ValidationPropertyAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level.
+       * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission 
+       with Minimal level.
+       * WebResourceAttribute.cs: Removed extra ctor and added setter to 
+       PerformSubstitution.
+       * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level.
+
+2005-09-15  Sebastien Pouliot  <sebastien@ximian.com> 
+       * ParseChildrenAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Simplified Equals to avoid
+       casting. Added new ctor and public fields (2.0). Changed 
+       ChildControlType setter visibility to internal.
+       * PartialCachingAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Added new ctor and 
+       SqlDependency property (2.0).
+       * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
+       AspNetHostingPermission with Minimal level.
+       * PersistenceModeAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Simplified Equals to avoid
+       casting.
+       * PersistChildrenAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Simplified Equals to avoid 
+       casting.
+       * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission 
+       with Minimal level. Class is static in 2.0.
+       * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Class is no more sealed in
+       2.0. Added new (2.0) BuiltObjects property.
+       * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand 
+       for AspNetHostingPermission with Minimal level.
+       * StateItem.cs: Added LinkDemand for AspNetHostingPermission with 
+       Minimal level.
+       * StateBag.cs: Added LinkDemand for AspNetHostingPermission with 
+       Minimal level. Removed SetDirty() which was called (2.0) but did 
+       nothing.
+       * StaticPartialCachingControl.cs: Added LinkDemand and 
+       InheritanceDemand for AspNetHostingPermission with Minimal level.
+
+2005-09-15  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Added new 2.0 properties
+       (but the generated HTML doesn't use them).
+       * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level.
+       * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
+       with Minimal level.
+       * LiteralControl.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Default Text is null.
+       * LosFormatter.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
+       * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
+       * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission 
+       with Minimal level. Added check for null id (HttpException).
+       * Page.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Throw some HttpException 
+       when no context is available.
+       * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal 
+       level. InheritanceDemand too for 1.x.
+       * PageParser.cs: Added LinkDemand for AspNetHostingPermission with 
+       Minimal level.
+
+2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
+       * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with 
+       Minimal level. Fixed some exceptions.
+       * DataBindingCollection.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Added 2.0 method and 
+       event.
+       * DataBindingHandlerAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level.
+       * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
+       Minimal level. Simplified Equals (reduced casts).
+       * DataBoundLiteralControl.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Implemented ITextControl
+       for 2.0.
+       * DesignerDataBoundLiteralControl.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level.
+       * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
+       with Minimal level. Added new 2.0 properties.
+       * DesignTimeTemplateParser.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Made class static and 
+       stubbed missing methods (2.0).
+       * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand 
+       for AspNetHostingPermission with Minimal level. Changed Add* methods
+       exceptions to HttpException.
+
+2005-09-14  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
+       with Minimal level.
+       * BaseParser.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level.
+       * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
+       for AspNetHostingPermission with Minimal level.
+       * CompiledTemplateBuilder.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level.
+       * ConstructorNeedsTagAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level.
+       * ControlBuilderAttribute.cs: Added LinkDemand for 
+       AspNetHostingPermission with Minimal level. Simplified Equals and 
+       IsDefaultAttribute.
+       * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level.
+       * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
+       * ControlCollection.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Fixed possible stack 
+       overflow in Add* methods. Fixed CopyTo as we're not allocating the 
+       array based on the number of items.
+       * Control.cs: Added LinkDemand and InheritanceDemand for 
+       AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
+       * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission 
+       with Minimal level.
+       * IStyleSheet.cs: Fixed parameter orders (2.0).
+
+2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateParser.cs: default VS 2005 pages are compiled fine now.
+
+2005-09-07  Chris Toshok  <toshok@ximian.com>
+
+       * MinimizableAttributeTypeConverter.cs: new class, whose existence
+       we know about because of corcompare, and for whose implementation
+       we have exclusively nunit to thank.
+
 2005-09-06  Chris Toshok  <toshok@ximian.com>
 
        * RootBuilder.cs (.cctor): doh, add all the new html controls