X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FChangeLog;h=6ed7ad0c4b96935057043fdf9cad6d0147529927;hb=bf5947a0fd2b523c30833605ee69b2b041aa43f4;hp=6720178341718dded733e98801d121ccf26f89f3;hpb=bf41db70d05f3da378c69da51884c3af2d50dfca;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/ChangeLog b/mcs/class/System.Web/System.Web.UI/ChangeLog index 67201783417..6ed7ad0c4b9 100644 --- a/mcs/class/System.Web/System.Web.UI/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI/ChangeLog @@ -1,5 +1,369 @@ +2010-07-23 Marek Habersack + + * ClientScriptManager.cs: 4.0 adds a class="aspNetHidden" + attribute to the div element surrounding the hidden elements. + +2010-07-14 Marek Habersack + + * DataKeyPropertyAttribute.cs: added (4.0) + +2010-07-13 Marek Habersack + + * Control.cs: moved 4.0 ClientID code to a separate method, so + that the ID_SET flag isn't set when necessary. + +2010-07-10 Marek Habersack + + * Control.cs: when setting ClientIDMode remember the value when + setting the property for the first time. + +2010-07-08 Marek Habersack + + * Control.cs: if generating a predictable ID and the current + control is a naming container, ensure that an ID is generated if + not specified by user. + +2010-07-02 Marek Habersack + + * TemplateControlParser.cs: added support for ClientIDMode + property + + * Control.cs: implemented 4.0 features - ClientIDMode and + RenderingCompatibility. + + * ClientIDMode.cs, IDataKeysControl.cs: added + +2010-06-17 Marek Habersack + + * RootBuilder.cs: both LINK and META HTML tags must be represented + as instances of HtmlGenericControl. Fixes bug #603541 + +2010-06-02 Marek Habersack + + * ViewStateMode.cs: added + + * Control.cs: implemented 4.0 ViewStateMode + + * Page.cs: implemented 4.0 properties AutoPostBackControl and + RouteData + +2010-06-01 Marek Habersack + + * PageParser.cs: added support for MetaDescription and + MetaKeywords main directive attributes + + * Page.cs: implemented MetaDescription and MetaKeywords + 4.0 properties. + +2010-05-19 Marek Habersack + + * DataSourceCacheDurationConverter.cs: implemented. Fixes bug + #603083 + + * PageParser.cs: handle several main directive attributes + specially, as they can have expressions as their values. Fixes bug + #603532 + + * MainDirectiveAttribute.cs: added - helper class to handle + directive attributes which can take either a value or an + expression. + + * BaseParser.cs: IsDirective, IsExpression and IsDataBound methods + moved to here from TemplateControlCompiler. + +2010-05-15 Marek Habersack + + * Control.cs: implemented 4.0 GetRouteUrl overloads and + GetUniqueIDRelativeTo + +2010-05-05 Marek Habersack + + * CollectionBuilder.cs: if a type has more than on indexer, check + all of them for type compliance in GetChildControlType. Fixes bug + #601290. Patch from Kalyanov Dmitry , + thanks! + +2010-04-28 Marek Habersack + + * KeyedList.cs: do not implement IStateManager in 4.0 + +2010-04-12 Marek Habersack + + * PageParser.cs: if EnableViewStateMac option is present in the + directive, remember it for later use by the compiler. + + * Page.cs: initialize EnableViewStateMac with the default read + from the config. + + The above fix cross-site scripting vulnerability (CVE: CVE-2010-1459) + Credits: Web Security Research Group (WSRG) of Hewlett Packard + (HP) + +2010-04-07 Marek Habersack + + * Control.cs: control cache must be filled using the local + _controls collection instead of the virtual Controls + property. Fixes bug #594238 + Check if _controls isn't null before using it. + +2010-04-06 Marek Safar + + * FileLevelControlBuilderAttribute.cs: Use reference comparison. + +2010-01-20 Marek Habersack + + * ObjectStateFormatter.cs: implemented support for IndexedString + on top of the existing StringFormatter. + + * IndexedString.cs: implemented + +2009-12-22 Marek Habersack + + * Page.cs: form javascript declaration block is rendered only if + necessary. Fixes bug #566541 + + * ClientScriptManager.cs: added internal property ScriptsPresent + used to determine if it is necessary to render form javascript + declaration block. + Hidden fields block is output without indenting the controls and + without rendering trailing empty line. + Made Write{Begin,End}ScriptBlock slightly faster. + +2009-12-18 Marek Habersack + + * ObjectStateFormatter.cs: ObjectFormatter.WriteObject checks + whether candidate converter can convert from string now. Fixes bug + #565547 + +2009-11-14 Marek Habersack + + * TemplateControl.cs: if writer is null in + WriteUTF8ResourceString, use output.Write, not writer.Write. Fixes + bug #547015 + +2009-11-10 Marek Habersack + + * TemplateParser.cs: AddImports is called from LoadConfigDefaults + so that it reads configuration from the correct .config file (it + needs to be called after this.VirtualPath has been + initialized). Fixes an issue with MVC apps which put configuration + in Views/web.config etc. Fixes bug #552457 + + * ControlBuilder.cs, Page.cs: system.web/pages section is not + confined to the top-level web.config + +2009-10-30 Marek Habersack + + * Control.cs: ResolveClientUrl takes base path from + Request.ClientFilePath, so that it works correctly for rewritten + urls. + +2009-10-27 Marek Habersack + + * ObjectStateFormatter.cs: do not use a type converter to + serialize an object if the converter is an instance of + TypeConverter itself - its reported capability of converting to + string is not useful here. + +2009-10-12 Marek Habersack + + * ObjectStateFormatter.cs: if a type is associated with a type + converter, do not check if the converter can convert FROM the type + in question, as this is implied. Fixes bug #545979 + +2009-10-09 Marek Habersack + + * Control.cs: implemented the LoadViewStateByID property as well + as saving/restoring the view state by control's ID. + +2009-09-22 Marek Habersack + + * WebServiceParser.cs: GetCompiledType uses BuildManager on the + 2.0 profile. Fixes bug #533166 + +2009-09-15 Marek Habersack + + * TemplateParser.cs: FindNamespaceInAssembly must catch + ReflectionTypeLoadException so that it doesn't break on invalid + assemblies. + +2009-08-24 Marek Habersack + + * PageParser.cs: 2.0 profile takes advantage of the inputFile + parameter to GetCompiledPageInstance. A check is made whether the + file pointed to by this parameter is inside the application's + virtual path and if not, the compilation request is assumed to + refer to a fake location. Part of fix for bug #463813 + +2009-08-18 Marek Habersack + + * ControlBuilder.cs: Location property makes a copy of assigned + ILocation now. + +2009-08-14 Marek Habersack + + * ControlBuilder.cs: when CreateSubBuilder is called on a builder + which is supposed to treat its children as properties and the + default property builder is defined, first check if the tag which + has just been parsed isn't a template property. If it is, don't + use the default property builder, instead create a template + property builder directly. Fixes bug #527753 + +2009-07-23 Marek Habersack + + * ControlBuilder.cs: added an internal helper property + IsNamingContainer. + +2009-07-21 Marek Habersack + + * SimpleWebHandlerParser.cs: make sure to ignore invalid bin/ + assemblies in AddAssembliesInBin and GetTypeFromBin. + +2009-06-15 Marek Habersack + + * TemplateParser.cs: AddAssembliesInBin (1.1 profile) tries to + load every assembly in order to see if it's a valid one. All bad + dll image errors are silently ignored. Fixes bug #315816 + +2009-06-05 Marek Habersack + + * Page.cs: InitializeTheme uses WebConfigurationManager.GetSection + to retrieve page theme name. GetWebApplicationSection cannot be + used because the system.web/pages section is valid also in + subdirectories. Fixes bug #510302 + +2009-06-01 Marek Habersack + + * ClientScriptManager.cs: WriteHiddenFields doesn't add the id + attribute to generated input element in the 1.1 profile. Fixes bug + #508167. Patch from Hubert FONGARNAND + , thanks! + +2009-05-29 Marek Habersack + + * StateBag.cs: made SetDirty (bool) available on 1.1 as + internal. Fixes bug #507836 + +2009-05-05 Marek Habersack + + * TemplateParser.cs: PageParserFilterType uses + HttpApplication.LoadType so that it is able to load the filter + from App_Code or with not fully qualified type names. + +2009-05-04 Marek Habersack + + * TemplateParser.cs: take RootBuilder from the associated + generator. + Allow the main page directive to be added twice if the parser + needs it. Used by AspGenerator when extracting the inherited type + name before actual parsing. Fixes bug #500075 + + * FileLevelControlBuilderAttribute.cs, + FileLevelPageControlBuilder.cs, FileLevelUserControlBuilder.cs: + implemented + + * ControlBuilder.cs: added a new internal property, + DataBindingMethod. + Implemented ProcessGeneratedCode. + +2009-04-30 Marek Habersack + + * TemplateParser.cs: removed the PageParserFilterTypeName + property, the filter type name is looked up on demand now. + + * ApplicationFileParser.cs, MasterPageParser.cs, + UserControlParser.cs: load config defaults explicitly after + initializing the instance. + +2009-04-29 Marek Habersack + + * DataBinder.cs: GetPropertyValue must throw also if propName is + empty. + +2009-04-24 Marek Habersack + + * TemplateParser.cs: PageParserFilter.Initialize now takes just + one parameter. + AddImport ignores null/empty namespaces. Fixes bug #498118 + + * PageParserFilter.cs: a few alignments for .NET compatibility in + the default behavior. + +2009-04-22 Marek Habersack + + * TemplateParser.cs: create the imports ArrayList before + attempting to use it. Fixes bug #497174 + +2009-04-21 Marek Habersack + + * Page.cs: added support for OutputCacheParameters.NoStore to + InitOutputCache. + + * SimpleWebHandlerParser.cs: retrieve CompilationSection from the + appropriate web.config file. + + * BaseParser.cs: moved the internal property VirtualPath from + TemplateParser to here and added an internal method + GetConfigSection to retrieve sections from the correct web.config + file on 2.0 applications. Fixes bug #494245 + + * PageParser.cs: use the new GetConfigSection method to retrieve + ClientTargetSection. + + * TemplateParser.cs: moved the VirtualPath property to + BaseParser. + PagesConfig now uses the new GetConfigSection method. Fixes bug + #494245 + Added support for the SqlDependency, NoStore and CacheProfile + attributes of the OutputCache directive. Fixes bug #496951 + +2009-04-15 Marek Habersack + + * TemplateParser.cs: use generic lists for import, namespace and + interface caches. If a namespace is added (e.g. by parsing the + Import directive), find the assembly in which namespace is + defined. + +2009-04-07 Marek Habersack + + * Control.cs: ApplyTheme - make sure Page is not null before using + it. Fixes bug #492666 + +2009-04-06 Marek Habersack + + * Page.cs: ProcessRaiseCallbackEvent and ProcessGetCallbackResult + now return full exception trace if one is caught and we're running + in debugging mode. + +2009-03-31 Marek Habersack + + * Page.cs: SavePageViewState saves the list of controls which + require post back regardless of whether view state is disabled or + not. Fixes bug #490753 + + * ApplicationFileParser.cs, MasterPageParser.cs, PageParser.cs, + PageThemeFileParser.cs, PageThemeParser.cs, UserControlParser.cs, + WebHandlerParser.cs, WebServiceParser.cs: 2.0 constructors take a + VirtualPath instance for the virtualPath parameter, instead of a + string. + +2009-03-18 Marek Habersack + + * Control.cs: AppRelativeResourceDirectory no longer returns a + hard-coded "~/" when template control's virtual path cannot be + determined. It returns application relative version of + TemplateSourceDirectory instead. + +2009-03-13 Marek Habersack + + * Control.cs: clear the controls cache on control removal. This + ensures that a subsequent FindControl call won't return the + removed control. + 2009-03-06 Marek Habersack + * XPathBinder.cs: use the pased namespace manager + * ControlBuilder.cs: BindingContainerType - if control type of the containing builder is null, return typeof (Control)