[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kdom/xpath
From: Frans Englich <frans.englich () telia ! com>
Date: 2005-07-11 15:19:00
Message-ID: 1121095140.957219.20513.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 433726 by englich:
Some piled up work:
* The expression sequence was debugged and runs rather fine; expressions such as \
"not(exists( ((), (), (), ()) ))" are handled.
* Implement some functions; not(), exists(), empty(), true/false(), boolean(). \
Completeness is hard to label, because the functionality of functions are typically \
spread out over the whole implementation. A traditional view of functions is small \
atomic units who on their own performs something well-defined, but in XPath they are \
rather interfaces to the concepts XPath has(IMHO).
* Add SharedVector; a reference-counting QSharedVector. I have my own Qt lib over \
here.
* Add tests. The collection is starting to have a bit of strength now. Every function \
is backed up by about 8-10 tests.
* Validate arity in function signatures.
M +21 -4 impl/ErrorContext.cc
M +9 -0 impl/TODO
M +1 -1 impl/XPathResultImpl.cc
M +15 -1 impl/data/BooleanImpl.cc
M +3 -1 impl/data/BooleanImpl.h
M +1 -1 impl/data/DecimalImpl.cc
M +1 -1 impl/data/DecimalImpl.h
M +1 -1 impl/data/DoubleImpl.cc
M +1 -1 impl/data/DoubleImpl.h
M +2 -1 impl/data/EmptySequenceImpl.cc
M +1 -1 impl/data/EmptySequenceImpl.h
M +1 -1 impl/data/FloatImpl.cc
M +1 -1 impl/data/FloatImpl.h
M +1 -1 impl/data/IntegerImpl.cc
M +1 -1 impl/data/IntegerImpl.h
M +1 -1 impl/data/StringImpl.cc
M +1 -1 impl/data/StringImpl.h
M +1 -1 impl/expr/AndExpressionImpl.cc
M +1 -1 impl/expr/AndExpressionImpl.h
M +1 -1 impl/expr/CastExpressionImpl.cc
M +1 -1 impl/expr/CastExpressionImpl.h
M +1 -1 impl/expr/ContextItemImpl.cc
M +1 -1 impl/expr/ContextItemImpl.h
M +15 -6 impl/expr/ExpressionImpl.cc
M +3 -4 impl/expr/ExpressionImpl.h
M +11 -10 impl/expr/ExpressionSequenceImpl.cc
M +1 -1 impl/expr/ExpressionSequenceImpl.h
M +1 -1 impl/expr/IfExpressionImpl.cc
M +1 -1 impl/expr/IfExpressionImpl.h
M +1 -1 impl/expr/OperatorImpl.cc
M +1 -1 impl/expr/OperatorImpl.h
M +1 -1 impl/expr/OrExpressionImpl.cc
M +1 -1 impl/expr/OrExpressionImpl.h
M +14 -2 impl/expr/TypeChecker.cc
M +1 -6 impl/expr/ValueComparisonImpl.cc
M +1 -3 impl/expr/ValueComparisonImpl.h
A impl/functions/BooleanFN.cc [License: LGPL (wrong address)]
A impl/functions/BooleanFN.h [License: LGPL (wrong address)]
M +13 -8 impl/functions/ConstructorFunctionsFactoryImpl.cc
M +5 -3 impl/functions/ConstructorFunctionsFactoryImpl.h
A impl/functions/CountFN.cc [License: LGPL (wrong address)]
A impl/functions/CountFN.h [License: LGPL (wrong address)]
A impl/functions/EmptyFN.cc [License: LGPL (wrong address)]
A impl/functions/EmptyFN.h [License: LGPL (wrong address)]
A impl/functions/ExistsFN.cc [License: LGPL (wrong address)]
A impl/functions/ExistsFN.h [License: LGPL (wrong address)]
M +1 -1 impl/functions/FunctionArgument.cc
M +1 -1 impl/functions/FunctionArgument.h
M +12 -6 impl/functions/FunctionFactoryCollectionImpl.cc
M +4 -2 impl/functions/FunctionFactoryCollectionImpl.h
M +36 -0 impl/functions/FunctionFactoryImpl.cc
M +18 -2 impl/functions/FunctionFactoryImpl.h
M +22 -3 impl/functions/FunctionSignature.cc
M +20 -1 impl/functions/FunctionSignature.h
M +6 -2 impl/functions/Makefile.am
A impl/functions/NotFN.cc [License: LGPL (wrong address)]
A impl/functions/NotFN.h [License: LGPL (wrong address)]
M +63 -9 impl/functions/SystemFunctionFactoryImpl.cc
M +4 -3 impl/functions/SystemFunctionFactoryImpl.h
M +0 -2 impl/iterators/EmptySequenceIteratorImpl.cc
M +1 -0 impl/iterators/EmptySequenceIteratorImpl.h
M +29 -10 impl/iterators/ExpressionListIteratorImpl.cc
M +5 -5 impl/iterators/ExpressionListIteratorImpl.h
M +4 -0 impl/parser/ParserCentral.h
M +1 -0 impl/parser/ParserInformation.cc
M +2 -2 impl/parser/XPathLexer.cc
M +2 -2 impl/parser/XPathLexer.l
M +328 -325 impl/parser/XPathParser.cc
M +1980 -1968 impl/parser/XPathParser.output
M +12 -9 impl/parser/XPathParser.ypp
M +7 -10 impl/type/AnyAtomicTypeImpl.cc
M +6 -10 impl/type/AnyAtomicTypeImpl.h
M +12 -0 impl/type/AnySimpleTypeImpl.cc
M +11 -1 impl/type/AnySimpleTypeImpl.h
M +12 -0 impl/type/AnyTypeImpl.cc
M +10 -0 impl/type/AnyTypeImpl.h
M +5 -0 impl/type/BuiltinAtomicTypeImpl.cc
M +8 -0 impl/type/BuiltinAtomicTypeImpl.h
A impl/type/BuiltinItemTypeImpl.cc [License: LGPL (v2+) (wrong \
address)] A impl/type/BuiltinItemTypeImpl.h [License: LGPL (v2+) \
(wrong address)] M +8 -1 impl/type/BuiltinTypes.cc
M +3 -0 impl/type/BuiltinTypes.h
A impl/type/Cardinality.cc [License: LGPL (v2+) (wrong address)]
A impl/type/Cardinality.h [License: LGPL (v2+) (wrong address)]
M +1 -0 impl/type/CommonSequenceTypes.h
M +9 -2 impl/type/ItemTypeImpl.h
M +4 -2 impl/type/Makefile.am
M +1 -1 impl/type/SchemaComponentImpl.h
M +13 -1 impl/type/SchemaTypeImpl.h
M +13 -8 impl/type/SequenceType.cc
M +16 -4 impl/type/SequenceType.h
M +2 -1 impl/utils/Makefile.am
M +16 -1 impl/utils/SharedDict.h
M +4 -1 impl/utils/SharedList.h
M +1 -1 impl/utils/SharedQName.cc
A impl/utils/SharedVector.h [License: LGPL (v2+) (wrong address)]
M +6 -8 impl/utils/XPathHelper.cc
M +2 -1 impl/utils/XPathHelper.h
M +0 -31 kdomxpath.h
M +43 -9 tests/data/comparisons.xml
M +1 -5 tests/data/expressions.xml
M +57 -11 tests/data/functions.xml
M +10 -1 tests/data/parser.xml
M +10 -1 tests/parser.cc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic