summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup some misplaced spaces and tabsbaserock/morphDaniel Veillard2012-03-221-9/+8
|
* Allow per-context override of xsltMaxDepth, introduce xsltMaxVarsJérôme Carretero2012-03-2012-4/+54
| | | | We also add a maxTemplateVars parameter
* Fixed bug #616839Daniel Mustieles2012-03-192-2/+2
|
* autogen: Only check for libtoolizeColin Walters2012-01-271-1/+1
| | | | /usr/bin/libtool may not be in all installations.
* Fix some case of pattern parsing errorsAbhishek Arya2012-01-221-0/+2
| | | | | We could accidentally hit an off by one string array access due to improper loop exit when parsing patterns
* Augment list of ignred filesDaniel Veillard2012-01-211-0/+4
|
* autogen.sh: Honor NOCONFIGURE environment variableColin Walters2011-12-271-5/+6
| | | | See http://people.gnome.org/~walters/docs/build-api.txt
* minimal mingw supportRoumen Petrov2011-12-191-2/+9
|
* configure: remove checks for isinf and isnan as those are not used anywayStefan Kost2011-05-261-6/+0
| | | | | As pointed out by Roumen Petrov those check were wrong (isinf and isnan are macros) and they are not used in the code either. Thus remove the checks.
* configure: acconfig.h is deprecated since autoconf-2.50Stefan Kost2011-05-212-13/+7
| | | | | | Remove deprecated file (leftover from autoconf-2.13). Change AC_DEFINE into 3-arg versions to provide the comments for config.h. Bump autoconf version to 2.59 (same as libxml).
* configure: support silent automake rules if possibleStefan Kost2011-05-211-0/+5
| | | | This gives us a much less noisy build and makes error stand out a lot more.
* preproc: fix the buildStefan Kost2011-05-031-5/+7
| | | | | Fixup commit 0d6713d715509da1fec27bec220d43aa4fc48d0f that forgot to create the local variable of the required type.
* Point to GIT for source code and a bit of cleanupDaniel Veillard2011-03-113-23/+23
|
* Fix a memory leak with xsl:numberDaniel Veillard2011-03-075-0/+39
| | | | | Pointed out by Ralf Junker <ralfjunker@gmx.de>, and added his reproducer to the regression tests
* Fix a problem with ESXLT date:add() with Januarymoney_seshu Dronamraju2011-03-075-2/+28
| | | | Also adds a regression test provided by Michael Ludwig <milu71@gmx.de>
* Fix a memory leak if compiled with Windows locale supportDaniel Veillard2011-02-284-0/+21
| | | | | | | | | Ralf Junker <ralfjunker@gmx.de> pointed out a ouple of leaks in the Windows locale support: * libxslt/xslt.c: add cleanup code for the mutex in xsltUninit() * libxslt/xsltlocale.c libxslt/xsltlocale.h: add a new cleanup function xsltFreeLocales * libxslt/extensions.c: add a call to xsltFreeLocales in xsltCleanupGlobals
* Fix generate-id() to not expose object addressesDaniel Veillard2011-02-221-5/+21
| | | | | | | As pointed out by Chris Evans <scarybeasts@gmail.com> it's better security wise to not expose object addresses directly, use a diff w.r.t. the document root own address to avoid this * libxslt/functions.c: fix IDs generation code
* Fix curlies support in literals for non-compiled AVTsNick Wellnhofer2010-11-085-1/+21
|
* Precompile patterns in xsl:numberNick Wellnhofer2010-11-083-43/+41
| | | | speedup optimization, it should not change semantic at all
* Fix some warnings in the refactored codeNick Wellnhofer2010-11-082-1/+10
|
* Allow whitespace in xsl:variable with selectNick Wellnhofer2010-11-081-1/+17
| | | | Comments are also allowed
* Small fixes to locale codeNick Wellnhofer2010-11-081-4/+5
|
* Fix bug 602515Nick Wellnhofer2010-11-085-9/+22
| | | | Pattern matching with predicates
* Adding new generated filesDaniel Veillard2010-11-082-0/+73
|
* Fix popping of vars in xsltCompilerNodePopNick Wellnhofer2010-11-081-1/+1
| | | | Fix an off by one bug in Var pop-up in the compiler
* Fix direct pattern matching bugNick Wellnhofer2010-11-086-1/+20
| | | | | and adds a test case for the problem, also adding a .gitignore cleanup
* Get rid of specific build setup and STATIC_BINARIESDaniel Veillard2010-11-084-33/+6
|
* Fix a small out of tree compilation issueHao Hu2010-10-121-1/+1
| | | | exsltconfig.h should be addressed differently
* profiling: add callgraph reportStefan Kost2010-04-125-31/+250
| | | | | | This patch also tracks who called a template and how often. Based on that the output of xsltproc --profile now also contains a gprof alike callgraph. If available posix monotonic clocks are the preferred way to get timestamps.
* Various documentation fixes for docs on internalsC. M. Sperberg-McQueen2010-03-172-59/+74
| | | | | Michael pointed out a number of errors, inaccuracies or unclear points with new wording.
* Fix python generator to not use deprecated xmllibDaniel Veillard2010-01-131-63/+13
| | | | | * python/generator.py: use xml.sax instead, patch based on similar fix for libvirt by Cole Robinson <crobinso@redhat.com>
* link python module with python libraryFrederic Crozat2009-09-242-1/+3
| | | | | | libxslt python module wasn't linked with python library * configure.in python/Makefile.am: detect and add appropriate linking flags
* Release of libxslt-1.1.26v1.1.26Daniel Veillard2009-09-2456-144/+368
| | | | | * NEWS configure.in doc/xslt.html: update for 1.1.26 * doc//*: regenerate
* Add xsltProcessOneNode to exported symbols for lxmlDaniel Veillard2009-09-243-39/+44
| | | | | | * doc/symbols.xml libxslt/transform.c libxslt/transform.h: exports the entry point explicitely since lxml depends on it, also fixed some white spaces problems.
* Fix an idness generation problemDaniel Veillard2009-09-241-6/+9
| | | | | | * libxslt/templates.c: when copying attributes coming from the stylesheet IDness was not asserted, though with xml:id this is now possible.
* 595612 Try to fix some locking problemsDaniel Veillard2009-09-201-12/+22
| | | | | | * libxslt/extensions.c: there were still cases where the normal code path could led to trying to mtake again the extension lock go over all entry points of the module and clean things up
* Fix a crash on misformed imported stylesheetsDaniel Veillard2009-09-181-1/+1
| | | | | * libxslt/preproc.c: handle the case where xsl:template parent is not an element.
* Release of libxslt-1.1.25v1.1.25Daniel Veillard2009-09-1714-39/+344
| | | | | | | * 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
* Allow use of EXSLT outside XSLTMartin2009-09-175-0/+308
| | | | | | * libexslt/exslt.h libexslt/date.c libexslt/math.c libexslt/sets.c libexslt/strings.c: provide registration function for an XPath context directly
* Big fixes of pattern compilationsNick Wellnhofer2009-09-1711-182/+128
| | | | | | | | | | | | | | | | | | | | | | | 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
* Support Esperanto localeNick Wellnhofer2009-09-171-4/+13
| | | | | * libxslt/xsltlocale.c: only affects the glibc locale code, adds the "eo" language code and also try locales without territory
* Fix uses of xmlAddChild for error handlingDaniel Veillard2009-09-171-11/+37
| | | | | | | * 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.
* Change how attributes are copied for id and speedDaniel Veillard2009-09-171-268/+254
| | | | | | * 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.
* Detect deep recusion on function callsDaniel Veillard2009-09-172-0/+13
| | | | | | * libxslt/xsltInternals.h libexslt/functions.c: add a function call counting in the transformation context, and test/increment/decrement in exsltFuncFunctionFunction enter and exit
* Avoid an error in namespace generationMartin2009-09-171-0/+4
| | | | | * libxslt/namespaces.c: fix xsltGetSpecialNamespace fallback with uninitialized prefix string
* Fix importing of encoding from included stylesheetsNick Wellnhofer2009-09-177-4/+29
| | | | | | | * 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
* Add a few more files to ignoreDaniel Veillard2009-09-171-0/+6
|
* Fix problems with embedded stylesheets and namespacesMartin2009-09-176-10/+69
| | | | | | | * 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
* QName parsing fix for patternsMartin2009-09-171-1/+2
| | | | | * libxslt/pattern.c: fix a corner case and avoid a memory leak on error
* Crash compiling stylesheet with DTDMartin2009-09-161-3/+4
| | | | | * libxslt/xslt.c: when a stylesheet embbeds a DTD the compilation process could get seriously wrong