Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|
|
|
|
speedup optimization, it should not change semantic at all
|
|
|
|
Comments are also allowed
|
|
|
|
Pattern matching with predicates
|
|
|
|
Fix an off by one bug in Var pop-up in the compiler
|
|
and adds a test case for the problem,
also adding a .gitignore cleanup
|
|
|
|
exsltconfig.h should be addressed differently
|
|
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.
|
|
Michael pointed out a number of errors, inaccuracies or
unclear points with new wording.
|
|
* python/generator.py: use xml.sax instead, patch based on similar
fix for libvirt by Cole Robinson <crobinso@redhat.com>
|
|
libxslt python module wasn't linked with python library
* configure.in python/Makefile.am: detect and add appropriate linking
flags
|
|
* NEWS configure.in doc/xslt.html: update for 1.1.26
* doc//*: regenerate
|
|
* 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.
|
|
* libxslt/templates.c: when copying attributes coming from the
stylesheet IDness was not asserted, though with xml:id this is now
possible.
|
|
* 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
|
|
* libxslt/preproc.c: handle the case where xsl:template parent
is not an element.
|
|
* 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
|
|
* libexslt/exslt.h libexslt/date.c libexslt/math.c libexslt/sets.c
libexslt/strings.c: provide registration function for an XPath
context directly
|
|
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
|
|
* libxslt/xsltlocale.c: only affects the glibc locale code, adds
the "eo" language code and also try locales without territory
|
|
* 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.
|
|
* 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.
|
|
* libxslt/xsltInternals.h libexslt/functions.c: add a function call
counting in the transformation context, and test/increment/decrement
in exsltFuncFunctionFunction enter and exit
|
|
* libxslt/namespaces.c: fix xsltGetSpecialNamespace fallback with
uninitialized prefix string
|
|
* 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
|
|
|
|
* 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
|
|
* libxslt/pattern.c: fix a corner case and avoid a memory leak on
error
|
|
* libxslt/xslt.c: when a stylesheet embbeds a DTD the compilation
process could get seriously wrong
|
|
* libxslt/imports.c: xsl:strip-space didn't work if there is a NameTest
with a namespace and a wildcard
* tests/REC/Makefile.am tests/REC/test-3.4-*: add some test to the
regression suite
|
|
|
|
|
|
* 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
|
|
* libxslt/extensions.c: both xsltExtModuleFunctionLookup() and
xsltExtModuleRegisterDynamic() take the xsltExtMutex, but the
former calls the latter
|
|
* xsltproc/xsltproc.c: the option was not activating XInclude nor
passing parser flags
|
|
|
|
* configure.in doc/Makefile.am: fixes --with-html-dir argument
handling and adds --with-html-subdir.
|
|
* configure.in: augment thread detection to pass THREADS_LIBS
* xsltproc/Makefile.am: add THREAD_LIBS to testThreads_LDADD
|
|
* libxslt/extensions.c: avoid a printf("%s", NULL) in special
circumstances
|
|
* xsltproc/testThreads.c: load exslt extensions, the test module and
a bit of output
|
|
* libexslt/exslt.c libxslt/extensions.c libxslt/extensions.h
libxslt/security.c libxslt/transform.c libxslt/xslt.c: extension
support use some global variables, make sure there is a Mutex to
access and modify them
|
|
* 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
|
|
|
|
|