fix an problem raised by Ralf Junker in the use of xmlHashScanFull() fixes
[platform/upstream/libxslt.git] / ChangeLog
index 178780b..87a678a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,468 @@
+Wed Nov 16 12:47:25 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libexslt/functions.c: fix an problem raised by Ralf Junker in the
+         use of xmlHashScanFull() fixes bug #321582
+       
+Sun Nov  6 19:22:45 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/attrvt.c: added a missing parameter to a debug function
+
+Tue Oct  4 20:37:09 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libexslt/date.c: applied fix to date:week-in-year posted to
+         the mailing list by Thomas Broyer
+       * tests/exslt/date/date.1.out, tests/exslt/date/datetime.1.out:
+         updated to reflect above fix
+
+Sun Oct  2 11:52:44 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in libxslt/Makefile.am libxslt/xsltconfig.h.in
+         libxslt.spec.in tests/plugins/Makefile.am xslt-config.in: applied
+         patch from Joel Reed to ease plugin integration
+
+Thu Sep 22 21:51:22 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/pattern.c: fixed problem in internal XPath compilation
+         of patterns including variables, fixes #316861
+
+Wed Sep 14 14:30:03 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/transform.c: removed a superfluous second sorting of
+         the node set on xsl:copy-of, fixes #316288
+       * libxslt/xsltutils.c: marked xsltDocumentSortFunction as slow,
+         obsolete and deprecated :-)
+
+Sat Sep 10 14:35:06 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in: check environment for PYTHON, fixes #315367
+
+Mon Sep  5 00:44:24 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in NEWS doc/*: preparing release 1.1.15
+       * libxslt/pattern.c libxslt/xsltutils.c: a bit more cleanup
+
+Mon Sep  5 00:07:40 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/pattern.c: fixed #303289 variable in match are forbidden
+       * tests/general/bug-89.xsl: had to fix that test which was doing this
+       * tests/general/bug-142.out tests/general/bug-152.out
+         tests/namespaces/tst7.out: small output change on libxml2-2.6.21
+         new way of serializing encoding meta in HTML
+
+Wed Aug 31 13:49:51 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/transform.c: fixed #314936 a dictionnary issue on text
+         node merging, which probably fixed #311267 too.
+
+Thu Aug 25 13:29:20 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/xslt.c: libxslt should deallocate directly text node content
+         use xmlSetNodeContent(..., NULL)
+
+Fri Aug 12 12:17:10 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/general/bug-163.*, tests/general/Makefile.am,
+         tests/docs/bug-163.*, tests/docs/Makefile.am: check fix for
+         #310692
+
+Tue Aug  9 22:13:18 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/plugins/Makefile.am: try to get rid of complaints from
+         jhbuild newbies.
+
+Sun Aug  7 16:04:47 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/xsltutils.c: fixed a bug when size of xmlXPathContext
+         changes, uses the libxml2 alloc and dealloc functions instead.
+
+Tue Jul 13 22:41:03 PDT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/transform.c: added check in xsltCopyText to assure
+         content is in dictionary before doing a straight copy of
+         content (bug 302821)
+
+Tue Jul 13 16:16:31 PDT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/transform.c: fixed to set current default value for
+         XInclude when creating new TransformContext
+       * libxslt/xslt.c: minor change for per-mille
+
+Sun Jul 10 16:17:53 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/xsltwin32config.h*: try to avoid generating conflicts
+       * libexslt/dynamic.c: applied patch from Mark Vakoc to implement
+         dyn:map
+       * configure.in tests/exslt/Makefile.am tests/exslt/dynamic/*:
+         added test for dyn:map to the regression suite
+
+Sat Jul  2 02:32:24 PDT 2005 <wbrack@mmm.com.hk>
+
+       * libxslt/numbers.c: further fixes for bug 309209, changing
+         behaviour of format-number.
+       * libxslt/xslt.c: changed definition of per-mille character from
+         '?' to Unicode #2030 (UTF-8 '‰') (ref XSLT spec 12.3)
+         
+2005-06-30  Federico Mena Quintero  <federico@ximian.com>
+
+       * libxslt/xsltwin32config.h: Added this file back.  We'll have to
+       figure out a way to make jhbuild not get CVS conflicts with it.
+
+Thu Jun 30 14:09:55 PDT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/numbers.c: fixed bug in negative prefix (bug 309209)
+       
+2005-06-17  Federico Mena Quintero  <federico@ximian.com>
+
+       * libxslt/xsltwin32config.h: Removed from CVS; this is a generated
+       file anyway and it breaks jhbuild all the time.
+
+Sat May  7 11:28:41 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libexslt/libexslt.3: applied patch from Jonathan Wakely to fix
+         the namespace name for the EXSLT date and time functions in the man
+         page.
+
+Wed Apr  6 23:58:12 CEST 2005 Igor Zlatkovic <igor@zlatkovic.com>
+
+       * libexslt/exslt.c libexslt/libexslt.h: Windows build cleanups,
+         removed obsolete checks
+       * libxslt/libxslt.h libxslt/win32config.h libxslt/xsltutils.h: 
+         Windows build cleanups, removed obsolete checks
+       * win32/configure.js: removed obsolete copy operations
+       * win32/Makefile.*: make install cleanup
+       * xsltproc/xsltproc.c: Windows build cleanup, removed obsolete 
+         macro definitions
+       * .cvsignore: added Eclipse project files
+
+Sat Apr  2 13:34:11 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in NEWS doc/*: preparing release of 1.1.14, updated docs
+         and rebuilt.
+
+Thu Mar 31 23:50:43 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/docbook/result/fo/gdp-handbook.fo tests/general/bug-105.out
+         tests/general/bug-142.out: updated the result of some tests
+         following the change to serailization in libxml2.
+
+Thu Mar 31 11:54:31 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/pattern.c: fixed bug #171488 with cascading select in
+         patterns.
+       * tests/general/bug-161.*, tests/general/Makefile.am,
+         tests/docs/bug-161.*, tests/docs/Makefile.am: added test provided
+         by Ben Ko
+       
+Thu Mar 31 00:28:38 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/plugins/Makefile.am: fixed build outside of source tree
+         bug #172155 thanks to patch from Mike Castle
+
+Wed Mar 30 14:09:19 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * xsltproc/xsltproc.c: fixed the xinclude problem with document()
+         as in bug #171893
+       * configure.in tests/Makefile.am tests/xinclude/*: added a new
+         xinclude directory with the test for this problem
+
+Wed Mar 30 11:59:06 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/pattern.c: fixed bug 169718 with ancestors in patterns
+         similar to same bug fixed in libxml2
+       * tests/general/bug-160.*, tests/general/Makefile.am,
+         tests/docs/bug-160.*, tests/docs/Makefile.am: added test provided
+         by Aaron Kaplan
+
+Tue Mar 29 22:35:14 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/general/bug-159.*, tests/general/Makefile.am,
+         tests/docs/bug-159.*, tests/docs/Makefile.am: added test for
+         bug #168196 fixed in libxml2
+
+Tue Mar 29 21:06:11 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/transform.c: working around Mark Vakoc' reported bug related
+         to mode internaing
+       * xsltproc/xsltproc.c: adding a --nodict mode to check problems with
+         document without a dictionnary.
+       * tests/REC/Makefile.am tests/general/Makefile.am: testing without 
+         dictionnary
+
+Tue Mar 29 15:37:13 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/xslt.c: fix bug #165201 when calling xsltInit() multiple
+         times.
+
+Tue Mar 29 15:13:59 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/preproc.c libxslt/xslt.c libxslt/xsltInternals.h: 
+         added DTD like checking when compiling stylesheets, closes
+         bug #160402 and a long term TODO
+       * tests/general/bug-89.xsl: thos spotted a misconstruct of one
+         of the test cases where <xsl:when> was not within <xsl:choose>
+
+Mon Mar 21 20:56:43 MST 2005 John Fleck (jfleck@inkstain.net)
+
+       * doc/xsltproc.xml, xsltproc.html, xsltproc.1:
+       update documentation to reflect addition of --nodtdattr
+       command line flag. Bug #171098
+
+Wed Mar 16 17:19:24 HKT 2005 William Brack (wbrack@mmm.com.hk)
+
+       * libxslt/xslt.c: fixed problem with text node on stylesheet
+         document without a dictionary (bug 170533)
+
+Sun Mar 13 20:08:34 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * NEWS configure.in doc/*: preparing 1.1.13, updated and rebuilt
+         the docs.
+       * tests/plugins/Makefile.am xsltproc/Makefile.am: trying to fix
+         some build problems.
+       * libxslt.spec.in: adding a build require and a require for 
+         libgcrypt-devel, c.f. Red Hat bug #133211
+       * libxslt/xsltInternals.h: as for libxml2, XML_CAST_FPTR was wrong.
+
+Wed Feb 23 19:25:13 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/pattern.c: fixed a problem with '//' and
+         namespaces (bug 168208)
+
+Mon Feb 14 23:10:21 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/namespaces.c: fixed a problem with
+         exclude-result-prefixes (bug 165560)
+
+Mon Feb 14 12:51:07 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/variables.c: added a cretion of ctxt->globalVars in
+         xsltProcessUserParamInternal if missing.
+
+Wed Feb  9 21:58:56 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * doc/Makefile.am doc/libxslt-api.xml doc/libxslt-refs.xml 
+         doc/EXSLT/libexslt-api.xml: applied patch for make wiki from
+         Joel Reed and rebuild
+       * tests/plugins/Makefile.am: fix from Joel Reed for make dist
+
+Sun Jan 30 20:01:21 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/plugins/testplugin.c win32/Makefile.msvc win32/configure.js:
+         applied plugin patch for Windows by Joel Reed
+
+Fri Jan 28 01:00:56 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * win32/configure.js: Makefile fixes for Widows from Joel Reed
+
+Sat Jan 22 22:14:26 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
+         libxslt/xslt.c libxslt/xsltInternals.h: chasing xmlStrEqual
+         calls and removed them when comparing mode and modeURI for
+         templates by interning those strings when compiling the
+         stylesheets.
+
+Sat Jan 22 19:17:13 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in: small fix for local setup
+       * libxslt/transform.c libxslt/variables.c : speeding up some
+         variable lookup. In the process dug out something nasty about
+         ctxt->dict creation and key initialization order.
+
+Sat Jan 22 16:28:27 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/templates.c libxslt/transform.c libxslt/xslt.c
+         libxslt/xsltInternals.h: when copying text nodes in elements
+         or attributes to the output, if interning, then reuse the strings
+         directly without copying them in the output tree if dicts are
+         shared between the context and the output docs. Less allocations
+         smaller output document and no copying involved anymore.
+
+Sat Jan 22 11:24:43 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/xslt.c: internalize all text node content from
+         stylesheet documents with the stylesheet dictionnary
+
+Fri Jan 21 12:04:18 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * tests/plugins/Makefile.am: Applied patch 11 (with small
+         modification) from Joel
+
+Thu Jan 20 21:05:27 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/plugins/Makefile.am tests/plugins/testplugin.c: applied
+         patch 10 from Joel Reed
+
+Wed Jan 19 10:08:55 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/xsltwin32config.h, libxslt/xsltwin32config.h.in:
+         fixed a small error in LIBXSLT_VERSION_EXTRA pointed out
+         by Michael.Hewarth on the mailing list
+        
+Wed Jan 19 13:58:16 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in: patch #9 from Joel Reed
+
+Wed Jan 19 10:21:37 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * transform.c: fixed problem with parserOptions not being
+         set before loading a new document (bug 164530)
+
+Mon Jan 17 16:50:02 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in libxslt/Makefile.am libxslt/xsltwin32config.h
+         tests/Makefile.am tests/plugins/Makefile.am
+         tests/plugins/testplugin.c: applied another patch from Joel Reed
+         still failing here but looking better
+
+Sun Jan 16 00:09:11 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/extensions.c: applied another patch from Joel Reed
+
+Sat Jan 15 13:54:28 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * tests/plugins/plugin.* tests/Makefile.am libxslt/extensions.c
+         libxslt/Makefile.am configure.in: Applied another patch from
+         Joel Reed, fixed a segfault and changed the configure code
+         a bit to work in my debug environment.
+
+Tue Jan 11 10:50:33 HKT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * configure.in: added python2.4 to the list of accepted
+         versions (bug 163274)
+
+Sun Jan  9 17:04:23 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/extensions.c: oops previous patch could break build
+
+Sun Jan  9 16:41:59 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in win32/configure.js libxslt/extensions.c
+         libxslt/xsltconfig.h.in libxslt/xsltwin32config.h.in:
+         integrated the module patch from Joel Reed with just a couple
+         of changes and cleanup.
+
+Tue Dec 27 17:50:10 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/pattern.c: fixed a problem with the expression
+         "*//name" (bug 162265), also a small problem with the '|'
+         operator.
+
+Thu Dec 23 16:04:47 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/transform.c, libxslt/templates.c: fixed a couple of
+         spots where out-of-memory errors were not detected in time
+         (bug #153660 on OSF/1)
+         
+Thu Dec  2 21:10:31 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       *doc/xslt.html, doc/downloads.html: changed the download link
+        on the web page for cvs snapshot
+        
+Wed Dec  1 22:37:55 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/extensions.c, libxslt/functions.c, libxslt/numbers.c,
+         libxslt/pattern.c, libxslt/transform.c, libxslt/xslt.c,
+         libxslt/xsltInternals.h: minor changes to get rid of gcc
+         warnings, especially on 64-bit system. Implemented
+         XML_CAST_FPTR macro to cast between function pointer <->
+         object pointer while avoiding gcc warnings (a hack).
+         No change to the logic.
+
+Wed Dec  1 10:47:15 CET 2004 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/security.c xsltproc/xsltproc.c: applied patch from
+         Aleksey Gurtovoy moving some stat() definition for Windows
+         to the right place.
+
+Wed Dec  1 14:30:22 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/xslt.c: applied patch from Mark Vakoc fixing bug with
+         namespace URI on template names.
+       * tests/namespaces/tst9*, tests/namespaces/Makefile.am: added
+         test case for this
+
+Tue Nov 30 10:53:18 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/pattern.c: more on RVT's in XPath predicates, this
+         time for bug 159726.  Cleaned up the logic a little, hopefully
+         now covers all setting of XSLT_RUNTIME_EXTRA.
+       * tests/general/bug-158.xsl: corrected a typo
+
+Thu Nov 25 22:24:03 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/variables.c, libxslt/xsltInternals.h: backed out the
+         last change and re-did it the "right way" (bug 158372).
+       * tests/general/bug-158.*, tests/general/Makefile.am,
+         tests/docs/bug-158.*, tests/general/Makefile.am: added test
+         case for this bug
+
+Wed Nov 24 10:51:51 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/variables.c, libxslt/xsltInternals.h: enhanced the
+         evaluation of global variables to take account of possible
+         changes to the current document (bug 158372).
+         
+Mon Nov 22 08:10:18 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/pattern.c: small change to previous fix for bug 153137,
+         fixes bug 158840.
+       * tests/general/bug-157.*, tests/general/Makefile.am,
+         tests/docs/bug-157.*, tests/docs/Makefile.am: added test for this
+
+Sun Nov 21 09:42:22 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/transform.c: enhanced code to assure the "current
+         template rule" is not changed by xsl:call-template (bug 157859).
+       * tests/general/bug-156.*, tests/general/Makefile.am,
+         tests/docs/bug-156.*, tests/docs/Makefile.am: added a test case
+         
+Mon Nov  8 11:41:32 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libexslt/date.c: fixed problem with day-of-week-in-month
+         (bug 157592) with patch from Sal Paradise
+       * tests/exslt/date/datetime.1.out: corrected expected output
+         after above fix
+
+Mon Nov  1 15:57:24 CET 2004 Daniel Veillard <daniel@veillard.com>
+
+       * tests/general/bug-155.*, tests/general/Makefile.am,
+         tests/docs/bug-155*, tests/docs/Makefile.am: added a test case
+         provided by Markus Bertheau breaking on libxml2-2.6.15
+
+Fri Oct 29 17:03:26 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+       * configure.in NEWS doc/*: preparing release of libxslt-1.1.12
+       * libexslt/crypto.c: mini change to avoid breaking apibuild.py
+       * libxslt/templates.c: small fix, first step in adressing #153660
+
+Fri Oct 29 14:18:35 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+       * doc/xsltproc.1 doc/xsltproc.xml: indicate - means stdin closing
+         #156626
+
+Wed Oct 27 17:00:54 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/transform.c: another dictionnary/string interning fix
+
+Wed Oct 27 00:00:07 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/transform.c: fix to force string interning on generated
+         documents
+
+Sat Oct 23 09:36:12 PDT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * libexslt/crypto.c, libexslt/functions.c, libxslt/keys.c,
+         libxslt/numbers.c, libxslt/pattern.c, libxslt/transform.c,
+         libxslt/variables.c: changed some variable names for warning
+         cleanup when -ansi flag is not present.
+       * libxslt/namespaces.c: fixed potential NULL pointer reference
+         pointed out by Dennis Dams (bug 156187)
+
+Mon Oct 18 17:04:27 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt.spec.in doc/Makefile.am: fix for RedHat bug #136072
+         to include EXSLT doc in libxslt package.
+
 Thu Oct 14 22:43:22 PDT 2004 William Brack <wbrack@mmm.com.hk>
 
        * configure.in, config.h.in, libexslt/date.c: changed date.c to use