Jonas Maebe
|
a051b8d225
- remmoved doregister parameter from t*sym constructors, as the registration
|
5 سال پیش |
Jonas Maebe
|
956aab3be0
* implement support for the Objective-C "related result type" convention
|
6 سال پیش |
florian
|
aac8559a8d
* some runtime errors fixed, if compiled with -CrR
|
6 سال پیش |
svenbarth
|
c282f21b1b
* don't bother finding the correct constructor if the attribute isn't a TCustomAttribute descendant anyway; simply skip the parameters in that case
|
6 سال پیش |
svenbarth
|
6cde8ab4cb
* fix for Mantis #35866: parse_paras does not check whether the expressions are really constant, so check that manually
|
6 سال پیش |
svenbarth
|
b7a8dd9479
* adjust error message when attributes are unbound
|
6 سال پیش |
svenbarth
|
87458a065c
* allow use of multiple, comma separated attributes as Delphi allows that as well
|
6 سال پیش |
svenbarth
|
98b1b04951
* free unbound attributes
|
6 سال پیش |
svenbarth
|
404b465c33
* allow custom attributes for all type declarations that are not a simple alias
|
6 سال پیش |
svenbarth
|
80ebb98431
* correct identation (no code changes)
|
6 سال پیش |
svenbarth
|
8ce4f9606d
* explicitely store the procdef of the picked constructor of the attribute
|
6 سال پیش |
svenbarth
|
a64a8f8deb
- remove code to create an attribute using a synthetic function
|
6 سال پیش |
svenbarth
|
402728239f
* trtti_attribute_list.bind already checks whether the dangling attribute list is assigned or not
|
6 سال پیش |
svenbarth
|
ced3885dbb
* generate construction function for the attributes used in a unit using a more straight forward approach
|
6 سال پیش |
svenbarth
|
0b63e89ba2
* make the reference to the TCustomAttribute type global
|
6 سال پیش |
svenbarth
|
d9d2515ada
* move binding of a dangling attribute list to a sym's/def's attribute list to a class procedure of trtti_attribute_list
|
6 سال پیش |
svenbarth
|
5cea374255
* add a remark that's going to be important once extended RTTI is supported (Delphi programs crash if an attribute's constructor is used that does not have any extended RTTI)
|
6 سال پیش |
svenbarth
|
d31dd4ac7b
* better check for a valid call node
|
6 سال پیش |
svenbarth
|
99914b4279
* instead of collecting the raw parameters we need to collect the parameters as passed to the call as there might be type conversions involved
|
6 سال پیش |
svenbarth
|
b5e6c0b98d
* ensure that any potentially created constructor call is freed if the attribute is not bound to a def or sym
|
6 سال پیش |
svenbarth
|
0e04d9b4de
* store the parameter nodes in the attribute object as well (we need to write them to the RTTI as well as store them in the PPU)
|
6 سال پیش |
svenbarth
|
db37146f12
* rework code for parsing attributes to only allow constant expressions; Delphi only allows those as well and better we don't open *that* pandora's box just yet
|
6 سال پیش |
svenbarth
|
ab2fa724ec
* fix code formatting (no code changes)
|
6 سال پیش |
svenbarth
|
62c137a6d8
* check that we indeed have a type node and nothing else
|
6 سال پیش |
svenbarth
|
f1715ff337
* fix code formatting (no code changes)
|
6 سال پیش |
svenbarth
|
e296b26e9e
- remove unit info and related code again as that will be handled similar, but differently with dynamic packages
|
6 سال پیش |
svenbarth
|
ba413bcdfc
* fix typo
|
6 سال پیش |
svenbarth
|
24c4b90343
* instead of declaring another type with a 'attribute' suffix, *search* for another type with a 'ATTRIBUTE' suffix (Delphi allows declaring both a TFoo and TFooAttribute in the same unit)
|
6 سال پیش |
svenbarth
|
39bab2dbcc
* rename trtti_attributesdef to trtti_attributes_list
|
6 سال پیش |
svenbarth
|
b2932393df
Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 1/3]
|
6 سال پیش |