* Fixed crash resulting out of changing TDOMDocument.OwnerDocument
from Self to nil a while ago.
* Refactored the TXPathScanner code so that it:
a) does not use UngetToken.
b) does not build CurTokenString by appending single characters.
c) moved parsing code from nested procedures to regular TXPathScanner
methods.
+ Implemented many (but not all yet) core library functions.
+ Support for scanning 'processing-instruction("name")' syntax.
+ Support for scanning 'foo:*' and 'foo:bar' node name tests.
* NodeSets are always convertible to numbers and booleans.
* String representation of an Element is its TextContent, not NodeName.
* TXPathConstantNode must Release its value, not destroy it (enables
correct result of expressions that consist of a single constant).
* Some fixes in attempt to make math operations conformant to the specs.
git-svn-id: trunk@12855 -
anything from past the end of the array (it was discarded, but this
can cause crashes if the array lies at the end of a memory block)
-- todo: also for writing
* adapted tparray13 so it checks this on unix platforms
git-svn-id: trunk@12844 -
raising an exception inside a signal handler is inherently unsafe
and often causes actual crashes on darwin (mantis #9930).
- removed an unused global typed constant (in_const_evaluation)
- removed {$ifdef havelinuxrtl10} code
git-svn-id: trunk@12826 -
secific variant type
+ support for storing qwords in streams (vaQWord, necessary for varQWord
support)
* moved variant serialisation from twriter into tbinaryobjectwriter so
it can be overridden
(all further changes for mantis #10482)
git-svn-id: trunk@12820 -
dom.pp:
* Added a comment about TDOMDocument destruction order.
* Changed declaration of standard namespaces from literals to typed
consts. This makes package operational on arm-wince which has a flaw
in WideString literal assignments (issue #13237).
Even without that bug, the change allows to save some bytes in
executable, because typed consts are only put there once, while
literals are compiled in for every unit that uses them.
htmwrite.pp:
* removed an unused variable
git-svn-id: trunk@12819 -
+ added support for ibresources, ibwpofile, ibmainname, iblinkotherframeworks
* fixed reading of tobjectdef since we started storing the vmt entries as
part of the objectdef, and since the addition of df_copied_def and
po_dispid
* fixed/completed various copies of enums in symconst/globtype
+ added note to "uses" clause about why we don't just use those units
(to save people from making the same mistake as me, realising it, and
having to change everything back)
git-svn-id: trunk@12803 -
* When OpenExeFile is called with an empty filename argument,
it apparently opens stdin and crashes immediately thereafter trying to seek in non-seekable stream.
The filename is empty whenever GetLineInfo is called with the address that does not belong to valid module.
git-svn-id: trunk@12802 -