element of its element type) in TBinaryObjectWriter.WriteVariant
by letting variantmanager handle their conversion transparently
git-svn-id: trunk@13075 -
not contain wildcards + test
* don't return true from FindGetFileInfo if the file name is ok, but the
search attributes don't match (resulted in returning multiple times the
name of the previous entry that did fulfill all requirements)
git-svn-id: trunk@13074 -
use the alignment of these elements rather than their size (fixes
alignment of arrays of int64/qword/double on darwin/i386 and darwin/arm)
git-svn-id: trunk@13068 -
xmlread.pp:
* Moved assignment of TXMLFileInputSource.SystemID into TXMLInputFileSource.Create.
* Eliminated nested procedure in TXMLReader.ProcessDefaultAttributes, it was redundant since
r12026.
xpath.pp:
* Moved predicate evaluation code, which is common for filter and step nodes, into
TXPathExprNode.EvalPredicate().
git-svn-id: trunk@13056 -
domunit.pp:
+ Added AssertEqualsNoCase() method.
* TDOMTestBase.Load chaned doc argument to untyped, because some tests use TDOMNode instead of a
TDOMDocument.
* Completed the URIEquals() method; changed parameter types to PChar in order to be able to
distinguish nil from empty string.
* Modified GetResourceURI method so it is capable to handle the directory structure of CVS
snapshot (level2/html using data files from level1/html).
testgen.pp:
* Counterparts to changes in domunit.pp
+ Support for renaming APIs (e.g. 'type'->'htmlType')
+ Support for enforcing the correct type of function arguments (emits 'as' operator).
api.xml:
+ Added data for DOM Level3 XPath and Level2 HTML suites.
git-svn-id: trunk@13055 -
mode (mantis #11859)
* cleaned up some superfluous "eq=te_incompatible" checks (probably from
copy/pasting conditions from elsewhere)
git-svn-id: trunk@13050 -
* Handle empty tags by emitting a pair of StartElement/EndElement
events. While this is optional in HTML parser, here in XML parser it is a requirement.
git-svn-id: trunk@13048 -
src/xpath.pp:
+ Implemented sum() and normalize-space() core functions.
* Rewrote comparison code, nodesets are now handled correctly (to the
extent of the tests which I could find).
* starts-with() and contains() return True when second argument is an
empty string - that differs from Pos() behavior.
* NaNs are propagated through mod operator, floor() and ceiling().
* Fixed memory leak caused by not releasing arguments after function
calls.
* string-value of a nodeset is the value of its first node, not all
nodes glued together.
tests/xpathts.pp:
+ Added 120 tests, most coming from OASIS Prototype XSLT/XPath 1.0
conformance test suite.
+ Tests can now take an input xml data as a string.
git-svn-id: trunk@13046 -
initialization code of units/programs, because they are already
zero and initializing them explicitly is Delphi-incompatible
(mantis #13345)
git-svn-id: trunk@13042 -
* test now tests both ansistring and widestring constants, instead of only
ansistring
* fixed writing of widestring constants to ppu file
* fixed setting length of read widestring constants (don't only set maxlen)
* handle cross-endian reading of widestring constants
git-svn-id: trunk@13034 -
of a bitpacked record in assembler code
* convert the offsets of byte-aligned fields of bitpacked records from bits
to bytes (mantis #13563)
git-svn-id: trunk@13027 -