paul
|
937bf3cdaf
compiler: write finished zero for enumeration rtti (this was broken since r14511 fixes bug #0019288)
|
před 14 roky |
svenbarth
|
35b47e491c
Rebase to revision 17306
|
před 14 roky |
florian
|
3ce9ff93f1
+ patch by Jeppe Johansen to support automatic interrupt table generation by using the interrupt directive with an offset. Not activated yet because it requires to change also the startup code of the different mcus.
|
před 14 roky |
svenbarth
|
b0b051ae83
Introduce a new type kind for helpers in the RTTI. This is Delphi incompatible, but it's cleaner than Delphi's "let's extend some magic class". This might not matter much though, because according to Google the RTTI for class helpers seems to be rarely used.
|
před 14 roky |
svenbarth
|
96116a6c3a
Several adjustments because virtual methods in helpers are just normal methods and a VMT isn't generated for them either.
|
před 14 roky |
svenbarth
|
5218666328
* ncgrtti.pas: RTTI generation for helpers is handled like that for classes
|
před 14 roky |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
před 14 roky |
paul
|
89dc742de2
compiler: mark operator overloads as operators in rtti (although classes don't have operator overloads now)
|
před 14 roky |
sergei
|
2ff5f7a000
* For object fullrtti, add a parent 'field' regardless of whether its type needs inittable.
|
před 14 roky |
sergei
|
8cbef5627e
Fixed rtti/finalization of objects that have ancestors and fields of managed types:
|
před 14 roky |
sergei
|
cd1f8e14f4
* TRTTIWriter improvements:
|
před 14 roky |
sergei
|
b50cf9a42a
* TRTTIWriter.fields_write_rtti_data: refactoring. Since TAsmList allows random access, a separate loop iteration to count fields is redundant. Simply count the actually written fields, then insert result before field data.
|
před 14 roky |
sergei
|
b3aa9ac813
* Refactored TRTTIWriter by separating some commonly used code into procedures. Improves readability and reduces amount of typing; functionality stays unchanged.
|
před 14 roky |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
před 14 roky |
tom_at_work
|
19baf7d3e0
* changes to alignment for enumeration rtti record members: we need a Tconstptrint alignment before the MinValue/MaxValue members because the entire record needs that alignment due to some pointers inside
|
před 15 roky |
tom_at_work
|
f520989064
Fixed ordinal to string conversion for enumerations
|
před 15 roky |
tom_at_work
|
a380da6204
Fixed conversion from string to enum value for 64 bit platforms requiring proper alignment (e.g. ppc64/linux)
|
před 15 roky |
joost
|
07bf44517c
* Merged XPCom branch into trunk, added support for constref and changed
|
před 15 roky |
mazen
|
b127fc154a
* Fixed spell error revealed by lintian.
|
před 15 roky |
Jonas Maebe
|
13399280dc
* don't write rtti for static fields so we don't try to initialise/finalise
|
před 15 roky |
paul
|
24d8a7d833
compiler: start implementation of class constructors/destructors: parsing is ready but at the moment neither class constructors nor destructors are called - this is to be implemented
|
před 15 roky |
paul
|
1b614b526a
compiler:
|
před 15 roky |
Jonas Maebe
|
025ec34e4d
+ "CExtended" type that is the same as "extended", but conforming to the
|
před 15 roky |
pierre
|
9896f48317
* Fix for RTTI alignment from Paul
|
před 15 roky |
paul
|
c83fc67e32
compiler: write correct method kind for constructors,destructors and class methods
|
před 15 roky |
paul
|
db0f23e643
compiler: write not dummy unit name for enumeration and dynamic array rtti
|
před 15 roky |
paul
|
17bd267141
compiler, rtl: write calling conventions for tkMethod members (issue #0014573)
|
před 15 roky |
Jonas Maebe
|
0c675a4039
* the objc1 unit has been renamed to objc
|
před 16 roky |
Jonas Maebe
|
da7fdf76d5
* always put parameters in left-to-right order in rtti (Delphi-compatible)
|
před 16 roky |
Jonas Maebe
|
41acad1d11
+ keep track of called virtual methods per unit. -Owoptvtms will now replace
|
před 16 roky |