Commit Graph

71169 Commits

Author SHA1 Message Date
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
Michaël Van Canneyt
5632af2afa * Correctly handle missing extensions for dotted include file names. Fixes issue #41064 2024-12-16 15:12:37 +01:00
florian
98b1aee2a5 * more RiscV paramgr unification 2024-12-15 23:01:55 +01:00
florian
f32eaa1564 * skeleton to unify the RiscV paramgr
* first routines unified
2024-12-15 15:29:05 +01:00
florian
74bad92e4d * formatting 2024-12-14 19:19:05 +01:00
Sven/Sarah Barth
5e53c7fd04 + add test that checks that the Atomic*-intrinsics work correctly inside generics 2024-12-13 22:57:25 +01:00
Sven/Sarah Barth
311c023271 * ensure that any Boolean type can be used for the Succeeded parameter and that there are no unitialized warnings
+ added test
2024-12-13 22:57:25 +01:00
Sven/Sarah Barth
6828da9c6c * fix #41062: correctly handle atomic intrinsics inside generics
+ added test
2024-12-13 22:57:25 +01:00
florian
0265d5d0c9 * test might not be precise enough with fastmath 2024-12-13 22:42:19 +01:00
florian
b26c009d90 * apply Addi0Op2Op to more operations 2024-12-13 22:24:57 +01:00
Karl-Michael Schindler
36611e66e6 Update errord*.msg
new messages and other changes in errore.msg have been translated or ported to the German message files.
2024-12-13 20:49:29 +01:00
Karl-Michael Schindler
4267545c72 Update errore.msg
typo fix and correct position of 11068
2024-12-13 20:49:29 +01:00
Michaël Van Canneyt
c29fb28bda * Fixes for unicode rtl 2024-12-13 14:40:35 +01:00
Michaël Van Canneyt
a8ccf71bd0 * Add overload, needed when specializing in Delphi mode 2024-12-13 12:36:27 +01:00
Karoly Balogh
c2ceb4bb99 m68k-amiga: fix typo from commit e94d02a0 that broke the build 2024-12-13 01:18:31 +01:00
Sven/Sarah Barth
e94d02a067 * with all existing RTLs switched over to the atomic intrinsics, the define FPC_SYSTEM_INTERLOCKED_USE_INTRIN can be removed again 2024-12-12 22:05:20 +01:00
Sven/Sarah Barth
9b302983b0 * switch LoongArch 64 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:19 +01:00
Sven/Sarah Barth
16f9ab3bdb * switch Xtensa RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:19 +01:00
Sven/Sarah Barth
128a87a2dc * switch AVR RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:18 +01:00
Sven/Sarah Barth
19d908a964 * switch RISC-V 64 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:18 +01:00
Sven/Sarah Barth
20d9ddf5ae * switch RISC-V 32 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:18 +01:00
Sven/Sarah Barth
573b82c67f * switch WebAssembly RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:18 +01:00
Sven/Sarah Barth
546c3093f7 * switch Z80 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:18 +01:00
Sven/Sarah Barth
5346faa02c * switch PowerPC 64 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:18 +01:00
Sven/Sarah Barth
fdd0ebeed9 * switch PowerPC 32 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:17 +01:00
Sven/Sarah Barth
5a6f7b3e29 * switch MIPS RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:17 +01:00
Sven/Sarah Barth
7be06582b2 * switch SPARC 64 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:17 +01:00
Sven/Sarah Barth
2e54ad65fb * switch SPARC 32 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:17 +01:00
Sven/Sarah Barth
60b8dd4276 * switch i8086 RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:16 +01:00
Sven/Sarah Barth
a815beea2c * switch M68k RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:16 +01:00
Sven/Sarah Barth
5d6c8130a0 * switch ARM RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:16 +01:00