2009-09-15 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / ChangeLog
index d2fc573a1a9ee1e428494f8608d2f692a2ed2365..fa6b45d9050fe7898f8698ee7c34e7d66a866239 100644 (file)
@@ -1,3 +1,215 @@
+2009-09-15  Marek Habersack  <mhabersack@novell.com>
+
+       * TemplateParser.cs: FindNamespaceInAssembly must catch
+       ReflectionTypeLoadException so that it doesn't break on invalid
+       assemblies.
+
+2009-08-24  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * ControlBuilder.cs: Location property makes a copy of assigned
+       ILocation now.
+
+2009-08-14  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * ControlBuilder.cs: added an internal helper property
+       IsNamingContainer.
+
+2009-07-21  Marek Habersack  <mhabersack@novell.com>
+
+       * SimpleWebHandlerParser.cs: make sure to ignore invalid bin/
+       assemblies in AddAssembliesInBin and GetTypeFromBin.
+
+2009-06-15  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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
+       <informatique.internet@fiducial.fr>, thanks!
+
+2009-05-29  Marek Habersack  <mhabersack@novell.com>
+
+       * StateBag.cs: made SetDirty (bool) available on 1.1 as
+       internal. Fixes bug #507836
+
+2009-05-05  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * DataBinder.cs: GetPropertyValue must throw also if propName is
+       empty.
+
+2009-04-24  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * TemplateParser.cs: create the imports ArrayList before
+       attempting to use it. Fixes bug #497174
+
+2009-04-21  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * Control.cs: ApplyTheme - make sure Page is not null before using
+       it. Fixes bug #492666
+
+2009-04-06  Marek Habersack  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * 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  <mhabersack@novell.com>
+
+       * XPathBinder.cs: use the pased namespace manager
+
+       * ControlBuilder.cs: BindingContainerType - if control type of the
+       containing builder is null, return typeof (Control)
+
+2009-03-03  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Control.cs (FillControlCache): Remove useless control
+       parameter. It's always the same of 'this'.
+
+2009-03-03  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * DataBoundLiteralControl.cs: Don't init static literals
+       as they are lazily created.
+
+2009-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * BaseParser.cs:
+       * PageParser.cs:
+       * ControlBuilder.cs:
+       * TemplateParser.cs:
+       * Page.cs:
+       * SimpleWebHandlerParser.cs: settings that have to be in
+       machine.config or the root level web.config now call
+       GetWebApplicationSection.
+
+2009-02-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ObjectStateFormatter.cs: use GetWebApplication
+       instead of GetSection for application level configuration.
+
 2009-02-28  Gonzalo Paniagua Javier <gonzalo@novell.com>
 
        * Control.cs: Avoid double OnInit in scenarios with two master