Commit Graph

68394 Commits

Author SHA1 Message Date
Michaël Van Canneyt
2cec31d86f * correct aDelta size 2023-11-02 13:56:53 +01:00
Nikolay Nikolov
beca14334c * use NtoLE instead of LEtoN in OMF DoRelocationFixup when converting from native to little endian. No functional changes, just better readability. 2023-11-02 14:28:48 +02:00
Nikolay Nikolov
49ce3f5d2a * big endian fix in TOmfObjData.writeReloc 2023-11-02 14:19:08 +02:00
Nikolay Nikolov
526de20d9a + introduced methods for writing endian-specific integers to TObjSection 2023-11-02 13:15:44 +02:00
Michaël Van Canneyt
2ad272f03f * Correct dependency of (System.)Character, or resulting unit is unusable 2023-11-02 12:10:36 +01:00
Nikolay Nikolov
b5fa73b82c * some fixes for the x86 assembler writer, when running on a big-endian hosted platform 2023-11-02 12:25:05 +02:00
Michaël Van Canneyt
04b28ed587 * Search config file in same directory as actual compiler binary 2023-11-02 11:07:03 +01:00
Nikolay Nikolov
a028486325 + added methods for writing ints with specific endianess in TObjData 2023-11-02 11:59:17 +02:00
Michaël Van Canneyt
5034440383 * Fix compilation of unicode RTL after patch by Rika 2023-11-02 09:53:10 +01:00
Michaël Van Canneyt
09dcd5b07a * Add wsFullScreen to TWindowState. Fixes issue #40493 2023-11-02 08:15:44 +01:00
Michaël Van Canneyt
122ef8bb76 * Make sure it compiles with 3.2.2 2023-11-01 23:37:12 +01:00
Michaël Van Canneyt
f253ca856f * Add ColorToRGB class var to TColorRec 2023-11-01 23:30:26 +01:00
Michaël Van Canneyt
df67c18f7d * Some delphi compatibility constants 2023-11-01 23:23:41 +01:00
Michaël Van Canneyt
e4ebf46df3 * Some delphi compatibility types and consts 2023-11-01 23:19:56 +01:00
Michaël Van Canneyt
d8c7b99cdd * Add some types for Delphi compatibility 2023-11-01 23:14:12 +01:00
Michaël Van Canneyt
24d8478650 * Missing functions 2023-11-01 22:48:14 +01:00
Michaël Van Canneyt
81e2db47a9 * Add some methods to TFormatSettings for Delphi compatibility 2023-11-01 21:38:55 +01:00
Michaël Van Canneyt
33950a5e22 * Add SArgumentNil 2023-11-01 21:38:55 +01:00
Michaël Van Canneyt
038f054bdc * Add varUInt32 alias for delphi compatibility 2023-11-01 21:38:55 +01:00
Michaël Van Canneyt
e48d53a2f5 * Add TEditCharCase 2023-11-01 21:38:55 +01:00
Michaël Van Canneyt
80d471a9f1 * Add HINST for Delphi compatibility 2023-11-01 21:38:55 +01:00
Rika Ichinose
0d3d4918b3 Don’t allow generic fpc_pchar_length to arbitrarily over-read. 2023-11-01 20:04:40 +00:00
Rika Ichinose
873492006d Working i386 fpc_pchar_to_shortstr; previous version didn’t support length limits smaller than 255 and was often slower. 2023-11-01 20:04:40 +00:00
Rika Ichinose
8d1d763a1a Don’t use local shortstring in generic fpc_pchar_to_shortstr, move directly to the destination. 2023-11-01 20:04:40 +00:00
Rika Ichinose
0bc1d8d446 Deny effective RTM support if CPUID bit RTM_ALWAYS_ABORT is set. 2023-11-01 17:10:14 +00:00
Michaël Van Canneyt
d0fe59feda --amend 2023-11-01 15:28:01 +01:00
Michaël Van Canneyt
c7426a37ef * (Try)Cast 2023-11-01 15:28:01 +01:00
florian
0eeba27df6 * typo fixed 2023-11-01 11:32:51 +01:00
J. Gareth "Curious Kit" Moreton
f7465bb3ec * Packages: x86_64 assembly version of SHA1Transform added to hash package 2023-11-01 09:35:47 +00:00
florian
29c8758975 * clean up strange extra char 2023-11-01 10:35:12 +01:00
florian
de69f1d858 * moved files to appropriate location 2023-11-01 10:09:40 +01:00
Rika Ichinose
dba8138175 Refactor promotional features of StrUtils. 2023-11-01 09:02:27 +00:00
florian
b2a13077c0 * redefine also PPChar and PPPChar depending on the string type mode, resolves #40491 2023-10-31 23:13:22 +01:00
Rika Ichinose
e00ab51185 On i386 and x86_64, add cpu.CPUID — high-level wrapper to CPUID instruction, and cpu.CPUBrandString — convenience for CPUID leaves 80000002, 80000003, and 80000004. 2023-10-31 21:20:45 +03:00
Michaël Van Canneyt
36ef7ca8db * Dotted rtl 2023-10-31 17:48:45 +01:00
Pierre Muller
4b49b084c5 Add CROSSASTARGET and CROSSASPROG make variables.
Pass CROSSASTARGET value to ASTARGET variable
when cross-compiling, do the same for CROSSASPROG and ASPROG.
 This allows to pass custom ASPROG (like vasm assembler)
without getting into trouble for 'singlezipinstall'
makefile target.
2023-10-31 15:02:48 +00:00
Michaël Van Canneyt
b0fd261519 * Correct permissions 2023-10-31 11:57:25 +01:00
Michaël Van Canneyt
29f7b41fc6 * Add system.devices for Delphi compatibility 2023-10-31 11:55:30 +01:00
Michaël Van Canneyt
9f3a50315b * Enable function references and anonymous functions in Delphi mode 2023-10-31 08:42:28 +01:00
Michaël Van Canneyt
b3d3b65bdf * Add TPointF.Zero 2023-10-30 14:51:39 +01:00
Michaël Van Canneyt
f07e9675f8 * Add delphi-compatible methods to TAlphaColorF 2023-10-30 11:41:50 +01:00
Pierre Muller
1529ff773f Makefile's regenerated after: Replace remaining SYSINITUNITS variable by SYSINIT_UNITS 2023-10-30 09:34:51 +00:00
Pierre Muller
ee62aa0c13 Replace remaining SYSINITUNITS variable by SYSINIT_UNITS 2023-10-30 09:34:07 +00:00
Michaël Van Canneyt
44cf5d776f * Add some constants for Delphi compatibility 2023-10-30 09:54:43 +01:00
Michaël Van Canneyt
f2d5deb26d * Adjust wasmtime interface to latest version 2023-10-30 09:17:01 +01:00
Michaël Van Canneyt
6045b3a6bd * Add Delphi-compatible DisposeOf and friends. 2023-10-30 09:17:01 +01:00
J. Gareth "Curious Kit" Moreton
5e2f088a5b * "blea" test will now display the CPU name (can be disabled by removing {$DEFINE DETECTCPU}) 2023-10-29 10:26:52 +00:00
J. Gareth "Curious Kit" Moreton
a353d7c65b * New LEA bench test 2023-10-29 10:26:52 +00:00
J. Gareth "Curious Kit" Moreton
ede47ffea9 * New "fast 3-component LEA hint" and "Icelake" CPU options 2023-10-29 10:26:52 +00:00
Michaël Van Canneyt
1ce1fcf5ae * Patch from Rika to fix broken test (tw39885) 2023-10-29 11:04:40 +01:00