Commit Graph

2525 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
florian
c177cf7da2 * avoid overflow for tanh(<extended>) as well, was an oversight 2025-11-23 22:49:06 +01:00
florian
5eaa53faa1 * also avoid overflow in tanh(<single>) 2025-11-22 23:41:31 +01:00
florian
74028317a7 * avoid overflow in tanh 2025-11-20 22:48:22 +01:00
florian
a8953e0832 * attempt to fix overflow handling in hyperbolic harmonic functions better, still not there I think 2025-11-14 22:58:35 +01:00
florian
a9e735f257 * first approach on better exception handling on hyperbolic harmonic functions, might need more fine-grained checking for good performance 2025-11-13 23:04:42 +01:00
Michaël Van Canneyt
f94f4e4ed9 * Use last invalid type cast info in EInvalidCast exception 2025-10-16 14:46:10 +02:00
Michaël Van Canneyt
53762fe897 * Allow to retrieve info about last invalid type cast 2025-10-16 14:46:10 +02:00
Nikolay Nikolov
c18c56024d * refactor nested ifdefs by using if/elseif chain. No functional changes. 2025-09-24 03:14:19 +03: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
Ondrej Pokorny
8d6b823d4e GetInt64Prop: return unsigned value for ULong 2025-08-03 08:05:44 +00:00
Michaël Van Canneyt
84f3c4908a * In case of no DST, DST timezone offset must equal normal timezone offset 2025-08-01 16:37:56 +02:00
marcoonthegit
f7aa2f60dc * add redundant trect.normalize as per delphi docs, copied from normalizerect 2025-07-27 21:58:19 +02:00
Michaël Van Canneyt
a8fbddd7fa * Better Min/MaxExtended values. Patch by Rika. Fixes issue #40026 2025-07-23 23:24:02 +02:00
Michaël Van Canneyt
258c96c699 * Patch from Rika to add ExpM1 function. Fixes issue #40125 2025-07-23 23:11:10 +02:00
Michaël Van Canneyt
3c7d0cbe27 * Optimization by Bart. Fixes issue #40150 2025-07-23 23:07:54 +02:00
Michaël Van Canneyt
8df634e335 * Correct compare helper. Fix issue #41338 2025-07-23 17:36:54 +02:00
Michaël Van Canneyt
b590ad70d8 * Make tscoped.assign the less expensive operation 2025-05-18 13:44:04 +02:00
Michaël Van Canneyt
3c5b049f6b * LLVM workaround 2025-05-14 08:47:14 +02:00
Michaël Van Canneyt
3df8de1994 * Make FreeAndNil type safe 2025-05-13 14:11:36 +02:00
Michaël Van Canneyt
9a7a8f0d5c * Capitalize TScoped.Assign 2025-05-12 20:06:50 +02:00
Michaël Van Canneyt
e2d58b8b94 * add TScoped for auto-destroying classes, based on an idea of Loïc Touraine 2025-05-12 11:29:49 +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
Rika Ichinose
5952c5452b Allow freeing EHeapException and its descendants. 2025-04-13 17:33:45 +00: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
cbbba25198 * Patch from Eric Grange to correct TRectF.FitInto 2025-04-07 14:38:04 +02:00
Michaël Van Canneyt
4b04608a44 * Small optimization. Use SameText instead of uppercasing both strings 2025-04-07 11:55:56 +02:00
Alligator-1
cb237c9008 const for TFormatSettings 2025-03-09 14:53:24 +00:00
Michaël Van Canneyt
1a32b53f2c * Add GetTypeName, GetPropName 2025-03-04 18:01:47 +01:00
Michaël Van Canneyt
3b8a4137a5 * IInterfaceListEx 2025-02-27 17:36:43 +01:00
Michaël Van Canneyt
35a21de57c * Allow TFormatSettings.Create with string (using callback) 2025-02-19 20:36:54 +01:00
Michaël Van Canneyt
545db4a070 * Extend GetLocalTimeOffset to return Dst or not 2025-02-19 17:31:01 +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
28fc3da2bd * Patch from Eric Grange to fix TRectF.FitInto 2025-01-24 11:53:09 +01:00
Sven/Sarah Barth
9fccadc1f0 * leave GetFileContents() early if the file size is 0 to avoid a range error if the RTL is compiled with range checks 2025-01-13 23:30:02 +01:00
Rika Ichinose
9dfbc38a50 Don’t use explicit Move in Extract<T> and Swap<T>. 2024-12-23 21:06:22 +00:00