Frederic Kehrein
23dd7a5173
Adding TNullPtr to types
...
Additional changes:
* Now using TNullPtr instead of custom type in TNullable
* Adding assignment of variants with TNulPtr to avoid name conflicts
* Adding comparison to TNullPtr (Pointers, TObjects, TNullable)
2024-10-02 05:30:09 +00:00
Michaël Van Canneyt
aec11012e8
* Remove superfluous initialization of local variable. Fixes issue #40917
2024-09-13 16:09:36 +02:00
florian
a867530056
* another fix of cosh/sinh overflow checking
2024-09-06 22:24:38 +02:00
florian
81ffe0ed36
* improved cosh/sinh argument checking
2024-09-05 22:21:56 +02:00
florian
d4a2f67a6d
+ check argument range for cosh/sinh
2024-09-04 22:08:45 +02:00
florian
1850eab89a
* ensure that the final assignment in the hyperbolic functions raises an exception if they overflow
2024-09-02 21:35:54 +01:00
florian
d8278b1699
* make typing more consitent; cosmetics
2024-08-30 21:42:07 +01: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
florian
2f0cd77d86
* remove outdated defines, resolves #40897
2024-08-21 23:08:33 +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
0533acdc27
* Add RangeIndexError (delphi compatible)
2024-08-14 15:14:24 +02:00
Michaël Van Canneyt
15ba298bae
* Additional check on action.
2024-08-13 10:35:39 +02:00
Michaël Van Canneyt
68acd78640
* Add SMEnuSeparator for Delphi compatibility
2024-08-13 10:32:29 +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
Rika Ichinose
a575a5c0fd
Move Int128Rec to System; remove i386 and x86_64 CPU unit dependency on SysUtils.
2024-07-15 13:31:20 +00: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
Michaël Van Canneyt
0b4d9a6732
* Some utility routines
2024-07-11 11:46:33 +02:00
Ondrej Pokorny
617d56f23a
Move EqualsValue/LessThanValue/GreaterThanValue to unit Types, refer to them in the Math unit
2024-07-10 11:38:42 +02:00
Alligator-1
326073512d
const array - reducing unnecessary data copying
2024-07-08 06:26:17 +00:00
Michaël Van Canneyt
680c096ac5
* Delphi compatibility: ListIndexErrorMsg
2024-07-05 15:55:47 +02:00
Michaël Van Canneyt
816e3fc538
* Some routines for list index error, delphi-compatible
2024-07-05 15:35:33 +02:00
florian
f67165ae31
* empty Rect does not extend the rect in UnionRect, based on patch provided by Werner Pamler, resolves #40680
2024-07-04 22:40:42 +02:00
Michaël Van Canneyt
193f20b697
* Merge request !710
2024-07-03 08:32:17 +02:00
Alligator-1
10dd493057
without copy
2024-07-03 09:05:02 +05:00
Michaël Van Canneyt
8cd3e72b36
* Reflow code for clarity
2024-07-01 08:32:10 +02:00
Alligator-1
c2bca23fd1
Taking advantage of fpc_ansistr_concat_multi
2024-07-01 08:54:32 +05:00
Alligator-1
f60bed0823
Without a copy in most cases
2024-06-30 22:04:42 +05: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
Rika Ichinose
ff9fe851fb
Let “Trim”s return string uncopied.
2024-06-09 19:35:22 +00: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
Michaël Van Canneyt
d6cf3c98d0
* Add constants cPI and friends, for delphi compatibility
2024-05-06 18:01:30 +02:00
florian
a0cae50af6
* rtl part of #35433
2024-05-01 23:15:12 +02:00
marcoonthegit
2ec99cc82e
* skip empty path components in concatpaths, related to #40682
2024-04-03 14:40:32 +02:00
Michaël Van Canneyt
6689e2fe21
* Fix result of TFPSList.Expand in case of early exit
2024-03-31 11:14:50 +02:00
Michaël Van Canneyt
33f6a9042d
* Minor improvement of TFPSList.Expand
2024-03-31 11:11:08 +02:00
Michael Van Canneyt
c17cbbe788
* Observe max capacity. Resolves issue #40720
2024-03-30 11:23:42 +01:00
florian
9a32c00070
* improve TFPSList.Delete as proposed by Alexey Torgashin, resolves #40718
2024-03-29 14:28:54 +01: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
8665e03886
* Add parameter to skip inherited fields
2024-03-11 13:52:35 +01:00