summaryrefslogtreecommitdiff
path: root/xsltproc
AgeCommit message (Collapse)AuthorFilesLines
2022-09-13Imported Upstream version 1.1.37upstream/1.1.37DongHun Kwak1-1/+1
2022-09-13Imported Upstream version 1.1.36upstream/1.1.36DongHun Kwak2-58/+10
2022-09-13Imported Upstream version 1.1.35upstream/1.1.35DongHun Kwak2-764/+14
2019-11-12Imported Upstream version 1.1.34upstream/1.1.34DongHun Kwak2-17/+30
2019-11-12Imported Upstream version 1.1.33upstream/1.1.33DongHun Kwak2-3/+3
2017-12-04Imported Upstream version 1.1.32upstream/1.1.32DongHun Kwak3-11/+11
Change-Id: I03b39e92b2b7898e9a34a1e240722003e7d51cd8 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-10-17Imported Upstream version 1.1.31_rc1upstream/1.1.31_rc1DongHun Kwak1-6/+3
Change-Id: I18a4b3672d7e46c1ead10d746dbdddcc30f298b7 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-10-17Imported Upstream version 1.1.30_rc1upstream/1.1.30_rc1DongHun Kwak2-2/+5
Change-Id: Ie087e3508369ac612459f31961addc691f2302c1 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2016-06-22Imported Upstream version 1.1.29upstream/1.1.29DongHun Kwak3-7/+793
Change-Id: I7d894ba27f8f8e886dbcece3bb3df8e69059cae9 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2012-09-04Remove .cvsignore files which are not needed anymoreDaniel Veillard1-5/+0
2012-08-16xincludestyle wasn't protected with LIBXML_XINCLUDE_ENABLEDMichael Bonfils1-0/+2
Leading to possible compilation issue if this isn't in libxml2
2012-08-16Portability fix for testThreads.cIlyaS1-8/+4
Similar to the one in libxml2, don't assume threads id are scalars
2012-08-16xsltproc should return an error code if xinclude failsMalcolm Purvis1-2/+9
When running xsltproc with the --xinclude option and if the included file contains parse errors, then xsltproc exits with a success return code (0) rather than an error code. This is despite the fact that parser error messages are printed out. * xsltproc/xsltproc.c: check xinclude processing function return code, fail with error 6 if it went wrong.
2012-08-09Various "make distcheck" and other fixesDaniel Richard G1-6/+15
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
2012-03-22Cleanup some misplaced spaces and tabsDaniel Veillard1-9/+8
2012-03-20Allow per-context override of xsltMaxDepth, introduce xsltMaxVarsJérôme Carretero1-1/+14
We also add a maxTemplateVars parameter
2012-03-19Fixed bug #616839Daniel Mustieles1-1/+1
2010-11-08Get rid of specific build setup and STATIC_BINARIESDaniel Veillard1-2/+1
2009-08-23567192 xsltproc --output option ignore --xincludeJoachim Breitner1-0/+5
* xsltproc/xsltproc.c: the option was not activating XInclude nor passing parser flags
2009-08-20Make sure testThreads is linked with pthreadsDaniel Veillard1-1/+1
* configure.in: augment thread detection to pass THREADS_LIBS * xsltproc/Makefile.am: add THREAD_LIBS to testThreads_LDADD
2009-08-14Improve testThreads a bitDaniel Veillard1-0/+14
* xsltproc/testThreads.c: load exslt extensions, the test module and a bit of output
2009-08-14Adding a test program to check thread reentrancyDaniel Veillard2-0/+273
* 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
2007-08-23patch from Drazen Kacar to add a --encoding option fixes #443868 augmentDaniel Veillard1-4/+13
* 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
2007-01-11enhanced to ignore empty text node in xsltDefaultProcessOneNode (avoidWilliam M. Brack1-4/+6
* libxslt/transform.c: enhanced to ignore empty text node in xsltDefaultProcessOneNode (avoid calling xsltCopyText) (bug #354900) * xsltproc/xsltproc.c: added check for output file problem, yielding new error code 11 (Mike Hommey). * doc/xsltproc.html, doc/xsltproc.xml: added documentation for above, regenerated docs (doc/xlstproc.1) svn path=/trunk/; revision=1414
2006-10-11applied fix for accessor functions of a stylesheet returning pointers toDaniel Veillard1-7/+14
* python/libxslt-python-api.xml: applied fix for accessor functions of a stylesheet returning pointers to immutable strings, patch from #320540 * xsltproc/xsltproc.c: fix the xinclude on stylehseet problem by adding a new parameter to xsltproc names --xincludestyle Daniel
2006-10-11apply patch from Gary Coady to compile when libxml2 has no xincludeDaniel Veillard1-0/+2
* xsltproc/xsltproc.c: apply patch from Gary Coady to compile when libxml2 has no xinclude support #319886 * docs/*: renamed Gnome to GNOME fixes #352159 Daniel
2006-08-21applied patch from Daniel Leidert to fix some typo applied another patchDaniel Veillard1-1/+1
* doc/xslt.html python/tests/pyxsltproc.py xsltproc/xsltproc.c: applied patch from Daniel Leidert to fix some typo * xsltproc.xml xsltproc.1: applied another patch from Daniel Leidert and regenerated Daniel
2006-08-16--xinclude should also force XInclude processing on the stylesheetsDaniel Veillard1-0/+12
* xsltproc/xsltproc.c: --xinclude should also force XInclude processing on the stylesheets themselves, raised by Daniel Leidert Daniel
2005-04-06Windows build cleanup, removed obsolete macro definitionsIgor Zlatkovic1-4/+0
2005-03-30fixed the xinclude problem with document() as in bug #171893 added a newDaniel Veillard1-0/+2
* 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 Daniel
2005-03-29working around Mark Vakoc' reported bug related to mode internaing addingDaniel Veillard1-0/+6
* 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 Daniel
2005-03-13preparing 1.1.13, updated and rebuilt the docs. trying to fix some buildDaniel Veillard1-1/+1
* 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. Daniel
2004-12-01applied patch from Aleksey Gurtovoy moving some stat() definition forDaniel Veillard1-11/+0
* libxslt/security.c xsltproc/xsltproc.c: applied patch from Aleksey Gurtovoy moving some stat() definition for Windows to the right place. Daniel
2004-08-17implemented --nodtdattr to avoid defaulting DTD attributes, RFE 150311 .Daniel Veillard1-50/+7
* xsltproc/xsltproc.c: implemented --nodtdattr to avoid defaulting DTD attributes, RFE 150311 . Also cleanup the code from all libxml2 pre 2.6.0 specific code since we are using LIBXML_REQUIRED_VERSION=2.6.8 in configure.in Daniel
2004-07-04changed the sequence of LD_ADDS and LIBGCRYPT_LIBS on xsltproc_LDADD.William M. Brack1-1/+2
* xsltproc/Makefile.am: changed the sequence of LD_ADDS and LIBGCRYPT_LIBS on xsltproc_LDADD. Previously this was causing the wrong libs to be linked when using the configure option --with-libxml-libs-prefix, or --with-libxml-src (nasty)
2004-06-30applied patch from Joel Reed to get EXSLT crypto extensions based onDaniel Veillard1-2/+4
* win32/Makefile.msvc win32/Makefile.mingw libexslt/Makefile.am libexslt/exslt.c libexslt/exslt.h config.h.in configure.in libexslt/crypto.c: applied patch from Joel Reed to get EXSLT crypto extensions based on libgcrypt if found at configure time. * tests/namespaces/Makefile.am: fixed a small breakage Daniel
2004-03-17added check for state XSLT_STATE_STOPPED when output file is used (bugWilliam M. Brack1-1/+3
* xsltproc/xsltproc.c: added check for state XSLT_STATE_STOPPED when output file is used (bug 137341)
2003-12-21fixed #129327 make sure parser flags get transmitted to the transformationDaniel Veillard1-0/+4
* xsltproc.c: fixed #129327 make sure parser flags get transmitted to the transformation context * libxslt/documents.c libxslt/transform.c libxslt/xsltInternals.h libxslt/xsltutils.c libxslt/xsltutils.h: add a new call xsltSetCtxtParseOptions() to update parsing options in document() Daniel
2003-12-10upp'ed the dependancy to libxml2-2.6.3 fixed #127473 by using the newDaniel Veillard1-0/+4
* configure.in: upp'ed the dependancy to libxml2-2.6.3 * libxslt/documents.c xsltproc/xsltproc.c: fixed #127473 by using the new XInclude APIs provided by 2.6.3... Daniel
2003-10-31switch to use xmlReadfile instead of xmlParseFile, this avoid relying onDaniel Veillard1-6/+35
* libxslt/documents.c libxslt/imports.c libxslt/xslt.c libxslt/xslt.h xsltproc/xsltproc.c: switch to use xmlReadfile instead of xmlParseFile, this avoid relying on global parser options, far far cleaner. * tests/XSLTMark/xslbench1.out tests/general/bug-90.out: fixes a slightly corrected output for CDATA and STYLE element save. Daniel
2003-10-19bump the libxml2 require to 2.6.0 which should ship for good real soon...Daniel Veillard1-1/+41
* configure.in: bump the libxml2 require to 2.6.0 which should ship for good real soon... * doc/Makefile.am: fix installation of HTML pages * doc/libxslt-api.xml: rebuilt * libxslt/xsltexports.h: cleanup * python/generator.py: ATTRIBUTE_UNUSED is after the parameter * xsltproc/xsltproc.c: applied Crutcher Dunnavant --load-trace patch 2 Daniel
2003-09-28minor cleanup for various compilation warnings (AIX as well as gcc)William M. Brack1-5/+2
* libxslt/numbers.c, libxslt/extensions.c, libexslt/date.c, python/libxslt.c, xsltproc/xsltproc.c: minor cleanup for various compilation warnings (AIX as well as gcc)
2003-09-18small fixes w.r.t. IS_XSLT_REAL_NODE change some makefile "distclean"Daniel Veillard1-0/+2
* libxslt/functions.c libxslt/numbers.c: small fixes w.r.t. IS_XSLT_REAL_NODE change * python/Makefile.am Makefile.am: some makefile "distclean" target improvement from Graham Wilson * xsltproc/xsltproc.c: small fix from Alexey Efimov for options display. Daniel
2003-09-13removing the DocBook SGML support DanielDaniel Veillard1-24/+0
* xsltproc/xsltproc.c doc/xsltproc.1 doc/xsltproc.xml libxslt/xsltutils.h: removing the DocBook SGML support Daniel
2003-08-18applied patch from Mikhail Grushinskiy for compilation with MingW compilerDaniel Veillard1-1/+2
* xsltproc/Makefile.am libxslt/libxslt.h libxslt/numbersInternals.h libexslt/*.c configure.in: applied patch from Mikhail Grushinskiy for compilation with MingW compiler on Windows. Daniel
2003-08-07removed ref to libxslt.la Minor cleanup of warning errorsWilliam M. Brack1-4/+0
* breakpoint/Makefile.am: removed ref to libxslt.la * numbers.c transform.c python/libxml_wrap.h python/types.c xlstproc/xsltproc.c: Minor cleanup of warning errors
2003-08-03minor change, avoid wasting CPU cycles DanielDaniel Veillard1-4/+6
* xsltproc/xsltproc.c: minor change, avoid wasting CPU cycles Daniel
2003-07-23applying a patch based on #117377 for --path option. DanielDaniel Veillard1-1/+9
* xsltproc/xsltproc.c: applying a patch based on #117377 for --path option. Daniel
2003-06-13Moved the man pages to section 3 applied patch from Peter BreitenlohnerDaniel Veillard1-2/+2
* libxslt.spec.in libexslt/Makefile.am libexslt/libexslt.3 libxslt/Makefile.am libxslt/libxslt.3: Moved the man pages to section 3 * libexslt/sets.c: applied patch from Peter Breitenlohner * doc/*: rebuilt the docs * tests/docbook/result//* tests/xmlspec/*.html: changes in generattion of &quot; as " in element content. Daniel
2003-05-15fixing portability bug #113002 on HP-UX cleanup of --with-python like forDaniel Veillard1-0/+4
* xsltproc/xsltproc.c: fixing portability bug #113002 on HP-UX * configure.in libxslt.spec.in python/Makefile.am: cleanup of --with-python like for libxml2 Daniel