summaryrefslogtreecommitdiff
path: root/tests/docs/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2016-06-22Imported Upstream version 1.1.29upstream/1.1.29DongHun Kwak1-0/+9
Change-Id: I7d894ba27f8f8e886dbcece3bb3df8e69059cae9 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2012-10-10Crash when passing an uninitialized variable to document()Nick Wellnhofer1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=685330 Missing check for NULL
2012-10-10Add missing test docs to EXTRA_DISTNick Wellnhofer1-0/+9
2012-10-09Fix regression: Default namespace not correctly usedNick Wellnhofer1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=684564
2012-08-09Various "make distcheck" and other fixesDaniel Richard G1-2/+0
Makefile.am: * Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed variables in Makefile.am files * Touch these *.xml/*.syms files in the "dist-hook" target to prevent them from being regenerated, because the "make dist" process in itself updates the timestamps of the source files when it copies them into $(distdir) * Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required dependency when client applications link against -lxslt (note that the definition of EXTRA_LIBS has been changed; see below) * Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU Make programs autogen.sh: * Add --warnings=all options to automake and autoconf invocations, to better catch potential problems (most of which I've fixed in this patch) configure.in: * Replaced obsolete macros with their current equivalents; for reference, see http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html (I removed AC_ISC_POSIX outright because the doc states it is no longer useful) * test(1) uses "=" as an operator, not "==" * Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors * Don't add redundant libraries to EXTRA_LIBS, because (1) this variable already contains LibXSLT's own additional system-library deps, and is useful in that form, and (2) the LibXML2 deps are already handled by Libtool * Don't delete files in srcdir, and don't create the symlink to "Copyright" there either (I don't understand why this is being symlinked in the first place...) doc/Makefile.am: * Can't use wildcards in EXTRA_DIST, because this breaks dependencies (e.g. you can't "make EXSLT/\*.html"), and they only work properly when building inside the source tree; these have been replaced with their expansions. Other entries have been added here in lieu of the wildcards in the dist-hook target, as well as opportunistic use of the $(*PAGES) variables. * Don't define an "all" target, because this steps on Automake's toes; use "all-local" instead * Define and use an "xsltproc" variable to reference an in-tree-built version of xsltproc, instead of e.g. $(bindir)/xsltproc NOTE: The makefile also uses $(XSLTPROC), which names an external instance of the program found at configure time. Some instances of this could probably be changed to $(xsltproc) to remove the dependency on an existing installed program. * Qualified various filenames as appropriate with $(srcdir) * Use $(XMLLINT) consistently instead of $(bindir)/xmllint * In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking apibuild.py as this script has to run in srcdir anyway * In the "clean-local" rule, clear out some additional files to allow "make distcheck" to pass * Eliminated the redundant "maintainer-clean-local" rule * Added a "distclean-local" rule to clear out the build directory in an out-of-source build to allow "make distcheck" to pass * Added a "check-extra-dist" target to make it easier to check that EXTRA_DIST isn't missing anything * Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete * Use $(VAR) instead of @VAR@ * The "dist-hook" target didn't work (if any generated files were in builddir and not in srcdir), and is no longer needed thanks to the comprehensive EXTRA_DIST variable * Added an "uninstall-local" rule to allow "make distcheck" to pass * Updated the .PHONY target list, removed non-existent targets doc/symbols.xml: * Needed to add this bit to make the generation scripts shut up libexslt/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS (Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake already references both in the build rules) * Use $(VAR) instead of @VAR@ libxslt.pc.in: * Add EXTRA_LIBS (-lrt on my system), as this is a required dependency when client applications link against -lxslt libxslt/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS * Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs) * Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete libxslt/xsltutils.c: * Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about CLOCK_HIGHRES. Some systems, alas, have no usable alternative to CLOCK_REALTIME. python/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS * Because libxslt-py.c is (presumably) supposed to be generated every time at build time, don't bundle it in the dist tarball * Use $(VAR) instead of @VAR@ * libxsltclass.py is a generated file, so it doesn't get qualified with $(srcdir) * Use $(MKDIR_P) instead of (mkinstalldirs) * Added an uninstall-local rule so that "make distcheck" passes * Removed the $(srcdir) qualifications in the GENERATED file list, as these files may exist in builddir * In the gen_prog rule, qualify the script invocation with $(srcdir), and set the SRCDIR environment variable so that the script can find the files it needs when builddir != srcdir * Don't define an "all" target, as this steps on Automake's toes python/generator.py: * Get the source directory from the SRCDIR environment variable, and use it appropriately python/tests/Makefile.am: * Set CLEANFILES instead of defining a "clean" rule * Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs) tests/*/Makefile.am, tests/exslt/*/Makefile.am: * Need to clean up .memdump files for "make distcheck" to pass * Don't define an "all" target, as this steps on Automake's toes tests/REC/Makefile.am: * Added two missing *.stand.out files to EXTRA_DIST tests/XSLTMark/Makefile.am: * Replaced the GNU-Make-specific %.out bit with a more broadly compatible rule (the "dummy" bit shuts up Automake) * Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc" * Use a less $(MAKE)-heavy invocation in the "tests" target * Replaced a conflicting "clean" target with CLEANFILES * Added a dependency on $(xsltproc) to all the test targets * Added a .PHONY target list tests/docbook/Makefile.am: * Ditched the "echo -n" bit, because it wasn't working as advertised * Create output directories for out-of-source builds * "$(basename $$i)" is a typo in a makefile * Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can refer to these files in builddir or srcdir * Add a trailing "echo" to complete the "echo -n" * Don't output files unconditionally to srcdir (it may be read-only, for starters) tests/plugins/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name (Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here can be dropped entirely, because these already appear in xmlsoft_org_xslt_testplugin_la_CFLAGS) * Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin if module support is disabled) * Need to clean up *.res files for "make distcheck" to pass * Use the abs_builddir variable conveniently provided to us by Automake instead of a GNU Make $(shell ...) construct xslt-config.in: * Add EXTRA_LIBS (-lrt on my system), as this is a required dependency when client applications link against -lxslt xsltproc/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) into AM_CFLAGS * Use $(VAR) instead of @VAR@ * Need to clean .memdump for "make distcheck" to pass * Added rules to build lib[e]xslt.la if needed, which allows test makefiles to build xsltproc on the fly even if nothing else has been built already * Create .memdump file in the "tests" target, as it's being grepped afterward
2009-09-17Fix importing of encoding from included stylesheetsNick Wellnhofer1-0/+1
* 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
2008-06-25added code to handle literal within an AVT #539741. tests/docs/Makefile.amWilliam M. Brack1-0/+1
* 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
2008-05-13fix the processing of top level elements of stylesheets which are not inDaniel Veillard1-0/+1
* 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
2008-05-09fix the key initialization problem introduced when tracking Josef UrbanDaniel Veillard1-0/+1
* 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
2007-08-23added regression test for bug #469410William M. Brack1-0/+1
* 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
2006-11-17fixed problem with entity handling within xsltCopyAttrListNoOverwriteWilliam M. Brack1-0/+1
* libxslt/transform.c: fixed problem with entity handling within xsltCopyAttrListNoOverwrite (#352907) * tests/general/bug-164.xsl, tests/general/bug-164.out, tests/docs/bug-164.oxml: added a regression test for this
2005-08-12check fix for #310692 DanielDaniel Veillard1-0/+1
* tests/general/bug-163.*, tests/general/Makefile.am, tests/docs/bug-163.*, tests/docs/Makefile.am: check fix for #310692 Daniel
2005-03-31fixed bug #171488 with cascading select in patterns. added test providedDaniel Veillard1-0/+1
* 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 Daniel
2005-03-30fixed bug 169718 with ancestors in patterns similar to same bug fixed inDaniel Veillard1-0/+1
* 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 Daniel
2005-03-29added test for bug #168196 fixed in libxml2 DanielDaniel Veillard1-0/+1
* tests/general/bug-159.*, tests/general/Makefile.am, tests/docs/bug-159.*, tests/docs/Makefile.am: added test for bug #168196 fixed in libxml2 Daniel
2004-11-25backed out the last change and re-did it the "right way" (bug 158372).William M. Brack1-0/+1
* 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
2004-11-22small change to previous fix for bug 153137, fixes bug 158840. added testWilliam M. Brack1-0/+1
* 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
2004-11-21enhanced code to assure the "current template rule" is not changed byWilliam M. Brack1-0/+1
* 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
2004-11-01added a test case provided by Markus Bertheau breaking on libxml2-2.6.15Daniel Veillard1-0/+1
* 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 Daniel
2004-09-25fixed 2 leaks with namespaced variable names. added test case for aboveDaniel Veillard1-0/+1
* libxslt/preproc.c libxslt/variables.c: fixed 2 leaks with namespaced variable names. * tests/general/bug-154.*, tests/general/Makefile.am, tests/docs/bug-154*, tests/docs/Makefile.am: added test case for above Daniel
2004-08-28fixed small problem with key initialisation disturbing the transformationWilliam M. Brack1-0/+2
* libxslt/keys.c: fixed small problem with key initialisation disturbing the transformation context (bug 151201). * tests/general/bug-153.*, tests/general/Makefile.am, tests/docs/bug-153*, tests/docs/Makefile.am: added test case for above
2004-05-17fixing bug #135542 about the DOCTYPE name being generated when the rootDaniel Veillard1-0/+1
* libxslt/transform.c: fixing bug #135542 about the DOCTYPE name being generated when the root element is namespaced * tests/general/bug-151*, tests/docs/bug-151.xml, tests/general/Makefile.am, tests/docs/Makefile.am: added regression test for bug #135542 Daniel
2004-05-16fixing bug #134500 on namespace lookup for attribute which sometimes leadDaniel Veillard1-0/+1
* libxslt/namespaces.c libxslt/namespaces.h libxslt/templates.c libxslt/transform.c: fixing bug #134500 on namespace lookup for attribute which sometimes lead to default namespace * tests/general/bug-150*, tests/docs/bug-150.xml, tests/general/Makefile.am, tests/docs/Makefile.am: added regression test for bug #134500 Daniel
2004-05-16fixed a weird namespace bug #141532 added tests to the regression for bugDaniel Veillard1-0/+2
* libxslt/xslt.c: fixed a weird namespace bug #141532 * tests/docs/Makefile.am tests/docs/bug-14[89].xml tests/general/Makefile.am tests/docs/bug-14[89]*: added tests to the regression for bug #141532 Daniel
2004-05-03added comments and function header, improved logic of routine just added.William M. Brack1-0/+1
* libxslt/imports.c: added comments and function header, improved logic of routine just added. * tests/general/bug-147*, tests/docs/bug-147.xml, tests/general/Makefile.am, tests/docs/Makefile.am: added regression test for bug 141279
2004-04-05fixed a stupid cut'npaste bug #139132 added test to the regression for bugDaniel Veillard1-0/+1
* libxslt/keys.c: fixed a stupid cut'npaste bug #139132 * tests/docs/Makefile.am tests/docs/bug-146.xml tests/general/Makefile.am tests/docs/bug-146*: added test to the regression for bug #139132 Daniel
2004-03-06continued interrupt commit for enhanced "make tests"William M. Brack1-0/+1
2004-02-26added test similar to 143 but checking for AVT in local variables. DanielDaniel Veillard1-0/+1
* tests/docs/Makefile.am tests/docs/bug-144.xml tests/general/Makefile.am tests/docs/bug-144*: added test similar to 143 but checking for AVT in local variables. Daniel
2004-02-26fixed a regression for AVT found in global variable content. added test toDaniel Veillard1-0/+1
* libxslt/attrvt.c libxslt/variables.c: fixed a regression for AVT found in global variable content. * tests/docs/Makefile.am tests/docs/bug-143.xml tests/general/Makefile.am tests/docs/bug-143*: added test to the regression suite. Daniel
2004-02-25added test for language attribute which previously triggered a memory leakWilliam M. Brack1-0/+1
* tests/general/Makefile.am, tests/general/bug-142.xsl, tests/general/bug-142.out, tests/docs/Makefile.am, tests/general/bug-142.xml: added test for language attribute which previously triggered a memory leak (from list report by Mike Hommey)
2004-01-22added test case for Bug 13971 (libxml2 xpath.c bug, but tested here)William M. Brack1-0/+1
* tests/general/Makefile.am, tests/general/bug-141.out, tests/general/bug-141.xsl, tests/docs/Makefile.am, tests/general/bug-141.xml: added test case for Bug 13971 (libxml2 xpath.c bug, but tested here)
2004-01-16added a newline for any comment before the root element (Bug 130433) fixedWilliam M. Brack1-0/+1
* libxslt/xsltutils.c: added a newline for any comment before the root element (Bug 130433) * libxslt/xslt.c: fixed problem with cdata-section-elements when default namespace is changed (Bug 130793) * tests/extensions/module.out, tests/general/bug-100.out: adjusted for newline after comment change above. * tests/general/Makefile.am, tests/general/bug-140.xsl, tests/general/Makefile.am, tests/docs/bug-140.xml: added test for cdata-section-elements problem.
2003-12-21added test for entities parsing (Bug #129489) DanielDaniel Veillard1-0/+1
* tests/docs/Makefile.am tests/docs/bug-139.xml tests/general/Makefile.am tests/general/bug-139*: added test for entities parsing (Bug #129489) Daniel
2003-12-21added test for namespace problem (Bug 129624)William M. Brack1-0/+1
* tests/docs/Makefile.am tests/docs/bug-138.xml tests/general/Makefile.am tests/general/bug-138*: added test for namespace problem (Bug 129624)
2003-12-21fixed second problem on #122483, namespace definitions must be propagatedDaniel Veillard1-0/+1
* libxslt/keys.c: fixed second problem on #122483, namespace definitions must be propagated to keys. * tests/docs/Makefile.am tests/docs/bug-137.xml tests/general/Makefile.am tests/docs/bug-137*: added test to the regression for bug #122483 Daniel
2003-11-21fixed bug #127561 (xsl:element with a 'computed' namespace attribute)William M. Brack1-0/+1
* libxslt/transform.c: fixed bug #127561 (xsl:element with a 'computed' namespace attribute) * tests/docs/Makefile.am tests/docs/bug-136.xml tests/general/Makefile.am tests/docs/bug-136*: added tests to the regression for bug #127561
2003-11-20another problem reported by Oleg Paraschenko on the same code in #127450Daniel Veillard1-0/+1
* libxslt/keys.c: another problem reported by Oleg Paraschenko on the same code in #127450 * tests/docs/Makefile.am tests/docs/bug-135.xml tests/general/Makefile.am tests/docs/bug-135*: added tests to the regression suite for bug #127450. Daniel
2003-11-20fixed an error from #120684 patch raised in #127450 added tests to theDaniel Veillard1-0/+1
* libxslt/keys.c: fixed an error from #120684 patch raised in #127450 * tests/docs/Makefile.am tests/docs/bug-134.xml tests/general/Makefile.am tests/docs/bug-134*: added tests to the regression suite for bug #127450. Daniel
2003-11-19fixed a bug in the keys selector parsing #120684 when | is in a predicateDaniel Veillard1-0/+2
* libxslt/keys.c: fixed a bug in the keys selector parsing #120684 when | is in a predicate or a string. * tests/docs/Makefile.am tests/docs/bug-132.xml tests/general/Makefile.am tests/docs/bug-132*: added tests to the regression suite for bug #120684. * Makefile.am: don't package cvs temp files * doc/apibuild.py: update from libxml2 one Daniel
2003-09-06enhanced previous fix to bug #120684, using excellent suggestion by DanielWilliam M. Brack1-0/+1
* transform.c: enhanced previous fix to bug #120684, using excellent suggestion by Daniel * attributes.c: fixed bug #119583, merging attribute sets from imported stylesheets. * tests/docs/Makefile.am tests/docs/bug-131.xml tests/general/Makefile.am tests/docs/bug-131*: added tests to the regression suite for bug #120684.
2003-09-06fixed bug 119946, caused by incorrect creation of "extra" variables whenWilliam M. Brack1-0/+1
* pattern.c pattern.h imports.c: fixed bug 119946, caused by incorrect creation of "extra" variables when compiling templates on imported stylesheets. * tests/docs/Makefile.am tests/docs/bug-130.xml tests/docs/bug-130.doc tests/general/Makefile.am test/docs/bug-130*: added tests to the regression suite for this bug.
2003-08-29fixing the bug #120971 on cdata-section-elements with namespaced namesDaniel Veillard1-0/+1
* libxslt/transform.c: fixing the bug #120971 on cdata-section-elements with namespaced names reported by Steve Hay * tests/docs/Makefile.am tests/docs/bug-129.* tests/general/Makefile.am tests/general/bug-129*: added the test to the regression suite for this bug. Daniel
2003-08-18enhanced xsltInitCtxtKey to take care of multiple instances of a key withWilliam M. Brack1-0/+1
* keys.c: enhanced xsltInitCtxtKey to take care of multiple instances of a key with the same namespace:name, reported on the mailing list by Ian Young. Added regression test (bug-128).
2003-08-04added the test from bug #118763 to the regression suite. DanielDaniel Veillard1-0/+1
* tests/docs/Makefile.am tests/docs/bug-127.* tests/general/Makefile.am tests/general/bug-127*: added the test from bug #118763 to the regression suite. Daniel
2003-08-03Fixing Bug 116517William M. Brack1-0/+1
2003-08-03Bug 117552William M. Brack1-0/+1
2003-07-22allow strip-space to support full namespaces using prefix:* , should fixDaniel Veillard1-0/+2
* libxslt/transform.c: allow strip-space to support full namespaces using prefix:* , should fix #114287 * tests/docs/Makefile.am tests/docs/bug-124.* tests/general/Makefile.am tests/general/bug-124*: added a test to the regression suite for this bug. * libxslt/tramsform.c: make xsl:copy on attribute a copy in case the attribute was already defined, should fix bug #113812 * tests/docs/Makefile.am tests/docs/bug-123.* tests/general/Makefile.am tests/general/bug-123*: added the test to the regression suite. Daniel
2003-07-06fixing bug #115913 for xsl:copy with namespace nodes. added the test toDaniel Veillard1-0/+1
* libxslt/transform.c: fixing bug #115913 for xsl:copy with namespace nodes. * tests/docs/Makefile.am tests/docs/bug-122.* tests/general/Makefile.am tests/general/bug-122*: added the test to the regression suite. Daniel
2003-05-16added the example for bug #112904 in the regression tests, the bug fix isDaniel Veillard1-0/+2
* tests/docs/Makefile.am tests/docs/bug-121.* tests/general/Makefile.am tests/general/bug-121*: added the example for bug #112904 in the regression tests, the bug fix is actually in libxml2 Daniel
2003-04-30fixing bug #111755 when a template is applied to an attribute added theDaniel Veillard1-0/+1
* libxslt/transform.c: fixing bug #111755 when a template is applied to an attribute * tests/docs/Makefile.am tests/docs/bug-119.* tests/general/Makefile.am tests/general/bug-119*: added the example in the regression tests for that bug. Daniel