Commit Graph

71199 Commits

Author SHA1 Message Date
florian
cdce37b8be + SMALL_TEST define for slow CPUs/soft float 2024-12-24 16:38:30 +01:00
florian
faae36afa1 * formatting 2024-12-24 16:38:30 +01:00
Michaël Van Canneyt
7245902660 * Correctly set FDeclaredProperties length 2024-12-24 16:19:36 +01:00
Rika Ichinose
9dfbc38a50 Don’t use explicit Move in Extract<T> and Swap<T>. 2024-12-23 21:06:22 +00:00
Michaël Van Canneyt
a6e7e3e743 * Order of parent/child methods is now same as in delphi documentation 2024-12-23 19:47:19 +01:00
Michaël Van Canneyt
774e96f8a9 * Fixes after re-running test 2024-12-23 19:42:26 +01:00
Michaël Van Canneyt
8834c109fa * Extend error message SErrInvokeArgInvalidType 2024-12-23 19:21:32 +01:00
Michaël Van Canneyt
1f19edef00 * optimization of TRttiInstanceType.ResolveExtendedDeclaredProperties 2024-12-23 18:02:25 +01:00
Michaël Van Canneyt
e552165b7a * GetHasExtendedInfo returns false in TRttiMethod 2024-12-23 17:59:53 +01:00
Michaël Van Canneyt
2070a45217 * GetDataSize is 0 for empty TValue 2024-12-23 17:56:52 +01:00
Michaël Van Canneyt
4afc656ac5 * SMall optimization in TRttiInstanceMethod.GetParameters 2024-12-23 17:54:38 +01:00
Michaël Van Canneyt
b447ab211f * Small change in indexed property .ToString 2024-12-23 17:45:17 +01:00
Michaël Van Canneyt
dfd8f5c62b * TValue.Asstring for double 2024-12-23 17:45:17 +01:00
florian
c70e82bea6 * libraries must be marked with %norun 2024-12-23 16:11:45 +01:00
florian
553a1b968d * formatting
+ test for issue #41066 which was already resolved previously
2024-12-23 16:11:03 +01:00
florian
d147488133 * partly revert 8cd6606970, resolves #41052
(cherry picked from commit 854d4e6f4a5b53040160f8921d0089167f6b00be)
2024-12-23 14:27:48 +01:00
florian
24faf6e0f1 * proper naming
- remove readln
2024-12-23 10:55:06 +01:00
Rika Ichinose
f1050aeb73 Simplify dynarr.inc. 2024-12-22 21:41:31 +00:00
florian
49aa141703 * major parts of the RiscV paramgr unified, improves code generation and less failures in RiscV32 regression tests 2024-12-22 22:37:16 +01:00
florian
8023fffd3c * cosmetics 2024-12-21 19:48:33 +01:00
florian
493ad0aa73 * compiled by riscv64-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 2024-12-20 20:20:39 +01:00
Alligator-1
886c2ab7d1 Reducing indirect addressing to out parameters 2024-12-20 11:28:58 +00:00
Michaël Van Canneyt
a8345da53f * TBasicActionLink.Update must always return value. Fix issue #41070 2024-12-20 12:28:20 +01:00
Pierre Muller
81129445c3 Replace tkernel_timespecs by TTimespecArr type to allow compilation with linux RTL using libc 2024-12-20 10:06:17 +00:00
florian
4bc9f64b70 * continued unification of RiscV paramgr 2024-12-19 22:55:36 +01:00
Rika Ichinose
6035058a21 Shorten generic atomic implementations to offset the LoC cost of the commit before last.
This also fixes wrong fpc_atomic_sub_8 and fpc_atomic_sub_16 emulations.
2024-12-19 19:42:25 +00:00
Rika Ichinose
94a1f33f60 Shorten i386 and x86-64 atomic implementations to offset the LoC cost of the previous commit. 2024-12-19 19:42:25 +00:00
Rika Ichinose
bb43afd26d Add more specialized atomics for i386 and x86-64. 2024-12-19 19:42:25 +00:00
Michaël Van Canneyt
cb072b6b8c * Forgot to commit, main part of indexed properties implementation by Lipinast Lekrisov 2024-12-19 10:40:50 +01:00
Michaël Van Canneyt
b8bf81bc65 * Patch from Lipinast Lekrisov to implement indexed properties 2024-12-18 22:00:11 +01:00
Michaël Van Canneyt
060c06c052 * Test for slice 2024-12-18 21:14:19 +01:00
Michaël Van Canneyt
73287c1fa8 * Patch from Bart B to improve Slice(). Fixes issue #41068 2024-12-18 20:41:55 +01:00
Michaël Van Canneyt
76e2ee9970 * Small improvement in setting method prop, by Lipinast Lekrisov 2024-12-17 21:41:08 +01:00
Michaël Van Canneyt
a1892091ed * Improvements to TValue.ToString by Lipinast Lekrisov 2024-12-17 21:36:43 +01:00
Michaël Van Canneyt
2deb5e6557 * Invoke for record methods, refactoring method rtti by Lipinast Lekrisov 2024-12-17 21:21:23 +01:00
Michaël Van Canneyt
8a92f5f01e * Read/Write static properties. Patch from Lipinast Lekrisov 2024-12-17 18:59:53 +01:00
Michaël Van Canneyt
0acff7a7c1 * Introduce TRttiMethodType.GetMethodKind. Patch by Lipinast Lekrisov 2024-12-17 18:20:32 +01:00
Michaël Van Canneyt
4a596a2de3 * Fix compiler warnings and hints 2024-12-17 18:17:12 +01:00
Michaël Van Canneyt
cc6aabaf8b * Introduce IsClassProperty, Index and Default in TRttiProperty. Patch from Lipinast Lekrisov 2024-12-17 18:10:35 +01:00
Michaël Van Canneyt
fd10c88264 * Correct TRttiOrdinalType.GetIsOrdinal. Patch from Lipinast Lekrisov 2024-12-17 18:06:00 +01:00
Michaël Van Canneyt
072cb55315 * Get method by address. Patch by Lipinast Lekrisov 2024-12-17 17:57:30 +01:00
Michaël Van Canneyt
6c1c3e35ee * Introduce AsOrdinal. Patch by Lipinast Lekrisov 2024-12-17 17:50:31 +01:00
Michaël Van Canneyt
5a6b4ed8e4 * Delphi-compatible ToString for TRttiType. Patch from Lipinast Lekrisov 2024-12-17 17:47:36 +01:00
Michaël Van Canneyt
98a7fe6204 * TValue.From with buffer and typeinfo. Patch from Lipinast Lekrisov 2024-12-17 17:44:57 +01:00
Michaël Van Canneyt
69140d22eb * Allow to cast pointer TValue to class pointer. Patch from Lipinast Lekrisov 2024-12-17 17:39:09 +01:00
Michaël Van Canneyt
5945722811 * Introduce AsRecord. Patch by Lipinast Lekrisov 2024-12-17 17:31:01 +01:00
Michaël Van Canneyt
1c816990c3 * Allow assign of pointer to TValue. Patch by Lipinast Lekrisov 2024-12-17 17:26:33 +01:00
Michaël Van Canneyt
bb2d12457c * Add all test files to project 2024-12-17 17:25:31 +01:00
Sven/Sarah Barth
ae938e16a5 * correctly disable the Atomic*Lock functions for the fpc_atomic_cmp_xchg_*() helper fallback of the CPU size 2024-12-16 23:13:36 +01:00
florian
d33e7920a2 * more RiscV paramgr unification 2024-12-16 22:50:46 +01:00