platform/upstream/libxslt.git
15 years agoRelease of libxslt-1.1.25
Daniel Veillard [Thu, 17 Sep 2009 15:19:59 +0000 (17:19 +0200)]
Release of libxslt-1.1.25

* NEWS configure.in doc/xslt.html doc/news.html: update of version
  and description
* doc/libxslt-api.xml doc/libxslt-refs.xml doc/libxslt.xsa
  libxslt/xsltwin32config.h doc/EXSLT/*: regenerated

15 years agoAllow use of EXSLT outside XSLT
Martin [Thu, 17 Sep 2009 14:54:18 +0000 (16:54 +0200)]
Allow use of EXSLT outside XSLT

* libexslt/exslt.h libexslt/date.c libexslt/math.c libexslt/sets.c
  libexslt/strings.c: provide registration function for an XPath
  context directly

15 years agoBig fixes of pattern compilations
Nick Wellnhofer [Thu, 17 Sep 2009 13:23:46 +0000 (15:23 +0200)]
Big fixes of pattern compilations

The problem is that "@node()", "attribute::node()", "child::node()" and
"node()" are all handled in different code paths and only the latter
works.

Then, I noticed that the handling of match="child::name" is wrong. It
matches the parents of <name> elements although it should be treated
exactly like match="name". So the whole XSLT_OP_CHILD stuff is
unneeded.

I also found that xsltScanName behaves a bit strange with regard to
':' characters. It doesn't parse an XML Name like the documentation
says. It's better to use xsltScanNCName instead.

Another minor issue is that the parser currently allows invalid
expressions like match="element*" because of lines 1745-1747 in
pattern.c in trunk.

* libxslt/pattern.c: fix all those problems
* tests/REC/Makefile.am tests/REC/test-5.2-19* tests/REC/test-5.2-20*
  tests/REC/test-5.2-21*: add test cases to the regression suite

15 years agoSupport Esperanto locale
Nick Wellnhofer [Thu, 17 Sep 2009 12:50:02 +0000 (14:50 +0200)]
Support Esperanto locale

* libxslt/xsltlocale.c: only affects the glibc locale code, adds
  the "eo" language code and also try locales without territory

15 years agoFix uses of xmlAddChild for error handling
Daniel Veillard [Thu, 17 Sep 2009 12:18:26 +0000 (14:18 +0200)]
Fix uses of xmlAddChild for error handling

* libxslt/transform.c: as Daniel Benson <danielbenson@google.com>
  pointed out the use of xmlAddChild could lead to troubles in
  case of error or merging. make a wrapped xsltAddChild() and
  fix the existing uses.

15 years agoChange how attributes are copied for id and speed
Daniel Veillard [Thu, 17 Sep 2009 11:25:46 +0000 (13:25 +0200)]
Change how attributes are copied for id and speed

* libxslt/transform.c: change the way we copy attributes, use a function
  allowing id detection, and avoid an unecessary string generation/free
  in most cases. Also cleanup a number of space and tabs issues.

15 years agoDetect deep recusion on function calls
Daniel Veillard [Thu, 17 Sep 2009 09:56:08 +0000 (11:56 +0200)]
Detect deep recusion on function calls

* libxslt/xsltInternals.h libexslt/functions.c: add a function call
  counting in the transformation context, and test/increment/decrement
  in exsltFuncFunctionFunction enter and exit

15 years agoAvoid an error in namespace generation
Martin [Thu, 17 Sep 2009 09:09:22 +0000 (11:09 +0200)]
Avoid an error in namespace generation

* libxslt/namespaces.c: fix xsltGetSpecialNamespace fallback with
  uninitialized prefix string

15 years agoFix importing of encoding from included stylesheets
Nick Wellnhofer [Thu, 17 Sep 2009 08:57:22 +0000 (10:57 +0200)]
Fix importing of encoding from included stylesheets

* libxslt/transform.c: process encoding like other imported output
  properties
* tests/docs/Makefile.am tests/docs/bug-169.xml tests/general/Makefile.am
  tests/general/bug-169.*: add a specific regression test

15 years agoAdd a few more files to ignore
Daniel Veillard [Thu, 17 Sep 2009 08:55:48 +0000 (10:55 +0200)]
Add a few more files to ignore

15 years agoFix problems with embedded stylesheets and namespaces
Martin [Thu, 17 Sep 2009 08:22:42 +0000 (10:22 +0200)]
Fix problems with embedded stylesheets and namespaces

* libxslt/xslt.c: copy the embedded stylesheet instead of cutting it
  out of the source tree and make sure to copy namespaces in scope too
* tests/REC/Makefile.am tests/REC/stand-2.7-[23]*: add the 2 tests
  case to the regression suite

15 years agoQName parsing fix for patterns
Martin [Thu, 17 Sep 2009 07:59:42 +0000 (09:59 +0200)]
QName parsing fix for patterns

* libxslt/pattern.c: fix a corner case and avoid a memory leak on
  error

15 years agoCrash compiling stylesheet with DTD
Martin [Wed, 16 Sep 2009 17:02:16 +0000 (19:02 +0200)]
Crash compiling stylesheet with DTD

* libxslt/xslt.c: when a stylesheet embbeds a DTD the compilation
  process could get seriously wrong

15 years agoFix xsl:strip-space with namespace and wildcard
Nick Wellnhofer [Wed, 16 Sep 2009 16:51:29 +0000 (18:51 +0200)]
Fix xsl:strip-space with namespace and wildcard

* libxslt/imports.c: xsl:strip-space didn't work if there is a NameTest
  with a namespace and a wildcard
* tests/REC/Makefile.am tests/REC/test-3.4-*: add some test to the
  regression suite

15 years agoFix a problem with previous change
Daniel Veillard [Wed, 16 Sep 2009 16:49:59 +0000 (18:49 +0200)]
Fix a problem with previous change

15 years agoLabel xsltProcessOneNode as static
Daniel Veillard [Wed, 16 Sep 2009 15:38:19 +0000 (17:38 +0200)]
Label xsltProcessOneNode as static

15 years agoAdd API versioning and various cleanups
Daniel Veillard [Wed, 16 Sep 2009 14:16:21 +0000 (16:16 +0200)]
Add API versioning and various cleanups

* doc/symbols.xml doc/syms.xsl doc/checkapisym.xsl libxslt/libxslt.syms:
  the new symbol files, checking and stylesheets, based on libxml2 ones
* configure.in doc/Makefile.am libxslt/Makefile.am: modifications needed
  to activate the symbol versioning
* doc/libxslt-api.xml doc/libxslt-refs.xml doc/EXSLT/libexslt-api.xml
  doc/EXSLT/libexslt-refs.xml: regenerated
* libexslt/crypto.c libxslt/Makefile.am libxslt/keys.c libxslt/variables.c
  libxslt/xslt.c libxslt/xsltInternals.h libxslt/xsltlocale.c
  libxslt/xsltlocale.h: various cleanups

15 years agoFix a mutex deadlock on unregistered extensions
Nix [Tue, 8 Sep 2009 08:22:13 +0000 (10:22 +0200)]
Fix a mutex deadlock on unregistered extensions

* libxslt/extensions.c: both xsltExtModuleFunctionLookup() and
  xsltExtModuleRegisterDynamic() take the xsltExtMutex, but the
  former calls the latter

15 years ago567192 xsltproc --output option ignore --xinclude
Joachim Breitner [Sun, 23 Aug 2009 12:58:13 +0000 (14:58 +0200)]
567192 xsltproc --output option ignore --xinclude

* xsltproc/xsltproc.c: the option was not activating XInclude nor
  passing parser flags

15 years agoFix redundant headers in list
Daniel Veillard [Fri, 21 Aug 2009 14:14:34 +0000 (16:14 +0200)]
Fix redundant headers in list

15 years ago134754 Configure's --with-html-dir related fixes
Julio M. Merino Vidal [Fri, 21 Aug 2009 14:10:26 +0000 (16:10 +0200)]
134754 Configure's --with-html-dir related fixes

* configure.in doc/Makefile.am: fixes --with-html-dir argument
  handling and adds --with-html-subdir.

15 years agoMake sure testThreads is linked with pthreads
Daniel Veillard [Thu, 20 Aug 2009 10:21:52 +0000 (12:21 +0200)]
Make sure testThreads is linked with pthreads

* configure.in: augment thread detection to pass THREADS_LIBS
* xsltproc/Makefile.am: add THREAD_LIBS to testThreads_LDADD

15 years agoFix potential crash on debug of extensions Solaris
Ben Walton [Mon, 17 Aug 2009 09:19:48 +0000 (11:19 +0200)]
Fix potential crash on debug of extensions Solaris

* libxslt/extensions.c: avoid a printf("%s", NULL) in special
  circumstances

15 years agoImprove testThreads a bit
Daniel Veillard [Fri, 14 Aug 2009 07:14:51 +0000 (09:14 +0200)]
Improve testThreads a bit

* xsltproc/testThreads.c: load exslt extensions, the test module and
  a bit of output

15 years ago305913 a serious problem in extensions reentrancy
Daniel Veillard [Fri, 14 Aug 2009 07:02:16 +0000 (09:02 +0200)]
305913 a serious problem in extensions reentrancy

* libexslt/exslt.c libxslt/extensions.c libxslt/extensions.h
  libxslt/security.c libxslt/transform.c libxslt/xslt.c: extension
  support use some global variables, make sure there is a Mutex to
  access and modify them

15 years agoAdding a test program to check thread reentrancy
Daniel Veillard [Fri, 14 Aug 2009 06:58:50 +0000 (08:58 +0200)]
Adding a test program to check thread reentrancy

* xsltproc/testThreads.c: based loosely on libxml2 one, checks
  concurrent use of the same stylesheet and extensions reentrancy
* config.h.in configure.in: we need to check for pthreads
* Makefile.am xsltproc/Makefile.am: add the new program and insert
  in make check

15 years agoAdding a .gitignore file
Daniel Veillard [Fri, 24 Jul 2009 08:51:31 +0000 (10:51 +0200)]
Adding a .gitignore file

15 years agoFix the download links for Solaris
Daniel Veillard [Fri, 24 Jul 2009 08:18:20 +0000 (10:18 +0200)]
Fix the download links for Solaris

15 years agoFix an idness issue when building the tree
Daniel Veillard [Fri, 24 Jul 2009 08:17:12 +0000 (10:17 +0200)]
Fix an idness issue when building the tree

* libxslt/attributes.c: fix an IDness issue when building the tree

15 years agoFix makefile and spec file to include doc in rpm
Daniel Veillard [Fri, 24 Jul 2009 08:15:20 +0000 (10:15 +0200)]
Fix makefile and spec file to include doc in rpm

15 years agogit setup
veillard [Tue, 12 May 2009 07:04:37 +0000 (09:04 +0200)]
git setup
* configure.in: adapt the extra version detection code to git
* libxslt.doap: adding RDF dope file
Daniel

15 years agoFixed indexing error reported by Ron Burk on the mailing list.
William M. Brack [Sat, 24 Jan 2009 03:06:51 +0000 (03:06 +0000)]
Fixed indexing error reported by Ron Burk on the mailing list.

* libexslt/strings.c: Fixed indexing error reported by Ron Burk on the mailing list.

svn path=/trunk/; revision=1494

16 years agoapplied patch from Roumen Petrov for mingw cross compilation problems
Daniel Veillard [Fri, 14 Nov 2008 14:08:37 +0000 (14:08 +0000)]
applied patch from Roumen Petrov for mingw cross compilation problems

* python/Makefile.am libxslt/Makefile.am configure.in
  libexslt/Makefile.am: applied patch from Roumen Petrov for
  mingw cross compilation problems raised by Rich Jones
daniel

svn path=/trunk/; revision=1493

16 years agopatch from Richard Jones to build shared libs with MinGW cross-compiler
Daniel Veillard [Tue, 28 Oct 2008 10:56:52 +0000 (10:56 +0000)]
patch from Richard Jones to build shared libs with MinGW cross-compiler

* configure.in Makefile.am: patch from Richard Jones to build
  shared libs with MinGW cross-compiler
Daniel

svn path=/trunk/; revision=1492

16 years agoprevent some unchecked pointer accesses, patch by Jake Goulding daniel
Daniel Veillard [Tue, 7 Oct 2008 16:26:24 +0000 (16:26 +0000)]
prevent some unchecked pointer accesses, patch by Jake Goulding daniel

* libxslt/pattern.c: prevent some unchecked pointer accesses, patch
  by Jake Goulding
daniel

svn path=/trunk/; revision=1491

16 years agotests/namespaces/tst7.xsl: fixed typo detected by new libxml2 code
William M. Brack [Wed, 6 Aug 2008 12:13:06 +0000 (12:13 +0000)]
tests/namespaces/tst7.xsl: fixed typo detected by new libxml2 code

* Minor cleanup of "typo" and some compilation warnings:
  tests/namespaces/tst7.xsl: fixed typo detected by new libxml2 code
  libxslt/keys.c, libxslt/xsltlocale.c, libexslt/date.c: trivial
  changes for gcc warnings.

svn path=/trunk/; revision=1490

16 years agotests/namespaces/tst7.xsl: fixed typo detected by new libxml2 code
William M. Brack [Wed, 6 Aug 2008 12:12:05 +0000 (12:12 +0000)]
tests/namespaces/tst7.xsl: fixed typo detected by new libxml2 code

* Minor cleanup of "typo" and some compilation warnings:
  tests/namespaces/tst7.xsl: fixed typo detected by new libxml2 code
  libxslt/keys.c, libxslt/xsltlocale.c, libexslt/date.c: trivial
  changes for gcc warnings.

svn path=/trunk/; revision=1489

16 years agobig patch from Roumen Petrov finishing xsl:sort lang support with many
Daniel Veillard [Fri, 1 Aug 2008 08:27:18 +0000 (08:27 +0000)]
big patch from Roumen Petrov finishing xsl:sort lang support with many

* libxslt/xsltconfig.h.in libxslt/xslt.c libxslt/extensions.c
  libxslt/xsltlocale.c libxslt/preproc.c libxslt/xsltutils.c
  libxslt/xsltlocale.h libxslt/win32config.h configure.in
  config.h.in win32/configure.js: big patch from Roumen Petrov
  finishing xsl:sort lang support with many portability issues
  fixed and feedback from Nick Wellnhofer and Rob Richards
Daniel

svn path=/trunk/; revision=1488

16 years agofix for CVE-2008-2935 libexslt RC4 encryption/decryption functions Daniel
Daniel Veillard [Fri, 1 Aug 2008 05:55:20 +0000 (05:55 +0000)]
fix for CVE-2008-2935 libexslt RC4 encryption/decryption functions Daniel

* libexslt/crypto.c: fix for CVE-2008-2935 libexslt RC4
  encryption/decryption functions
Daniel

svn path=/trunk/; revision=1487

16 years agofix my static linking setup on x86_64 Daniel
Daniel Veillard [Mon, 28 Jul 2008 12:49:05 +0000 (12:49 +0000)]
fix my static linking setup on x86_64 Daniel

* configure.in: fix my static linking setup on x86_64
Daniel

svn path=/trunk/; revision=1486

16 years agoavoid a quadratic behaviour when hitting duplicates
Daniel Veillard [Sun, 27 Jul 2008 11:54:07 +0000 (11:54 +0000)]
avoid a quadratic behaviour when hitting duplicates

* libxslt/xslt.c: avoid a quadratic behaviour when hitting duplicates
  exclude-result-prefixes declarations, should fix #544906
Daniel

svn path=/trunk/; revision=1485

16 years ago*configure.in: fixed option --with-debugger with patch from Arun Ragnavan #544829
William M. Brack [Sat, 26 Jul 2008 19:42:39 +0000 (19:42 +0000)]
*configure.in: fixed option --with-debugger with patch from Arun Ragnavan #544829

svn path=/trunk/; revision=1484

16 years agofixed incorrect argument popping in exsltMathAtan2Function #541965
William M. Brack [Sat, 12 Jul 2008 23:37:05 +0000 (23:37 +0000)]
fixed incorrect argument popping in exsltMathAtan2Function #541965

* libexslt/math.c: fixed incorrect argument popping in exsltMathAtan2Function #541965

svn path=/trunk/; revision=1483

16 years agopatch from Ron Burk to fix problem with string check for element-available
William M. Brack [Thu, 10 Jul 2008 17:12:45 +0000 (17:12 +0000)]
patch from Ron Burk to fix problem with string check for element-available

* libxslt/functions.c: patch from Ron Burk to fix problem
  with string check for element-available and
  function-available #530891.

svn path=/trunk/; revision=1482

16 years agoadded code to handle literal within an AVT #539741. tests/docs/Makefile.am
William M. Brack [Wed, 25 Jun 2008 07:05:52 +0000 (07:05 +0000)]
added code to handle literal within an AVT #539741. tests/docs/Makefile.am

* libxslt/attrvt.c: added code to handle literal within an
  AVT #539741.
* tests/docs/Makefile.am tests/docs/bug-168.xsl
* tests/general/Makefile.am tests/general/bug-168.* add a
  test for this bug to the regression suite.

svn path=/trunk/; revision=1481

16 years agoadded code to handle literal within an AVT #539741. tests/docs/Makefile.am
William M. Brack [Wed, 25 Jun 2008 07:04:01 +0000 (07:04 +0000)]
added code to handle literal within an AVT #539741. tests/docs/Makefile.am

* libxslt/attrvt.c: added code to handle literal within an
  AVT #539741.
* tests/docs/Makefile.am tests/docs/bug-168.xsl
* tests/general/Makefile.am tests/general/bug-168.* add a
  test for this bug to the regression suite.

svn path=/trunk/; revision=1480

16 years agopatch from Roumen Petrov fixing include path when compiling with MinGW
Daniel Veillard [Fri, 13 Jun 2008 09:01:11 +0000 (09:01 +0000)]
patch from Roumen Petrov fixing include path when compiling with MinGW

* libxslt/libxslt.h libexslt/libexslt.h libexslt/exslt.h: patch
  from Roumen Petrov fixing include path when compiling with MinGW
Daniel

svn path=/trunk/; revision=1479

16 years agopatch from Nick Wellnhofer and Roumen Petrov to fix some portability
Daniel Veillard [Thu, 12 Jun 2008 09:43:28 +0000 (09:43 +0000)]
patch from Nick Wellnhofer and Roumen Petrov to fix some portability

* libxslt/xsltconfig.h.in libxslt/xsltlocale.h configure.in
  config.h.in win32/configure.js: patch from Nick Wellnhofer and
  Roumen Petrov to fix some portability problems on the previous
  xsl:sort locale patch
Daniel

svn path=/trunk/; revision=1478

16 years agoForgot to commit the new files, Daniel
Daniel Veillard [Tue, 3 Jun 2008 19:24:02 +0000 (19:24 +0000)]
Forgot to commit the new files, Daniel

svn path=/trunk/; revision=1477

16 years agopatch from Nick Wellnhofer adding xsl:sort lang support using the locale
Daniel Veillard [Tue, 3 Jun 2008 16:40:54 +0000 (16:40 +0000)]
patch from Nick Wellnhofer adding xsl:sort lang support using the locale

* configure.in libxslt/extra.c libxslt/Makefile.am libxslt/preproc.c
  libxslt/xsltInternals.h libxslt/xsltlocale.c libxslt/xsltlocale.h
  libxslt/xsltutils.c win32/Makefile.mingw win32/Makefile.msvc: patch
  from Nick Wellnhofer adding xsl:sort lang support using the locale
  support from the C library.
Daniel

svn path=/trunk/; revision=1476

16 years agoas Ralf Junker pointed out xsltExtFunctionLookup was defined but never
Daniel Veillard [Tue, 3 Jun 2008 16:19:03 +0000 (16:19 +0000)]
as Ralf Junker pointed out xsltExtFunctionLookup was defined but never

* libxslt/extensions.h: as Ralf Junker pointed out
  xsltExtFunctionLookup was defined but never implemented, removing it
Daniel

svn path=/trunk/; revision=1475

16 years agorelease of 1.1.24 syntactic cleanup (Martin) Daniel
Daniel Veillard [Tue, 13 May 2008 15:52:56 +0000 (15:52 +0000)]
release of 1.1.24 syntactic cleanup (Martin) Daniel

* configure.in doc/*: release of 1.1.24
* python/generator.py: syntactic cleanup (Martin)
Daniel

svn path=/trunk/; revision=1473

16 years agofix the processing of top level elements of stylesheets which are not in
Daniel Veillard [Tue, 13 May 2008 14:34:37 +0000 (14:34 +0000)]
fix the processing of top level elements of stylesheets which are not in

* libxslt/xslt.c libxslt/extensions.c libxslt/extensions.h:
  fix the processing of top level elements of stylesheets which
  are not in the XSLT namespace and are not an extension either
  should fix #529223
* tests/docs/Makefile.am tests/docs/bug-167.xml
  tests/general/Makefile.am tests/general/bug-167.*: add the
  test to the regression suite
Daniel

svn path=/trunk/; revision=1472

16 years agofix the key initialization problem introduced when tracking Josef Urban
Daniel Veillard [Fri, 9 May 2008 12:35:41 +0000 (12:35 +0000)]
fix the key initialization problem introduced when tracking Josef Urban

* libxslt/documents.c libxslt/keys.c libxslt/xsltInternals.h
  libxslt/transform.c libxslt/pattern.c: fix the key initialization
  problem introduced when tracking Josef Urban problem from 22 Dec
  2007, this should also handle the problem of recursive keys
  definitions should fix #531873.
* tests/docs/bug-166.xml tests/docs/Makefile.am
  tests/general/Makefile.am tests/general/bug-166.xsl
  tests/general/bug-166.out: add the regression tests when a key
  computation depends on another one.
Daniel

svn path=/trunk/; revision=1471

16 years agoupdate the man page based on Vincent Lefevre suggestion. Daniel
Daniel Veillard [Mon, 21 Apr 2008 14:28:56 +0000 (14:28 +0000)]
update the man page based on Vincent Lefevre suggestion. Daniel

* doc/xsltproc.1 doc/xsltproc.xml: update the man page based on
  Vincent Lefevre suggestion.
Daniel

svn path=/trunk/; revision=1470

16 years agofixes #527297 general patter comps fix and cleanup other cleanups Daniel
Daniel Veillard [Mon, 14 Apr 2008 09:20:54 +0000 (09:20 +0000)]
fixes #527297 general patter comps fix and cleanup other cleanups Daniel

* libxslt/pattern.c: fixes #527297 general patter comps fix and cleanup
* libxslt/xsltInternals.h libxslt/pattern.h: other cleanups
Daniel

svn path=/trunk/; revision=1469

16 years agorelease of 1.1.23 Daniel
Daniel Veillard [Tue, 8 Apr 2008 17:17:46 +0000 (17:17 +0000)]
release of 1.1.23 Daniel

* configure.in doc/*: release of 1.1.23
Daniel

svn path=/trunk/; revision=1467

16 years agoadd back #452876 patch lost on previous commit, Daniel
Daniel Veillard [Tue, 8 Apr 2008 17:05:41 +0000 (17:05 +0000)]
add back #452876 patch lost on previous commit, Daniel

svn path=/trunk/; revision=1466

16 years agonew version of patch from Peter Pawlowski Daniel
Daniel Veillard [Tue, 8 Apr 2008 16:53:58 +0000 (16:53 +0000)]
new version of patch from Peter Pawlowski Daniel

* libexslt/date.c: new version of patch from Peter Pawlowski
Daniel

svn path=/trunk/; revision=1465

16 years agofix an infinite loop bug Daniel
Daniel Veillard [Tue, 8 Apr 2008 08:22:14 +0000 (08:22 +0000)]
fix an infinite loop bug Daniel

* python/generator.py: fix an infinite loop bug
Daniel

svn path=/trunk/; revision=1464

16 years agoavoid a scary realloc() loop should fix #520383 Daniel
Daniel Veillard [Thu, 3 Apr 2008 07:34:26 +0000 (07:34 +0000)]
avoid a scary realloc() loop should fix #520383 Daniel

* libxslt/xsltutils.c: avoid a scary realloc() loop should fix #520383
Daniel

svn path=/trunk/; revision=1463

16 years agoapplied patch from Peter Pawlowski fixing a timezone offset problem, fixes
Daniel Veillard [Thu, 3 Apr 2008 05:34:12 +0000 (05:34 +0000)]
applied patch from Peter Pawlowski fixing a timezone offset problem, fixes

* libexslt/date.c: applied patch from Peter Pawlowski  fixing
  a timezone offset problem, fixes #521680
* libxslt/namespaces.c: a bit of space/tabs cleanup
Daniel

svn path=/trunk/; revision=1462

16 years agosmall fix to man page synopsis, should fix #525822 Daniel
Daniel Veillard [Thu, 3 Apr 2008 04:26:46 +0000 (04:26 +0000)]
small fix to man page synopsis, should fix #525822 Daniel

* doc/xsltproc.xml doc/xsltproc.1 doc/xsltproc.html: small fix to
  man page synopsis, should fix #525822
Daniel

svn path=/trunk/; revision=1461

16 years ago*libexslt/functions.c: fixed minor error reported on the mailing
William M. Brack [Sat, 15 Mar 2008 03:17:05 +0000 (03:17 +0000)]
*libexslt/functions.c: fixed minor error reported on the mailing
 list by Mark Howe, which caused a segfault if func:result was
 postitioned as top-level element.

svn path=/trunk/; revision=1460

16 years agotypo fix. test commit
Rob Richards [Thu, 13 Mar 2008 17:46:34 +0000 (17:46 +0000)]
typo fix. test commit

* INSTALL: typo fix. test commit

svn path=/trunk/; revision=1459

16 years agopatch from Rob Richards for VS 2008 fix a problem with namespace nodes
Daniel Veillard [Thu, 13 Mar 2008 08:39:24 +0000 (08:39 +0000)]
patch from Rob Richards for VS 2008 fix a problem with namespace nodes

* libxslt/win32config.h: patch from Rob Richards for VS 2008
* python/types.c: fix a problem with namespace nodes coming from
  XPath nodesets.
Daniel

svn path=/trunk/; revision=1458

16 years agofix maxdepth default value documentation fixes #519921. Daniel
Daniel Veillard [Mon, 3 Mar 2008 08:42:08 +0000 (08:42 +0000)]
fix maxdepth default value documentation fixes #519921. Daniel

* doc/xsltproc.xml doc/xsltproc.1: fix maxdepth default value
  documentation fixes #519921.
Daniel

svn path=/trunk/; revision=1457

16 years ago*libxslt/extensions.c: fixed minor error bug #516483
William M. Brack [Fri, 15 Feb 2008 17:26:07 +0000 (17:26 +0000)]
*libxslt/extensions.c: fixed minor error bug #516483
*tests/exslt/common - deleted node-set.9 regression test,
 because it relied upon an external web import.

svn path=/trunk/; revision=1456

16 years agoapplied documentation patch from Jason Viers for xsltParseStylesheetDoc
Daniel Veillard [Tue, 5 Feb 2008 07:54:32 +0000 (07:54 +0000)]
applied documentation patch from Jason Viers for xsltParseStylesheetDoc

* libxslt/xslt.c: applied documentation patch from Jason Viers
  for xsltParseStylesheetDoc
Daniel

svn path=/trunk/; revision=1455

16 years agoapplied a portability patch from Stephane Bidoul Daniel
Daniel Veillard [Tue, 5 Feb 2008 07:37:55 +0000 (07:37 +0000)]
applied a portability patch from Stephane Bidoul Daniel

* python/tests/pyxsltproc.py: applied a portability patch from
  Stephane Bidoul
Daniel

svn path=/trunk/; revision=1454

16 years agofix links for Cygwin DocBook setup as suggested by Philippe Bourcier
Daniel Veillard [Thu, 24 Jan 2008 15:26:46 +0000 (15:26 +0000)]
fix links for Cygwin DocBook setup as suggested by Philippe Bourcier

* doc/xslt.html doc/docbook.html: fix links for Cygwin DocBook
  setup as suggested by Philippe Bourcier
Daniel

svn path=/trunk/; revision=1453

16 years agofixed spelling error
William M. Brack [Mon, 24 Dec 2007 01:24:16 +0000 (01:24 +0000)]
fixed spelling error

svn path=/trunk/; revision=1452

16 years agofixed a problem on superfluous re-generation of keys reported on the
William M. Brack [Mon, 24 Dec 2007 00:40:07 +0000 (00:40 +0000)]
fixed a problem on superfluous re-generation of keys reported on the

* libxslt/keys.c, libxslt/pattern.c, libxslt/xsltInternals.h:
  fixed a problem on superfluous re-generation of keys reported
  on the mailing list by Joseph Urban.

svn path=/trunk/; revision=1451

16 years agoavoid a problem in configure if an old gcrypt version is installed, patch
Daniel Veillard [Thu, 29 Nov 2007 10:45:29 +0000 (10:45 +0000)]
avoid a problem in configure if an old gcrypt version is installed, patch

* configure.in: avoid a problem in configure if an old gcrypt
  version is installed, patch from Brent Cowgill, fixes #500390
Daniel

svn path=/trunk/; revision=1450

17 years agoAfter discussion on Bugzilla with Peter Pawlowski, added same code for
William M. Brack [Tue, 13 Nov 2007 21:12:50 +0000 (21:12 +0000)]
After discussion on Bugzilla with Peter Pawlowski, added same code for

* libexslt/common.c, libexslt/dynamic.c: After discussion on
  Bugzilla with Peter Pawlowski, added same code for preventing
  deletion of function result during garbage collection (see
  bug #495995).

svn path=/trunk/; revision=1449

17 years agoAdded code to mark the results of str:tokenize and str:split as "function
William M. Brack [Mon, 12 Nov 2007 21:53:00 +0000 (21:53 +0000)]
Added code to mark the results of str:tokenize and str:split as "function

* libexslt/strings.c: Added code to mark the results of
  str:tokenize and str:split as "function result" to avoid
  garbage-collecting them during global variable initialisation.
  Should fix bug #495995.

svn path=/trunk/; revision=1448

17 years agochanged iterator argument for Py_Dict_Next from int to ssize_t to fix
William M. Brack [Thu, 25 Oct 2007 00:43:22 +0000 (00:43 +0000)]
changed iterator argument for Py_Dict_Next from int to ssize_t to fix

* python/libxslt.c: changed iterator argument for Py_Dict_Next
  from int to ssize_t to fix x86_64 bug #489854

svn path=/trunk/; revision=1447

17 years agoapplied patch from Maurice van der Pot to fix EXSLT week-in-year extenson
Daniel Veillard [Wed, 10 Oct 2007 14:34:38 +0000 (14:34 +0000)]
applied patch from Maurice van der Pot to fix EXSLT week-in-year extenson

* libexslt/date.c tests/exslt/date/datetime.1.out
  tests/exslt/date/date.1.out tests/exslt/date/date.1.xml:
  applied patch from Maurice van der Pot to fix EXSLT
  week-in-year extenson which was not conforming to the definition.
  This also changes the output of the tests a bit. Should fix #452876
Daniel

svn path=/trunk/; revision=1446

17 years agoAdding a MAINTAINER file for Gnome, Daniel
Daniel Veillard [Tue, 4 Sep 2007 08:12:03 +0000 (08:12 +0000)]
Adding a MAINTAINER file for Gnome, Daniel

svn path=/trunk/; revision=1445

17 years agoapplied patch from Daniel Gryniewicz to fix a segfault caused by a
William M. Brack [Thu, 30 Aug 2007 00:17:46 +0000 (00:17 +0000)]
applied patch from Daniel Gryniewicz to fix a segfault caused by a

* python/libxslt.c: applied patch from Daniel Gryniewicz to
  fix a segfault caused by a parameter array not being preset
  to zero.

svn path=/trunk/; revision=1444

17 years agopreparing release of 1.1.22 Daniel
Daniel Veillard [Thu, 23 Aug 2007 15:32:58 +0000 (15:32 +0000)]
preparing release of 1.1.22 Daniel

* configure.in doc/*: preparing release of 1.1.22
Daniel

svn path=/trunk/; revision=1442

17 years agoapplied patch from Rob Richards to fix a stylesheet compilation error
Daniel Veillard [Thu, 23 Aug 2007 13:38:27 +0000 (13:38 +0000)]
applied patch from Rob Richards to fix a stylesheet compilation error

* libxslt/xslt.c: applied patch from Rob Richards to fix a
  stylesheet compilation error handling problem #382570
Daniel

svn path=/trunk/; revision=1441

17 years agoapplied patch from Roland Schwarz and Rob Richards to fix the security
Daniel Veillard [Thu, 23 Aug 2007 13:22:44 +0000 (13:22 +0000)]
applied patch from Roland Schwarz and Rob Richards to fix the security

* libxslt/security.c: applied patch from Roland Schwarz and Rob
  Richards to fix the security file checks on Windows, should
  close #464432
Daniel

svn path=/trunk/; revision=1440

17 years agoadded regression test for bug #469410
William M. Brack [Thu, 23 Aug 2007 13:14:55 +0000 (13:14 +0000)]
added regression test for bug #469410

* tests/general/bug-165.[xsl,out,err], tests/docs/bug-165.xml,
  tests/general/Makefile.am, tests/docs/Makefile.am:
  added regression test for bug #469410

svn path=/trunk/; revision=1439

17 years agopatch from Drazen Kacar to add a --encoding option fixes #443868 augment
Daniel Veillard [Thu, 23 Aug 2007 12:20:49 +0000 (12:20 +0000)]
patch from Drazen Kacar to add a --encoding option fixes #443868 augment

* xsltproc/xsltproc.c: patch from Drazen Kacar to add a --encoding
  option fixes #443868
* doc/xsltproc.xml doc/xsltproc.1: augment and regenerate man page.
Daniel

svn path=/trunk/; revision=1438

17 years agoapply patch from Björn Wiberg fixing build on AIX and closing bug #332173
Daniel Veillard [Thu, 23 Aug 2007 09:46:25 +0000 (09:46 +0000)]
apply patch from Björn Wiberg fixing build on AIX and closing bug #332173

* libexslt/date.c: apply patch from Björn Wiberg fixing build on AIX
  and closing bug #332173
Daniel

svn path=/trunk/; revision=1437

17 years agoUpdated Perl and lxml links, Daniel
Daniel Veillard [Wed, 22 Aug 2007 17:39:14 +0000 (17:39 +0000)]
Updated Perl and lxml links, Daniel

svn path=/trunk/; revision=1436

17 years agoapply patch from Rob Richards to improve build with VS2005 Daniel
Daniel Veillard [Fri, 3 Aug 2007 13:46:43 +0000 (13:46 +0000)]
apply patch from Rob Richards to improve build with VS2005 Daniel

* win32/Makefile.msvc win32/configure.js: apply patch from
  Rob Richards to improve build with VS2005
Daniel

svn path=/trunk/; revision=1435

17 years agoRemoved the exclude-result-prefix change of 31 May 2007. Fixes bug
William M. Brack [Thu, 26 Jul 2007 19:42:32 +0000 (19:42 +0000)]
Removed the exclude-result-prefix change of 31 May 2007. Fixes bug

* libxslt/xslt.c: Removed the exclude-result-prefix change of
  31 May 2007.  Fixes bug #459713.

svn path=/trunk/; revision=1434

17 years agoFixed problem with RVT cleanup related to some exslt functions (reported
William M. Brack [Sat, 16 Jun 2007 14:44:09 +0000 (14:44 +0000)]
Fixed problem with RVT cleanup related to some exslt functions (reported

* libxslt/transform.c: Fixed problem with RVT cleanup related
  to some exslt functions (reported on the list by Marc Adkins).

svn path=/trunk/; revision=1433

17 years agoadded test case for bug #413451
William M. Brack [Wed, 13 Jun 2007 20:28:54 +0000 (20:28 +0000)]
added test case for bug #413451

* tests/exslt/common/node-set.9.[xml,xsl,out],
  tests/exslt/common/Makefile.am: added test case for bug #413451

svn path=/trunk/; revision=1432

17 years agopreparing release of 1.1.20 Daniel
Daniel Veillard [Tue, 12 Jun 2007 16:51:07 +0000 (16:51 +0000)]
preparing release of 1.1.20 Daniel

* NEWS configure.in doc/*: preparing release of 1.1.20
Daniel

svn path=/trunk/; revision=1430

17 years agofixed obscure namespace problem related to exclude-result-prefix
William M. Brack [Thu, 31 May 2007 19:40:11 +0000 (19:40 +0000)]
fixed obscure namespace problem related to exclude-result-prefix

* libxslt/xslt.c: fixed obscure namespace problem related to
  exclude-result-prefix

svn path=/trunk/; revision=1429

17 years agofixed minor compilation warning in libxslt/transform.c
William M. Brack [Sun, 6 May 2007 16:18:15 +0000 (16:18 +0000)]
fixed minor compilation warning in libxslt/transform.c

svn path=/trunk/; revision=1428

17 years agofixed two memory leaks, one in exsltMathConstant and one in
William M. Brack [Sun, 6 May 2007 15:43:22 +0000 (15:43 +0000)]
fixed two memory leaks, one in exsltMathConstant and one in

* libexslt/math.c: fixed two memory leaks, one in exsltMathConstant
  and one in exsltMathConstantFunction (bug #436324)

svn path=/trunk/; revision=1427

17 years agofixed xpath context housekeeping problem on processing 'choose' (bug
William M. Brack [Fri, 4 May 2007 07:52:38 +0000 (07:52 +0000)]
fixed xpath context housekeeping problem on processing 'choose' (bug

* libxslt/transform.c: fixed xpath context housekeeping problem
on processing 'choose' (bug 435479).

svn path=/trunk/; revision=1426

17 years agofixed (another) problem with cached RVT's (from re-opened #378766).'
William M. Brack [Thu, 26 Apr 2007 03:04:28 +0000 (03:04 +0000)]
fixed (another) problem with cached RVT's (from re-opened #378766).'

* libxslt/transform.c: fixed (another) problem with cached
  RVT's (from re-opened #378766).'

svn path=/trunk/; revision=1425

17 years agoapply patch fron Shaun McCance to hook xsl:message construct to the new
Daniel Veillard [Tue, 27 Mar 2007 14:49:10 +0000 (14:49 +0000)]
apply patch fron Shaun McCance to hook xsl:message construct to the new

* libxslt/xsltutils.c: apply patch fron Shaun McCance to hook
  xsl:message construct to the new per-xsltTransformCtxt error
  callback if set up.
* Makefile.am: do not package svn files in releases
Daniel

svn path=/trunk/; revision=1424

17 years agoadded setting of TRIO_REPLACE_STDIO when TRIO routines are required.
William M. Brack [Fri, 2 Mar 2007 10:43:34 +0000 (10:43 +0000)]
added setting of TRIO_REPLACE_STDIO when TRIO routines are required.

* xsltconfig.h.in: added setting of TRIO_REPLACE_STDIO when TRIO
  routines are required.
* namespaces.c, xsltutils.c: enhanced handling of stdio.h vs. trio.h
  when trio routines are required (now use XSLT_NEED_TRIO)
  (bug #412787)

svn path=/trunk/; revision=1423

17 years agofixed tab/space inconsistency with patch provided by Andreas Hanke (bug
William M. Brack [Sun, 18 Feb 2007 16:58:11 +0000 (16:58 +0000)]
fixed tab/space inconsistency with patch provided by Andreas Hanke (bug

* python/libxsl.py: fixed tab/space inconsistency with patch provided by Andreas Hanke (bug #409193)

svn path=/trunk/; revision=1422