2007-03-05 Vladimir Krasnov * Control.jvm.cs: fixed TemplateSourceDirectory property 2007-03-03 Marek Habersack * TemplateParser.cs: support but ignore the Async and AsyncTimeOut page directive attributes. Support the LinePragmas page directive attribute. * PageParser.cs: added support for the MaintainScrollPositionOnPostBack page directive attribute. 2007-02-26 Igor Zelmanovich * TemplateControl.cs: * TemplateControl.jvm.cs: fixed: AutoEventWireup feature: Method 'Page_XXX' is declared in the base class must be called even is private. 2007-02-26 Vladimir Krasnov * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should not return AppRelativeTemplateSourceDirectory of master page 2007-02-26 Igor Zelmanovich * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash: 2007-02-22 Igor Zelmanovich * TemplateControl.cs: added missing property AppRelativeVirtualPath 2007-02-21 Konstantin Triger * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier check from Global.asax inherits attribute to let inherits="A.B" construct. 2007-02-20 Igor Zelmanovich * ObjectStateFormatter.cs: optimization for serialization of primitive type arrays 2007-02-19 Igor Zelmanovich * ClientScriptManager.cs: * Control.cs: * Page.cs: implemented PostBackOptions.TrackFocus feature. 2007-02-14 Igor Zelmanovich * Page.cs: for 2.0: refactoring: prepare infrastructure for Form.SubmitDisabledControls feature 2007-02-18 Eyal Alaluf * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file. * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks for J2EE portlets. 2007-02-14 Igor Zelmanovich * Page.cs: for 2.0: '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are registered only once. 2007-02-14 Igor Zelmanovich * Page.cs: for 2.0: '__doPostBack' declared as function of form. convention to use 'currForm' instead 'myForm' 2007-02-14 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: including 'webform.js' requires '__doPostBack' on the form be rendered. 2007-02-14 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: refactoring: 'theForm' variable is always declared on client. '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form. 2007-02-14 Vladimir Krasnov * Page.cs: fixed OnInit, adding css should throw exception if no header present on the page 2007-02-14 Igor Zelmanovich * Page.cs: __doPostBack considers 2.0 features such RegisterOnSubmitStatement 2007-02-14 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: implemented RegisterOnSubmitStatement for 2.0 2007-02-13 Igor Zelmanovich * ClientScriptManager.cs: EventValidation feature optimization on Callback. 2007-02-13 Igor Zelmanovich * Page.cs: fixed exception handling on Callback at client. 2007-02-08 Marek Habersack * Page.cs: Make sure to create specific cultures. 2007-02-08 Vladimir Krasnov * ClientScriptManager.cs: added array declaration also as member of form in TARGET_J2EE for j2ee portal support. Added validators context init for GetClientValidationEvent under TARGET_J2EE for j2ee portal support. * Page.cs: fixed OnFormPostRender, render array declarations after postback script. 2007-02-04 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: client scripts (webform.js, callback.js and MaintainScrollPositionOnPostBack.js) were merged into one resource file. 2007-02-04 Igor Zelmanovich * Page.cs: http://msdn2.microsoft.com/en-us/library/ms178141.aspx LAMESPEC: on Callback IsPostBack is set to false, but true. 2007-02-04 Igor Zelmanovich * Page.cs: VerifyRenderingInServerForm does not fire exception when IsCallback 2007-02-04 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: fixed RegisterClientScriptInclude: all includes that was registered before rendering are rendered at begin form. 2007-02-02 Marek Habersack * TemplateParser.cs: Do not register controls here. 2007-02-02 Adar Wesley * Control.cs: Changed UniqueId implementation to have '$' and not ':' to conform to MS. This led to updating several Tests that referenced the UniqueId as string. 2007-01-30 Eyal Alaluf * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM. 2007-01-29 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: CallBack works with EvantValidation. 2007-01-25 Eyal Alaluf * Page.cs: Change code to use the 'theForm' property when generating JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs. * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for saving hidden fields for TARGET_J2EE Portlets re-render. * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace to all the control IDs to ensure they different between portlets. 2007-01-24 Vladimir Krasnov * Page.cs: fixed CheckForValidationSupport, SupportsEventValidationAttribute should be checked at only one level 2007-01-23 Vladimir Krasnov * TemplateControl.jvm.cs: ParseControl not supported, added limited implementation if TestDeviceFilter 2007-01-22 Konstantin Triger * ClientScriptManager.cs: ensure the callback client script is registered before the client script includes are rendered. 2007-01-22 Konstantin Triger * Page.cs, ClientScriptManager.cs: ensure the web form client script is registerd before the client script includes are rendered. 2007-01-21 Konstantin Triger * Page.cs: move the WriteClientScriptIncludes to the top of the form, according to the MSDN. 2007-01-20 Miguel de Icaza * XhtmlTextWriter.cs: comment out unused code. * ThemeProvider.cs: comment out unused code. * DataSourceView.cs: Comment unused variable. * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0 code * Control.cs: Put _templateControl inside the NET_2_0 ifdef 2007-01-20 Marek Habersack * TemplateParser.cs: Check whether the base type is in the root namespace. 2007-01-18 Eyal Alaluf * Control.jvm.cs: Added PortletNamespace property. 2007-01-16 Vladimir Krasnov * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery * Control.cs: moved TemplateSourceDirectory from TemplateControl for TARGET_JVM, fixed AppRelativeTemplateSourceDirectory 2007-01-16 Vladimir Krasnov * TemplateControl.jvm.cs: added 2.0 event names for wiring up 2007-01-15 Ilya Kharmatsky * Control.cs: - IsViewStateEnabled - removed check for non-null page, since the control by definition should come with enabled view state, even if it not 'attached' to the page - HasEvents() - implementation (still could produce bug in exotic scenarios when all events added to 'this' control has been removed through the property 'Events', but currently we can't see better implementation) 2007-01-14 Eyal Alaluf * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files. * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal support for TARGET_J2EE. 2007-01-12 Miguel de Icaza * Control.cs: Remove comment, it provides no information about what could be wrong. 2007-01-08 Vladimir Krasnov * PageTheme.cs: implemented * Page.cs: fixed InitializeTheme, added PageTheme page initialization * TemplateControl.cs, * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with IXmlNamespaceResolver parameter * XPathBinder.cs: added Eval, Select overloads with IXmlNamespaceResolver parameter, refactored 2007-01-08 Vladimir Krasnov * TemplateControl.jvm.cs: added GetGlobalResourceObject 2007-01-07 Igor Zelmanovich * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field. 2007-01-04 Igor Zelmanovich * Control.cs: ensure 'id' attribute will be rendered if ClientID was accessed but ID is generated by the Page, important for custom controls developing. 2007-01-04 Igor Zelmanovich * Page.cs: fixed: InitializeCulture should be called before creating controls. 2007-01-03 Marek Habersack * Page.cs: Make sure the ValidatorOnSubmit function is defined for the document before attempting to use it. 2007-01-01 Vladimir Krasnov * Control.cs: fixed ResolveClientUrl, wrong when control that calls this method and the page are in different folders 2006-12-31 Gonzalo Paniagua Javier * Page.cs: show the validation summary when client validation and linkbuttons are used. Patch by Juraj Skripsky. 2006-12-31 Igor Zelmanovich * Page.cs: fixed: EventValidation is not performed for CallBack request. 2006-12-27 Igor Zelmanovich * Page.cs: fixed: RegisterRequiresPostBack feature. 2006-12-21 Marek Habersack * ControlBuilder.cs: Add support for tag mapping in 2.0 2006-12-20 Marek Habersack * TemplateParser.cs: make sure Context.ApplicationInstance is not valid before adding application assembly. 2006-12-11 Igor Zelmanovich * Page.cs: fixed and optimized ProcessPostData The "second try" used for controls that created at OnLoad. fixed for controls that use RgisterRequeresPostBack to handle post data. 2006-11-29 Igor Zelmanovich * Page.cs: The specified theme must exist as either an application theme. If the theme does not exist, an HttpException exception s thrown. 2006-12-09 Marek Habersack * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used also in the 1.x profile) * ObjectStateFormatter.cs: Implement the IStateFormatter interface * ClientScriptManager.cs: Use IStateFormatter instead of LosFormatter. Use the IStateFormatter interface when registering the hidden field with the state. * LosFormatter.cs: Use ObjectStateFormatter * PageStatePersister.cs: Make the class available as internal for 1.x profile. Constructor throws an exception on its page parameter being null. Implemented several properties: ControlState, ViewState, Page, StateFormatter * Page.cs: Use new state persister for all the profiles. Use the new HiddenFieldPageStatePersister class. * IStateFormatter.cs: Make the class available as internal for 1.x profile. 2006-12-04 Vladimir Krasnov * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization 2006-11-29 Marek Habersack * TemplateParser.cs: if the OutputCache directive is present, make sure the cache does not expire the current output. 2006-11-29 Igor Zelmanovich * Page.cs: added missing methods and properties: AsyncMode AsyncTimeout IsAsync UniqueFilePathSuffix MaxPageStateFieldLength ViewStateEncryptionMode AddOnPreRenderCompleteAsync AddOnPreRenderCompleteAsync ExecuteRegisteredAsyncTasks CreateHtmlTextWriterFromType RegisterRequiresViewStateEncryption 2006-11-29 Igor Zelmanovich * Page.cs: Master property returns null when no HttpContext. 2006-11-29 Igor Zelmanovich * Page.cs: InitializeCulture method is called before OnPreInit. 2006-11-28 Marek Habersack * TemplateControlParser.cs: Use the new TemplateParser methods to register controls/namespaces * TemplateParser.cs: Implement support for the system.web/pages/namespaces collection instead of hard-coding the namespaces into the source. Refactoring: added two internal methods to handle both the system.web/pages/controls registration and the Register directive. Added a new internal method to pull the system.web/pages/controls collection before parsing. 2006-11-27 Marek Habersack * SimpleWebHandlerParser.cs: Added support for looking up types in the top-level assemblies (App_Code et al) 2006-11-27 Igor Zelmanovich * Control.cs: implemented EnsureID method. 2006-11-27 Igor Zelmanovich * Control.cs: implemented Focus methods. 2006-11-27 Igor Zelmanovich * Page.cs: implemented SetFocus methods. * PageLifeCycle.cs: 2006-11-27 Igor Zelmanovich * ClientScriptManager.cs: refactoring: extracted method RegisterWebFormClientScript 2006-11-27 Igor Zelmanovich * Control.cs: implemented OpenFile() 2006-11-26 Igor Zelmanovich * Page.cs: * Control.cs: implemented ClearChildState(), ClearChildControlState() and IsChildControlStateCleared 2006-11-26 Igor Zelmanovich * Page.cs: * ClientScriptManager.cs: implemented RegisterExpandoAttribute feature 2006-11-23 Igor Zelmanovich * ListSourceHelper.cs: optimization of implementation 2006-11-23 Igor Zelmanovich * ListSourceHelper.cs: implemented 2006-11-21 Igor Zelmanovich * DataSourceView.cs: fixed: constructor throws ArgumentNullException 2006-11-21 Igor Zelmanovich * Page.cs: fixed: PreviousPage property when CrossPostBack is processed PreviousPage is initialized only if PreviousPage property is called. 2006-11-21 Igor Zelmanovich * DataSourceControl.cs: fixed: Focus(), EnableTheming 2006-11-21 Marek Habersack * Control.cs: Make ClientIDSeparator private for !NET_2_0 2006-11-21 Igor Zelmanovich * Page.cs: fixed: LoadControlState is called for controls that added on Load and latter 2006-11-20 Marek Habersack * Control.cs: Implementations of a few missing properties. * Page.cs: Added support for automatic culture detection from the user's browser. * PageParser.cs: Added support for "auto" cultures in the Page directive. 2006-11-20 Igor Zelmanovich * ClientScriptManager.cs: fixed: ValidateEvent feature: client side return eventArgument as empty string for controls that set it as null 2006-11-18 Marek Habersack * ClientScriptManager.cs: Implemented two missing GetPostBackEventReference overloads. Made one of the overloads internal for .NET < 2.0. 2006-11-17 Marek Habersack * PostBackOptions.cs: Renamed the constructors parameters to match those Microsoft .NET uses. targetControl must not be passed null to the constructor. * ClientScriptManager.cs: Support for event validation. Implemented a GetPostBackHyperlink overload. Implemented the RegisterForEventValidation methods. Implemented the ValidateEvent method. Added support for saving/restoring event validation state. * Page.cs: EnableEventValidation can be set only from the config files (the element), the Page directive or from Page_Init. After Page_Init returns, an exception is thrown. Made GetFormatter internal, so that ClientScriptManager can use it. Added the internal LifeCycle property which contains the current life cycle stage of the page request processing. Added calls to save/restore event validation state. Added checks for whether child controls of the page support event validation or not. Added calls to ClientScriptManager.ValidateEvent in appropriate places. * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event validation. 2006-11-16 Gonzalo Paniagua Javier * LosFormatter.cs: * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and empty strings. 2006-11-16 Gonzalo Paniagua Javier * SimpleWebHandlerParser.cs: 'using' for file reading. 2006-11-16 Gonzalo Paniagua Javier * Page.cs: revert r67514 until after tagging for the next release. 2006-11-12 Igor Zelmanovich * LiteralControl.cs: fixed: constructors & Text property 2006-11-09 Igor Zelmanovich * Page.cs: fixed: LoadControlState is called for controls that added on Load and latter, for 1.x refactoring only 2006-11-02 Igor Zelmanovich * ClientScriptManager.cs: fixed: checks arguments for null in public methods, fixed public interface. 2006-10-23 Igor Zelmanovich * PostBackOptions.cs: fixed: default values of properties 2006-10-22 Igor Zelmanovich * CssStyleCollection.cs: * AttributeCollection.cs: fixed: style collection is synchronized with style attribute 2006-10-19 Igor Zelmanovich * ClientScriptManager.cs: fixed: renders id attribute in hidden field 2006-10-18 Marek Habersack * TemplateParser.cs: reference System.Resources when compiling a control. * TemplateControl.cs: implement the GetGlobalResourceObject ASP.NET 2.0 APIs. 2006-10-12 Igor Zelmanovich * Page.cs: fixed: for 2.0 only When Page processes Callback IsPostBack = false, but it still needs LoadViewState/ControlState and ProcessPostData 2006-10-11 Igor Zelmanovich * DataSourceSelectArguments.cs: fixed: SortExpression not returns null, Empty property returns new instance each time 2006-10-10 Igor Zelmanovich * DataSourceSelectArguments.cs: fixed: RaiseUnsupportedCapabilitiesError method. 2006-10-09 Igor Zelmanovich * DataSourceSelectArguments.cs: fixed: Equals method. 2006-10-09 Gonzalo Paniagua Javier * CssStyleCollection.cs: don't clear the collection of properties, but create a new one. 2006-10-06 Gonzalo Paniagua Javier * CssStyleCollection.cs: 'style' can be modified on our back, so build the style table every time instead of keeping one that is not in sync. Fixes bug #79587. 2006-09-25 Igor Zelmanovich * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0 When page is invoked by cross-page posting, PreviousPage processed all live-cycle up to OnLoadComplite included. IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values. 2006-09-20 Gonzalo Paniagua Javier * TemplateParser.cs: patch by Joel Reed that makes use of the namespace collection from the PagesConfiguration to add new namespaces when generating the page/control code. 2006-09-18 Gonzalo Paniagua Javier * PageParser.cs: support the EnableEventValidation attribute. 2006-09-18 Igor Zelmanovich * Page.cs: fixed: Title property works properly 2006-09-17 Igor Zelmanovich * ClientScriptManager.cs: added helper method 2006-09-14 Igor Zelmanovich * Page.cs: fixed: GetValidators(string), Validate(string) works properly 2006-09-08 Robert Jordan * Page.cs: assure that RenderTrace is called even if an exception occurred. Fixes bug #78930. 2006-09-08 Gonzalo Paniagua Javier * TemplateControl.cs: search for the new Page_* event handlers in 2.0. Patch by Marek Habersack that fixes bug #78268. 2006-09-07 Lluis Sanchez Gual * Page.cs: Use lowercase getElementById in the javascript that checks the browser. 2006-08-22 Vladimir Krasnov * KeyedListEnumerator.cs: fixed Current property to return real object instead of DictionaryEntry 2006-09-06 Gonzalo Paniagua Javier * Page.cs: don't use the Browser object, as it slows down process request time *a lot*. Fixes bug #79206. 2006-09-05 Konstantin Triger * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings). * OutputCacheParameters.cs: added an implementation. 2006-09-04 Igor Zelmanovich * CssStyleCollection.cs: fixed: background-image style attribute 2006-08-31 Konstantin Triger * StaticPartialCachingControl.cs: added forwarding implementation for 2.0 version of BuildCachedControl(). 2006-08-30 Igor Zelmanovich * Page.cs: added internal method * ClientScriptManager.cs: 2006-08-30 Igor Zelmanovich * ClientScriptManager.cs: added helper method 2006-08-22 Vladimir Krasnov * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string if compiled with .net aspx parser fixed OnInit, GetStyleSheets may return null if no css files found by .net aspx parser 2006-08-22 Vladimir Krasnov * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access modifiers check on event handlers 2006-08-22 Vladimir Krasnov * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx parser 2.0 * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath fixed TemplateSourceDirectory, should not work on master pages. 2006-08-20 Vladimir Krasnov * MasterPageParser.jvm.cs: fixed path resolving GetCompiledMasterInstance 2006-08-17 Vladimir Krasnov * TemplateControl.jvm.cs: fixed data binding API, implemented AppRelativeVirtualPath, ReadStringResource 2006-08-17 Vladimir Krasnov * Page.cs: added stubs to run aspx files compiled by .net 2006-08-17 Vladimir Krasnov * MasterPageParser.jvm.cs: implemented 2006-08-10 Andrew Skiba * Page.cs: render css path as a virtual path. 2006-08-09 Robert Jordan * Control.cs: add the 2.0 ResolveClientUrl method. Expose ResolveClientUrl as internal for the 1.1 profile. Fixes bug #77539. 2006-08-08 Vladimir Krasnov * added MasterPageParser.jvm.cs 2006-08-08 Vladimir Krasnov * ControlBuilder.jvm.cs: added BuildObject method 2006-08-08 Vladimir Krasnov * ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net * UserControl.cs: fixed ParseChildren attribute to be compliant to .net 2006-08-08 Igor Zelmanovich * Page.cs: implemented MaintainScrollPositionOnPostBack feature 2006-08-06 Vladimir Krasnov * Control.cs: fixed EnableTheming proprty, fixes bug when child control has EnableTheming=false and parent has true. 2006-07-31 Vladimir Krasnov * MasterPage.cs: fixed default values, fixed AddContentTemplate 2006-07-31 Vladimir Krasnov * Control.cs: fixed EnableTheming proprty, fixes the bug when skins are applied even if EnableTheming property was set to false. 2006-07-24 Andrew Skiba * DataSourceView.cs: refactor to keep the original exception stack. 2006-07-21 Gonzalo Paniagua Javier * PostBackOptions.cs: default to String.Empty for several field values. Patch by Marek Habersack. 2006-07-20 Gonzalo Paniagua Javier * Page.cs: when ProcessRequest is not called, get the session from the current context. Fixes bug #78730. 2006-07-20 Gonzalo Paniagua Javier * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch by Peijen Lin that closes bug #78646. 2006-06-14 Gonzalo Paniagua Javier * TemplateControlParser.cs: fix compilation caching when more than one @control is compiled from source. Closes bug #78626. 2006-06-14 Gonzalo Paniagua Javier * Page.cs: add the 2.0 Items property. Fixes bug #78467. 2006-06-14 Gonzalo Paniagua Javier * Page.cs: use the new internal LosFormatter.SerializeToBase64. * LosFormatter.cs: always work on base 64 strings even if the input/output is on a Stream. Fixes bug #78640. 2006-06-08 Konstantin Triger * Page.cs: For loading themes, use '~/App_Themes' instead of './App_Themes' to enable theme support for files in sub folders. 2006-05-25 Andrew Skiba * Control.cs: move 2.0 stuff into ifdef NET_2_0 2006-05-25 Andrew Skiba * Page.cs, Control.cs: Fix the order of OnInit invocation of controls created via master page content (see http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ). 2006-05-11 Andrew Skiba * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the PageTheme and from StyleSheetPageTheme to insert links in page header. 2006-05-10 Andrew Skiba * TemlpateParser.cs: surround file name with quotes 2006-05-08 Chris Toshok * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This fixes the last thing keeping the test in #76818 from working. 2006-05-07 Andrew Skiba * Page.cs: if no theme is defined in aspx, read default from web.config. Same for the style sheet theme. 2006-04-27 Andrew Skiba * TemplateParser.cs: format according to http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html 2006-04-25 Chris Toshok * PageThemeParser.cs (LinkedStyleSheets): reformat. 2006-04-25 Konstantin Triger * Control.cs: implementation for IsViewStateEnabled. 2006-04-25 Andrew Skiba * Control.cs: fix null pointer exception 2006-04-23 Andrew Skiba * PageThemeParser.cs: add LinkedStyleSheets property 2006-04-16 Andrew Skiba * TemplateParser.cs: add internal method AddAssemblyByFileName 2006-04-16 Konstantin Triger * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies. 2006-04-11 Konstantin Triger * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem(). 2006-04-10 Chris Toshok * PageThemeFileParser.cs (AddDirective): allow Register directives in skin files. 2006-04-02 Chris Toshok * Control.cs (DesignMode): always return false for now. Fixes #77991. 2006-03-24 Gonzalo Paniagua Javier * ControlBuilder.cs: when creating a default property builder, handle strings specially. * StringPropertyBuilder.cs: new builder used in TextBox 2.0. 2006-03-15 Vladimir Krasnov * ControlCollection.cs: fixed CopyTo method, fixes bug when if target index is not zero 2006-03-13 Chris Toshok * HtmlTextWriterTag.cs: no [Serializable] in 2.0. * HtmlTextWriterAttribute.cs: same. * HtmlTextWriterStyle.cs: same. * VirtualReferenceType.cs: new enum. 2006-03-13 Chris Toshok * UserControl.cs: rework InitializeAsUserControl and InitializeAsUserControlInternal - the Internal variety doesn't set this.page to null now. * MasterPage.cs (CreateMasterPage): map the masterPageFile path, and also remove a line of spew. 2006-03-09 Vladimir Krasnov * Added PageParser.jvm.cs, WebServiceParser.jvm.cs 2006-03-07 Chris Toshok * Page.cs (InitializeStyleSheet): load the style sheet theme using ThemeDirectoryCompiler. (InitializeTheme): load the page's theme using ThemeDirectoryCompiler. (InternalProcessRequest): call InitializeTheme after OnPreInit. (FrameworkInitialize): call InitializeStyleSheet. (PageTheme,StyleSheetPageTheme): new properties to get the respective themes. * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin on the ControlSkin (if there is one) for this control in the page's StyleSheetSkin. (ApplyThemeRecursively): applies the page's theme recursively to the control hierarchy. Must be done this way because the control tree is already present when we apply the theme (it has to be, since theme's override settings). * PageTheme.cs (GetControlSkin): add internal call to do the lookup for us. * PageThemeFileParser.cs: the parser object that represents each individual skin file. * PageThemeParser.cs: the parser object that represents the entire theme directory. * PageThemeBuilder.cs: this class generates the right exception on the right event, but it's not hooked up yet. 2006-03-02 Chris Toshok * Control.cs (ApplyStyleSheetTheme): remove the exception, and add a MonoTODO. * Page.cs (Theme): implement setter/getter. (StyleSheetTheme): same. * PageParser.cs (ProcessMainAttributes): parse the Theme and StyleSheetTheme attributes. 2006-02-27 Chris Toshok * TemplateControl.cs: corcompare work. * ExpressionBindingCollection.cs: same. * HierarchicalDataSourceControl.cs: same. * PostBackOptions.cs: same. * ClientScriptManager.cs: same. * FilterableAttribute.cs: same. * ControlCollection.cs: same. * DataBindingCollection.cs: same. * PropertyEntry.cs: mark ctor internal. * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal. * Page.cs: stub out two Theme oriented 2.0 properties. * DataBinder.cs: remove the obsolete attribute on the ctor. * TwoWayBoundPropertyEntry.cs: remove this. * ControlBuilder.cs (BindingContainerType): virtual in 2.0. * ThemeProvider: new (stubbed) class. * SkinBuilder.cs: same. * PageTheme.cs: same. * ControlSkin.cs: same. * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs. * SimplePropertyEntry.cs: mark ctor as internal. * IThemeResolutionService.cs: enable the 3 members of this interface. 2006-02-27 Chris Toshok * ListSourceHelper.cs: this class is static. * Page.cs: add some EditorBrowsable attributes to the 2.0 events. 2006-02-27 Chris Toshok * DataSourceView.cs: Name isn't virtual. * DataSourceControl.cs: beat this class over the head with the corcompare stick. * DataSourceControlBuilder.cs: new stubbed control builder for DataSourceControl. 2006-02-23 Chris Toshok * Page.cs: more corcompare work. 2006-02-23 Chris Toshok * Page.cs (ProcessCallbackData): track change to ICallbackEventHandler iface. * ICallbackEventHandler.cs: enable the proper members of this interface. * DataSourceSelectArguments.cs: reformat getter/setters. 2006-02-22 Cesar Lopez Nataren * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile. 2006-02-14 Gonzalo Paniagua Javier * WebHandlerParser.cs: * WebServiceParser.cs: * UserControlParser.cs: * PageParser.cs: added new ctor that uses a TextReader as input. * TemplateControlParser.cs: new Reader property. * SimpleWebHandlerParser.cs: new Reader property and ctor. 2006-02-12 Cesar Lopez Nataren * HtmlTextWriter.cs: Implemented IsValidFormAttribute and WriterBreak for the .NET 2.0 profile. 2006-02-10 Gonzalo Paniagua Javier * IThemeResolutionService.cs: this is now added to the sources file, but some other stuff does not compile yet as the interface changed after the beta. * ObjectConverter.cs: removed extra attribute. * ObjectStateFormatter.cs: add IStateFormatter for 2.0. * ICallbackEventHandler.cs: update the interface, but commented the 'good' stuff out, since other files need to be fixed too. 2006-02-07 Chris Toshok * ControlBuilder.cs: rename flushOutputStatements to methodStatements to at least reflect that they're in that method. 2006-02-07 Chris Toshok * MasterPage.cs (CreateMasterPage): don't nullref on null contentTemplateCollection. * ControlBuilder.cs: add a flushOutputStatements field. * PageParser.cs (ProcessMainAttributes): handle Title attribute. (Title): add getter. * Page.cs (Title): implement getter/setter. (InternalProcessRequest): after calling ApplyMasterPage, apply the page's Title directive if there is one. (AddContentTemplate): make the EditorBrowsable attribute apply to the method, not the field. 2006-02-07 Chris Toshok * MasterPage.cs: rework this file, adding some static methods gleaned from MS stack traces, and clear up the propogation of content templates between nested master pages. * Control.cs (TemplateControl): implement. * TemplateControl.cs: re-indent some of the code. (ReadStringRecource): according to msdn2, these throw NotSupportedException. * MasterPageParser.cs (HandleOption): implement. assign our master page's MasterPageFile from the UserControl property. * UserControl.cs (InitializeAsUserControlInternal): new method that allows initialization without a page. * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle MasterPageFile attributes, so we can have nested master pages. (MasterPageFile): add a 2.0 specific property. * TemplateControlParser.cs: in .net 2.0, our base class is BaseTemplateParser. (HandleOptions): be consistent and call base.HandleOptions. * BaseTemplateParser.cs: new (stubbed) class. * MasterPageControlBuilder.cs: new file, not filled in (and really not used either.) * Page.cs (InternalProcessRequest): call ApplyMasterPage. (SaveExistingContentTemplates): nuke. (ReapplyExistingContentTemplate): nuke. (ApplyMasterPage): if we have a master page, call MasterPage.ApplyMasterPageRecursive with it and add it to our controls. (set_MasterPageFile): remove call to SaveExistingContentTemplates. (get_Master): call MasterPage.CreateMasterPage. (AddContentTemplate): keep track of the page's content templates in a local Hashtable - they aren't our master page's content templates. 2006-02-01 Chris Toshok * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace calls to GetWebApplicationSection with GetSection. * SimpleWebHandlerParser.cs: same. * Page.cs: same. * PageParser.cs: same. * BaseParser.cs: same. 2006-01-27 Chris Toshok * MasterPage.cs (ContentTemplatesInternal): add get/set for the actual Hashtable. * Page.cs (SaveExistingContentTemplates): store off the existing MasterPage content templates so they can be reapplied when setting MasterPageFile to something else. (ReapplyExistingContentTemplates): set masterPage's ContentTemplates to our saved copy. (set_MasterPageFile): save off the current content templates before clearing masterPage. (get_Master): reapply the saved content templates after we create the new MasterPage. 2006-01-25 Chris Toshok * ClientScriptManager.cs (RegisterClientScriptResource): last patch, I swear. How can 1 line of code have 3 bugs? 2006-01-25 Chris Toshok * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix problem with last commit - unquote "resourceName" so it uses the parameter instead of the string constant. 2006-01-22 Chris Toshok * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to quiet mcs. * PageParser.cs (ProcessMainAttributes): i missed a CONFIGURATION_2_0 block. * BoundPropertyEntry.cs (.ctor): mark as internal to fix corcompare. 2006-01-18 Konstantin Triger * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter. 2006-01-18 Konstantin Triger * HtmlTextWriter.cs: perform case insensitive compare; return correct key in default case. 2006-01-11 Chris Toshok * ClientScriptManager.cs (RegisterClientScriptResource): implement. 2006-01-11 Vladimir Krasnov * ObjectStateFormatter.cs: Removed TARGET_JVM parts in TypeFormatter.Read 2006-01-10 Chris Toshok * Page.cs (ValidateCollection): in NET_2_0 if event validation is off, return true. 2006-01-09 Chris Toshok * Page.cs: fix a lot of indentation, and add the EnableEventValidation .net 2.0 property. 2006-01-09 Vladimir Krasnov * ObjectStateFormatter.cs: Merged TARGET_JVM parts in TypeFormatter.Read, TypeFormatter.Write from /main/5 2006-01-09 Konstantin Triger * Page.cs: make ProcessRequest virtual under TARGET_JVM. 2006-01-04 Chris Toshok * TemplateParser.cs (.ctor): kinda gross, but handle the AddAssembliesInBin case here. * SimpleWebHandlerParser.cs (.ctor): same. 2006-01-04 Chris Toshok * 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 * Control.cs: use _controls instead of the property wherever possible. 2005-12-05 Gonzalo Paniagua Javier * Control.cs: use the _controls field instead of the Controls property. Fixes bug #76919. 2005-11-30 Sebastien Pouliot * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final. Now internal. * KeyedListEnumerator.cs: Now internal. 2005-11-29 Gonzalo Paniagua Javier * ControlCollection.cs: allow 'null' in Remove. 2005-11-28 Chris Toshok * 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 * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff. 2005-11-09 Chris Toshok * ViewStateEncryptionMode.cs: new 2.0 enum. 2005-11-08 Gonzalo Paniagua Javier * TemplateParser.cs: fixes #76423. Not tested properly. 2005-11-07 Gonzalo Paniagua Javier * 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 * Page.cs: add/remove the error before/after invoking OnError. 2005-10-27 Gonzalo Paniagua Javier * Page.cs: call OnError when there's an exception (not for TAE). Fixes bug #76572. 2005-10-25 Gonzalo Paniagua Javier * 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 * Page.cs: don't cache the 'Validate()' results. IsValid retests the validators again. 2005-09-29 Gonzalo Paniagua Javier * 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 * 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 * Control.cs: fix HasChildViewStates. 2005-09-27 Gonzalo Paniagua Javier * LosFormatter.cs: when the default ctor is used, MAC is disabled. Fixes bug #76240. 2005-09-27 Gonzalo Paniagua Javier * ObjectTagBuilder.cs: only fail when no id and no attributes. 2005-09-23 Sebastien Pouliot * 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 * 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 * HtmlTextWriter.cs: Initial support for escaping. 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