2005-11-17 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / Mono.Xml.Xsl / ChangeLog
index 64210449d76ac0071b220b1fc320a0604154e98b..c6a8dde81fdb5411c5b14cc9f4e2972a36a0b44b 100644 (file)
@@ -1,3 +1,141 @@
+2005-11-17  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslCompiledContext.cs : since XsltContextInfo is struct, having
+         an array of this type and setting fields of each struct didn't
+         make sense. It thus blocked expected PreserveWhitespace behavior.
+
+2005-10-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Compiler.cs : (FromString(s, hashtable)) pull default namespace
+         from the table for LRE (don't consider it as ""; spec. 7.1.2)
+         Fixed bug #76530.
+
+2005-09-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ScriptCompilerInfo.cs : Compile correct replacement result.
+         Fixed bug #76116.
+
+2005-09-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Compiler.cs : (Compile) check children only when it is the document
+         element. Fixed bug #76046.
+
+2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ScriptCompilerInfo.cs : It should not be "#line" when the source is
+         not C#. It should fix bug #75789.
+
+2005-08-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslKey.cs : Fixed match pattern in xsl:key to check attribute nodes.
+         To minimize attribute iteration, use Pattern.EvaluatedNodeType.
+         Fixed bug #75709.
+
+2005-07-29  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslFunctions.cs : XslTransform recovers from errors on document
+         resolution. Fixed bug #75663.
+
+2005-06-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * HtmlEmitter.cs : Boolean attribute values should be omitted, but
+         only for related elements.
+
+2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * MSXslScriptManager.cs : it should ignore compiler warnings. This
+         fixes bug #74859.
+
+2005-04-07  Andrew Skiba  <andrews@mainsoft.com>
+
+       * XslDecimalFormat.jvm.cs : added
+2005-03-31  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * MSXslScriptManager.cs : added TARGET_JVM switch (that does not
+         support CodeDom). Use Guid.ToString("N").
+
+2005-03-31  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Compiler.cs : removed extraneous using_directive.
+
+2005-03-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslKey.cs : the iterator does not require sorting (already sorted).
+         Removed unused code.
+
+2005-03-23  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslStylesheet.cs :
+         Variables are stored per stylesheet and added to compiler after
+         all of the contents are processed (handle import precedence).
+         Imports are now processed in prior to other contents (incorrect
+         imports are now rejected). After imports, process includes to 
+         process nested imports. In-process included stylesheets are 
+         temporarily stored in including stylesheet.
+         Handle keys like variables are handled.
+         Added Compile() that is splitted from .ctor().
+       * Compiler.cs :
+         Store keys in compiler and compiled stylesheet.
+         Duplicate variables in imports are now overriden as expected.
+       * XsltCompiledContext.cs : use CompiledStylesheet.ResolveKey().
+
+2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslTransformProcessor.cs : now it looks safe to remove SetContext()
+         from each EvaluateXXX() methods.
+       * MsxslScriptManager.cs : not to leave reference to stylesheet
+         navigator, pass current node to Compile().
+       * XslCompiledContext.cs : Added GetNavCache() that returns reusable
+         navigator cache for each pattern, to avoid Clone() and not to leave
+         reference to already-done instance navigator.
+
+2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Compiler.cs : Now it holds XPath parser and XSLT pattern parser.
+       * XslKey.cs : Use XSLT pattern parser for match.
+         UsePattern is now "Use" (it is not a pattern). 
+         Reimplemented Evaluate() to make full use of index table.
+         Added Matches() to handle shorter match evaluation. For const value
+         for key (e.g. key patterns), it could avoid Evaluate().
+       * XsltCompiledContext.cs : Added MatchesKey() that just delegates to
+         new KeyIndexTable.Matches().
+       * XslFunctions.cs : Added PatternMatches() that just delegates to new
+         XsltCompiledContext.MatchesKey().
+
+2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * GenericOutputter.cs : commented out warned fields.
+
+2005-03-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslKey.cs : removed last ListIterator.ctor() argument.
+         Reverted the last commit that changed internal key index change 
+         from ArrayList to Hashtable. Avoid clone in CollectIndex().
+         Sort results in Evaluate() before passing list to ListIterator.
+       * XslFunctions.cs : removed last ListIterator.ctor() argument.
+
+2005-03-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslKey.cs,
+         XsltCompiledContext.cs,
+         XslFunctions.cs,
+         XslTransformProcessor.cs : Now dynamic context key index table is 
+         separate from XslKey static context. Added KeyIndexTable class and
+         store it into XsltCompiledContext with hash name-table mapping.
+         Cache map from statically-named key to index table.
+         Use Hashtable for internal key cache instead of ArrayList.
+
+2005-03-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslKey.cs : fixed node iteration on collecting key indices which
+         could have resulted in an infinite loop.
+
+2005-03-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XslDecimalFormat.cs : in some cases it does not throw format
+         exception.
+
 2005-03-11  Atsushi Enomoto  <atsushi@ximian.com>
 
        * XsltCompiledContext.cs,