summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)AuthorFilesLines
2012-09-12Release of libxslt-1.1.27Daniel Veillard1-0/+3
* configure.in doc/symbols.xml doc/xslt.html: updated for the release * NEWS config.h.in doc/* */*.syms : regenerated
2012-09-12Big space and tabs cleanupDaniel Veillard2-37/+37
Remove spaces followed by tabs, and space and tabs at the end of lines
2012-09-04Remove .cvsignore files which are not needed anymoreDaniel Veillard2-10/+0
2012-08-09Various "make distcheck" and other fixesDaniel Richard G3-26/+31
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
2010-01-13Fix python generator to not use deprecated xmllibDaniel Veillard1-63/+13
* python/generator.py: use xml.sax instead, patch based on similar fix for libvirt by Cole Robinson <crobinso@redhat.com>
2009-09-24link python module with python libraryFrederic Crozat1-1/+1
libxslt python module wasn't linked with python library * configure.in python/Makefile.am: detect and add appropriate linking flags
2009-09-16Add API versioning and various cleanupsDaniel Veillard1-0/+1
* 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
2008-11-14applied patch from Roumen Petrov for mingw cross compilation problemsDaniel Veillard1-1/+1
* 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
2008-05-13release of 1.1.24 syntactic cleanup (Martin) DanielDaniel Veillard2-277/+278
* configure.in doc/*: release of 1.1.24 * python/generator.py: syntactic cleanup (Martin) Daniel svn path=/trunk/; revision=1473
2008-04-08release of 1.1.23 DanielDaniel Veillard1-0/+1
* configure.in doc/*: release of 1.1.23 Daniel svn path=/trunk/; revision=1467
2008-04-08fix an infinite loop bug DanielDaniel Veillard1-0/+3
* python/generator.py: fix an infinite loop bug Daniel svn path=/trunk/; revision=1464
2008-03-13patch from Rob Richards for VS 2008 fix a problem with namespace nodesDaniel Veillard1-2/+30
* 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
2008-02-05applied a portability patch from Stephane Bidoul DanielDaniel Veillard1-2/+2
* python/tests/pyxsltproc.py: applied a portability patch from Stephane Bidoul Daniel svn path=/trunk/; revision=1454
2007-10-25changed iterator argument for Py_Dict_Next from int to ssize_t to fixWilliam M. Brack1-4/+6
* 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
2007-08-30applied patch from Daniel Gryniewicz to fix a segfault caused by aWilliam M. Brack1-5/+6
* 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
2007-02-18fixed tab/space inconsistency with patch provided by Andreas Hanke (bugWilliam M. Brack1-12/+12
* python/libxsl.py: fixed tab/space inconsistency with patch provided by Andreas Hanke (bug #409193) svn path=/trunk/; revision=1422
2007-01-11added new function replace from Joel Reed. added new test case for above.William M. Brack2-4/+4
* libexslt/strings.c: added new function replace from Joel Reed. * tests/exslt/Makefile.am, replace.1.xml, replace.1.xsl, replace.1.out: added new test case for above. * libxslt.spec.in: trivial change from Gnome to GNOME * configure.in: trivial change for flags on my compilations * libxslt/documents.c, libxslt/documents.h, libxslt/keys.c, libxslt/keys.h, libxslt/variables.c, libxslt/templates.c, libxslt/transform.c, libxslt/variables.c, libxslt/xslt.c, libxslt/xsltutils.c: fixed some documentation/comments and compilation warnings - no change to logic. * re-generated the documentation. svn path=/trunk/; revision=1413
2006-12-22applied patch supplied by Kjartan Maraas (bug #388567).William M. Brack1-2/+2
* python/libxslt.c: applied patch supplied by Kjartan Maraas (bug #388567).
2006-12-11applied patch from Nic James Ferrier to make stylesheets comparable and toDaniel Veillard5-2/+400
* configure python/generator.py python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/tests/2stage.py python/tests/loader.py: applied patch from Nic James Ferrier to make stylesheets comparable and to add transformContext handling Daniel
2006-10-26preparing release of libxslt-1.1.18, this bumps libxml2 requirement toDaniel Veillard1-0/+5
* NEWS configure.in doc//*: preparing release of libxslt-1.1.18, this bumps libxml2 requirement to 1.6.27 * libexslt/date.c libxslt/namespaces.h libxslt/xslt.c libxslt/xsltInternals.h: cosmetic cleanups to restore the API extraction Daniel
2006-10-11applied fix for accessor functions of a stylesheet returning pointers toDaniel Veillard1-4/+4
* 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-11a missing DESTDIR fix reference to build paths in python module fix theDaniel Veillard1-2/+1
* libxslt/Makefile.am: a missing DESTDIR * python/Makefile.am: fix reference to build paths in python module * libexslt/exsltconfig.h.in libxslt/xsltconfig.h.in: fix the header comments on version values, the 3 are patches from Peter Breitenlohner and should fix #340995 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-04*** empty log message ***Daniel Veillard1-1/+1
2006-07-19fix float and boolean XPath conversions try to fix Stephane Bidoul attemptDaniel Veillard1-0/+13
* python/types.c: fix float and boolean XPath conversions * libxslt/xsltutils.c: try to fix Stephane Bidoul attempt at setting XInclude support. Daniel
2006-03-30Fixed regression tests wrt usage of the attributesKasimier T. Buchcik2-2/+2
* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl tests/general/bug-65-inc.xsl tests/general/bug-100.xsl tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl tests/namespaces/extra2.xsl tests/extensions/module.xsl tests/plugins/plugin.xsl python/tests/extelem.py python/tests/extfunc.py: Fixed regression tests wrt usage of the attributes "exclude-result-prefixes" and "extension-element-prefixes". test-7.1.1-3.xsl fails now, since the code still does not exclude ns-decls correctly.
2006-02-22Nic Ferrier found debug statement left in the XPath conversion code DanielDaniel Veillard1-0/+8
* python/types.c: Nic Ferrier found debug statement left in the XPath conversion code Daniel
2004-07-12fixed type for doctypeSystem and doctypePublic (problem reported on theWilliam M. Brack1-2/+2
* python/libxslt-python-api.xml: fixed type for doctypeSystem and doctypePublic (problem reported on the list by Sitsofe Wheeler) * doc/libxslt-api.xml: updated database.
2004-07-09fixes Python on 64bits box problem. DanielDaniel Veillard1-0/+3
* python/libxsl.py: fixes Python on 64bits box problem. Daniel
2004-07-02convenience change try to avoid calling libxml2 cleanup function directlyDaniel Veillard4-6/+10
* configure.in: convenience change * python/libxsl.py python/libxslt-python-api.xml python/libxslt.c: try to avoid calling libxml2 cleanup function directly but go though the python wrapper of libxml2 for memory debug accounting. Daniel
2004-05-17release of libxslt-1.1.7 DanielDaniel Veillard1-0/+1
* configure.in: release of libxslt-1.1.7 Daniel
2004-04-01Add generated files, to make cvs silent.Johan Dahlin1-1/+7
* python/.cvsignore: Add generated files, to make cvs silent. * .cvsignore: Add missing libexslt.pc and stamp-h1
2004-02-16updated and rebuilt the documentation preparing release of 1.1.3 cleanupDaniel Veillard1-0/+2
* configure.in, doc/*: updated and rebuilt the documentation preparing release of 1.1.3 * libxslt/attrvt.c libxslt/xsltInternals.h: cleanup Daniel
2004-01-22applied patch from Stefan Kost to fix behaviour on unknown element fromDaniel Veillard1-2/+20
* libxslt/xslt.c: applied patch from Stefan Kost to fix behaviour on unknown element from the XSLT namespace. * python/generator.py: applied patch from Stephane bidoul to export enums in the bindings. Daniel
2004-01-14applied shared lib loading patch for OS X from Gianni Ceccarelli DanielDaniel Veillard1-0/+3
* python/libxsl.py: applied shared lib loading patch for OS X from Gianni Ceccarelli Daniel
2003-12-21fixed #129327 make sure parser flags get transmitted to the transformationDaniel Veillard1-0/+1
* 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-01updated the metadata informations in the headers regenerated the docs.Daniel Veillard1-0/+4
* libxslt/*.h *.h.in: updated the metadata informations in the headers * doc/* doc/html/*: regenerated the docs. Daniel
2003-11-23Changed to detect recursion in xslt:import (bug #127687). regenerated toWilliam M. Brack1-5/+1
* libxslt/xslt.c, libxslt/imports.c, libxslt/parserInternals.h: Changed to detect recursion in xslt:import (bug #127687). * doc/libxslt-api.xml, python/libxsltclass.txt: regenerated to include change to xsltParseStylesheetImportedDoc parameters for above.
2003-11-05Minor enhancements to eliminate compile/test warningsWilliam M. Brack1-6/+6
* libxslt/xsltconfig.h.in, libexstl/exsltconfig.h.in: changed macro ATTRIBUTE_UNUSED for gcc so that, if undefined, it's defined as __attribute__((unused)) * python/libxslt.c: fixed ATTRIBUTE_UNUSED to appear after variable declaration * libxslt/preproc.c: minor change to get rid of unused var/code
2003-10-28applied patch from Roumen Petrov for bug #124539 when building outside theDaniel Veillard2-5/+8
* configure.in python/Makefile.am python/tests/Makefile.am: applied patch from Roumen Petrov for bug #124539 when building outside the source directory * libxslt/xsltutils.c: fixed the way to grab the line number from the document, use the predefiend libxml2 API which mate it work with both 2.5.x and 2.6.x Daniel
2003-10-22applied patch from Kasimier Buchcik for xsltGetDebuggerStatus andDaniel Veillard1-0/+2
* libxslt/xsltutils.[ch]: applied patch from Kasimier Buchcik for xsltGetDebuggerStatus and xsltSetDebuggerStatus * doc/libxslt-api.xml: regenerated the API Daniel
2003-10-19bump the libxml2 require to 2.6.0 which should ship for good real soon...Daniel Veillard1-3/+4
* 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-0/+1
* 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-18don't output errors to stdout by default use stderr instead. DanielDaniel Veillard1-1/+1
* python/libxslt.c: don't output errors to stdout by default use stderr instead. Daniel
2003-09-18small fixes w.r.t. IS_XSLT_REAL_NODE change some makefile "distclean"Daniel Veillard1-4/+3
* 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-08-07removed ref to libxslt.la Minor cleanup of warning errorsWilliam M. Brack2-0/+8
* 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-07-09patch from Sean Treadway, adding Python bindings for extension element andDaniel Veillard7-40/+378
* python/generator.py python/libxslt-python-api.xml python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt: patch from Sean Treadway, adding Python bindings for extension element and some bindings cleanups. * python/tests/Makefile.am python/tests/extelem.py: also add an example/test. Daniel
2003-07-08applied patch from #116943 which should fix the xsltSaveResultToFileDaniel Veillard1-1/+1
* python/libxml_wrap.h: applied patch from #116943 which should fix the xsltSaveResultToFile python binding. Daniel
2003-05-15fixing portability bug #113002 on HP-UX cleanup of --with-python like forDaniel Veillard1-3/+2
* 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
2003-05-04preparing release 1.0.30 backported a patch from libxml2 updated andDaniel Veillard1-0/+4
* NEWS configure.in : preparing release 1.0.30 * doc/apibuild.py: backported a patch from libxml2 * doc/*: updated and rebuilt the docs Daniel