App_Code assemblies fix
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ChangeLog
index b400d897e2457fed9a93f0c329acc33c643f4a33..4d297bbcedd9d5f249f740a6c44900d7bdd5d4e4 100644 (file)
@@ -1,3 +1,316 @@
+2006-11-27  Marek Habersack  <grendello@gmail.com>
+
+       * CachingCompiler.cs: Automatically reference App_Code
+       assemblies.
+
+       * AppCodeCompiler.cs: Add ~/bin/*.dll to the referenced assemblies
+       when compiling.
+
+2006-11-25  Marek Habersack  <grendello@gmail.com>
+
+       * AppResourcesCompiler.cs: small optimizations.
+
+       * AppResourceFilesCompiler.cs: small optimizations.
+
+2006-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * WebServiceCompiler.cs: add the type to the cache after getting it
+       from the compiled assembly.
+
+2006-11-20  Marek Habersack  <grendello@gmail.com>
+
+       * AppCodeCompiler.cs: Reference assemblies listed in
+       system.web/compilation/assemblies.
+       Don't create empty assemblies.
+
+2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
+
+       * TemplateControlCompiler.cs: fixed:
+       When <%# Bind(...) %>-expression is used more then once for same control
+       The variable associated with this control is declared only once.
+
+2006-11-18  Marek Habersack  <grendello@gmail.com>
+
+       * AppResourceFilesCompiler.cs: Fixed an exception thrown when
+       files with names like File.resources or File.resx are found in the
+       resource directories.
+
+2006-11-16  Marek Habersack  <grendello@gmail.com>
+
+       * ForceCopyBuildProvider.cs: Added the build provider for
+       copy-only files.
+
+       * MasterPageBuildProvider.cs: Added the build provider for Master
+       Pages.
+
+       * IgnoreFileBuildProvider.cs: Make the class sealed.
+
+       * AppCodeCompiler.cs: Fixed BuildProvider creation for a path. Now
+       correctly uses the BuildProviderCollection to retrieve the
+       appropriate builder and maps the physical input file path into
+       application relative path when setting the virtual path of the
+       build provider.
+
+2006-11-13  Marek Habersack  <grendello@gmail.com>
+
+       * AssemblyBuilder.cs: Added referenced assemblies support. Added a
+       constructor with just the CodeDomProvider argument. CreateCodeFile
+       now uses the code provider's file extension. Added internal method
+       to add pre-generated source code files. Added a BuildAssembly
+       overload that takes no virtual path as  the
+       parameter. BuildAssembly now uses an array of source files instead
+       of compile units and also handles embedded resources and
+       referenced assemblies. BuildAssembly deletes the temporary files
+       if MONO_ASPNET_NODELET isn't set in the environment.
+
+       * AppCodeCompiler.cs: Use the FileUtils methods for temporary file
+       creation. Use the build providers collection to build unknown
+       files in App_Code. Use AssemblyBuilder to compile the assembly.
+
+       * AppResourceFilesCompiler.cs: Use the FileUtils methods for
+       temporary file creation.
+
+       * WebHandlerBuildProvider.cs: Added the BuildProviderAppliesTo
+       attribute.
+
+       * UserControlBuildProvider.cs: Added the BuildProviderAppliesTo
+       attribute.
+
+       * PageBuildProvider.cs: Added the BuildProviderAppliesTo
+       attribute.
+
+       * WebServiceBuildProvider.cs: Added the BuildProviderAppliesTo
+       attribute.
+
+       * IgnoreFileBuildProvider.cs: Added the BuildProviderAppliesTo
+       attribute.
+
+2006-11-08  Marek Habersack  <grendello@gmail.com>
+
+       * BuildProvider.cs: Implemented the GetCustomString
+       method. Removed the necessity to retrieve the CompilationSection
+       twice when GetDefaultCompilerType is called.
+
+       * AppResourcesCompiler.cs: Added resource compiler results
+       handling.
+
+       * AppCodeCompiler.cs: The App_Code compiler classes
+
+       * BuildManager.cs: Implement the CodeAssemblies property.
+       Added an internal TopLevelTypes property to be used in the custom
+       GetType methods. Implemented the GetCompiledCustomString method.
+       Implemented the GetType method overloads. Implemented the
+       GetVirtualPathDependencies method.
+
+       * BaseCompiler.cs: Reference the assemblies from App_Code, if any
+
+2006-10-18  Marek Habersack  <grendello@gmail.com>
+
+       * TemplateControlCompiler.cs: add support for resource
+       expressions in tag attributes.
+
+       * ResourceExpressionBuilder.cs: add support for resource
+       expressions in tag attributes.
+
+       * BaseCompiler.cs: add global/local resource assemblies to
+       compilation references, if present.
+
+       * AppResourcesCompiler.cs: global/local resources compiler.
+
+       * AppResourceFilesCompiler.cs: compiler of resource files.
+
+2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
+
+       * TemplateControlCompiler.cs: fixed: Bind functions (Data-Binding Syntax).
+       At run time, the Bind method calls the Eval method, if there is DataItem
+       != null to bind to.
+       If there is DataItem == null (like InsertItemTemplate in FormView) Bind
+       method don't raise exception and works properly to extract data from
+       bounded controls on postback.
+               
+2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * AspGenerator.cs: if we are tracking non-server tags for
+       well-formedness, handle tags that do not need to be closed (br, img,...)
+       Fixes bug #79437.
+
+2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * PageCompiler.cs: support the EnableEventValidation attribute.
+
+2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * AspGenerator.cs: after parsing an include file, don't error out if we
+       still have opened tags unless this was the last file to parse. Fixes
+       bug #79318.
+
+2006-09-05  Konstantin Triger <kostat@mainsoft.com>
+
+       * ParseException.cs: Ensure the source file stream is closed.
+
+2006-08-25  Kornél Pál  <kornelpal@gmail.com>
+
+       * AppSettingsExpressionBuilder.cs: Use assembly name constants.
+       * ConnectionStringsExpressionBuilder.cs: Use name reference
+         constants.
+       * ResourceExpressionBuilder.cs: Use assembly name constants.
+
+2006-08-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
+
+2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ClientBuildManager.cs: handle domain shutdown and unload.
+       Implemented some properties. Commented.
+
+2006-08-10  Andrew Skiba  <andrews@mainsoft.com>
+
+       * ThemeDirectoryCompiler.cs: render css path as a virtual path.
+
+2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * added ThemeDirectoryCompiler.jvm.cs
+
+2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * PageThemeCompiler.cs: Don't generate a 'Items.Clear ()' call if
+       the property Items does not exist. Patch by Marek Habersack that fixes
+       bug #78971.
+
+2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateControlCompiler.cs: support assigning nullable types.
+       Patch by Marek Habersack that fixes bug #78970.
+
+2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TemplateControlCompiler.cs: make password work again.
+
+2006-06-21 Juraj Skripsky <js@hotfeet.ch>
+
+       * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
+       MS.NET handles nested quotes differently for server controls and
+       for "normal" controls. Add a property "AlternatingQuotes" to the
+       tokenizer and let the parser decide whether it is well-formed or not.
+
+2006-06-20 Andrew Skiba <andrews@mainsoft.com>
+
+       * PageThemeCompiler.cs, TemplateControlCompiler.cs: take care of
+       UrlPropertyAttribute.
+
+2006-06-18 Andrew Skiba <andrews@mainsoft.com>
+
+       * TemplateControlCompiler.cs: check IsWritablePropertyOrField before
+       generating code for assignment statement and DataBind event.
+       
+2006-06-15 Juraj Skripsky <js@hotfeet.ch>
+
+       * AspTokenizer.cs (ReadAttValue), AspParser.cs (GetAttributes):
+       Don't allow an attribute value to contain the same quote characters
+       as the ones used for delimiting the value itself. Add a token
+       NOTWELLFORMED to signal that case to AspParser. Fixes bug #78643.
+
+2006-06-08     Konstantin Triger <kostat@mainsoft.com>
+
+       * ThemeDirectoryCompiler.cs: use physical path instead of virtual path.
+
+2006-04-24  Andrew Skiba  <andrews@mainsoft.com>
+
+       * ThemeDirectoryCompiler.cs: use UrlUtils.Combine to combine pathes
+
+2006-04-23  Andrew Skiba  <andrews@mainsoft.com>
+
+       * PageThemeCompiler.cs: initialize __linkedStyleSheets field with the
+       array of style sheets from the parser
+       * ThemeDirectoryCompiler.cs: scan *.css files in theme directory and
+       put them in LinkedStyleSheets of PageThemeParser
+
+2006-04-20  Chris Toshok  <toshok@ximian.com>
+
+       * BaseCompiler.cs: for 2.0, emit the correct namespace and class
+       names in the case where you use "NS.ClassName" in the Inherits
+       attribute.  Fixes bug #78135.
+
+2006-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
+       already acquired the lock even when we might have not created the 'key'
+       to the compilation ticket.
+
+2006-04-16  Andrew Skiba <andrews@mainsoft.com>
+
+       * ThemeDirectoryCompiler.cs: add to the directory parser all the
+       assemblies found by PageThemeFileParsers
+
+2006-04-12  Lluis Sanchez Gual <lluis@novell.com>
+
+       * TemplateControlCompiler.cs: Properly read all content of
+       string properties.
+
+2006-04-11  Andrew Skiba <andrews@mainsoft.com>
+
+       * TemplateControlCompiler.cs : fix for partial parsers
+
+2006-04-11  Andrew Skiba <andrews@mainsoft.com>
+
+       * ThemeDirectoryCompiler.cs : map the virtual path to the physical
+       path
+
+2006-04-08  Miguel de Icaza  <miguel@novell.com>
+
+       * TemplateControlCompiler.cs: An attempt to fix the regression
+       introduced in r58505 (a bug fix for 77762).   This was reported in
+       the mailing list with a batch of new 2.0 failures.
+
+       We really need a test suite in NUnit to check on ASP.NET aspx
+       changes.
+
+2006-03-27  Robert Jordan  <robertj@gmx.net>
+
+       * CachingCompiler.cs:  change the compilation locking scheme
+       from "one mcs per process" to "one mcs per file".
+
+2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * System.Web.Compilation/TemplateControlCompiler.cs: handle the new
+       StringPropertyBuilder.
+
+2006-03-24  Chris Toshok  <toshok@ximian.com>
+
+       * BaseCompiler.cs (GetCompiledType): fall back to CodeDomProvider
+       if system.web/compilation doesn't list a compiler for our
+       language.
+
+2006-03-13  Chris Toshok  <toshok@ximian.com>
+
+       * TemplateControlCompiler.cs (InitMethod): when generating the
+       call to ApplyStyleSheetSkin, don't just blindly pass "this" as the
+       argument to it.  Only do that if the class we're compiling is
+       actually a subclass of Page.  If it's not, pass this.Page.
+
+2006-03-07  Chris Toshok  <toshok@ximian.com>
+
+       * AspGenerator.cs: refactor the parsing code so that we can
+       initiate parsing from outside this class.
+
+       * PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
+       method, add our StyleSheetTheme assignment here.
+       (AppendStatementsToFrameworkInitialize): rename AddStatements* to
+       this.
+
+       * TemplateControlCompiler.cs (EnsureID): make protected.
+       (CreateAssignStatementsFromAttributes): same
+       (AddChildCall): same.
+       (CreateControlTree): same.
+       (CreateFrameworkInitializeMethod): change
+       "AddStatementsToFrameworkInitialize" to
+       "AppendStatementsToFrameworkInitialize", and add call to
+       "PrependStatementsToFrameworkInitialize" before the generation of
+       "base.FrameworkInitialize()."
+
+       * PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
+
 2006-03-07  Chris Toshok  <toshok@ximian.com>
 
        * ThemeDirectoryCompiler.cs: new file.