提交历史

作者 SHA1 备注 提交日期
  svenbarth affa9f9d9c * to be on the safe side: don't include AttributeTable fields when cycling 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 3a20178d96 * fix code formatting (no code changes) 6 年之前
  svenbarth c214648224 + add a test for overloaded attribute constructors 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 3ad24c9db8 * as attributes can be part of any type they are best suited in a common part of TTypeData 6 年之前
  svenbarth a1b556d211 * considering that at least in theory every symbol and every def can carry RTTI attributes (Delphi only supports property and field symbols), move the rtti_attribute_list to tstoredsym/tstoreddef 6 年之前
  svenbarth de15025a47 * streamline retrieval of attributes (both in TypInfo and RTTI units) 6 年之前
  svenbarth 5532ac3355 * fix test 6 年之前
  svenbarth e060a43d70 * rename TAttributeData to the more appropriate TAttributeTable 6 年之前
  svenbarth c17dafc2f9 * fix TClassData by including the AttributeTable at the right location 6 年之前
  svenbarth e296b26e9e - remove unit info and related code again as that will be handled similar, but differently with dynamic packages 6 年之前
  svenbarth ee940c8270 * always write a class' reference to the attribute table, even if the unit does not have attributes 6 年之前
  svenbarth 788d976f3a * use a Word instead of a Byte for the attribute index (after all the compiler writes a Word to the count field) 6 年之前
  svenbarth 5153a288dc * it's more correct for GetPropAttribute to return a TCustomAttribute instead of a TObject 6 年之前
  svenbarth d137e06ade * instead of embedding the attributes inside the class' and property's type data only store a reference to a table of attributes 6 年之前
  svenbarth 38fad4b5cf * also check for invalid attribute data in tests 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 869664c6da * rename custom attributes related tests to something more sensible 6 年之前
  svenbarth ed5f19e7e3 * change boolean parameters for try_consume_unitsym to a set 6 年之前
  svenbarth 39bab2dbcc * rename trtti_attributesdef to trtti_attributes_list 6 年之前
  svenbarth 84848df18d Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 3/3] 6 年之前
  svenbarth f91e38d1bd Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 2/3] 6 年之前
  svenbarth b2932393df Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 1/3] 6 年之前