Commit Graph

71136 Commits

Author SHA1 Message Date
Kirill Kranz
c3ad885277 set stack top to 801FFFF0 as in system.cnf 2024-11-09 09:27:27 +00:00
Kirill Kranz
f6726b6a87 InitHeap to aligned size 2024-11-09 09:27:27 +00:00
Michaël Van Canneyt
d486463bc1 * Test for #41002 2024-11-09 09:58:43 +01:00
florian
fe6dd84d01 + new tests 2024-11-09 09:51:59 +01:00
Michaël Van Canneyt
d96448cfaf * Patch from Евгений Савин to fix missing ansistring conversion in TryCast. Fixes issue #41002 2024-11-09 09:53:06 +01:00
Michaël Van Canneyt
6e73a3b0e1 * Patch from Alfred Glänzer, fix FindComponentClass to use actual typinfo structures. Fixes issue #41000 2024-11-09 09:46:14 +01:00
Ondrej Pokorny
bdb3d097b5 fix AtomicDecrement(Cardinal) overload 2024-11-09 08:34:07 +00:00
Sven/Sarah Barth
bb27442b19 * when removing the STP FP,LR and MOV FP,SP instructions, also remove the corresponding SEH directives if available 2024-11-08 23:30:16 +01:00
Sven/Sarah Barth
b67415d1a8 * don't generate pdata and xdata if there is neither a relevant prologue nor a handler 2024-11-08 23:30:15 +01:00
florian
f2d44148fb * patch by Rika to fix position reporting in macro redefintions, resolves #40082 2024-11-08 22:14:30 +01:00
Sven/Sarah Barth
552ba93536 * on aarch64-win64 we need to restore the stack by first increasing the stackpointer and then restoring FP to match the code from the prologue 2024-11-08 18:18:12 +01:00
Sven/Sarah Barth
465537583b * on aarch64-win64 do the assignment of the exception frame pointer only after the SEH prologue has been done as there is no SEH directive for assigning a register to FP 2024-11-08 18:17:12 +01:00
Sven/Sarah Barth
b7afb6237f * fix encoding of ash_savereg and ash_savereg_x 2024-11-08 17:42:35 +01:00
Sven/Sarah Barth
bc03b48632 * correctly declare KNONVOLATILE_CONTEXT_POINTERS.IntegerContext for ARM64 2024-11-08 16:56:36 +01:00
Sven/Sarah Barth
0430e1bd1a * pass all const record parameters on aarch64-win64 as references due to the habit of passing records as pointers by using the const modifier in the Windows unit 2024-11-08 16:47:39 +01:00
Sven/Sarah Barth
57fd8f13c9 * fix grammar 2024-11-08 16:37:11 +01:00
Sven/Sarah Barth
6efe984a2d * fix #39407: multi variable initialization is not allowed in any mode, so don't say it's only not allowed in Delphi mode 2024-11-08 16:36:01 +01:00
Michaël Van Canneyt
f35384ba53 * Attributes for methods test 2024-11-08 12:15:28 +01:00
Michaël Van Canneyt
22d7033d18 * Attributes for methods. Fixes issue 41001 2024-11-08 11:11:26 +01:00
Zoë Peterson
208806f27f Make SysUtils' TSystemTime declaration on non-Windows platforms compatible with the Win32 and Delphi declarations 2024-11-07 18:58:18 -06:00
Frederic Kehrein
6618c0dbf7 Fixing a bug where an empty postfix for enum was allowed 2024-11-07 21:09:37 +00:00
marcoonthegit
1ccc23fa70 * SetFilePointerEx, requested on forum. 2024-11-07 12:23:30 +01:00
Michaël Van Canneyt
3f4298dbca * OpenAPI, initial commit 2024-11-07 10:51:52 +01:00
mattias
c2584561a1 fcl-json: clean up 2024-11-07 10:24:54 +01:00
Nikolay Nikolov
2cefdd35b5 + WASI threads: define FPC_WASM_WORKER_THREADS_CAN_WAIT. It is actually true in
all known cases (command line WASI or browser).
2024-11-07 01:41:22 +02:00
Pierre Muller
7b492b9975 Add DosExitCode to DosError shl 16 to set ExitCode value in utils/dosbox/exitcode.pas program 2024-11-06 22:21:22 +00:00
Pierre Muller
dd6efefdbf Adapt to dosbox-x 2024-11-06 22:21:22 +00:00
Pierre Muller
3bee7636dd Add command line in verbose mode 2024-11-06 22:21:22 +00:00
Pierre Muller
f4a413fabd Add rule to generate exitcode.exe dos/go32v2 binary, required by dosbox_wrapper 2024-11-06 22:21:22 +00:00
Michaël Van Canneyt
f523503828 * Calculate dependencies correctly, only generate definitions for schema types 2024-11-06 21:19:32 +01:00
Michaël Van Canneyt
8486986ad7 * Remove double 2024-11-06 16:57:36 +01:00
marcoonthegit
4affa41a43 * and redef with int64 typing 2024-11-06 16:51:06 +01:00
marcoonthegit
715e727dc3 * add getfilesizeex as per 440BX' request. 2024-11-06 16:51:06 +01:00
Michaël Van Canneyt
091189a40c * Allow attributes on sub types. Fixes issue #40997 2024-11-06 16:47:13 +01:00
Michaël Van Canneyt
2d40b7c463 * SortProperties public 2024-11-06 16:47:13 +01:00
Michaël Van Canneyt
75987e9f0a * Make sure it compiles with dotted units 2024-11-06 16:40:48 +01:00
Sven/Sarah Barth
8450d4f5e7 * fix #40993: "inherit" the default RTTI options of a non-System unit from TObject as that picks up whatever had been declared in the System unit 2024-11-05 23:23:56 +01:00
Sven/Sarah Barth
bcdef8341e * fix #40992: correctly handle padding inside the FFI Invoke manager
+ added test
2024-11-05 23:23:56 +01:00
Pierre Muller
6e575e753e Add missing sub-directories from test/packages directory 2024-11-05 21:53:21 +00:00
florian
4784c141e3 * enable gtk2 for android, based on a patch (adapated to 3.3.1) by Alfred Glänzer in #40994 2024-11-05 21:49:18 +01:00
Sven/Sarah Barth
d9ec917586 * in the Win64 ABI all const record parameters are passed by reference 2024-11-04 23:15:29 +01:00
Rika Ichinose
8498eacdeb Remove unused cutils functions. 2024-11-04 22:05:03 +00:00
Sven/Sarah Barth
f70a430b6f * fix compilation on systems where SizeOf(CodePointer) <> SizeOf(Pointer): disable ToString for tkMethod on these systems for now 2024-11-04 21:59:50 +01:00
Michaël Van Canneyt
cce871258e * Rename version constant 2024-11-04 11:49:18 +01:00
Rika Ichinose
0b97f169b0 Remove conditionals that rely on not defined(FPC_HAS_CPSTRING). 2024-11-04 10:28:33 +00:00
Michaël Van Canneyt
e2431d41ae * Some minor cleanup. Fixes issue #40991 2024-11-04 11:27:39 +01:00
Michaël Van Canneyt
cc0adf66d0 * Tests for code generation. Change type handling to create pascal type data for all data 2024-11-04 11:27:39 +01:00
Michaël Van Canneyt
b8cc7fb175 * Some cleanup, fix warnings/hints 2024-11-04 11:27:39 +01:00
Lipinast Lekrisov
2469fe8d70 Fixed TRttiRecordType.ResolveProperties (records do not have a published section) 2024-11-03 20:28:09 +00:00
Lipinast Lekrisov
f7bcabd956 Added TRttiIndexedProperty, the whole property handling infrastructure has been significantly redesigned 2024-11-03 18:07:45 +00:00