Commit Graph

69308 Commits

Author SHA1 Message Date
Michaël Van Canneyt
ad93958e5b * Add delphi-compatible constant (including the typo in the name ;)) 2024-02-20 11:08:39 +01:00
Michaël Van Canneyt
8f8ce13b41 * Add IsUniqueGlobalComponentName 2024-02-20 11:01:35 +01:00
Michaël Van Canneyt
6f25cccda9 * Select proper stringbuilder depending on size of char 2024-02-20 10:46:44 +01:00
Michaël Van Canneyt
0790b98277 * Correct case 2024-02-20 10:36:14 +01:00
Michaël Van Canneyt
1e1b273c67 * Correct TCharArray declaration, disambiguate between widechar/char 2024-02-20 10:16:56 +01:00
Karoly Balogh
572a340a26 m68k-atari: mark functions and API calls related to exiting the program as noreturn 2024-02-20 03:56:17 +01:00
Karoly Balogh
eb6f29d084 m68k: disable verbose error reporting of the stub unicode and threadmanagers by default on Amiga, Atari, Human68k, and Sinclair QL 2024-02-20 03:56:17 +01:00
Karoly Balogh
88c7954d9f rtl: add two defines toallow disabling the verbose error of the stub unicodestringmanager and threadmanager 2024-02-20 03:56:17 +01:00
florian
bf57750436 * cosmetics 2024-02-19 22:27:06 +01:00
florian
a75e453c30 + thlcgobj.location_force_mem now supports LOC_JUMP as well, resolves #40650 2024-02-19 22:22:12 +01:00
Pierre Muller
728fb7c58c Set ba variable upfront to avoid warning treated as error 2024-02-19 22:12:46 +01:00
Jonas Maebe
a512273976 WPO: handle classes defined in localsymtables
Can happen since the support for anonymous methods
2024-02-19 21:26:42 +01:00
florian
906571fa25 * improve pretty printing of symbols 2024-02-19 20:41:08 +01:00
Pierre Muller
79ed0db624 Avoid warning about unintialized 'ba' variable 2024-02-19 20:37:35 +01:00
Pierre Muller
2044868c10 Swap real constant in internal assembler 2024-02-19 20:19:36 +01:00
Pierre Muller
e3b93b07c6 * Fix writereloc for cross-endian compilation 2024-02-19 20:19:36 +01:00
Pierre Muller
f3e03f0483 Fix tabs 2024-02-19 20:19:35 +01:00
Pierre Muller
1d1e070ad2 Support cross-endian compilation for telfobjdata.writereloc method 2024-02-19 20:19:35 +01:00
Pierre Muller
5c564ea940 Use writeint8/writeuint8 methods to avoid cross-endian issues 2024-02-19 20:19:35 +01:00
Pierre Muller
ca6fe96360 Add writeInt8/writeUInt8 methods to fix some cross-endian generation issues 2024-02-19 20:19:35 +01:00
Michaël Van Canneyt
30f514eb6b * Add CanObserve and ObserverAdded to TComponent, for delphi compatibility 2024-02-19 11:21:42 +01:00
Pierre Muller
71a46465c8 Fix msdos compilation failure by using CodePointer type for GetCodeAddress TRttiRecordMethod function 2024-02-19 09:37:29 +01:00
Michaël Van Canneyt
c9888f9774 * Remove uses of exttypes 2024-02-19 09:13:44 +01:00
florian
af482fde23 * generate specializations only of no error happened so far to prevent further (internal)errors, resolves #40646 2024-02-18 23:08:21 +01:00
Rika Ichinose
2d6294eb26 MovQ + Shr → PExtrW. 2024-02-18 21:37:39 +00:00
Rika Ichinose
e5b47310c8 Supposedly faster i386 int() and frac(). 2024-02-18 21:37:39 +00:00
Michaël Van Canneyt
ccb1985953 * Fix latex error due to unescaped dollar 2024-02-18 21:39:04 +01:00
Michaël Van Canneyt
ca8d867d57 * Get extended methods, fields and property info. 2024-02-18 21:36:05 +01:00
Michaël Van Canneyt
b7e8dd6268 * Add optional parameter to get methods of only current class 2024-02-18 21:36:05 +01:00
Pierre Muller
462d0eb07c Restrict use of A_MOVE to ufromsize and utosize = OS_INT. (contributed by Jinyang He)
Fix issue #40648
2024-02-18 20:18:50 +00:00
Sven/Sarah Barth
ae06528db4 + add test for already fixed #24285 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
60c94c50ff + add test for now fixed #40639 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
ea102d792f * fix #40634 the 2nd: a (strict) protected symbol in a parent class of the owner is supposed to be visible
+ added test
2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
5e05630713 * fix the internal error of #40639; however as the test code in question will only compile correctly with the next commit no test is added yet 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
1dbde8a79d - remove no longer required check as that is now handled by check_strict_private (not to mention that the check had been placed incorrectly anyway...) 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
11200cfaf6 * use check_strict_private and check_strict_protected in their respective non-strict checks to avoid code duplication 2024-02-18 19:35:23 +01:00
Sven/Sarah Barth
852aee489c * move the checks for strict private and protected into their own nested functions 2024-02-18 19:35:23 +01:00
J. Gareth "Curious Kit" Moreton
afd63ef0ce * New test for !40643 2024-02-18 15:37:27 +00:00
J. Gareth "Curious Kit" Moreton
ae927b0689 * x86: Fixed "Cmp1Jl2Cmp0Jle" and "CmpJe2NegJo" optimisations
being applied incorrectly if another jump follows
2024-02-18 15:37:27 +00:00
J. Gareth "Curious Kit" Moreton
e406cbd9c8 * x86: Minor efficiency gains in OptPass1CMP 2024-02-18 15:37:27 +00:00
J. Gareth "Curious Kit" Moreton
068b8f9e9d * New test for i40647 2024-02-18 15:31:20 +00:00
J. Gareth "Curious Kit" Moreton
1e0f6f9f64 * x86: Fixed error in "LeaLea2Lea 1" optimisation
not properly accounting for the first LEA
	 instruction having a repeated register
2024-02-18 15:31:20 +00:00
marcoonthegit
f582f93a0a * git changed to 1024 for mnamelen apparently fixes tdos1 test crash 2024-02-18 16:03:22 +01:00
marcoonthegit
e9b12b41db * also add stack note for trunke 2024-02-18 15:27:23 +01:00
Michaël Van Canneyt
9000f8742d * Fix error in TReadr.ReadString. Fixes issue #40652 2024-02-18 10:44:20 +01:00
Michaël Van Canneyt
f6ce76b638 * Fix in overloads of GetFieldList 2024-02-18 10:44:20 +01:00
Pierre Muller
8122defbd8 Add test for bug report 40537 2024-02-17 21:33:52 +00:00
Pierre Muller
d621cef988 Reenable semaphore support for NetBSD and OpenBSD in syncobjs unit 2024-02-17 21:33:52 +00:00
Pierre Muller
692754b422 Move test to end of possible conversion and add check_valid_var boolean variable 2024-02-17 21:33:52 +00:00
Pierre Muller
f39cfc75fc First attempt to fix bug report #40537 2024-02-17 21:33:52 +00:00