Commit Graph

2371 Commits

Author SHA1 Message Date
Michaël Van Canneyt
a224f8ded7 * Extended RTTI Type info routines and data structures 2024-01-02 07:09:23 +01:00
Sven/Sarah Barth
7eea850726 * TVmtFieldEntry.FieldOffset needs to be SizeUInt instead of PtrUInt, so that it works correctly on the various memory models of i8086 as well
+ added test
2024-01-02 07:09:19 +01:00
Sven/Sarah Barth
c74441323a + add descriptive comment regarding the TVmtField* types 2024-01-02 07:09:19 +01:00
Michaël Van Canneyt
ed000e6cd7 * Fix wrong TimeStampToMSecs result on 32-bit. Fixes issue #40522 2023-12-22 11:32:57 +01:00
Michaël Van Canneyt
29e2277d98 * Add CreateAnonymousThread with anonymous procedure 2023-12-18 16:53:14 +01:00
marcoonthegit
d91847f39c * typo fix in previous commit relating to #40558 2023-12-14 09:59:04 +01:00
marcoonthegit
59883da0a0 * fix for drive existence in windows app modus, closes #40558 2023-12-14 09:37:42 +01:00
Michaël Van Canneyt
ff8511f2f1 * Define INVALID_HANDLE_VALUE for Delphi compatibility 2023-11-29 15:03:12 +01:00
Michaël Van Canneyt
7e4aca384f * Some delphi compatibility issues solved (PtrToNil and TGUID operator) 2023-11-29 14:34:27 +01:00
Rika Ichinose
05b7ebd34e Add Exchange<T> that works like std::exchange in C++. 2023-11-21 04:34:16 +03:00
Michaël Van Canneyt
2d3cd5bff2 * Add CreateFmt constructor for EInOutArgumentException 2023-11-20 21:45:53 +01:00
Michaël Van Canneyt
6eac18e8c1 * Add some missing exception classes 2023-11-19 16:20:08 +01:00
Michaël Van Canneyt
45021498cf * Add unicode AnsiLastChar overload 2023-11-14 10:26:49 +01:00
Michaël Van Canneyt
ea63bfb32f * Fix string type in AnsiLastChar declaration 2023-11-14 10:23:34 +01:00
Michaël Van Canneyt
9f62b33ef0 * Add ChangeFilePath 2023-11-10 18:14:03 +01:00
Rika Ichinose
ce1a82a1e4 Add potentially required barriers to TEnconding. 2023-11-10 02:36:04 +03:00
Michaël Van Canneyt
8fb39925eb * Implement ListIndexError 2023-11-09 11:43:19 +01:00
Michaël Van Canneyt
972b961f2b * Add delphi compatible constant 2023-11-09 11:23:13 +01:00
Michaël Van Canneyt
9b9623b289 * Fix wince/nativent compilation 2023-11-09 11:09:07 +01:00
Rika Ichinose
d04547eb83 Replace TEncoding.FLock with interlocked operations. 2023-11-09 09:11:00 +00:00
Michaël Van Canneyt
2444c5ec79 * Not all OSes have NilHandle 2023-11-08 14:26:17 +01:00
Michaël Van Canneyt
b9ef7416f0 * Fix wrong typecast 2023-11-08 14:17:55 +01:00
Michaël Van Canneyt
0534810703 * Additional Delphi-compatible constant 2023-11-08 12:07:06 +01:00
Michaël Van Canneyt
14e9446c08 * Add ReadDouble 2023-11-08 12:04:53 +01:00
Michaël Van Canneyt
386f31ef4c * Add TReader.ReadPrefix for Delphi compatibility 2023-11-08 11:56:12 +01:00
Michaël Van Canneyt
54d692c7d6 * Add SkipValue to TReader 2023-11-08 11:50:49 +01:00
Michaël Van Canneyt
972b5181eb * Delta stream support 2023-11-08 11:27:21 +01:00
Michaël Van Canneyt
7bcc949308 * Add crossproduct and normalize to TPointF 2023-11-08 10:26:09 +01:00
Michaël Van Canneyt
8179aadb2c * Add TStreamOriginalFormat for Delphi compatibility 2023-11-08 09:30:52 +01:00
Michaël Van Canneyt
094f8a7be7 * Add GetMulticastObserver 2023-11-08 08:36:21 +01:00
Michaël Van Canneyt
594090b215 * Add delphi-compatible observers to classes 2023-11-08 00:04:18 +01:00
Michaël Van Canneyt
82bc91e6cf * Make explicit how much better FPC is when compared to Delphi ;) 2023-11-03 11:52:14 +01:00
Michaël Van Canneyt
be0e06bd50 * Delphi compatibility methods, unicode character type helper 2023-11-03 11:08:20 +01:00
Michaël Van Canneyt
122ef8bb76 * Make sure it compiles with 3.2.2 2023-11-01 23:37:12 +01:00
Michaël Van Canneyt
df67c18f7d * Some delphi compatibility constants 2023-11-01 23:23:41 +01:00
Michaël Van Canneyt
e4ebf46df3 * Some delphi compatibility types and consts 2023-11-01 23:19:56 +01:00
Michaël Van Canneyt
24d8478650 * Missing functions 2023-11-01 22:48:14 +01:00
Michaël Van Canneyt
81e2db47a9 * Add some methods to TFormatSettings for Delphi compatibility 2023-11-01 21:38:55 +01:00
Michaël Van Canneyt
33950a5e22 * Add SArgumentNil 2023-11-01 21:38:55 +01:00
Michaël Van Canneyt
b3d3b65bdf * Add TPointF.Zero 2023-10-30 14:51:39 +01:00
Michaël Van Canneyt
44cf5d776f * Add some constants for Delphi compatibility 2023-10-30 09:54:43 +01:00
Michaël Van Canneyt
d587f48892 * Fix typos, missing sparc 2023-10-27 09:57:35 +02:00
Michaël Van Canneyt
9904727f75 * add TClassicByteDynArray for delphi compatibility 2023-10-26 23:29:43 +02:00
Michaël Van Canneyt
14fe7203fe * Add TClassicStringDynArray for Delphi compatibility 2023-10-26 23:27:27 +02:00
Michaël Van Canneyt
21e99a0a1e * TOSVersion for Delphi compatibility 2023-10-26 22:15:36 +02:00
Michaël Van Canneyt
a88dd9197f * Some delphi compatibility methods/types for actions 2023-10-18 16:49:39 +02:00
Michaël Van Canneyt
bad90711ef * Do not use comp type, use int64 instead. Fix issue #40469 2023-10-16 10:25:52 +02:00
florian
4794e5ffcf * improve math.power as suggested by Paolo Valle, resolves #40461 2023-10-15 23:17:24 +02:00
Michaël Van Canneyt
2854f08daa * Add boolean %b format specifier 2023-10-15 23:06:02 +02:00
Michaël Van Canneyt
bc00d5ae06 * Forgot CenterAt 2023-10-15 22:23:00 +02:00