New test.
[mono.git] / mcs / class / System.Web / System.Web.Compilation / ChangeLog
index 410214162db4c866a8e6eaf77d8ff90ab552cee2..ebfe0f734c5afa34d9ca6160ea0e935839dc2cc8 100644 (file)
@@ -1,3 +1,290 @@
+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.
+
+       * PageThemeCompiler.cs: new file.
+
+2006-03-07  Chris Toshok  <toshok@ximian.com>
+
+       * BaseCompiler.cs: fix typo in "initialize" in multiple places.
+       (Init): move the CreateMethods call here.
+
+2006-03-02  Chris Toshok  <toshok@ximian.com>
+
+       * TemplateControlCompiler.cs (InitMethod): emit an assignment for
+       SkinID just after the creation of our object, and right after that
+       call "_ctrl.ApplyStyleSheetSkin (page)".
+       (CreateAssignStatementsFromAttributes): split out the majority of
+       this code to CreateAssignStatementFromAttribute, and change this
+       method to simply a loop over the attribute keys.  In the 2.0 case,
+       skip the SkinID property, since that's handled explicitly in
+       InitMethod.
+
+       * PageCompiler.cs (AddStatementsToInitMethod): emit assignments
+       for Theme and StyleSheetTheme.
+
+2006-02-23  Chris Toshok  <toshok@ximian.com>
+
+       * TemplateControlCompiler.cs (AddContentTemplateInvocation): track
+       change from ContentControlBuilderInternal to
+       ContentBuilderInternal.
+       (AddCodeRender): same.
+
+2006-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * AssemblyBuilder.cs:
+       * BuildManager.cs: compile the assembly from AssemblyBuilder and use
+       GetGeneratedType() on the BuildProvider instead of loading the assembly
+       and trying a wild guess at the type name.
+
+2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * GlobalAsaxCompiler.cs:
+       * PageCompiler.cs:
+       * TemplateControlCompiler.cs: CreateMethods is now internal.
+
+       * WebServiceBuildProvider.cs:
+       * PageBuildProvider.cs:
+       * UserControlBuildProvider.cs:
+       * WebHandlerBuildProvider.cs: new build providers.
+
+       * BuildProvider.cs: add assemblies.
+
+       * BaseCompiler.cs: expose the provider and the compile unit through
+       properties.
+
+2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * CompilerType.cs: implemented.
+
+       * AssemblyBuilder.cs: implemented most of it.
+
+       * WebServiceCompiler.cs:
+       * CachingCompiler.cs: update 2.0 compiler instance creation code.
+
+       * ClientBuildManager.cs: implemented some of its methods. Not yet
+       ready.
+
+       * BuildManager.cs: the more interesting methods are implemented now.
+
+       * BaseCompiler.cs: delete the temporary files in case of error.
+
+       * BuildProvider.cs: implemented the Get*Compiler* protected methods.
+
+2006-02-07  Chris Toshok  <toshok@ximian.com>
+
+       * TemplateControlCompiler.cs (AddParsedSubObjectStmt): append the
+       calls to AddParsedSubObject to a special statement collection --
+       builder.flushOutputStatements -- not to builder.method.Statements.
+       (InitMethod): initially, set flushOutputStatements to
+       method.Statements.  If we're dealing with a ContentPlaceHolder,
+       set flushOutputStatements to be the else block of a conditional we
+       create.  This causes the compiled control to fall back to the
+       ContentPlaceHolder's child controls in case there's no
+       corresponding Content template.
+       (AddChildCall): use methodStatements instead of method.Statements.
+       (CreateControlTree): same.
+
+       * PageCompiler.cs (CreatePropertyAssign): factor out the
+       string,string implementation and add one that also takes a
+       CodeExpression; make the string,string implementation call the
+       three arg one with thisRef.
+       (AddStatementsToInitMethod): make use of the 3-arg form of
+       CreatePropertyAssign to reduce code.  Also, add support for
+       setting the page's Title from the parser's Title.
+
 2006-02-07  Chris Toshok  <toshok@ximian.com>
 
        * UserControlCompiler.cs (AddStatementsToInitMethod): emit code to