svenbarth
|
9853ed53e8
* partial fix for Mantis #36358: apply partial, adjusted patch by Imants Gulbis to extend TRttiProperty.SetValue and TRttiProperty.GetValue
|
5 rokov pred |
svenbarth
|
be1439e93e
* partial fix for Mantis #36356: apply partial, adjusted patch by Imants Gulbis to add methods for TValue to retrieve a AnsiChar or WideChar (this is not Delphi compatible, but convenient)
|
5 rokov pred |
svenbarth
|
d98e551882
+ add a generic variant of TValue.IsType
|
5 rokov pred |
svenbarth
|
63d83de063
* ccReg is the default calling convention on selected architectures (though I wonder why x86_64 returns ccReg as well when it does not support ccReg... :/ )
|
6 rokov pred |
svenbarth
|
58ada1f547
+ add a test for RawThunk; this does not require a function call manager thus it's better to place it in the general RTTI testcase so that it's always tested
|
6 rokov pred |
svenbarth
|
62a61bdb41
* fix ifdefs for non-fpc (Lazarus likes to mess these up during auto completion...)
|
6 rokov pred |
svenbarth
|
253f65c5b2
* fix for Mantis #35687: implement TValue.FromOrdinal()
|
6 rokov pred |
svenbarth
|
34569080be
* correctly handle both Ansi- and WideChar in TValue
|
6 rokov pred |
svenbarth
|
a2a403e2e5
* fix for Mantis #35693: IsOrdinal also needs to return true for enums (with that AsOrdinal will work correctly as well)
|
6 rokov pred |
pierre
|
128982a5bc
Explicitly set values inside TestDataSize procedure to avoid range check errors as values are copied when TValue.Make is called
|
6 rokov pred |
svenbarth
|
56eaa913b5
* correctly check for the Extended value of a Currency and Comp value
|
6 rokov pred |
svenbarth
|
8d235b5f26
* more correct handling of floating point values (especially Comp and Currency) inside TValue
|
6 rokov pred |
svenbarth
|
7bb147dce0
+ add TRttiMethodType for method variables and TRttiProcedureType for procedure variables
|
6 rokov pred |
svenbarth
|
0f7f9c2bb8
+ add support for open arrays in TValue; this is *not* supported by Delphi
|
6 rokov pred |
svenbarth
|
be698b970b
* ensure the correct values for TValue.GetReferenceToRawData for TObject and dynamic array types
|
6 rokov pred |
svenbarth
|
88a9d07820
* extend test so that the methods and parameters of interfaces are checked as well
|
7 rokov pred |
svenbarth
|
c15bcc693d
* also check the base types of interfaces
|
7 rokov pred |
svenbarth
|
1cb4514526
+ add support for interface types (both reference counted and raw ones)
|
7 rokov pred |
svenbarth
|
d9bc656852
* use new pool functionality for property instances
|
7 rokov pred |
svenbarth
|
0c8f670ee0
+ add TRttiPointerType
|
7 rokov pred |
svenbarth
|
0b1b82bb2d
* test reference of empty values of different types
|
8 rokov pred |
svenbarth
|
25d9c85a87
- remove debug output -.-
|
8 rokov pred |
svenbarth
|
36451e271c
* test for unassigned TypeInfo
|
8 rokov pred |
svenbarth
|
4de7b43a5c
* enable tests of TTestMethod, TTestEnum and TTestSet now that they're public and Delphi doesn't complain anymore about them not having any runtime information...
|
8 rokov pred |
svenbarth
|
b1439c066a
* share types to reduce unnecessary duplication
|
8 rokov pred |
svenbarth
|
4dc6d1f8f6
* test for correct DataSize if value is empty
|
8 rokov pred |
svenbarth
|
5f02c30eed
* explicitely state which check failed
|
8 rokov pred |
svenbarth
|
292dff2e8c
+ add test for TValue.DataSize
|
8 rokov pred |
svenbarth
|
c74afe6824
* expand test cases
|
8 rokov pred |
maciej-izak
|
fff81bea64
* fix test run in Delphi: new Delphi (probably since XE7) has bug for method pointer which is considered as managed. Older Delphi versions are ok in this matter.
|
8 rokov pred |