2005-09-23 Gonzalo Paniagua Javier * 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 * 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 * DataBindingCollection.cs: Raise the event, remove MonoTODO. * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a string. 2005-09-21 Sebastien Pouliot * 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 * 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 * 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 * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC. 2005-09-19 Sebastien Pouliot * 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 * 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 * 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 * 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 * 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 * TemplateParser.cs: default VS 2005 pages are compiled fine now. 2005-09-07 Chris Toshok * 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 * RootBuilder.cs (.cctor): doh, add all the new html controls here. 2005-08-31 Chris Toshok * DataSourceSelectArguments.cs (Empty): this is apparently, according to corcompare, a property, not a field. go figure. (Equals): implement. (IsEmpty): remove all mention of it. 2005-08-29 Chris Toshok * StateBag.cs (GetChar): add. 2005-08-28 Chris Toshok * Page.cs: more random corcompare work. (PageAdapter): implement. 2005-08-28 Chris Toshok * Page.cs (.ctor): set our initial ID to "__Page". (SmartNavigation): obsolete in 2.0. (FindControl): new implementation. Just check our own ID against the control we're looking for. otherwise pass it along to base.FindControl. (GetPostBackClientHyperlink): obsolete in 2.0. 2005-08-28 Chris Toshok * ClientScriptManager.cs: public sealed in 2.0 * IAdaptableTextWriter.cs: new 2.0 interface. * IHierarchyData.cs: fix return type for GetParent. 2005-08-28 Chris Toshok * Pair.cs: mark serializable and sealed in 2.0. 2005-08-26 Sebastien Pouliot * CssStyleCollection.cs: Implemented setter for Value (2.0) using the existing (but internal) FillStyle method. Rewrote BagToString to use an HtmlTextWriter so we get the "right" format for background-image url. 2005-08-26 Sebastien Pouliot * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle], Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed the extra space from last patch because they break some unit tests. 2005-08-26 Lluis Sanchez Gual * CssStyleCollection.cs: Added some spacing. * HtmlTextWriter.cs: Made style and attribute tables static. Implemented StaticGetStyleName(). 2005-08-26 Sebastien Pouliot * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest compilation. * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0. The new rendering formats the value as "url(" + original + ")". 2005-08-26 Sebastien Pouliot * HtmlTextWriter.cs: Added support for VerticalAlign style (as it depends on the HtmlTextWriterStyle ordering). 2005-08-26 Gonzalo Paniagua Javier * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME. 2005-08-25 Sebastien Pouliot * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which fixed the rest of the enum values). * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes parameter to match 2.0 API. Added a setter to the AllowedTypes property. 2005-08-24 Chris Toshok * Control.cs (get_Adapter): Instead of throwing an exception, just return null, so we can write the rest of the Control specific Adapter code and just not enable any of those code paths until we have actual adapters. Also flag TODO. (EnsureChildControls): Call out to Adapter.CreateChildControls if we have an adapter. (RenderChildren): call "RenderControl (writer, adapter)" if we have an adapter. (RenderControl): implement the adapter case naively. (LoadRecursive): call out to Adapter.OnLoad if we have one. (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if we have one. (InitRecursive): call out to Adapter.OnInit if we have one. 2005-08-24 Chris Toshok * Page.cs (GetPostBackEventReference): track change to ClientScriptManager and don't call a removed method. * ClientScriptManager.cs: track more recent docs and corcompare output. 2005-08-24 Sebastien Pouliot * KeyedList.cs: Fixed bug when removing an unexisting object. * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found in implementing RoleGroupCollection. 2005-08-22 Sebastien Pouliot * Page.cs: Use Control property (and not the _control variable) to get the User (so the virtual Control property can be overriden properly). Sadly this doesn't seems to be the case for other properties (like Request). 2005-08-18 Dick Porter * ControlCachePolicy.cs, PersistChildrenAttribute.cs, UserControl.cs, DesignerDataBoundLiteralControl.cs, PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs, BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and stubs and attribute fixes 2005-08-13 Sebastien Pouliot * Control.cs: Add protected virtual SetDesignModeState, in 2.0 profile, as this is required for the Login control. 2005-08-11 Dick Porter * CssStyleCollection.cs: Tweak the css string format to pass a unit test * AttributeCollection.cs: Don't NRE if someone sets the "style" attribute to null. 2005-08-05 Ben Maurer * HtmlTextWriter.cs: Revert the patch below, see test case 2005-08-05 Dick Porter * HtmlTextWriter.cs: Make