Commit Graph

2262 Commits

Author SHA1 Message Date
Nikolay Nikolov
1eca53a681 + support 16-bit pointers in TFPList.IndexOf 2023-04-01 21:50:56 +03:00
Nikolay Nikolov
538f8201e2 + support 16-bit pointer size in TFPGInterfacedObjectList.IndexOf 2023-04-01 21:49:33 +03:00
Nikolay Nikolov
34471a6403 + support 16-bit pointer size in TFPGObjectList.IndexOf 2023-04-01 21:48:32 +03:00
Michael Van Canneyt
6ff542a13e * SafeFormat and helper function to convert array of const to string in a safe manner 2023-03-31 22:13:05 +02:00
florian
466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-03-25 21:32:29 +01:00
marcoonthegit
33071fd179 * Add ptr types for fixed(u)int, fixes #40205 2023-03-20 11:29:47 +01:00
Sven/Sarah Barth
e774a6275c * change Result of CheckSynchronize to true when at least one method was executed (matches with both FPC and Delphi documentation) 2023-03-17 15:53:25 +01:00
Sven/Sarah Barth
b2b2606e36 + add function reference suitable overload of TThread.ForceQueue() 2023-03-11 17:08:32 +01:00
Michaël Van Canneyt
0e2102e172 * Resource handle is not resource ID 2023-03-08 16:12:59 +01:00
Michaël Van Canneyt
c3c3bd3471 * Fix windows compilation 2023-03-08 10:09:58 +01:00
Michaël Van Canneyt
f9a96e5e63 * Avoid useless exceptions by checking existence of resource 2023-03-07 11:43:39 +01:00
Sven/Sarah Barth
d40a2dbb12 + add generic utility function ConstParamIsRef<> to determine whether a specific type is passed by-value or by-reference as a const parameter 2023-03-06 23:24:36 +01:00
Sven/Sarah Barth
b878a0d390 * fix typo in resource string 2023-03-06 23:24:35 +01:00
florian
66891b1d59 * patch by Rika: Implement TCurrencyHelper.Ceil/Floor, resolves #40134 2023-01-31 22:58:51 +01:00
Michaël Van Canneyt
fead1ce818 * Fix compilation 2023-01-31 19:39:30 +01:00
Michaël Van Canneyt
c5af4c420e * Hopefully fixed GetFileStamps/FileGetDateTimeInfo 2023-01-31 19:05:48 +01:00
florian
a9f9996dc8 + support leap seconds in TryEncodeTime, resolves #40121 2023-01-30 22:40:15 +01:00
Bi0T1N
eb62a71a5f Add Delphi-compatible TCurrencyHelper 2023-01-30 13:10:47 +00:00
Pierre Muller
b95bfd07d9 Fix sysutils unit compilation failure for wasm32-wasi wince and possibly more targets 2023-01-27 14:42:05 +00:00
Michaël Van Canneyt
0bad315daf * Fix TDateTimeInfoRec 2023-01-23 18:09:43 +01:00
Michaël Van Canneyt
735fd20a6a * (Hopefully) fix compilation for non-win,non-unix platforms 2023-01-23 10:05:18 +01:00
Michael Van Canneyt
d1b2fe1659 * Date/Time info for files (Delphi compatibility) 2023-01-21 13:45:04 +01:00
Michael Van Canneyt
32884082e3 * Checks for directory and special directories 2023-01-19 12:21:56 +01:00
mattias
fdea66d217 rtl: added TBinaryObjectReader.BeginComponent 2023-01-15 10:56:58 +01:00
mattias
ea4768456f rtl: ObjectBinaryToText, ObjectTextToBinary: support unitname/classname 2023-01-08 20:30:52 +01:00
mattias
c1f3960388 rtl: added overload GetClass(UnitName,ClassName), implemented UnregisterClass, overload TStream.WriteComponent(Instance,WriteUnitName) 2023-01-08 15:46:49 +01:00
mattias
b0f5d5a4e1 rtl: TBinaryObjectWriter.Version 2023-01-07 10:19:29 +01:00
mattias
b641c564c6 rtl: TReader: FindComponentClass using field name and classname 2023-01-07 10:19:29 +01:00
florian
9889a81062 * patch by Rika: Improve SinH and TanH, resolves #40086 2023-01-04 19:04:40 +01:00
florian
96eb5da939 * patch by Bart B: Implement sinh(), cosh() and tanh() for single, double and extended parameters, resolves #40083 2023-01-04 17:04:10 +01:00
florian
a260f1987c * patch by Rika: Improve Math.CotH, resolves #40084 2023-01-03 23:13:33 +01:00
florian
cfbdf90ab0 * patch by Rika to optimize ArcCos, resolves #40078 2023-01-02 18:56:41 +01:00
florian
60c80a45a0 * patch by Bart B to complete missing functions in the math unit, resolves #40055 2023-01-01 22:52:57 +01:00
marcoonthegit
bfb904640a * fix for #40069 add swapdimensions 2022-12-30 15:41:47 +01:00
florian
69eebe4c0c + patch by Rika to implement missing TPointF methods, resolves #40057
+ test by Rika
2022-12-29 15:20:49 +01:00
florian
cf41a549b9 * patch by Bart B and Rika for *H functions, part of #40055 2022-12-26 21:47:47 +01:00
florian
d948420eba + (modified) patch by Bart B to add Cycles conversion functions, part of #40055 2022-12-25 16:08:33 +01:00
florian
48b9751419 * patch by Alexey Torgashin to resolve #40054 2022-12-20 21:46:33 +01:00
florian
1761d3c09d + operator TPointF./, resolves #40046 2022-12-19 22:58:34 +01:00
Ondrej Pokorny
d1f999100b Add SetToArray and ArrayToSet functions for more general RTTI Set handling 2022-12-18 13:32:15 +00:00
florian
f1e391fb41 * patch by Make TPointF * TPointF a component-wise multiplication, resolves #40042 2022-12-17 18:22:16 +01:00
Ondrej Pokorny
5109f0ba44 add missing TSizeF, TRectF properties and features 2022-12-17 11:22:41 +00:00
florian
725da25477 * patch by Rika to improve IntPower, resolves #40036 2022-12-13 19:40:08 +01:00
florian
c92056fcac * patches by Rika: Fix a bug in LdExp(extended), and test Math.Frexp/Ldexp implementations instead of own, resolves #40030 2022-12-11 20:04:46 +01:00
Michaël Van Canneyt
13548088b7 * Implement case-insensitive version of Equals & Contains. Fix issue #40029 2022-12-10 15:18:26 +01:00
florian
06b0927f1e * patch by Rika to improve FrExp and LdExp 2022-12-09 22:30:56 +01:00
florian
f8f824aa8d * avoid unneeded widening of expressions due to constants defaulting to extended 2022-11-26 23:27:02 +01:00
florian
9c8f362acc * more robust calculation of TBITS_SHIFT 2022-11-06 22:33:38 +01:00
Rika Ichinose
7243befdb7 Better TBits. 2022-11-06 20:55:38 +00:00
Michaël Van Canneyt
d5777174d8 * Optimization of TStringHelper.Split by Rika. Fixes issue #39948 2022-10-13 12:45:30 +02:00