|
f63085de
|
2009-01-18T20:53:59
|
|
port patch from Marcus Meissner to add gcc checking for printf like
* include/libxml/parser.h include/libxml/xmlwriter.h
include/libxml/relaxng.h include/libxml/xmlversion.h.in
include/libxml/xmlwin32version.h.in include/libxml/valid.h
include/libxml/xmlschemas.h include/libxml/xmlerror.h:
port patch from Marcus Meissner to add gcc checking for
printf like functions parameters, should fix #65068
* doc/apibuild.py doc/*: modified the script accordingly
and regenerated
* xpath.c xmlmemory.c threads.c: fix a few warnings
Daniel
svn path=/trunk/; revision=3813
|
|
074f37e7
|
2008-09-01T13:38:22
|
|
applied a couple of patches from Martin avoiding some leaks, fixinq QName
* schematron.c xpath.c: applied a couple of patches from Martin
avoiding some leaks, fixinq QName checks in XPath, XPath debugging
and schematron code cleanups.
* python/tests/Makefile.am python/tests/xpathleak.py: add the
specific regression tests, just tweak it to avoid output by default
Daniel
svn path=/trunk/; revision=3791
|
|
45490aeb
|
2008-07-29T09:13:19
|
|
space and tabs cleanup Daniel
* xpath.c: space and tabs cleanup
Daniel
svn path=/trunk/; revision=3756
|
|
f88d849a
|
2008-04-01T08:00:31
|
|
two patches from Alvaro Herrera to avoid problem when running out of
* xpath.c: two patches from Alvaro Herrera to avoid problem when
running out of memory in XPath evaluations.
Daniel
svn path=/trunk/; revision=3721
|
|
f179456d
|
2007-08-23T12:58:13
|
|
fixed mlXPathCompOpEvalPositionalPredicate problem with object caching
* xpath.c: fixed mlXPathCompOpEvalPositionalPredicate problem
with object caching (bug #469410)
svn path=/trunk/; revision=3653
|
|
31700e63
|
2007-06-13T20:33:02
|
|
fixed problem in previous fix to xmlXPathNodeSetSort
* xpath.c: fixed problem in previous fix to xmlXPathNodeSetSort
svn path=/trunk/; revision=3640
|
|
97ac819c
|
2007-06-06T17:19:24
|
|
fixed problem with xmlXPathNodeSetSort; fixed problem with
* xpath.c: fixed problem with xmlXPathNodeSetSort;
fixed problem with xmlXPathNodeTrailingSorted (both bug#413451)
svn path=/trunk/; revision=3622
|
|
d611c88a
|
2007-05-31T05:07:17
|
|
fixed problem with string value for PI node (bug #442275)
* xpath.c: fixed problem with string value for PI node
(bug #442275)
svn path=/trunk/; revision=3621
|
|
d2f682a4
|
2007-05-15T19:42:08
|
|
fixed problem on gzip streams (bug #438045) fixed minor spot of redundant
* nanohttp.c: fixed problem on gzip streams (bug #438045)
* xpath.c: fixed minor spot of redundant code - no logic change.
svn path=/trunk/; revision=3616
|
|
ca79788e
|
2007-05-11T14:45:53
|
|
enhanced the coding for xmlXPathCastNumberToString in order to produce the
* xpath.c: enhanced the coding for xmlXPathCastNumberToString
in order to produce the required number of significant digits
(bug #437179)
svn path=/trunk/; revision=3615
|
|
ee0b982f
|
2007-03-07T08:15:01
|
|
fixed xmlXPathCmpNodes for incorrect result on certain cases when
* xpath.c: fixed xmlXPathCmpNodes for incorrect result on certain
cases when comparing identical nodes (bug 415567) with patch
from Oleg Paraschenko
svn path=/trunk/; revision=3587
|
|
0bcec06d
|
2007-02-14T02:15:19
|
|
Fixed memory bug with invalid function reported by Francois Delyon on
* xpath.c: Fixed memory bug with invalid function reported by Francois Delyon on mailing list
svn path=/trunk/; revision=3584
|
|
11be2d02
|
2007-01-24T19:17:19
|
|
added checks for alloc fail on calls to xmlXPathNewContext (libxslt bug
* xpath.c: added checks for alloc fail on calls to xmlXPathNewContext
(libxslt bug #400242)
svn path=/trunk/; revision=3575
|
|
fe3970e0
|
2006-11-23T16:08:30
|
|
fixed a bug where the principal node type of an axis wasn't tested on name
* xpath.c: fixed a bug where the principal node type of an axis
wasn't tested on name check, fixes bug #377432
daniel
|
|
17970a72
|
2006-10-26T08:55:47
|
|
William spotted an obvious bug Daniel
* xpath.c: William spotted an obvious bug
Daniel
|
|
c465ffc2
|
2006-10-17T19:39:33
|
|
applied patch from Olaf Walkowiak which should fix #334104 Daniel
* xpath.c: applied patch from Olaf Walkowiak which should fix #334104
Daniel
|
|
50128ad7
|
2006-08-15T13:04:07
|
|
Applied the proposed fix for the documentation of xmlXPathCastToString();
* xpath.c: Applied the proposed fix for the documentation
of xmlXPathCastToString(); see bug #346202.
|
|
889b7622
|
2006-07-03T11:44:13
|
|
Changed xmlXPathCollectAndTest() to use xmlXPathNodeSetAddNs() when adding
* xpath.c: Changed xmlXPathCollectAndTest() to use
xmlXPathNodeSetAddNs() when adding a ns-node in case of
NODE_TEST_TYPE (the ns-node was previously added plainly
to the list). Since for NODE_TEST_ALL and NODE_TEST_NAME
this specialized ns-addition function was already used,
I assume it was missed to be used with NODE_TEST_TYPE.
|
|
2bdb12ff
|
2006-06-29T10:49:59
|
|
Fixed a double-free in xmlXPathCompOpEvalToBoolean(), revealed by a
* xpath.c: Fixed a double-free in xmlXPathCompOpEvalToBoolean(),
revealed by a Libxslt regression test.
|
|
324c75b3
|
2006-06-29T10:31:35
|
|
Enhanced xmlXPathCompOpEvalToBoolean() to be also usable outside predicate
* xpath.c: Enhanced xmlXPathCompOpEvalToBoolean() to be also
usable outside predicate evaluation; the intention is to
use it via xmlXPathCompiledEvalToBoolean() for XSLT tests,
like in <xsl:if test="/foo">.
|
|
8af1f0bb
|
2006-06-28T17:13:19
|
|
Fix a memory leak which occurred when using
* xpath.c: Fix a memory leak which occurred when using
xmlXPathCompiledEvalToBoolean().
|
|
631ea817
|
2006-06-26T16:47:25
|
|
Added xmlXPathCompiledEvalToBoolean() to the API and adjusted/added
* xpath.c: Added xmlXPathCompiledEvalToBoolean() to the API and
adjusted/added xmlXPathRunEval(), xmlXPathRunStreamEval(),
xmlXPathCompOpEvalToBoolean(), xmlXPathNodeCollectAndTest()
to be aware of a boolean result request. The new function
is now used to evaluate predicates.
|
|
6422d916
|
2006-06-26T14:31:53
|
|
Fixed an bug in xmlXPathCompExprAdd(): the newly introduced field
* xpath.c: Fixed an bug in xmlXPathCompExprAdd(): the newly
introduced field @rewriteType on xmlXPathStepOp was not
initialized to zero here; this could lead to the activation
of the axis rewrite code in xmlXPathNodeCollectAndTest() when
@rewriteType is randomly set to the value 1. A test
(hardcoding the intial value to 1) revealed that the
resulting incorrect behaviour is similar to the behaviour
as described by Arnold Hendriks on the mailing list; so I
hope that will fix the issue.
|
|
766ed7e1
|
2006-06-23T16:32:41
|
|
Fixed an error in xmlXPathEvalExpr(), which was introduced with the
* xpath.c: Fixed an error in xmlXPathEvalExpr(), which
was introduced with the addition of the d-o-s rewrite
and made xpath.c unable to compile if XPATH_STREAMING
was not defined (reported by Kupriyanov Anatolij -
#345752). Fixed the check for d-o-s rewrite
to work on the correct XPath string, which is ctxt->base
and not comp->expr in this case.
|
|
9bca933a
|
2006-06-19T10:26:42
|
|
Added optimization for positional predicates (only short-hand form "[n]"),
* xpath.c: Added optimization for positional predicates
(only short-hand form "[n]"), which have a preceding
predicate: "/foo[descendant::bar][3]".
|
|
7cb3fa9d
|
2006-06-06T15:27:46
|
|
Fixed self-invented a segfault in xmlXPathCtxtCompile(), when the
* xpath.c: Fixed self-invented a segfault in xmlXPathCtxtCompile(),
when the expression was not valid and @comp was NULL and I
tried to do the d-o-s rewrite.
|
|
080152c9
|
2006-06-06T09:42:15
|
|
Enabled the compound traversal again; I added a check to use this only if
* xpath.c: Enabled the compound traversal again; I added a
check to use this only if the have an expression starting
with the document node; so in the case of "//foo", we
already know at compilation-time, that there will be only
1 initial context node. Added the rewrite also to
xmlXPathEvalExpr().
|
|
c42e9f64
|
2006-06-02T20:48:50
|
|
Disabled the compound traversal for the release; I need first to assure
* xpath.c: Disabled the compound traversal for the release;
I need first to assure that this is done only if we have
1 initial node.
|
|
1b2be101
|
2006-05-31T20:53:43
|
|
fixed memory leak in xpath error reporting
* xpath.c: fixed memory leak in xpath error reporting
|
|
5869469f
|
2006-05-31T12:37:28
|
|
Changed the name of the recently added public function
* xpath.c include/libxml/xpath.h runsuite.c:
Changed the name of the recently added public function
xmlXPathContextSetObjectCache() to
xmlXPathContextSetCache(); so a more generic one, in
case we decide to cache more things than only XPath
objects.
|
|
df0ba264
|
2006-05-30T19:45:37
|
|
Optimized xmlXPathNodeCollectAndTest() and xmlXPathNodeCollectAndTestNth()
* xpath.c: Optimized xmlXPathNodeCollectAndTest() and
xmlXPathNodeCollectAndTestNth() to evaluate a compound
traversal of 2 axes when we have a "//foo" expression.
This is done with a rewrite of the XPath AST in
xmlXPathRewriteDOSExpression(); I added an additional field
to xmlXPathStepOp for this (but the field's name should be
changed). The mechanism: the embracing descendant-or-self
axis traversal (also optimized to return only nodes which
can hold elements), will produce context nodes for the
inner traversal of the child axis. This way we avoid a full
node-collecting traversal of the descendant-or-self axis.
Some tests indicate that this can reduce execution time of
"//foo" to 50%. Together with the XPath object cache this
all significantly speeds up libxslt.
|
|
75af2a87
|
2006-05-30T09:29:23
|
|
Enhanced xmlXPathNodeCollectAndTest() to avoid recreation (if possible) of
* xpath.c: Enhanced xmlXPathNodeCollectAndTest() to avoid
recreation (if possible) of the node-set which is used to
collect the nodes in the current axis for the currect context
node. Especially for "//foo" this will decrease dramatically
the number of created node-sets, since for each node in the
result node-set of the evaluation of descendant-or-self::node()
a new temporary node-set was created. Added node iterator
xmlXPathNextChildElement() as a tiny optimization for
child::foo.
|
|
a7248443
|
2006-05-29T16:15:36
|
|
Added an XPath object cache. It sits on an xmlXPathContext and need to be
* xpath.c include/libxml/xpath.h: Added an XPath object cache.
It sits on an xmlXPathContext and need to be explicitely
activated (or deactivated again) with
xmlXPathContextSetObjectCache(). The cache consists of 5
lists for node-set, string, number, boolean and misc XPath
objects. Internally the xpath.c module will use object-
deposition and -acquisition functions which will try to reuse
as many XPath objects as possible, and fallback to normal
free/create behaviour if no cache is available or if the cache
is full.
* runsuite.c: Adjusted to deactivate the cache for XML Schema
tests if a cache-creation is turned on by default for the whole
library, e.g. for testing purposes of the cache. It is
deactivated here in order to avoid confusion of the memory leak
detection in runsuite.c.
|
|
984a9aed
|
2006-05-24T09:02:35
|
|
Removed a memcpy if xmlXPathNodeSetMerge(); it seems we really need to
* xpath.c: Removed a memcpy if xmlXPathNodeSetMerge(); it
seems we really need to walk the whole list, since those
nastly namespace nodes need to be added with
xmlXPathNodeSetDupNs(); thus a pure memcpy is not possible.
A flag on the node-set indicating if namespace nodes are in
the set would help here; this is the 3rd flag which would
be usefull with node-sets. The current flags I have in mind:
1) Is a node-set already sorted?
This would allow for rebust and optimizable sorting
behaviour.
2) Of what type are the nodes in the set (or of mixed type)?
This would allow for faster merging of node-sets.
3) Are namespace nodes in the set?
This would allow to skipp all the namespace node specific
special handling. Faster node-set merging if the first
set is empty; just memcpy the set.
|
|
5691f436
|
2006-05-22T15:19:55
|
|
Optimization of count(): eliminated sorting (see bug #165547).
* xpath.c: Optimization of count(): eliminated sorting
(see bug #165547). Optimization of XPATH_OP_FILTER if the
predicate is a [1] (disable with XP_OPTIMIZED_FILTER_FIRST if
it produces trouble). Tiny opt in xmlXPathNodeSetMerge().
|
|
64f7e1a8
|
2006-05-19T19:59:54
|
|
Substituted all remaining calls to xmlXPathCmpNodes() for
* xpath.c: Substituted all remaining calls to xmlXPathCmpNodes()
for xmlXPathCmpNodesExt(). Tiny further enhancement of
xmlXPathCmpNodesExt(). Added additional checks in various code
parts to avoid calling sorting or merging functions if the
node-set(s) don't need them; i.e., if they are empty or contain
just one node.
|
|
2bdabbd7
|
2006-05-19T11:26:15
|
|
Optimized the comparison for non-element nodes in xmlXPathCmpNodesExt();
* xpath.c: Optimized the comparison for non-element nodes
in xmlXPathCmpNodesExt(); the comparison is used for sorting
of node-sets. This enhancement is related to bug #165547.
There are other places where the old comparison function
xmlXPathCmpNodes() is still called, but I currently don't
know exactly what those calls are for; thus if they can be
substituted (if it makes sense) for the new function.
|
|
6ed2eb47
|
2006-05-16T15:13:37
|
|
Applied patch from Rob Richards, fixing a potential memory leak in
* xpath.c: Applied patch from Rob Richards, fixing a potential
memory leak in xmlXPathTryStreamCompile(), when a list of
namespaces was assigned to the XPath compilation context;
here a new namespace list was created and passed to
xmlPatterncompile(); but this list was not freed afterwards.
Additionally we avoid now in xmlXPathTryStreamCompile() to
compile the expression, if it has a colon - indicating
prefixed name tests - and no namespace list was given. The
streaming XPath mechanism needs a namespace list at
compilation time (unlike normal XPath, where we can bind
namespace names to prefixes at execution time).
* pattern.c: Enhanced to use a string dict for local-names,
ns-prefixes and and namespace-names.
Fixed xmlStreamPushInternal() not to use string-pointer
comparison if a dict is available; this won't work, since
one does not know it the given strings originate from the
same dict - and they normally don't do, since e.g.
namespaces are hold on xmlNs->href. I think this would be
worth an investigation: if we can add a @doc field to xmlNs
and put the @href in to a additionan namespace dict hold
in xmlDoc. Daniel will surely not like this idea :-) But
evaluation of tons of elements/attributes in namespaces
with xmlStrEqual() isn't the way we should go forever.
|
|
aac7c68e
|
2006-03-10T13:40:16
|
|
fix a few warning raised by gcc-4.1 and latests changes Daniel
* c14n.c encoding.c xmlschemas.c xpath.c xpointer.c: fix a few
warning raised by gcc-4.1 and latests changes
Daniel
|
|
11ce4004
|
2006-03-10T00:36:23
|
|
end of first pass on coverity reports. Daniel
* runtest.c schematron.c testAutomata.c tree.c valid.c xinclude.c
xmlcatalog.c xmlreader.c xmlregexp.c xpath.c: end of first
pass on coverity reports.
Daniel
|
|
d3ff7ef6
|
2006-02-27T19:43:17
|
|
workaround HP-UX compiler bug by Rick Jones Daniel
* xpath.c: workaround HP-UX compiler bug by Rick Jones
Daniel
|
|
97258713
|
2006-01-05T12:30:43
|
|
Fixed bug #322928, reported by Erich Schubert: The bug was in pattern.c,
* pattern.c xpath.c include/libxml/pattern.h:
Fixed bug #322928, reported by Erich Schubert: The bug was
in pattern.c, which is used for a tiny subset of xpath
expression which can be evaluated in an optimized way.
The doc-node was never considered when evaluating "//"
expressions. Additionally, we fixed resolution
to nodes of any type in pattern.c; i.e. a "//." didn't work
yet, as it did select only element-nodes. Due to this
issue the pushing of nodes in xpath.c needed to be adjusted
as well.
|
|
b3d1491b
|
2005-09-04T20:47:39
|
|
prepare for release work for #303289, fix a formatting bug for MIN_INT
* configure.in doc/* configure.in: prepare for release
* xpath.c: work for #303289, fix a formatting bug for MIN_INT
Daniel
|
|
f03a8cda
|
2005-09-04T12:01:57
|
|
fixing yet another pattern induced XPath bug #314282 reverted back last
* pattern.c xpath.c include/libxml/pattern.h: fixing yet another
pattern induced XPath bug #314282
* relaxng.c: reverted back last change it was seriously broken
Daniel
|
|
8bda20f7
|
2005-08-24T09:36:47
|
|
removed a potentially uninitialized variable error fixed a deprecation
* xpath.c: removed a potentially uninitialized variable error
* python/generator.py: fixed a deprecation warning
* python/tests/tstLastError.py: silent the damn test when Okay !
Daniel
|
|
24505b0f
|
2005-07-28T23:49:35
|
|
a lot of small cleanups based on Linus' sparse check output. Daniel
* HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c
runsuite.c runtest.c schematron.c testHTML.c testReader.c
testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c
xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of
small cleanups based on Linus' sparse check output.
Daniel
|
|
ed6c5497
|
2005-07-23T15:00:22
|
|
changed xmlPatterncompile signature to pass an int and not an enum since
* pattern.c include/libxml/pattern.h: changed xmlPatterncompile
signature to pass an int and not an enum since it can generate
ABI compat troubles.
* include/libxml/schematron.h schematron.c: adding the new
schematron code, work in progress lots to be left and needing
testing
* include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in
Makefile.am configure.in: integration of schematron into the
build
* xpath.c include/libxml/xpath.h: adding flags to control compilation
options right now just XML_XPATH_CHECKNS.
Daniel
|
|
32f0f717
|
2005-07-14T07:00:33
|
|
Changed the behaviour of xmlXPathEqualNodeSetFloat to return TRUE if a
* xpath.c: Changed the behaviour of xmlXPathEqualNodeSetFloat to
return TRUE if a nodeset with a numeric value of NaN is compared
for inequality with any numeric value (bug 309914).
|
|
1f33c4d6
|
2005-07-10T21:38:31
|
|
preparing to make testsuite releases along with code source releases fixed
* xstc/Makefile.am README README.tests Makefile.tests Makefile.am:
preparing to make testsuite releases along with code source releases
* gentest.py testapi.c: fixed a couple of problem introduced by
the new Schemas support for Readers
* xpath.c: fixed the XPath attribute:: bug #309580, #309864 in a crude
but simple way.
* xmlschemas.c include/libxml/tree.h: fixed a couple of problems
raised by the doc builder.
* doc/*: made rebuild
Daniel
|
|
ea152c05
|
2005-06-09T18:12:28
|
|
Further enhancement for XPath streaming, consolidated with schemas usage
* pattern.c, xpath.c, include/libxml/pattern.h: Further
enhancement for XPath streaming, consolidated with
schemas usage of pattern.c. Added a new enum
xmlPatternFlags.
* doc/*, testapi.c, elfgcchack.h: updated to reflect new
enum.
* test/XPath/tests/mixedpat, test/XPath/docs/mixed,
result/XPath/mixedpat: added regression test for problems
reported in bug306348
|
|
fbb619f4
|
2005-06-06T13:49:18
|
|
Enhanced xmlXPathRunStreamEval, fixed handling of depth/level for cases
* xpath.c, pattern.c: Enhanced xmlXPathRunStreamEval, fixed
handling of depth/level for cases like union operator
(bug #306348 reported by Bob Stayton). Also enhanced
several comments throughout pattern.c.
* doc/apibuild.py: fixed problem in handling of
'signed' declaration. Rebuilt the docs.
|
|
dbfe05af
|
2005-05-04T09:18:00
|
|
on linux/gcc use weak definitions to avoid linking with pthread library on
* Makefile.am configure.in threads.c: on linux/gcc use weak definitions
to avoid linking with pthread library on non-threaded environments.
* xpath.c: applied patch from Mark Vakoc w.r.t. a buggy namespace
list allocation.
Daniel
|
|
3d426663
|
2005-04-19T14:40:28
|
|
Added some code to avoid integer overflow for ceil, floor and round
* xpath.c: Added some code to avoid integer overflow for
ceil, floor and round functions (bug 301162)
|
|
d6e347e8
|
2005-04-15T01:34:41
|
|
Applied Daniel's fix for memory leak in dtd prefix (bug 300550). minor
* valid.c: Applied Daniel's fix for memory leak in dtd
prefix (bug 300550).
* xpath.c: minor change to comment only
|
|
2c19a7bf
|
2005-04-10T01:03:23
|
|
fixed several places where memory cleanup was not properly done after an
* xpath.c: fixed several places where memory cleanup was not
properly done after an error was detected (problem was
reported on the mailing list by Pawel Palucha)
|
|
4ddaa56d
|
2005-04-06T14:09:08
|
|
fixed the bug in lang() as raised by Elliotte Rusty Harold added a
* xpath.c: fixed the bug in lang() as raised by Elliotte Rusty Harold
* result/XPath/tests/langsimple test/XPath/tests/langsimple
test/XPath/docs/lang: added a regression test
Daniel
|
|
5d4644ef
|
2005-04-01T13:11:58
|
|
revamped the elfgcchack.h format to cope with gcc4 change of aliasing
* doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h
format to cope with gcc4 change of aliasing allowed scopes, had
to add extra informations to doc/libxml2-api.xml to separate
the header from the c module source.
* *.c: updated all c library files to add a #define bottom_xxx
and reimport elfgcchack.h thereafter, and a bit of cleanups.
* doc//* testapi.c: regenerated when rebuilding the API
Daniel
|
|
12d37ab6
|
2005-02-21T13:54:07
|
|
fixed problem when XMLLINT_INDENT was empty (bug 168033). fixed
* xmlsave.c: fixed problem when XMLLINT_INDENT was empty (bug 168033).
* xpath.c: fixed compilation warning, no change to logic.
* xmlschemastypes.c: fixed compilation warning, no change to logic.
|
|
fa1f77f2
|
2005-02-21T10:44:36
|
|
fixed remaining known bugs in the XPath streaming, and switched XPath to
* pattern.c xpath.c: fixed remaining known bugs in the XPath streaming,
and switched XPath to use it by default when possible
Daniel
|
|
56de87ee
|
2005-02-16T00:22:29
|
|
fix the comment to describe the real return values lot of work on the
* encoding.c: fix the comment to describe the real return values
* pattern.c xpath.c include/libxml/pattern.h: lot of work on
the patterns, pluggin in the XPath default evaluation, but
disabled right now because it's not yet good enough for XSLT.
pattern.h streaming API are likely to be changed to handle
relative and absolute paths in the same expression.
Daniel
|
|
cd65bc9a
|
2005-01-06T09:39:18
|
|
fixed problem with xmlXPathErr when error number subscript was out of
* xpath.c: fixed problem with xmlXPathErr when error number
subscript was out of range (bug 163055)
|
|
21e4ef20
|
2005-01-02T09:53:13
|
|
Re-examined the problems of configuring a "minimal" library.
Synchronized the header files with the library code in order
to assure that all the various conditionals (LIBXML_xxxx_ENABLED)
were the same in both. Modified the API database content to more
accurately reflect the conditionals. Enhanced the generation
of that database. Although there was no substantial change to
any of the library code's logic, a large number of files were
modified to achieve the above, and the configuration script
was enhanced to do some automatic enabling of features (e.g.
--with-xinclude forces --with-xpath). Additionally, all the format
errors discovered by apibuild.py were corrected.
* configure.in: enhanced cross-checking of options
* doc/apibuild.py, doc/elfgcchack.xsl, doc/libxml2-refs.xml,
doc/libxml2-api.xml, gentest.py: changed the usage of the
<cond> element in module descriptions
* elfgcchack.h, testapi.c: regenerated with proper conditionals
* HTMLparser.c, SAX.c, globals.c, tree.c, xmlschemas.c, xpath.c,
testSAX.c: cleaned up conditionals
* include/libxml/[SAX.h, SAX2.h, debugXML.h, encoding.h, entities.h,
hash.h, parser.h, parserInternals.h, schemasInternals.h, tree.h,
valid.h, xlink.h, xmlIO.h, xmlautomata.h, xmlreader.h, xpath.h]:
synchronized the conditionals with the corresponding module code
* doc/examples/tree2.c, doc/examples/xpath1.c, doc/examples/xpath2.c:
added additional conditions required for compilation
* doc/*.html, doc/html/*.html: rebuilt the docs
|
|
ad0e67c5
|
2004-12-01T14:35:10
|
|
fixed up some gcc warnings, no change to logic. New macro XML_CAST_FPTR to
* dict.c, xpath.c, include/libxml/hash.h: fixed up some gcc warnings,
no change to logic. New macro XML_CAST_FPTR to circumvent gcc
warnings on function pointer <-> object pointer (a hack).
|
|
7eca35fb
|
2004-11-29T13:08:03
|
|
fixed a memory leak on errors in some circumstances #159812 Daniel
* xpath.c: fixed a memory leak on errors in some circumstances #159812
Daniel
|
|
f13f77f0
|
2004-11-12T16:03:48
|
|
trivial change (changed CHECK_CONTEXT to CHECK_CTXT on a couple of lines)
* xpath.c: trivial change (changed CHECK_CONTEXT to CHECK_CTXT
on a couple of lines)
* gentest.py, testapi.c: enhanced to reduce compilation warnings
|
|
645a924a
|
2004-11-09T12:20:42
|
|
fixed problem concerning XPath context corruption during function argument
* xpath.c: fixed problem concerning XPath context corruption
during function argument evaluation (bug 157652)
|
|
f2a36f98
|
2004-11-08T17:55:01
|
|
more types. more fixes Daniel
* testapi.c: more types.
* parserInternals.c xpath.c: more fixes
Daniel
|
|
6128c01c
|
2004-11-08T17:16:15
|
|
better parser options coverage more cleanups. Daniel
* gentest.py testapi.c: better parser options coverage
* SAX2.c xpath.c: more cleanups.
Daniel
|
|
a82b1826
|
2004-11-08T16:24:57
|
|
more coverage more fixes Daniel
* gentest.py testapi.c: more coverage
* debugXML.c parser.c xmlregexp.c xpath.c: more fixes
Daniel
|
|
57b2516a
|
2004-11-06T14:50:18
|
|
augmented type autogeneration for enums removed direct error reporting.
* gentest.py testapi.c: augmented type autogeneration for enums
* xpath.c include/libxml/xpath.h: removed direct error reporting.
Daniel
|
|
ce682bc2
|
2004-11-05T17:22:25
|
|
autogenerate a minimal NULL value sequence for unknown pointer types This
* gentest.py testapi.c: autogenerate a minimal NULL value sequence
for unknown pointer types
* HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c
parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c
xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c
xpointer.c: This uncovered an impressive amount of entry points
not checking for NULL pointers when they ought to, closing all
the open gaps.
Daniel
|
|
b031cef5
|
2004-11-05T16:34:22
|
|
fixed problem with NULL entry (bug 157407) fixed a couple of warnings (no
* catalog.c: fixed problem with NULL entry (bug 157407)
* xpath.c: fixed a couple of warnings (no change to logic)
|
|
03226814
|
2004-11-01T14:55:21
|
|
fixed an UTF-8 parsing bug reported by Markus Bertheau on #fedora-devel
* xpath.c: fixed an UTF-8 parsing bug reported by Markus Bertheau
on #fedora-devel
Daniel
|
|
8de5c0bd
|
2004-10-07T13:14:19
|
|
adding the tree debug mode fixing various problems reported by the debug
* debugXML.c include/libxml/debugXML.h include/libxml/xmlerror.h:
adding the tree debug mode
* parser.c relaxng.c tree.c xpath.c: fixing various problems reported
by the debug mode.
* SAX2.c: another tree fix from Rob Richards
Daniel
|
|
d1757abc
|
2004-10-02T22:07:48
|
|
added two new macros IS_ASCII_LETTER and IS_ASCII_DIGIT used with (html)
* include/libxml/parserInternals.h: added two new macros
IS_ASCII_LETTER and IS_ASCII_DIGIT used with (html)
parsing and xpath for testing data not necessarily
unicode.
* HTMLparser.c, xpath.c: changed use of IS_LETTER_CH and
IS_DIGIT_CH macros to ascii versions (bug 153936).
|
|
a918b5b0
|
2004-09-26T14:25:37
|
|
applied patch from Malcolm Tredinnick fixing space/tabs fixed a realloc
* xstc/xstc.py: applied patch from Malcolm Tredinnick fixing space/tabs
* xpath.c: fixed a realloc potential problem
Daniel
|
|
6ebf3c4c
|
2004-08-22T13:11:39
|
|
trying to remove some warning when compiling on Fedora Core 3 and 64bits
* xmllint.c xpath.c include/libxml/xpath.h
include/libxml/xpathInternals.h python/libxml.c
python/libxml_wrap.h: trying to remove some warning when compiling
on Fedora Core 3 and 64bits
Daniel
|
|
3794b9e8
|
2004-07-13T15:06:20
|
|
Added code to in PREDICATE/FILTER handling to reset the xpath context
* xpath.c: Added code to in PREDICATE/FILTER handling to reset
the xpath context document pointer (part of fix to libxslt
bug 147445)
|
|
e9449c5d
|
2004-07-11T14:41:20
|
|
added an encoding "special comment" to avoid warning message in python2.3
* python/drv_libxml.py: added an encoding "special comment" to avoid
warning message in python2.3 (bug 146889)
* Makefile.am, python/Makefile.am, python/tests/Makefile.am: small
change to make "make tests" a little quieter (MAKEFLAGS+=--silent)
* xpath.c: enhanced to take advantage of current libxslt handling
of tmpRVT. Fixes bug 145547.
|
|
8fad8bff
|
2004-06-02T08:26:25
|
|
fixed problem with predicate evaluation on an empty nodeset (bug 143409)
* xpath.c: fixed problem with predicate evaluation on an
empty nodeset (bug 143409)
|
|
9912705b
|
2004-05-24T02:52:28
|
|
fixed to allow '+' in exponent of number (bug 143005) fixed typo in last
* xpath.c: fixed to allow '+' in exponent of number
(bug 143005)
* SAX2.c: fixed typo in last commit
|
|
9ea6231e
|
2004-04-29T14:04:09
|
|
patch from Mark Vakoc for regression tests on Windows. the NaN problem
* win32/Makefile.msvc: patch from Mark Vakoc for regression tests
on Windows.
* xpath.c: the NaN problem also shows up on Borland
Daniel
|
|
d087dbf3
|
2004-04-20T21:41:19
|
|
last version of the fix for MSC version 1200 Daniel
* xpath.c: last version of the fix for MSC version 1200
Daniel
|
|
7c4eb63b
|
2004-04-19T21:29:12
|
|
fixed a stupid () error + Mark name. Daniel
* xpath.c: fixed a stupid () error + Mark name.
Daniel
|
|
68cb4b24
|
2004-04-18T20:55:39
|
|
relaxed id() to not check taht the name(s) passed are actually NCName,
* xpath.c: relaxed id() to not check taht the name(s) passed
are actually NCName, decided this in agreement with Aleksey Sanin
since existing specs like Visa3D broke that conformance checking
and other tools seems to not implement it sigh...
* SAX2.c: check attribute decls for xml:id and the value is an
NCName.
* test/xmlid/id_err* result/xmlid/id_err*: added error testing
Daniel
|
|
2582a338
|
2004-04-18T19:49:46
|
|
work around Microsoft compiler NaN bug raise reported by Mark Vakoc fixed
* xpath.c: work around Microsoft compiler NaN bug raise reported
by Mark Vakoc
* xmlschemas.c include/libxml/schemasInternals.h
include/libxml/xmlerror.h: fixed a recusive expection schemas
compilation error raised by taihei goi
Daniel
|
|
a59ddb5e
|
2004-02-25T08:12:32
|
|
fixed a memory leak (xmlXPathLangFunction) reported on the list by Mike
* xpath.c: fixed a memory leak (xmlXPathLangFunction) reported
on the list by Mike Hommey
|
|
372a4454
|
2004-02-17T13:09:23
|
|
fixed problem with numbers having > 19 fractional places (bug 133921)
* xpath.c: fixed problem with numbers having > 19
fractional places (bug 133921)
|
|
f49be477
|
2004-02-17T11:48:18
|
|
applied optimization patch from Petr Pajas Daniel
* xpath.c: applied optimization patch from Petr Pajas
Daniel
|
|
b3377955
|
2004-02-09T12:48:55
|
|
small patch from Philip Ludlam to avoid warnings. Daniel
* xpath.c: small patch from Philip Ludlam to avoid warnings.
Daniel
|
|
5bb9ccd5
|
2004-02-09T12:39:02
|
|
remove the warning on the 2001 namespace remove some warnings when
* xinclude.c: remove the warning on the 2001 namespace
* parser.c parserInternals.c xpath.c: remove some warnings
when compiling with MSVC6
* nanohttp.c: applied a patch when using _WINSOCKAPI_
Daniel
|
|
c07ed5e6
|
2004-01-30T07:52:48
|
|
added (void *) type override to prevent warning on Solaris (Bug 132671)
* xpath.c: added (void *) type override to prevent
warning on Solaris (Bug 132671)
|
|
4773df2a
|
2004-01-23T13:15:13
|
|
added io1.c an example ox xmlIO usage and io1.res test result, fixed a
* doc/examples/*: added io1.c an example ox xmlIO usage and io1.res
test result, fixed a awful lot of memory leaks showing up in
testWriter.c, changed the examples and the Makefiles to test
memory leaks.
* xmlwriter.c: fixed a memory leak
* Makefile.am: run the doc/examples regression tests as part of
make tests
* xpath.c include/libxml/xpath.h: added xmlXPathCtxtCompile() to
compile an XPath expression within a context, currently the goal
is to be able to reuse the XSLT stylesheet dictionnary, but this
opens the door to others possible optimizations.
* dict.c include/libxml/dict.h: added xmlDictCreateSub() which allows
to build a new dictionnary based on another read-only dictionnary.
This is needed for XSLT to keep the stylesheet dictionnary read-only
while being able to reuse the strings for the transformation
dictionnary.
* xinclude.c: fixed a dictionnar reference counting problem occuring
when document parsing failed.
* testSAX.c: adding option --repeat for timing 100times the parsing
* doc/* : rebuilt all the docs
Daniel
|
|
ce4fc56e
|
2004-01-22T02:47:18
|
|
fixed problem with union when last() is used in predicate (bug #131971)
* xpath.c: fixed problem with union when last() is used
in predicate (bug #131971)
* xpointer.c: minor change to comment for doc generation
|
|
f7eb794c
|
2003-12-31T07:59:17
|
|
fixed problem pointed out by Stéphane Bidoul on the list. completed
* python/generator.py, python/libxml2class.txt: fixed problem
pointed out by Stéphane Bidoul on the list.
* xinclude.c, xpointer.c, xpath.c, include/libxml/xpointer.h:
completed modifications required to fix Bug 129967 (at last!).
Now wait to see how long before further trouble...
|
|
72ee48d5
|
2003-12-30T08:30:19
|
|
Fixed memory leak reported by Dave Beckett Removed spurious comment
* parser.c, xmlmemory.c, include/libxml/xmlmemory.h: Fixed
memory leak reported by Dave Beckett
* xmlschemas.c: Removed spurious comment reported on the mailing
list
* xinclude.c, xpath.c, xpointer.c, libxml/include/xpointer.h:
Further work on Bug 129967 concerning xpointer range handling
and range-to function; much better, but still not complete
|
|
08171918
|
2003-12-29T02:52:11
|
|
edited a couple of comments in accordance with posting on the mailing list
* xmlschemas.c: edited a couple of comments in accordance with
posting on the mailing list (no logic change)
* xpointer.c: working on Bug 129967, added check for NULL
nodeset to prevent crash. Further work required.
* xpath.c: working on Bug 129967, added code to handle
XPATH_LOCATIONSET in RANGETO code, also added code to
handle it in xmlXPathEvaluatePredicateResult. Further
work required.
|
|
e8d1bd9d
|
2003-12-23T01:28:58
|
|
small enhancement to xmlXPathCmpNodes to assure document order for
* xpath.c: small enhancement to xmlXPathCmpNodes to assure
document order for attributes is retained (Bug 129331)
|
|
f88d8cf9
|
2003-12-08T10:25:02
|
|
tried to fix the problems reported in bug #126735 fixed again some problem
* python/libxml.py: tried to fix the problems reported in
bug #126735
* xpath.c SAX2.c error.c parser.c valid.c include/libxml/xmlerror.h:
fixed again some problem trying to use the structured error
handlers, c.f. bug #126735
* result/VC/ElementValid: tiny change due to the fix
Daniel
|
|
c125a721
|
2003-11-16T08:06:19
|
|
fixed bug 126976 (string != empty nodeset should be false)
* xpath.c: fixed bug 126976 (string != empty nodeset
should be false)
|