# HG changeset patch
# User Daniel Veillard <veillard@src.gnome.org>
# Date 1125873916 0
#      Sun Sep 04 22:45:16 2005 +0000
# Node ID 3db1d8e4f62b4b0e1c29c5779503fef4b74ffa36
# Parent  c2a1002a6635c994d7df257c8a7bc91c4a520701
preparing release 1.1.15 a bit more cleanup Daniel

* configure.in NEWS doc/*: preparing release 1.1.15
* libxslt/pattern.c libxslt/xsltutils.c: a bit more cleanup
Daniel

diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
@@ -8,7 +13,7 @@
 
 Wed Aug 31 13:49:51 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
-	* libxslt/transform.c: fixed 314936 a dictionnary issue on text
+	* 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>
diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,20 @@
 to the CVS at 
 http://cvs.gnome.org/viewcvs/libxslt/
  code base.Those are the public releases made:
+1.1.15: Sep 04 2005:
+   - build fixes: Windows build cleanups and updates (Igor Zlatkovic), remove
+      jhbuild warnings
+   - bug fixes: negative number formatting (William Brack), number formatting
+      per mille definition (William Brack), XInclude default values (William),
+      text copy bugs (William), bug related to xmlXPathContext size, reuse
+      libxml2 memory management for text nodes, dictionnary text bug, forbid
+      variables in match (needs libxml2-2.6.21)
+   - improvements: EXSLT dyn:map (Mark Vakoc), 
+  
+   - documentation: EXSLT date and time functions namespace in man (Jonathan
+      Wakely)
+
+
 1.1.14: Apr 02 2005:
    - bug fixes: text node on stylesheet document without a dictionary
       (William Brack), more checking of XSLT syntax, calling xsltInit() multiple
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -10,7 +10,7 @@
 dnl
 LIBXSLT_MAJOR_VERSION=1
 LIBXSLT_MINOR_VERSION=1
-LIBXSLT_MICRO_VERSION=14
+LIBXSLT_MICRO_VERSION=15
 PACKAGE=libxslt
 LIBEXSLT_MAJOR_VERSION=0
 LIBEXSLT_MINOR_VERSION=8
diff --git a/doc/libxslt.xsa b/doc/libxslt.xsa
--- a/doc/libxslt.xsa
+++ b/doc/libxslt.xsa
@@ -8,25 +8,17 @@
   </vendor>
   <product id="libxslt">
     <name>libxslt</name>
-    <version>1.1.13</version>
-    <last-release> Mar 13 2005</last-release>
+    <version>1.1.14</version>
+    <last-release> Apr 02 2005</last-release>
     <info-url>http://xmlsoft.org/XSLT/</info-url>
-    <changes>   - build fixes: 64bits cleanup (William Brack), python 2.4 test (William),
-      LIBXSLT_VERSION_EXTRA on Windows (William), Windows makefiles fixes
-      (Joel Reed), libgcrypt-devel requires for RPM spec.
-  
-   - bug fixes: exslt day-of-week-in-month (Sal Paradise), xsl:call-template
-      should not change the current template rule (William Brack), evaluation
-      of global variables (William Brack), RVT's in XPath predicates (William),
-      namespace URI on template names (Mark Vakoc), stat() for Windows patch
-      (Aleksey Gurtovoy), pattern expression fixes (William Brack), out of
-      memory detection misses (William), parserOptions propagation (William),
-      exclude-result-prefixes fix (William), // patten fix (William).
-  
-   - extensions: module support (Joel Reed), dictionnary based speedups 
-      trying to get rid of xmlStrEqual as much as possible.
-  
-   - documentation: added Wiki (Joel Reed)
+    <changes>   - bug fixes: text node on stylesheet document without a dictionary
+      (William Brack), more checking of XSLT syntax, calling xsltInit() multiple
+      times, mode values interning raised by Mark Vakoc, bug in pattern
+      matching with ancestors, bug in patterna matching with cascading select,
+      xinclude and document() problem, build outside of source tree (Mike
+      Castle)
+   - improvement: added a --nodict mode to xsltproc to check problems for
+      docuemtns without dictionnaries
 
 
 </changes>
diff --git a/doc/news.html b/doc/news.html
--- a/doc/news.html
+++ b/doc/news.html
@@ -9,7 +9,17 @@
 A:link, A:visited, A:active { text-decoration: underline }
     </style><title>News</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C logo" /></a><a href="http://www.redhat.com"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/XSLT/"><img src="Libxslt-Logo-180x168.gif" alt="Made with Libxslt Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XSLT C library for Gnome</h1><h2>News</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Main Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html">Home</a></li><li><a href="http://xmlsoft.org/wiki">Wiki</a></li><li><a href="intro.html">Introduction</a></li><li><a href="docs.html">Documentation</a></li><li><a href="bugs.html">Reporting bugs and getting help</a></li><li><a href="help.html">How to help</a></li><li><a href="downloads.html">Downloads</a></li><li><a href="FAQ.html">FAQ</a></li><li><a href="news.html">News</a></li><li><a href="xsltproc2.html">The xsltproc tool</a></li><li><a href="docbook.html">DocBook</a></li><li><a href="API.html">The programming API</a></li><li><a href="python.html">Python and bindings</a></li><li><a href="internals.html">Library internals</a></li><li><a href="extensions.html">Writing extensions</a></li><li><a href="contribs.html">Contributions</a></li><li><a href="EXSLT/index.html" style="font-weight:bold">libexslt</a></li><li><a href="xslt.html">flat page</a>, <a href="site.xsl">stylesheet</a></li><li><a href="html/index.html" style="font-weight:bold">API Menu</a></li><li><a href="ChangeLog.html">ChangeLog</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="tutorial/libxslttutorial.html">Tutorial</a>,
           <a href="tutorial2/libxslt_pipes.html">Tutorial2</a></li><li><a href="xsltproc.html">Man page for xsltproc</a></li><li><a href="http://mail.gnome.org/archives/xslt/">Mail archive</a></li><li><a href="http://xmlsoft.org/">XML libxml2</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://garypennington.net/libxml2/">Solaris binaries</a></li><li><a href="http://www.zveno.com/open_source/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxslt">Bug Tracker</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading17">XSLT with PHP</a></li><li><a href="http://www.mod-xslt2.com/">Apache module</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://xsldbg.sourceforge.net/">Xsldbg Debugger</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>API Indexes</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="APIchunk0.html">Alphabetic</a></li><li><a href="APIconstructors.html">Constructors</a></li><li><a href="APIfunctions.html">Functions/Types</a></li><li><a href="APIfiles.html">Modules</a></li><li><a href="APIsymbols.html">Symbols</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p>The <a href="ChangeLog.html">change log</a> describes the recents commits
-to the <a href="http://cvs.gnome.org/viewcvs/libxslt/">CVS</a> code base.</p><p>Those are the public releases made:</p><h3>1.1.14: Apr 02 2005</h3><ul><li>bug fixes: text node on stylesheet document without a dictionary
+to the <a href="http://cvs.gnome.org/viewcvs/libxslt/">CVS</a> code base.</p><p>Those are the public releases made:</p><h3>1.1.15: Sep 04 2005</h3><ul><li>build fixes: Windows build cleanups and updates (Igor Zlatkovic), remove
+      jhbuild warnings</li>
+  <li>bug fixes: negative number formatting (William Brack), number formatting
+      per mille definition (William Brack), XInclude default values (William),
+      text copy bugs (William), bug related to xmlXPathContext size, reuse
+      libxml2 memory management for text nodes, dictionnary text bug, forbid
+      variables in match (needs libxml2-2.6.21)</li>
+  <li>improvements: EXSLT dyn:map (Mark Vakoc), 
+  </li><li>documentation: EXSLT date and time functions namespace in man (Jonathan
+      Wakely)</li>
+</ul><h3>1.1.14: Apr 02 2005</h3><ul><li>bug fixes: text node on stylesheet document without a dictionary
       (William Brack), more checking of XSLT syntax, calling xsltInit() multiple
       times, mode values interning raised by Mark Vakoc, bug in pattern
       matching with ancestors, bug in patterna matching with cascading select,
diff --git a/doc/xslt.html b/doc/xslt.html
--- a/doc/xslt.html
+++ b/doc/xslt.html
@@ -297,6 +297,19 @@
 
 <p>Those are the public releases made:</p>
 
+<h3>1.1.15: Sep 04 2005</h3>
+<ul>
+  <li>build fixes: Windows build cleanups and updates (Igor Zlatkovic), remove
+      jhbuild warnings</li>
+  <li>bug fixes: negative number formatting (William Brack), number formatting
+      per mille definition (William Brack), XInclude default values (William),
+      text copy bugs (William), bug related to xmlXPathContext size, reuse
+      libxml2 memory management for text nodes, dictionnary text bug, forbid
+      variables in match (needs libxml2-2.6.21)</li>
+  <li>improvements: EXSLT dyn:map (Mark Vakoc), 
+  <li>documentation: EXSLT date and time functions namespace in man (Jonathan
+      Wakely)</li>
+</ul>
 <h3>1.1.14: Apr 02 2005</h3>
 <ul>
   <li>bug fixes: text node on stylesheet document without a dictionary
diff --git a/libxslt/pattern.c b/libxslt/pattern.c
--- a/libxslt/pattern.c
+++ b/libxslt/pattern.c
@@ -307,7 +307,6 @@
 	    xctxt = xmlXPathNewContext(ctxt->style->doc);
 	else
 	    xctxt = xmlXPathNewContext(NULL);
-	memset(xctxt, 0, sizeof(xctxt));
 #ifdef XML_XPATH_NOVAR
 	xctxt->flags = XML_XPATH_NOVAR;
 #endif
diff --git a/libxslt/xsltutils.c b/libxslt/xsltutils.c
--- a/libxslt/xsltutils.c
+++ b/libxslt/xsltutils.c
@@ -1928,7 +1928,6 @@
 	xctxt = xmlXPathNewContext(style->doc);
     else
 	xctxt = xmlXPathNewContext(NULL);
-    memset(xctxt, 0, sizeof(xctxt));
     if (style != NULL)
 	xctxt->dict = style->dict;
     ret = xmlXPathCtxtCompile(xctxt, str);
@@ -1940,6 +1939,7 @@
      
     return(ret);
 }
+
 /************************************************************************
  * 									*
  * 		Hooks for the debugger					*
diff --git a/libxslt/xsltwin32config.h b/libxslt/xsltwin32config.h
--- a/libxslt/xsltwin32config.h
+++ b/libxslt/xsltwin32config.h
@@ -23,21 +23,21 @@
  *
  * the version string like "1.2.3"
  */
-#define LIBXSLT_DOTTED_VERSION "1.1.14"
+#define LIBXSLT_DOTTED_VERSION "1.1.15"
 
 /**
  * LIBXSLT_VERSION:
  *
  * the version number: 1.2.3 value is 1002003
  */
-#define LIBXSLT_VERSION 10114
+#define LIBXSLT_VERSION 10115
 
 /**
  * LIBXSLT_VERSION_STRING:
  *
  * the version number string, 1.2.3 value is "1002003"
  */
-#define LIBXSLT_VERSION_STRING "10114"
+#define LIBXSLT_VERSION_STRING "10115"
 
 /**
  * LIBXSLT_VERSION_EXTRA: