records: as an array of 10 bytes. We handle indexing dynamic arrays
the same as indexing other arrays, and hence that code expects extended
to be encoded the same way.
git-svn-id: trunk@34116 -
- Add new properties for
TField:
.AsAnsiString, AsUnicodeString, AsUTF8String
TParam:
.AsAnsiString, AsUnicodeString, AsUTF8String
- Add CodePage to TStringField and TMemoField
(so character fields are now CodePage aware, like AnsiString; default CodePage is CP_ACP=0)
git-svn-id: trunk@34098 -
Reset tstoredsymtable.init_final_check_done when a symbol is added or removed as otherwise property getters in a record *before* any managed field would trigger it, thus leading to the record being considered as "non-managed".
git-svn-id: trunk@34088 -
Previously we had the following approach:
- classes that implemented interfaces had an interface table
- classes that didn't implement an interface, but inherited from a class that did had a Nil entry
- classes that didn't implement any interface (including their parents) had a reference to FPC_EMPTYINTF (this was to optimize lookups)
Now the approach is as follows:
- classes that implement an interface or have a parent that implements an interface have an interface table; if the class itself doesn't implement an interface then the count will be 0
- classes that don't implement an interface at all (neither them nor their parents) have a Nil interface table
This way FPC_EMPTYINTF can be removed without sacrificing at least the optimization for classes without any interface. For classes that have parents with interfaces there will be a small speed penalty due to an additional lookup for the counter.
git-svn-id: trunk@34087 -
always be different from the old location, since we just allocated
the registers for the new one above. Should the old registers ever
be needed again for tai_varloc: rr.old/rr.oldhi contains it
git-svn-id: trunk@34086 -
initialloc was already set afterwards, now it's also done in the final
case (and allocating the initial location should be different from
setting the current location)
git-svn-id: trunk@34085 -
+ Make sure that a lone reference to DGROUP also generates a 'GROUP DGROUP' statement
+ Add %LINE support
+ Add $DEBUG for i8086 nasm
git-svn-id: trunk@34080 -
is reset (mantis #28814)
o if they are freed in end_of_parsing, they need to be recreated in case the
unit needs to be recompiled anyway during the current run
o in other cases they need to be reset since they will be repopulated during
the recompilation
git-svn-id: trunk@34069 -
TTF: Fixes failing tests due to newly added font to the test suite.
Font count went from 4 to 5.
TTF: fix bug where Postscript.FontAngle had the wrong data type.
Updated the unit tests, but extending them with Liberation Sans Italic font.
git-svn-id: trunk@34060 -