summaryrefslogtreecommitdiff
path: root/python/libxslt.c
AgeCommit message (Collapse)AuthorFilesLines
2016-06-22Imported Upstream version 1.1.29upstream/1.1.29DongHun Kwak1-5/+5
Change-Id: I7d894ba27f8f8e886dbcece3bb3df8e69059cae9 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2012-09-12Big space and tabs cleanupDaniel Veillard1-36/+36
Remove spaces followed by tabs, and space and tabs at the end of lines
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-01-11added new function replace from Joel Reed. added new test case for above.William M. Brack1-2/+2
* 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 Veillard1-0/+301
* 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
2004-07-02convenience change try to avoid calling libxml2 cleanup function directlyDaniel Veillard1-3/+2
* 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
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-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-07-09patch from Sean Treadway, adding Python bindings for extension element andDaniel Veillard1-28/+264
* 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-03-26portability fixes from Albert Chin avoid RTLD_GLOBAL detection warning tooDaniel Veillard1-0/+3
* configure.in python/Makefile.am python/libxslt.c libxslt/xsltutils.c libxslt/trio.h libxslt/triodef.h: portability fixes from Albert Chin * python/libxslt.py: avoid RTLD_GLOBAL detection warning too Daniel
2003-01-22fixed a couple of return error #104150 reported by Peter O'Shea DanielDaniel Veillard1-2/+2
* python/libxslt.c: fixed a couple of return error #104150 reported by Peter O'Shea Daniel
2003-01-13Fixed a debug log, switched it off now, DanielDaniel Veillard1-2/+2
2003-01-13fixing bug #101602 for extension modules init and shutdown callbacks,Daniel Veillard1-2/+195
* libxslt/extensions.c libxslt/transform.c: fixing bug #101602 for extension modules init and shutdown callbacks, check that they are now called when needed. * python/libxsl.py python/libxslt-python-api.xml python/libxslt.c: started adding the extension module support at the Python level. Still a strange bug to hunt down left. Daniel
2002-12-23patch from Stéphane Bidoul for Python 2.1 DanielDaniel Veillard1-0/+3
* python/libxslt.c: patch from Stéphane Bidoul for Python 2.1 Daniel
2002-11-23fixes for compiling without config.h DanielDaniel Veillard1-1/+1
* python/generator.py python/libxslt.c: fixes for compiling without config.h Daniel
2002-11-16make sure to register EXSLT for the bindings add a specific test minorDaniel Veillard1-0/+4
* python/libxslt.c: make sure to register EXSLT for the bindings * python/tests/Makefile.am python/tests/exslt.py: add a specific test * xsltproc/xsltproc.c: minor cleanup Daniel
2002-08-25applied a patch from Ralf Mattes providing style.saveResultToString()Daniel Veillard1-0/+43
* python/libxslt-python-api.xml python/libxslt.c python/libxsltclass.txt python/tests/basic.py: applied a patch from Ralf Mattes providing style.saveResultToString() Daniel
2002-08-21fixed the parameter order when calling Python based extensions. DanielDaniel Veillard1-1/+1
* python/libxslt.c: fixed the parameter order when calling Python based extensions. Daniel
2002-05-24tried to fix #79105 by providing a specific error registering routine.Daniel Veillard1-4/+113
* python/libxslt-python-api.xml python/libxslt.c python/libxsltclass.txt : tried to fix #79105 by providing a specific error registering routine. Daniel
2002-03-18applied the same kind of fixes to the Python Makefiels than to libxml2Daniel Veillard1-98/+23
* python/Makefile.am python/generator.py python/libxslt.c python/types.c python/tests/Makefile.am: applied the same kind of fixes to the Python Makefiels than to libxml2 ones. Updates and cleanups too. Daniel
2002-03-08preparing release 1.0.13 updated and rebuilt the docs fixed a possibleDaniel Veillard1-1/+4
* configure.in libxslt/xsltwin32config.h: preparing release 1.0.13 * doc/*: updated and rebuilt the docs * python/libxslt.c: fixed a possible reentrancy problem Daniel
2002-02-22changes for the 'usual' setup.py to allow building a libxml2-python moduleDaniel Veillard1-0/+14
* python/generator.py python/libxslt.c: changes for the 'usual' setup.py to allow building a libxml2-python module based on the same code. The initialization is however different the 2 .so files fo libxml2 and libxslt are identical and they entry point initialize both libraries. this is done to avoid some possible nasty problem since the Python don't merge the maps of all shared modules. * python/libxsl.py: attempt to cope with the shared library loading problem when both modules are not merged. Daniel
2002-02-10fixed a small warning. rebuilt the APIs DanielDaniel Veillard1-1/+1
* python/libxml.c : fixed a small warning. * doc/libxslt-api.xml doc/libxslt-decl.txt doc/libxslt-refs.xml python/libxsltclass.txt: rebuilt the APIs Daniel
2002-02-09Fixed the python Makefiles, corrected a bug showing up on ia64, changedDaniel Veillard1-2/+3
* configure.in libxslt.spec.in python/Makefile.am python/generator.py python/libxsl.py python/libxslt.c python/tests/Makefile.am: Fixed the python Makefiles, corrected a bug showing up on ia64, changed the name of the python internal module too Daniel
2002-02-07fixup the script and rebuid the API cleanup provided accessors for a lotDaniel Veillard1-2/+3
* doc/libxslt-api.xml doc/libxslt-decl.txt doc/libxslt-refs.xml doc/parsedecl.py: fixup the script and rebuid the API * libxslt/extensions.h: cleanup * python/generator.py python/libxslt-python-api.xml python/libxslt.c python/libxsltclass.txt: provided accessors for a lot of the tructures involved in the transformation. Stylesheet and transformation python object don't free automatically the encapsulated object when deallocated. * python/tests/Makefile.am python/tests/basic.py python/tests/extfunc.py python/tests/pyxsltproc.py: updated the examples Daniel
2002-02-07small fix cleanup avoid a problem with $(TESTS) augmented the wrappersDaniel Veillard1-8/+17
* xsltproc/xsltproc.c: small fix * Makefile.am: cleanup * python/tests/Makefile.am: avoid a problem with $(TESTS) * python/generator.py python/libxml_wrap.h python/libxsl.py python/libxslt.c python/libxsltclass.txt: augmented the wrappers * python/tests/pyxsltproc.py: rewrote xsltproc on top of the libxslt-python API to get an estimate of what is missing Daniel
2002-02-06added libxslt_xsltCleanup() added parameters toDaniel Veillard1-3/+75
* python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/libxsltclass.txt: added libxslt_xsltCleanup() added parameters to libxslt_xsltApplyStylesheet() removed the memleaks left and fixed an import order. * python/tests/basic.py python/tests/extfunc.py: updated the tests Daniel
2002-02-06plugged the extension of the engine with python defined functions added aDaniel Veillard1-1/+94
* python/libxlst.c python/libxslt-python-api.xml python/libxsltclass.txt: plugged the extension of the engine with python defined functions * python/tests/Makefile.am python/tests/extfunc.py: added a basic test, still a memleak, cleanup function needed. Daniel
2002-02-05attempst to tweak to get full memory debug... the basic API starts to workDaniel Veillard1-0/+70
* configure.in python/Makefile.am: attempst to tweak to get full memory debug... * python/generator.py python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt: the basic API starts to work * python/tests/test.*: first basic test * libxslt/xsltutils.c: fixed a comment Daniel
2002-02-04reactivated xsltMatchPattern() since this is really something one may wantDaniel Veillard1-0/+123
* libxslt/pattern.[ch] doc/libxslt-api.xml doc/libxslt-refs.xml: reactivated xsltMatchPattern() since this is really something one may want to have access to in an extension function. * Makefile.am configure.in python/Makefile.am python/generator.py python/libxml_wrap.h python/libxsl.py python/libxslt-python-api.xml python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt python/types.c: started working on the python bindings, borrowed most of the work done for libxml2, most of the generator code is similar. Commit at the point where this compiles cleanly and "import libxslt" doesn't yield any missing entry point. Daniel