Commit Graph

2282 Commits

Author SHA1 Message Date
Michael VAN CANNEYT
6f4ade6abe * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
efb204d5e7 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
54338a12b3 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
2767a9c979 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michaël Van Canneyt
90f902c7d4 * Invoke helper definition, allow calling it 2023-07-13 07:32:21 +00:00
Michaël Van Canneyt
70282826ad * Parent class for hidden TVirtualInterface thunking class 2023-07-11 08:36:57 +00:00
Michaël Van Canneyt
b48c67f49f * Fix epsilon, add TRectF.FitInto 2023-07-09 14:39:18 +02:00
Michaël Van Canneyt
a6d3587432 * Epsilon for Delphi compatibility 2023-07-09 14:33:24 +02:00
Michaël Van Canneyt
c7109674d1 * Small optimization of WriteIdent. fixes issue #40334 2023-06-29 23:48:10 +02:00
mattias
1ab29086f8 rtl: fixed indentation 2023-06-06 14:30:07 +02:00
Michaël Van Canneyt
4d66ac9118 * Add PProcedureSignature 2023-06-05 11:43:07 +02:00
Sven/Sarah Barth
d24eeffa2b * fix #40293: have the SysUtils unit use the TArray<> declaration in the ObjPas unit instead of declaring it again 2023-06-03 18:10:45 +02:00
marcoonthegit
fc8b28eecd * change types of method from integre to single for tpointf (probably copy-paste the interface error from integer TPoint ) 2023-05-28 15:55:47 +02:00
Sven/Sarah Barth
5a0ace6d45 * replace Length(<array>) - 1 with High(<array>) which leads to slightly shorter/better code (reported by lagprogramming on the forum) 2023-05-26 22:19:32 +02:00
Sven/Sarah Barth
7420dc545d - remove unused variable; reported by Alexey Torgashin on the forum 2023-05-18 16:50:54 +02:00
Michaël Van Canneyt
5a712a0cde * restore ellipsis 2023-05-14 22:12:52 +02:00
Michaël Van Canneyt
1cdbefe851 Make sure RTL str consts have consistent ending. Fixes issue #40272 2023-05-14 12:48:55 +02:00
marcoonthegit
8d0b822a27 * check for frac(dt) being slightly lower than a whole number. Patch by Werner P
Resolves #40140
2023-04-23 12:32:53 +02:00
mattias
e8546a9e41 rtl: classes: added parameter aName to TFindComponentClassExEvent 2023-04-13 15:33:38 +02:00
marcoonthegit
8e7572faba * small cleanup, remove redundant result assignment and unused variable (from Lagprogramming on forum) 2023-04-11 14:13:39 +02:00
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