2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / Mono.Xml.Xsl / ChangeLog
index 1057c2458f7351a7243d81bd97a7084e0bfd2fa7..f4a5c23223027e4c665f43598dc728060449eba1 100644 (file)
@@ -1,3 +1,226 @@
+2004-05-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XmlOutputter.cs,
+         XslOutput.cs,
+         XslStylesheet.cs : made classes/enums internal.
+
+2004-04-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Attribute.cs, Compiler.cs, Debug.cs, Emitter.cs, 
+         MSXslScriptCompiler.cs, Outputter.cs, XslAttributeSet.cs,
+         XslDecimalFormat.cs, XslKey.cs, XslStylesheet.cs, XslTemplate.cs,
+         XslTransformProcessor.cs : Make extra classes internal.
+
+       * XslKey.cs : It should require sorting.
+       * Debug.cs : Just avoid debug output. Only who want to output should
+         turn it on.
+
+2004-04-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * GenericOutputter.cs : Culture-independency fix. 
+         Replaced StringCollection to ArrayList.
+       * XslOutput.cs : Culture-independency fix.
+
+2004-04-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Compiler.cs : When BaseURI is an empty string, it should not try to
+         create Uri instance. This will fix bug #56832, but not sure.
+       * XslFunctions.cs : for XsltDocument.Resolve(), did the same.
+       * HtmlEmitter.cs : Environment.NewLine was incorrectly used (it 
+         should be the TextReader's NewLine).
+       * MSXslScriptManager.cs : Should raise an error when the prefix which
+         was specified by "implements-prefix" was not found.
+
+2004-03-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ScriptCompilerInfo.cs : #line directive now holds dummy filename
+         when BaseURI for msxsl:script node is not available. This fixes
+         bug #56070.
+         Don't output line number in the error message, when it is 0.
+
+2004-03-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Compiler.cs : Supply NameTable to base ctor() of XPathNavigatorNsm.
+
+2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
+
+       * Compiler.cs, 
+         XslAttributeSet.cs,
+         XslFunctions,
+         XslTransformProcessor.cs :
+         Throw specific types of exceptions instead of Exception.
+       * XslFunctions.cs, XsltCompiledContext.cs :
+         added node argument for XsltExtensionFunction ctor() etc.
+
+2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
+
+       * ScriptCompilerInfo.cs : Modified compilation processing. Now it uses
+         CodeDom. Compilation error should be caught. This fixes bug #55875.
+
+2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslStylesheet.cs : "version" attribute is also required for embedded
+         stylesheet.
+
+2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
+
+       * Compiler.cs,
+         XslStylesheet.cs : Reject xsl element other than stylesheet and
+         transform. Check mandatory version attribute (only for existence).
+
+2004-03-07 Atsushi Enomoto <atsushi@ximian.com>
+
+       * MSXslScriptManager.cs : if extension namespace was not found in
+         the script, just return null. Patch by Joshua Tauberer.
+
+2004-03-01 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslLiteralElement.cs : quick fix for ArgumentNullException which
+         was because of the combination of non-namespaced instances and
+         exclude-result-prefixes.
+
+2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsltCompiledContext.cs : Extracted XslFunctions and changed namespace
+         from Mono.Xml.Xsl.Functions to Mono.Xml.Xsl.
+       * XslFunctions.cs : hereby Added.
+       * Compiler.cs : Removed deleted usingdecl.
+
+2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslTransformProcessor.cs : Bugfix. Stored keys should be cleared.
+       * XslKey.cs : Added ExprKeyContainer expression type, which is 
+         designed to be matched at any level.
+       * Compiler.cs : support for ExprKeyContainer.
+
+2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslKey.cs : Now it collects key and matching nodes at the first
+         evaluation time. After that, we can just get them from the table.
+       * Compiler.cs : Added KeyCompilationMode. It is used to prevent
+         prohibited key() usage in "match" and "use" attributes in xsl:key.
+         Modified accessibility of some classes.
+       * GenericOutputter.cs,
+         HtmlEmitter.cs,
+         TextEmitter.cs,
+         TextOutputter.cs,
+         XmlWriterEmitter.cs : made classes internal.
+       * XslOutput.cs : support line info for exception.
+       * XsltCompiledContext.cs : implemented CompareDocument() - so easily.
+
+2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsltCompiledContext.cs : fixed the length of context info array.
+
+2004-02-10 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsltCompiledContext.cs :
+         replaced EnumeratorIterator with ListIterator
+
+2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
+
+       * GenericOutputter.cs,
+         XslAttributeSet.cs,
+         XslStylesheet.cs,
+         XslTemplate.cs : tiny foreach elimination.
+
+2004-01-16 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslOutput.cs : Reverted. default encoding should be utf-8.
+
+2004-01-14  Jackson Harper <jackson@ximian.com>
+
+       * GenericOutputter.cs: Add constructors that do not take an
+       encoding to fix build.
+       
+2004-01-14 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XmlWriterEmitter.cs : It now uses WriteProcessingInstruction() to
+         write XML declaration. It means that output supports non document
+         entity. This fixes bug #52729.
+       * Emitter.cs, TextEmitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
+         modified WriteStartDocument() signature to receive Encoding.
+       * GenericOutputter.cs : 
+         - Added .ctor() which receives Encoding. (It is used for TextWriter 
+           output to get actual encoding.)
+         - Added .ctor() to take an boolean argument which indicates it is
+           variable content or not. (When variable, it does not call 
+           WriteStartDocument().)
+       * XslKey.cs,
+         XsltCompiledContext.cs : comment out WriteLine().
+       * XslOutput.cs : set default encoding utf-16.
+
+2004-01-08  Nick Drochak <ndrochak@ieee.org>
+
+       * XsltCompiledContext.cs: Remove unused variable and unreachable code.
+
+2003-12-26 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslDecimalFormat.cs : implemented format-number() other than number
+         grouping.
+       * XsltCompiledContext.cs : Modified XsltFormatNumber.Evaluate() to
+         catch ArgumentException which will be thrown by formatting process.
+
+2003-12-23 Atsushi Enomoto <atsushi@ximian.com>
+
+       * ScriptCompilerInfo.cs : Use "mjs" as JScript compiler.
+
+2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * XsltCompiledContext.cs: Remove workaround now that monodoc
+       is fixed.
+
+2003-12-20 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslStylesheet.cs : considering xsl:imports, we can't handle namespace
+         aliases at compilation time, so evaluate at the first run-time.
+
+2003-12-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * GenericOutputter.cs : support for runtime-determined output type.
+       * HtmlEmitter.cs : Fixed invalid doctype output.
+         Fixed incorrect double attribute output on non-HTML elements.
+         Improved indentation. Fixed "selected" attribute output.
+         Don't have to convert "'" to "&apos;".
+       * XmlWriterEmitter.cs : Now don't output incorrect doctype.
+         Escapes CDATA section text "]]>" to "...]]]]><![CDATA[>..." .
+       * XslStylesheet.cs, XsltCompiledContext.cs :
+         space resolution consideration for import and wildcard.
+
+2003-12-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Compiler.cs, XslTransformProcessor.cs :
+         Use XmlValidatingReader to support id() for external stylesheets.
+       * XslKey.cs, XsltCompiledContext.cs :
+         to evaluate MatchPattern and UsePattern, SetContext() is required.
+       * XslTemplate.cs : Forgot to commit. Change is below(12/16).
+
+2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Emitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
+         Added WriteWhitespace().
+       * GenericOutputter.cs, XslTemplate.cs : Call above.
+       * XslTransformProcessor.cs : Changed NodesetStack to ArrayList since
+         CurrentNode in for-each context have to be pulled at evaluation.
+
+2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XsltCompiledContext.cs : Temporarily allow incorrectly resolved
+         function for bugzilla #52144. It should be reverted soon.
+
+2003-12-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * ScriptCompilerInfo.cs : SecurityManager.ResolvePolicy() was not 
+         implemented yet.
+       * MSMslScriptManager.cs : modified generated assembly class to be unique
+         through running AppDomain.
+       * XsltCompiledContext.cs : XsltExtensionFunction.Invoke() has to cast
+         arguments to actual argument types. Bugzilla #51450 should be fixed.
+
+2003-12-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * HtmlEmitter.cs : Fixed incorrect character entity output.
+
 2003-12-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
 
        * Added ScriptCompilerInfo.cs.