svenbarth
2f6b15b1e2
* fix tests now that the RTTI of method pointer variables also contains the hidden parameters
...
git-svn-id: trunk@39901 -
2018-10-08 05:43:44 +00:00
Mattias Gaertner
edfd512b22
fcl-passrc: resolver: allow array property accessor argument mismatch const/default for simple types
...
git-svn-id: trunk@39899 -
2018-10-07 16:24:52 +00:00
Mattias Gaertner
ddf409d7ad
fcl-js: adapted jswriter for pas2js
...
git-svn-id: trunk@39898 -
2018-10-07 12:58:35 +00:00
svenbarth
e644e6332b
- remove forgotten debug code
...
git-svn-id: trunk@39897 -
2018-10-07 12:51:09 +00:00
svenbarth
c97b607e60
* also run invoke tests if internal function call manager is available (which we prefer to the ffi one)
...
git-svn-id: trunk@39896 -
2018-10-07 12:26:09 +00:00
svenbarth
509383aeb3
+ add define to use ffi function call manager for tests
...
git-svn-id: trunk@39895 -
2018-10-07 12:26:06 +00:00
svenbarth
ea5f407c49
+ add a TFunctionCallManager that provides built in Invoke() support for x86_64-win64
...
git-svn-id: trunk@39894 -
2018-10-07 12:26:03 +00:00
svenbarth
afc83b9f70
+ implement the high level Invoke() for TRttiMethod (currently only for interface methods), TRttiMethodType and TRttiProcedureType
...
git-svn-id: trunk@39893 -
2018-10-07 12:25:59 +00:00
svenbarth
91899c7bb1
* ensure that the elements field of ffi_type is initialized correctly so that the trick with the dynamic array works correctly
...
git-svn-id: trunk@39892 -
2018-10-07 12:25:55 +00:00
svenbarth
3bdb4aa1a2
* correctly handle ShortString, object and array fields that are part of a record/object
...
git-svn-id: trunk@39891 -
2018-10-07 12:25:52 +00:00
svenbarth
b91c856e38
* also take param flags into consideration
...
git-svn-id: trunk@39890 -
2018-10-07 12:25:49 +00:00
svenbarth
3ca2529b58
* extend TValue.ToString for a few more types
...
git-svn-id: trunk@39889 -
2018-10-07 12:25:45 +00:00
svenbarth
7bb147dce0
+ add TRttiMethodType for method variables and TRttiProcedureType for procedure variables
...
git-svn-id: trunk@39888 -
2018-10-07 12:25:42 +00:00
svenbarth
b8ae04140c
* differentiate between a list of all parameters and one of only visible ones; the former is going to be used for Invoke while the latter is returned by GetParameters
...
git-svn-id: trunk@39887 -
2018-10-07 12:25:39 +00:00
svenbarth
0f7f9c2bb8
+ add support for open arrays in TValue; this is *not* supported by Delphi
...
Note: open array TValue "instances" are only valid till the routine with the open array parameter has returned, but they can be converted to a dynamic array value with the help of the OpenArrayToDynArrayValue<> function
git-svn-id: trunk@39886 -
2018-10-07 12:25:36 +00:00
svenbarth
b9ec7e1e06
* generate RTTI for *all* parameters of a method or procedure variable
...
git-svn-id: trunk@39885 -
2018-10-07 12:25:33 +00:00
svenbarth
bb11ec6375
+ add TRttiType.GetMethod to find a method by name
...
git-svn-id: trunk@39884 -
2018-10-07 12:25:30 +00:00
svenbarth
be698b970b
* ensure the correct values for TValue.GetReferenceToRawData for TObject and dynamic array types
...
git-svn-id: trunk@39883 -
2018-10-07 12:25:27 +00:00
svenbarth
a8b2ad31d1
* fix for Mantis #34355 : correctly check whether the array constructor is empty (aka []) or not
...
git-svn-id: trunk@39882 -
2018-10-07 12:25:24 +00:00
svenbarth
00e700d598
* adjust Invoke API of FunctionCallManager to not rely on TValue
...
git-svn-id: trunk@39881 -
2018-10-07 12:25:21 +00:00
svenbarth
76a95f61e2
* fix warning about result not being initialized
...
git-svn-id: trunk@39880 -
2018-10-07 12:25:18 +00:00
svenbarth
608da3d255
* ensure that a valid reference to the raw data is provided as long as the typeinfo is set
...
git-svn-id: trunk@39879 -
2018-10-07 12:25:15 +00:00
svenbarth
daa91bc462
* fix casing of constructors so that Lazarus doesn't complete them in lowercase
...
git-svn-id: trunk@39878 -
2018-10-07 12:25:12 +00:00
svenbarth
2f74a51eb8
* fix .seh_savereg: the offset is checked with a bitmask, not a divisor, so use "and", not "mod"
...
git-svn-id: trunk@39877 -
2018-10-07 12:25:09 +00:00
florian
40598944f8
+ support fpc include output in avx test generation code
...
git-svn-id: trunk@39876 -
2018-10-07 10:10:20 +00:00
florian
8943c0584e
+ patch by J. Gareth Moreton to support BMI2 instructions
...
+ extended avx test generator with the newly added BMI2 instructions
git-svn-id: trunk@39875 -
2018-10-07 10:10:19 +00:00
florian
172384fedd
* fix to write correct output file name
...
git-svn-id: trunk@39874 -
2018-10-07 10:10:17 +00:00
florian
5604e98b1c
+ lazarus project files for the avx assembler test generators
...
git-svn-id: trunk@39873 -
2018-10-07 10:10:16 +00:00
yury
87c5e703fb
* revision.inc
...
git-svn-id: trunk@39872 -
2018-10-06 18:43:14 +00:00
yury
42c46207cd
* Corrected TUContext record for aarch64-linux and aarch64-android. It fixes obtaining of an address of the instruction where a signal has thrown.
...
git-svn-id: trunk@39871 -
2018-10-06 18:36:02 +00:00
florian
15e656c36e
+ -x option to output all numeric constants as hex constants
...
git-svn-id: trunk@39870 -
2018-10-06 16:28:19 +00:00
yury
19fa828466
* android: Use the current dir as temp.
...
git-svn-id: trunk@39869 -
2018-10-06 15:20:20 +00:00
yury
ff3d7862d6
* Erase the temp file.
...
git-svn-id: trunk@39868 -
2018-10-06 15:10:24 +00:00
yury
ddb4e37104
* Define slowcpu for android.
...
git-svn-id: trunk@39867 -
2018-10-06 13:58:05 +00:00
yury
5e92e2d23f
* Fixed crash in DiskFree() and DiskSize() on Unices due to out of bound read of the DriveStr[] array in rare cases.
...
git-svn-id: trunk@39866 -
2018-10-06 13:52:56 +00:00
yury
212eca24d1
* Set ICU data dir if it is not set by the system. It fixes issues on newer Android versions.
...
* Added more predefined ICU versions.
git-svn-id: trunk@39865 -
2018-10-06 13:28:37 +00:00
yury
46b89f0ef9
* Modified test to not create sub-dirs outside the test's directory.
...
git-svn-id: trunk@39864 -
2018-10-06 10:03:36 +00:00
yury
8c59eb1ce5
* Regenerated makefiles to support aarch64-android.
...
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
yury
671d31df1d
+ Added support for the aarch64-android target.
...
git-svn-id: trunk@39862 -
2018-10-06 09:33:09 +00:00
florian
c7a0022146
* fix building with LLVM=1, thanks to Karl-Michael Schindler for the hint
...
git-svn-id: trunk@39861 -
2018-10-05 20:56:56 +00:00
yury
23006d16f5
* Fixed UnhookSignal when RTL_SIGDEFAULT is passed. The bug have caused crash on aarch64-android due to out of bounds read of the rtlsig2ossig[] array.
...
git-svn-id: trunk@39860 -
2018-10-05 18:33:55 +00:00
Mattias Gaertner
ada940e80d
pastojs: char( #10 ), widechar(#$e000)
...
git-svn-id: trunk@39857 -
2018-10-05 12:25:44 +00:00
Mattias Gaertner
3115dbc450
fcl-passrc: resolver: char( #10 ), widechar(#$e000)
...
git-svn-id: trunk@39856 -
2018-10-05 12:25:30 +00:00
Mattias Gaertner
34c7fe4d65
fcl-passrc: resolver: char( #10 ), widechar(#$e000)
...
git-svn-id: trunk@39855 -
2018-10-05 12:25:19 +00:00
Mattias Gaertner
dee3d638d4
fcl-js: started adapting jswriter for pas2js
...
git-svn-id: trunk@39854 -
2018-10-03 17:25:42 +00:00
Mattias Gaertner
e150f1f8cb
fcl-js: adapted jsbase for pas2js
...
git-svn-id: trunk@39853 -
2018-10-03 11:19:44 +00:00
marco
618935b433
* fix for #34375 , make lpshcolumnid a pointer.
...
git-svn-id: trunk@39852 -
2018-10-02 16:42:56 +00:00
Mattias Gaertner
cec7188704
pastojs: added option -JoCheckVersion
...
git-svn-id: trunk@39851 -
2018-10-02 14:58:05 +00:00
marco
a32a6bca90
* fix for r34373
...
git-svn-id: trunk@39850 -
2018-10-02 11:26:37 +00:00
pierre
0e0b43889f
Use vfpv2 as default fpu for eabihf if cpu is below armv7
...
git-svn-id: trunk@39849 -
2018-10-01 21:50:13 +00:00