Commit Graph

69288 Commits

Author SHA1 Message Date
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
florian
8146443336 + set pi_do_call on ARM as well if we check for fpu exceptions 2024-02-17 21:03:55 +01:00
Michaël Van Canneyt
4a1a81663a * Make tests more granular by doing them each in their own routine. 2024-02-17 17:14:51 +01:00
Michaël Van Canneyt
d1f06d45b9 * Add get routines for unicode and widestring 2024-02-17 17:14:51 +01:00
Michaël Van Canneyt
3d2db25f16 * More differentiated tests, part of webassembly implementation of invoking 2024-02-17 17:14:51 +01:00
FPC_Admin
2350b34d0f Handle seperation line even when combined with last line of previous log 2024-02-17 16:06:46 +00:00
FPC_Admin
2584a271b5 Explicitly use testu version of GetFileContents function 2024-02-17 16:06:46 +00:00
Michaël Van Canneyt
8ee31342fe * Implement status support (Delphi DUnit compatibility) 2024-02-17 15:40:42 +01:00
Michaël Van Canneyt
7a29d8f54d * Fix compilation with DEBUG_NODE_XML 2024-02-17 11:04:29 +01:00
Michaël Van Canneyt
d3b8aa728e * Patch by Martin Friebe: mark duplicated handle for close instead of original 2024-02-17 11:02:42 +01:00
Michaël Van Canneyt
5305cd2734 * Patch from Martin Friebe to implement AutoCloseCustomHandle and CustomHandleIsInheritable 2024-02-17 11:02:42 +01:00
florian
a736a4bba7 + set pi_do_call on RiscV as well if we check for fpu exceptions 2024-02-16 22:48:14 +01:00
Michaël Van Canneyt
ae121a2d5e * TLoginCredentialService for Delphi compatibility 2024-02-16 21:48:50 +01:00
Michaël Van Canneyt
4f1329fb14 * added cnDeleting, cnExtracting,cnAdding to TCollectionNotification for Delphi compatibility 2024-02-16 17:54:35 +01:00
Michaël Van Canneyt
b07818e51b * Add TList.ExtractAt for delphi compatibility 2024-02-16 17:47:02 +01:00
Sven/Sarah Barth
d9903e6e16 * fix #40634: correctly check visibility for child classes in case of a mixture of specializations and non-specializations
+ added test
2024-02-16 16:54:23 +01:00
Michaël Van Canneyt
59d0af7f65 * Added Delegatedcomparer for Delphi compatibility 2024-02-16 16:13:19 +01:00
Michaël Van Canneyt
89f0e052df * Add Clients property to TBasicAction 2024-02-16 15:50:51 +01:00
Michaël Van Canneyt
cc81e18322 * Virtual key definitions added 2024-02-16 15:36:44 +01:00
Michaël Van Canneyt
f011e80cb2 * Add scCommand (command key) 2024-02-16 15:23:03 +01:00
Michaël Van Canneyt
055740e2b3 * Overloads for TResourcestream.Create 2024-02-16 14:31:01 +01:00