Commit Graph

543 Commits

Author SHA1 Message Date
Pierre Muller
a2a5c3c915 Fix LLVM rtl compilation by disabling yield/pause inside TThread.SpinWait method 2025-12-09 19:34:46 +01:00
Michaël Van Canneyt
4284e61fcc * Fix freeing wrong list. Fixes issue #41530 2025-12-08 20:59:33 +01:00
florian
4a59ff048b * use also fpc_riscv_pause 2025-12-06 23:26:05 +01:00
Pierre Muller
9c3be3351f Fix compilation with release compiler 2025-12-06 22:09:53 +00:00
Pierre Muller
5d7d5f6d83 Fix typo in last commit 2025-12-06 21:56:18 +00:00
Michaël Van Canneyt
fa097d1ab0 * Use new pause intrinsic for platforms that support it in TThread.SpinWait 2025-12-06 15:23:01 +01:00
Michaël Van Canneyt
bc4b38a526 * More efficient algorithm for reverse in case Self is passed. By BrunoK 2025-11-27 22:11:45 +01:00
Michaël Van Canneyt
c8813fcb20 * Handle OwnsObjects when doing revert on self 2025-11-27 10:43:24 +01:00
Michaël Van Canneyt
4585fe4323 * Allow Reverse to be used on Self. Copy objects as well. Fixes issue #41508 2025-11-27 10:37:11 +01:00
Michaël Van Canneyt
d72449d461 * Remove debug statement 2025-11-26 15:26:52 +01:00
Michaël Van Canneyt
36dda17245 * Add delay parameter to ForceQueue for Delphi compatibility 2025-11-26 14:51:50 +01:00
Michaël Van Canneyt
ecd7888fc8 * Use SizeInt when checking inside strings. Fixes issue #41414 2025-09-18 15:20:39 +02:00
Michaël Van Canneyt
82368b65cd * Add ContainsObject to TStrings. Patch from Bart. Fixes issue #41405 2025-09-15 20:49:41 +02:00
Michaël Van Canneyt
ae0d1c3ae7 Add Contains() to lists and stringlist 2025-09-12 16:30:20 +02:00
Michaël Van Canneyt
628d035b50 * Make sure BOM marker is correctly compared 2025-05-01 13:33:22 +02:00
Michaël Van Canneyt
bfefdb67c3 * Parser buffer are ansichars 2025-04-29 23:35:06 +02:00
Michaël Van Canneyt
cc20d1fe06 * Result needs to be assigned when doing FindInFieldTable 2025-04-10 10:33:20 +02:00
Michaël Van Canneyt
637513ce94 * use sametext instead of converting case 2025-04-07 15:00:55 +02:00
Michaël Van Canneyt
4b04608a44 * Small optimization. Use SameText instead of uppercasing both strings 2025-04-07 11:55:56 +02:00
Michaël Van Canneyt
3b8a4137a5 * IInterfaceListEx 2025-02-27 17:36:43 +01:00
Rika Ichinose
6631f83ccf Change CompareChar uses inside compiler/RTL to CompareByte. 2025-02-07 20:51:50 +03:00
Michaël Van Canneyt
a8345da53f * TBasicActionLink.Update must always return value. Fix issue #41070 2024-12-20 12:28:20 +01:00
Michaël Van Canneyt
73287c1fa8 * Patch from Bart B to improve Slice(). Fixes issue #41068 2024-12-18 20:41:55 +01:00
Michaël Van Canneyt
6f5f567087 * Patch from Amexander Bagel to restore Delphi-compatible behaviour in TThread.Queue. Fixes issue #41043 2024-11-26 08:52:40 +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
Michaël Van Canneyt
aec11012e8 * Remove superfluous initialization of local variable. Fixes issue #40917 2024-09-13 16:09:36 +02:00
Michaël Van Canneyt
8139c0a8bd * Properly nest beginupdate/endupdate in doaddobject 2024-08-27 09:52:36 +02:00
Rika Ichinose
d7352e7b66 Remove most of the VER3_0 conditionals. 2024-08-25 09:44:11 +00:00
Michaël Van Canneyt
58560d333e * Keep old behaviour, but keep issue #40898 solved 2024-08-24 16:20:27 +02:00
Michaël Van Canneyt
edde858cfa * try to avoid incompatibility with lazarus (and possibly others) 2024-08-22 14:47:07 +02:00
Michaël Van Canneyt
8d5cf6ca5c * Alternative approach for AddObject, which does not break backwards compatibility. Fixes issue #40899 2024-08-22 08:33:38 +02:00
Michaël Van Canneyt
d3c902e5a1 * Fix behaviour of AddObject when duplicates=dupIgnore. Patch by Artem Izmaylov. Fixes issue #40898 2024-08-21 17:06:30 +02:00
Michaël Van Canneyt
487afd243e * DefineProperties can have dot in name. 2024-08-19 10:54:05 +02:00
Michaël Van Canneyt
5186044e81 * TStrings.InsertObject is virtual in Delphi 2024-08-14 15:15:08 +02:00
Michaël Van Canneyt
15ba298bae * Additional check on action. 2024-08-13 10:35:39 +02:00
Michaël Van Canneyt
2accac30ae * Check if action is assigned before calling update on it 2024-08-13 10:24:36 +02:00
Michaël Van Canneyt
634e01d525 * Improved ToString for TComponent 2024-07-11 12:08:18 +02:00
Michaël Van Canneyt
cf4fc4e385 * Add property to better simulate Delphi behaviour 2024-07-11 11:46:33 +02:00
florian
14f2d8ab08 * patch by Bart B to make SetValue delete keys with empty values as SetValueFromIndex, resolves #38214 2024-06-24 22:45:07 +02:00
Ondrej Pokorny
ee9c54d51a implement TProxyAggregateStream (Delphi compatibility) 2024-05-23 15:03:12 +00:00
Michaël Van Canneyt
d809b4ba98 * Fix wince/nativent 2024-05-14 11:53:14 +02:00
Michaël Van Canneyt
a9b8fb0f05 * Add StreamOriginalFormat to ObjectTextToBinary 2024-05-13 14:28:22 +02:00
Michaël Van Canneyt
8c8f8088eb * Seems not all was committed 2024-05-13 14:00:34 +02:00
florian
7c95ff434b * patch by Rika: fix incorrect exception handling if an exception raised in TThread decendant class's constructor, resolves #40677 2024-03-16 22:27:32 +01:00
Michaël Van Canneyt
f1c4f0c879 * Check component is not nil prior to calling validateinsert 2024-03-14 17:14:13 +01:00
Michaël Van Canneyt
97495e93b8 * Delphi compatible TCollection.Sort() using helper 2024-02-21 10:31:29 +01:00
Michaël Van Canneyt
8f8ce13b41 * Add IsUniqueGlobalComponentName 2024-02-20 11:01: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
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
89f0e052df * Add Clients property to TBasicAction 2024-02-16 15:50:51 +01:00