the use of Objective-C 1.0 constructs. Because it is a mode switch, it
can be used cumulatively with every syntax mode. Note that a {$mode xxx}
statement resets all mode switches as well, so you cannot use the
-Mobjectivec1 variant if you have such a statement in a unit. This
modeswitch is currently only enabled for Darwin/PowerPC and Darwin/i386,
as the backend support is not yet implemented for other platforms.
+ implemented selector() statement that can be used to create an Objective-C
selector for the message with the specified *constant* name (in the future,
it will also work for Objective-C method identifiers)
+ added SEL type to the system unit (the selector() statement returns it)
+ added all Objective-C segments to the assembler writers
+ (currently mostly dummy) objc1 unit that is automatically included if the
{$modeswitch objectivec1} statement is used
+ some tests for the selector() statement
git-svn-id: trunk@12870 -
* CGI and Apache applications temporary uploaded files will be deleted after
a request is handled
* Temporary files are not created with a single CRLF in them (those are in fact
empty files
git-svn-id: trunk@12863 -
client could connect to it. Now a maximum of one client can connect to it.
* Debugtest now shows an error immediately when it cant connect to a server
* Use dbugsrv as default server name to start when no server is found
* Set SendError when the startup of the debug-server failed
* When connecting to the debug-server fails, clean up resources and set
DebugDisabled to false, to avoid an AV on a second try
git-svn-id: trunk@12861 -
Fixes a bug in internal DTD subset processing, which was preventing
tokens that cross input buffer boundary from being correctly added to
DocType.InternalSubset (the first part of such tokens was dropped).
git-svn-id: trunk@12860 -
* 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 -