Commit Graph

68410 Commits

Author SHA1 Message Date
Jonas Maebe
0ca260e08c LLVM: fix currency parameters passed on the stack on x86-64
Resolves #40496
2023-11-05 11:30:19 +01:00
J. Gareth "Curious Kit" Moreton
47825610b8 * Pass 2 can now be run multiple times when
under -O3 and above.
2023-11-05 10:03:52 +00:00
Michaël Van Canneyt
8e024b2606 * Fix by Dokkie8844 to treat error codes by GnuTLS in a more graceful manner. Fixes issue #40195 2023-11-05 10:25:44 +01:00
Michaël Van Canneyt
6941409295 * Patch from Dokkie8844 to set hostname when verifying peer certificate. Fixes issue #40479 2023-11-05 10:19:34 +01:00
J. Gareth "Curious Kit" Moreton
f4da88726c * x86: Factored out the MovMov2MovMov 2 optimisation to
catch an inefficiency in the "Deep MOV" optimisations
2023-11-04 22:17:40 +00:00
J. Gareth "Curious Kit" Moreton
af1eb33a75 * x86: Fixed inefficiency in the long-range MOV optimisations 2023-11-04 22:17:40 +00:00
J. Gareth "Curious Kit" Moreton
736f5edf98 * Packages: Fixed assembler error in Hash package on x86_64 when external assembler is used 2023-11-04 21:48:13 +00:00
florian
589fb20386 * write pretty symbol name of a generic is not found during specialization 2023-11-04 22:43:53 +01:00
Michaël Van Canneyt
b388355750 * Quotes not needed. 2023-11-03 17:40:56 +01:00
Michaël Van Canneyt
4363c0b229 * Add system.analytics for Delphi compatibility 2023-11-03 17:09:28 +01:00
Michaël Van Canneyt
9197def8cc * Attempt to load .so.2. Fixes issue #40495 2023-11-03 17:02:14 +01:00
Michaël Van Canneyt
25c75b1784 * Ensure null-terminated strings. Patch by modersohn, fixes issue #40499 2023-11-03 17:01:03 +01:00
Michaël Van Canneyt
82bc91e6cf * Make explicit how much better FPC is when compared to Delphi ;) 2023-11-03 11:52:14 +01:00
Michaël Van Canneyt
be0e06bd50 * Delphi compatibility methods, unicode character type helper 2023-11-03 11:08:20 +01:00
Michaël Van Canneyt
9fe4e1247f * Fix syntax error 2023-11-03 09:48:46 +01:00
Michaël Van Canneyt
e3d3fe654c * Do not quote twice in maybequoted. Fix issue #40494 2023-11-03 09:42:05 +01:00
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