Commit Graph

2446 Commits

Author SHA1 Message Date
florian
42d9175fd1 Merge branch 'main' into basemath 2024-07-15 20:03:48 +02:00
florian
1726afada3 Merge branch 'main' into basemath 2024-07-15 20:00:14 +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
19fe97c02c Merge branch 'main' into basemath 2024-03-28 18:39:28 +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
Michaël Van Canneyt
48cb0eb5b1 * force correct strpas overload when using unicodestrings 2024-03-04 16:49:58 +01:00
Michaël Van Canneyt
05f0ceeb26 * Atributes for class/record methods 2024-03-02 14:15:22 +01:00
Michaël Van Canneyt
4769ed948a * Add codeaddress to extended RTTI for static methods 2024-02-28 11:52:16 +01:00
Michaël Van Canneyt
06601d5e60 * Fix TExtendedVmtFieldEntry.GetTail 2024-02-26 15:20:15 +01:00
Michaël Van Canneyt
8527cb17f8 * Fix overflow in initialization of return value 2024-02-25 19:57:39 +01:00
Michaël Van Canneyt
bd2b0c8dca * Fix use of wrong memory size when getting extended property info 2024-02-25 19:57:39 +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
b61a0fab97 * CurveKappa, CurveKappaInv 2024-02-20 17:50:10 +01:00
Michaël Van Canneyt
9a344568df * RectWidth was not public 2024-02-20 17:48:26 +01:00
Michaël Van Canneyt
bc714c0fd7 * Added Delphi-compatible overload for ToString with UpdateCapacity argument 2024-02-20 14:49:13 +01:00
Michaël Van Canneyt
852cd355e4 * Use correct error number for missing widestring manager 2024-02-20 14:32:45 +01:00
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
1e1b273c67 * Correct TCharArray declaration, disambiguate between widechar/char 2024-02-20 10:16:56 +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
b7e8dd6268 * Add optional parameter to get methods of only current class 2024-02-18 21:36:05 +01:00