Commit Graph

216 Commits

Author SHA1 Message Date
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
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
97495e93b8 * Delphi compatible TCollection.Sort() using helper 2024-02-21 10:31:29 +01:00
Michaël Van Canneyt
8f8ce13b41 * Add IsUniqueGlobalComponentName 2024-02-20 11:01:35 +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
89f0e052df * Add Clients property to TBasicAction 2024-02-16 15:50:51 +01:00
Michaël Van Canneyt
f011e80cb2 * Add scCommand (command key) 2024-02-16 15:23:03 +01:00
Michaël Van Canneyt
055740e2b3 * Overloads for TResourcestream.Create 2024-02-16 14:31:01 +01:00
Michaël Van Canneyt
6edfaed0ac * Fix signature of TReader.SetName 2024-02-16 14:12:56 +01:00
Michaël Van Canneyt
689fae7dd9 * Add TReader.ReadStr for Delphi compatibility 2024-02-16 12:07:45 +01:00
Michaël Van Canneyt
a320464afe * Add support for vaDouble 2024-02-16 11:42:52 +01:00
Michaël Van Canneyt
186f93a8c9 * Add TestStreamFormat 2024-02-14 18:18:21 +01:00
Michaël Van Canneyt
7506277dc1 * Add TReader.SetName for Delphi compatibility 2024-02-14 18:02:45 +01:00
Michaël Van Canneyt
2d9ef694dd * Make TComponent.GetObservers virtual and protected for Delphi compatibility 2024-02-14 14:30:16 +01:00
Michaël Van Canneyt
d1b7a49700 * Move move free notifications to separate procedure. Fixes issue #40638 2024-02-14 12:41:59 +01:00
Michaël Van Canneyt
af3ebf1464 * Change GetSystemTimes signature to be delphi compatible, implement for linux 2024-01-15 15:41:49 +01:00
Michaël Van Canneyt
49100cc42b * Add Current and CurrentIsMain 2024-01-15 14:19:53 +01:00
Michaël Van Canneyt
29e2277d98 * Add CreateAnonymousThread with anonymous procedure 2023-12-18 16:53:14 +01:00
Michaël Van Canneyt
8fb39925eb * Implement ListIndexError 2023-11-09 11:43:19 +01:00
Michaël Van Canneyt
2444c5ec79 * Not all OSes have NilHandle 2023-11-08 14:26:17 +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
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
e4ebf46df3 * Some delphi compatibility types and consts 2023-11-01 23:19:56 +01: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
36a2835f8c * Deprecate hextobin 2023-08-12 17:09:07 +02:00
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
68db04d89e * Adapt classes to Unicode RTL : Give string/char correct type depending on case 2023-07-24 15:37:51 +02:00
Michaël Van Canneyt
ec65ed9e64 * Better Ansi/WideString support for TStream. Fix StringStream with unicode to be delphi compatible 2023-07-15 18:22:41 +02:00
Michael VAN CANNEYT
98cdab5200 * Add MainUnit 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
d23fa5a87f * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
mattias
e8546a9e41 rtl: classes: added parameter aName to TFindComponentClassExEvent 2023-04-13 15:33:38 +02:00
Sven/Sarah Barth
b2b2606e36 + add function reference suitable overload of TThread.ForceQueue() 2023-03-11 17:08:32 +01:00
mattias
fdea66d217 rtl: added TBinaryObjectReader.BeginComponent 2023-01-15 10:56:58 +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
Rika Ichinose
7243befdb7 Better TBits. 2022-11-06 20:55:38 +00:00
marcoonthegit
e5ac0b2689 * anonymous method overloads for synchronize/queue. 2022-06-01 13:54:06 +02:00
Michaël Van Canneyt
712823eb6c * Add some delphi compatibility enumerateds to TShiftState 2022-05-07 10:20:04 +02:00
marcoonthegit
2457016671 * TStringlist constructor with ownsobjects parameter, Delphi compatible + empty constructor to avoid compiler getting confused 2022-04-18 21:23:10 +02:00
Michaël Van Canneyt
5ca52bcab1 * Add Flush method to TFileStream. Fix issue #39619 2022-03-10 09:35:28 +01:00
Michaël Van Canneyt
7097a1030f * Added Read64/Write64 2022-01-23 12:18:43 +01:00
Sergey Larin
e27ea76b88 The TStream.ReadBuffer and TStream.WriteBuffer methods have changed the Count parameter type to NativeInt.
Changed the implementation of ReadBuffer, WriteBuffer so that the size of the blocks when calling Read and Write does not exceed High(Longint).
Notes:
- Thanks to this change, for example, a file larger than 2GB can be loaded into TMemoryStream.
- The fact that the Count parameter has the NativeInt type is compatible with the latest versions of Delphi.
2022-01-23 10:25:55 +00:00
Michaël Van Canneyt
52c8ac0ca0 * Fix by Mark Paley to add IfThen for StringList and TStringDynArray. Issue #39314 2021-09-01 09:29:50 +02:00